[GUIDE][UNOFFICIAL][Yureka Plus] Lower Resolution and Increase Performance and Batter - YU Yureka General

Hi,
This is a short tutorial on how to lower resolution of YU Yureka Plus and get some extra juice out of it.
DISCLAIMER:
I have personally tested this on my Yureka Plus before posting it here.
I suggest taking full backup of your current ROM and DATA.
I am not responsible for bricked devices, dead SD cards. or you getting kicked out of home for being too busy following this tutorial and you totally forgot to bring coriander from market.
You are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
PREREQUISITES:
Rooted YU Yureka Plus
Any Terminal Emulator app
A working brain and some common sense
INSTRUCTIONS:
1. Open terminal app and type: su
2. Grant terminal Emulator super user access.
3. Next type: wm size 720x1280
4. After that, type: wm density 320
5. Finally to re-render all the unchanged drawables and preloaded system components type: stop && start
6. Your phone will now reboot.
That's All! Now you can get some extra juice out of your YU Yureka Plus
To Revert to Stock:
1. Open terminal app and type: su
2. Grant terminal Emulator super user access.
3. Next type: wm size reset
4. After that, type: wm density reset
5. Finally type: stop && start
CREDITS:
Shawn5162
for Original Thread please click here.

Hey just use the resoulution changer app from play store No need of codes n stuff also works in cm13
Sent from my TegraNote-P1640 using XDA-Developers Legacy app

Related

[GUIDE] Ubuntu On Epic4G Touch

Ubuntu On Epic4G Touch Has Arrived!!!​
Disclaimer...​I am not responsible for bricked or soft bricked phones. I am also no responsible for files lost phones damaged and commands entered wrong on your part. I also would like to say that i did not in anyway shape or form come up with this method to get Ubuntu to run on Epic4G Touch i saw the GUIDE in the Epic4G forum and tested it out and it worked so this was simply trial and error.​
Thanks To:​BThomas22x Over at the Epic4G Forum for Creating this GUIDE. Also thanks to the Developer of the new script KellyLewis3985​
Whats Needed​Must be Rooted, Must have busybox, Must have superuser, Must have Android SDK, Must Download AndroidVNC & Android Terminal Emulator from market and of course patience.​
Directions​
1. Download File i attached at the bottom unzip and create a new folder called Ubuntu and place all the files inside of it and put on the root of your SD card.
2. Unmount SD card
3. Go into command prompt and cd to SDK. (cd C:/sdk/platform-tools) Or were ever you cd to run ADB commands
4. Now once your device is connected and you see your serial number listed type adb shell and hit enter
5. Then type su and hit enter
6. Now we want to cd into that Ubuntu folder on your sdcard so simply type cd /sdcard/ubuntu and hit enter
7. Ok now lets install ubuntu by typing sh ubuntu.sh and hit enter let it do its thing and after it does you should see at the bottom to enter type "bootlinux"
8. Type bootlinux and hit enter once you see the prompt "[email protected]" then you have just installed ubuntu side by side with your Android device!
VNC Setup​
Now type the following commands in order​rm -rf /tmp/.X*
export USER=root
vncserver -geometry 1280x800
At this point everything should be setup and ready to rock and roll after shutting down your phone or shutting down VNC you will have to go into Terminal on the phone and type...
1. su
2. bootlinux
3. Once prompted with [email protected]
4. rm -rf /tmp/.X*
export USER=root
vncserver -geometry 1280x800
5. And now you have installed Ubuntu, Setup VNC, And now know how to get back into Ubuntu after a shut down or VNC exit.
Android VNC Setup Part2​
Nickname: root
Password: ubuntu
Address: localhost
Port: 5901
If you have any questions,problems or comments please write on the thread or PM me thanks and ejoy!
DOWNLOAD LINK​
http://www.multiupload.com/O8QVR5H203​
screenshots please?
Thank you! This is awesome.
I wonder if the mhl adapter to a monitor. With a bluetooth mouse and keyboard would work...
i will post screenshots tomorrow def and im sure the mouse and keyboard will work and believe it or not its pretty fast
can you make and receive txt messages and calls in ubuntu?
Thank you!
Sent from my SPH-D710 using xda premium
your not changing from android to ubuntu your running them side by side threw vnc so there for you still will get calls and text
This sounds fun, I really want to give this a try... Anyone try it out yet?
Edit:
Holy big download batman, I'll wait until I'm on wifi and not tethering at 300kb LOL
omg thank you so much
Trying this weekend thanks... What version of ubuntu is this?
Sent from my SPH-D710 using XDA App
If you put the folder on your external sd card, you'll need to update the path in ubuntu.sh
But for some reason all of my busybox commands are failing. I've even reinstalled it several different times from different installers in the market. Any ideas?
donny could too please put a link to the original guide in the OP for quick reference
yes sorry guys im driving to work right now lol i will post the link and screen shots
ok guys heres the screen shots and after this post i will post the link to the original GUIDE but if anyone is having problems just PM me i dont bite lol
And heres the link to the original GUIDE
http://forum.xda-developers.com/showthread.php?t=823370
guys i forgot to tell you in the main post make your color 24 Bit
When trying this I get the error "VNC connection failed! localhost/::1:5901 - Connection refused" when trying to connect after all of the installation commands.
try setting the port to 5900 or 5902 or 5903 etc if that dont work let me know and will go from there
donnyevo4g said:
try setting the port to 5900 or 5902 or 5903 etc if that dont work let me know and will go from there
Click to expand...
Click to collapse
None of those worked, what would I have to do to erase all the files and start from scratch? I feel it may have been a bit of user error.
Those of you who have this working, what kernel are you guys using? I'm on the newest LOSt stable, which now has working busybox, but the modprobe command still fails.

[GUIDE][17 JAN]Debian shell, LXDE, and more, all on /data partition

Please rate this thread whether good or bad, I like feedback as this is my first in depth guide I have written. Thanks!
I know there are apps that make it as easy as a download and a button press to install linux on an Android phone, but I had hardly any room on my 8GB SD card, and I wanted to have a safe, reliable, and fast installation (my cards class 4). Also, this creates a lightweight and customisable installation, as all you start off with is the Debian shell, which is a 50MB download.
This guide will take you through downloading the app, to installing Debian in the loop file on your phone, to installing a VNC server and getting a GUI (in this case LXDE) up and running. So, without further ado....
PREREQUISITES
Your phone
Free space on /data/ , I would recommend at least 768MB for this. Unfortunately....
No apps to sd script... I'm not sure on this, prior to setting this up, I installed an a2sd script and my Debian shell would not work. Coincidence? You try it. I don't know.
I would have thought a lightweight ROM would help. This works fine for me, and I'm running Andromadus CM10.1 build 10. I don't know how Sense (which imo is pretty heavy) compares to Android 4.2.1, but I reckon AOSP is a good bet for any version of Android.
Terminal Emulator
Your brain. Of course, don't be afraid to ask questions, I'm sure I'll miss something
The recognition that I take NO RESPONSIBILITY AT ALL for cracked screens, disappearing keyboards, or gravitational collapses of the Vision's awesomeness creating a black hole and / or supernova which obliterates Earth and the Milky Way, although would look spectacular. Please bear in mind that this could genuinely mess up your device pretty bad, although only really badly if you try... yes, you can brick your phone or wipe EVERYTHING. So make a Nandroid. But once again, I'm the one that's laughing.
Click to expand...
Click to collapse
INSTALLING AND SETTING UP THE APP
Download Linux Installer STANDARD from the Play Store, or the ADVANCED version if you wish to contribute to the devs/ although you only need the STANDARD version for this.
I would suggest reading through their own guide first, although be aware this only covers getting a Debian shell up and running. Especially the bit towards the end which tells you how to muck up your device.
Anyway, the bit where you install the shell is here. I'll take you through what I suggest now, though.
Open the app
Menu > Setup
Install in a block device = [TICK]
Use loop file = [TICK]
Preferred distribution = Debian (Ubuntu doesn't work, according to the devs.)
Distribution version = I use Stable, I would've thought any Squeeze variant will do.
CPU architecture = armel by default, Don't change this.
Hostname = This is used for VNC. Default is fine.
Domain name = This is used for VNC. Default is fine.
Chroot point = /data/local/mnt/Linux . DO NOT USE /data/data/ EVER.
Name of chroot launcher script = linuxchroot . This is the command used to start the Debian shell
Server = blank by default. Don't know what this is used for, but is not important to us.
IP Version = IPv4 by default. I don't see any need to change this.
Loop file = /data/local/tmp/Linux.loop . DO NOT USE /data/data/ EVER.
File Size = 768MB . This is what I use, it's enough for VNC server, LXDE, C++ compiler, but not much else. I would not recommend any less.
Maximum loop dev = errrm. I don't know what this does. I've seen people use 32. Default is 8. I've tried both, and can't tell the difference. Stick to 8 to be safe.
Ext version = Default. This is checked automagically
Console refresh latency = Default (10). I don't know what this does.
Choose start panel = Default (Installer). This is just the screen the app starts on. Installer is easier.
Bind Android = [TICK] if needed, [BLANK] for safety. This means you can access your whole phone, that is, all the directories, root, sd card, of your phone, from your Linux installation. Could be useful, but probablyt not worth risking if you won't use it.
Send debug logs = [TICK] Default
Screen always on = [TICK] Default
Use embedded Busybox = [TICK] Default
Allow write to /system = [TICK] I suggest using this, I got problems with this disabled
Allow remount with dev/exec = [TICK] Once again, I'm not sure, I've seen people use it, but it's not essential
Click to expand...
Click to collapse
CREATING AND MOUNTING YOUR LINUX.LOOP, AND INSTALLING DEBIAN INTO IT
I think the original instructions are fine for this. I'll quote them here just in case you can't find them (red text is my input)
click create target loop (takes 2mn to write 500M on class 4 card)
click format target loop (50s)
click mount loop
click install distribution in loop. Installation should take between 15 and 50 mn depending on your Internet connection speed, and phone specifications (Flash and CPU speed). Installation process will temporally disable screen saver so that the phone will stay awake, and Internet connection will not be automatically disabled or put in sleep mode.
click Update launcher script.
You can now connect to your phone using any local console, via ConnectBot or adb shell You won't do this, instead open up Terminal emulator.
type su into the console
type linuxchroot in this console
you are now in a standard GNU/Debian environment, created via debootstrap. Network is already configured; you shall type aptitude update, then you can install any package you want.
Read messages carefully, and read the full tutorial on our website. URL is given in the About pop-up
Well done, you're running Debian shell on your Vision yay!
Click to expand...
Click to collapse
INSTALLING A VNC SERVER, X.ORG AND LXDE
This is the fun bit. We can now get LXDE up and running and access it via VNC (Don't worry, still on the phone... you'll see )
First, install android-vnc-viewer
Open up terminal emulator
Type su to be superuser
Type linuxchroot
This is what got me confused. I couldn't use apt-get, I got all sorts of errors. In order to fix these, WHENEVER YOU WANT TO INSTALL ANYTHING, type the following:
Code:
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
Now you can install your vnc server:
Code:
apt-get install tightvncserver
and now the X Windows System (this is needed for the GUI)
Code:
apt-get install xorg
and now LXDE.
The minimum set of elements, without recommended apps like file manager (this is lightest, but not particularly useful:
Code:
aptitude install --without-recommends lxde-core
The minimum set of elements (I suggest using this):
Code:
apt-get install lxde-core
A complete set of elements:
Code:
apt-get install lxde
A complete Debian LXDE desktop environment (Don't use this, it'll be heavy and you'll use up all your space (unless you had much more than 768MB))
Code:
apt-get install task-lxde-desktop
Unfortunately, you cannot use the LXDE desktop just yet. We need to set up the VNC server.
Code:
vncserver
This will start up an X-Windows session and create a vnc startup file. Type in your password (if you're a n00b, be aware that you won't be able to see stars or anything). You don't need the second password it asks for.
Now kill the VNC session:
Code:
vncserver -kill :1
Now we need to set up the VNC startup file:
Code:
cd /root/.vnc/
nano xstartup
Use the trackpad to navigate, type as normal.
Comment out etc/X11/xsession :
Code:
#etc/X11/xsession
At the bottom, add the lines to start up LXDE:
Code:
startlxde &
lxsession
Now save the file: Hold down vol-down, then y, then o .
Exit nano: Hold down vol-down, then y, then x .
Now we need to edit the .bashrc file:
Code:
cd /root
nano .bashrc
After all the comments, add the following lines:
Code:
export USER=root
cd /
rm -r -f tmp
mkdir tmp
cd /
vncserver -geometry 800x480
If you know how to use VNC on a tablet, just change vncserver -geometry to that resolution:
Code:
vncserver -geometry heightxwidth
Now save the file: Hold down vol-down, then y, then o .
Exit nano: Hold down vol-down, then y, then x .
Type exit to exit the Debian Shell. Close terminal emulator, and reboot.
Click to expand...
Click to collapse
RUNNING OUR NEWLY INSTALLED LXDE GUI
Now we've rebooted, open terminal emulator and run the Debian shell as normal (linuxchroot).
This time, you'll see some text about the X server running. If not, something's gone wrong.
Leave terminal emulator running, and go and open android-vnc-server from your app drawer.
Set up the app as follows:
Nickname = whateveryouwant
Remeber the password you entered before, when we were running the shell? No? D'oh!
Address = localhost
Port = 5901
Click connect... yay ! You should have LXDE up and running, if not, go over this guide, and if you think you've done everything, either hate on me or send me a useful PM outlining your problem.
Click to expand...
Click to collapse
SETTING UP TERMINAL EMULATOR
I've written a really quick script which asks you whether yo want to start linuxchroot upon opening Terminal Emulator. It's really small and quick, I've attached the actual script, here's how you set it up:
Download the attached "startup.txt" script, and put it on the root of your SD card ( /sdcard/startup )
Rename it to "startup" (without the quotes, and no extension, basically just get rid of the ".txt" bit on the end)
Open Terminal Emulator, and type the following:
Code:
su
mount -o rw,remount /system
cp /sdcard/startup /system/xbin/
chmod 700 /system/xbin/startup
chown root.root /system/xbin/startup
Now open Terminal Emulator preferences, scroll down to "Initial command" and set it as follows:
Code:
su
startup
Restart Terminal Emulator
You should be greeted with "Start linuxchroot?" and some options, Yes or No
Type 1 to say yes, this executes linuxchroot, starting the Debian shell
Type 2 to say no, this exits the script and does not mount Debian, allowing you to use Terminal Emulator as normal
I like this arrangement, as it means I don't have to type "linuxchroot" to start it every time or to auto start it and have to exit when I don't want to use it. It's especially quick if you use SuperSU, I find this generally faster than ChainsDD's "normal" Superuser, so su is executed instantly and you can quickly type "1" or "2" and you're off!
Click to expand...
Click to collapse
OTHER IDEAS
compile C++ programs:
Code:
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
apt-get install g++
Write your program, save as program.cc
Code:
g++ -o program program.cc
./program
Click to expand...
Click to collapse
Thanks for reading, I hope this helped !
Very nice. I will be trying this later.
About how much memory is being used (with and without LXDE session started)?
Thanks for your efforts.
pepar0 said:
Very nice. I will be trying this later.
About how much memory is being used (with and without LXDE session started)?
Thanks for your efforts.
Click to expand...
Click to collapse
Hi, sorry for the late reply.
TBH I don't think much memory is used at all really, to put it into perspective I've still got 140MB of RAM free whilst running this.
I haven't actually tested memory usage, but I expect you'd need over 100MB free RAM if you're planning on running LXDE. I have tried this in various situations however, and I would not recommend running zeppelinrox's V6 SUpercharger, or any other memory management script. This is because they meddle with VM heap sizes and minfrees and other RAM stuff, and ideally you should use the default 128MMB VM Heap size. This means you can use up a whole 128MB of RAM just for Linux (I don't know how processes are spread though, so you may be using more).
If you're running Sense, I'd be interested to know which version and how well this runs. If your using AOSP (CyanogenMod, AOKP, anything like that) you should be fine, as this works perfectly on Andromadus CM10.1 build 11, which is JB4.2, and presumably the heaviest version of Android.
Hope this helps, and I'd encourage you to try this, it's really cool once it's set up, even if it's not particularly useful to you
It's stuck for me right after I create the loop file. It asks me to tap the "format loop target" button but it's nowhere to be found. I'm only presented with the create target loop one.
crestofawave said:
It's stuck for me right after I create the loop file. It asks me to tap the "format loop target" button but it's nowhere to be found. I'm only presented with the create target loop one.
Click to expand...
Click to collapse
That sounds odd. Not to sound patronising, but this is all I can think of:
Have you got enough space on /data ?
Did you enable write to /system ?
Perhaps there was a Superuser error?
Have you left it long enough to finish? If it says "please wait" at the top, it's still doing it's thing. I expect this is the most likely cause, as the app doesn't make it very clear when it's finished an operation.
D'you mind sending a screenshot before and after creating the loop file, if the problem persists? Thanks, hope you sort it out
Maybe we should use Lubuntu? It takes 100-120mb at startup and it have pretty good configured LXDE and other *candy's* for touch installable.
And how about E17? it's more lightweight than LXDE. Look to Bodhi Linux *maybe we should use ARM vertion?*. It based on ububntu and It have a touch vertion too.
sergeikaspd said:
Maybe we should use Lubuntu? It takes 100-120mb at startup and it have pretty good configured LXDE and other *candy's* for touch installable.
And how about E17? it's more lightweight than LXDE. Look to Bodhi Linux *maybe we should use ARM vertion?*. It based on ububntu and It have a touch vertion too.
Click to expand...
Click to collapse
I do not know of any apps that allow you to install Lubuntu, although if you knew how you could get the IMG and do it yourself. I wrote this guide because it allows you to start from the ground up, with a simple Debian shell to installing whatever GUI and apps you want, or no GUI at all and just some terminal apps (if you can call them that).
Tat means you could install Gnome if you were so inclined, or any other window manager, desktop suite or anything, really. If you had room you could get the Android SDK. Just cause I used LXDE in my example doesn't mean you have to. Just install E17 or whatever you want and in the vnc startup file just tell it to run that instead of LXDE.
Hi!
I'm trying to install Debian Squeeze using your guide but with "linux.loop" file being on the SD-Card (I have like 100 MB free space on /data). When I clicked "Mount loop", Linux Installer after a few seconds just crashed. Then I turned it on again - I was able to start the installation anyway and now I'm installing it.
Was that crash something that could make Debian not working?

[guide]enable android 4.2 multi users on ZVB update

THIS IS FOR ADVANCED USERS ONLY, AND VERY RISKY, AND ITS NOT MY FAULT IF YOU MESS IT UP. FOR A LESS FLAMMABLE (AND EASIER) WAY TO THIS THIS CHECK OUT MY OTHER THREAD here​
Note: this only limits settings and resets the homescreen for new users. All apps are available unless another app hides it. The app mentioned above in red completely reboots the phone with a new account with no google accounts, apps, or anything.
For those of you who do not know android 4.2 enables you to add multiple user accounts similar to various desktop OS'. What some of you may not know is that the code was originally found in android 4.2. Yes, that means that the ZVB update for our beloved device is compatible.
Here is a step by step guide to do it:
1- download android terminal emulator
2- open it
3- type su
4- accept SU prompt
5- type "pm create-user [insert username here]" (without quotations)
6- now hold down the power button, and the username will be on the bottom of the list. Click it and you will switch accounts.
7- profit!
how to check for all accounts on your phone:
type- "pm list-users"
2- profit!
how to remove user accounts:
1- read: primary user in this case is 0, 2nd is 1, so on and so If you have accounts primary, test, test2 in that order 0= primary, 1=test, 2=test2
2- type "pm remove-user 1" (or user account #)
all information orginally found here​

Changing your android resolution without adb and pc fast and revert easily!

I was thinking about something that turned out to be working on my android and since it's part of every android, I bet it must work in all devices which have root! That's great.
Hoping you have a rooted device and you are looking for a way to have your phone to show a big UI on your still small display, but still fear bricking it, here is a good way that will never brick your device in any way then here comes your best option.
First and last, after rooting your device, the only thing you need to download is "Terminal Emulator" from the store or anywhere and install it.
Second, now open it and wait for some cursor to appear then to change your resolution, just type:
su
wm size 'width'x'height'
exit
example:
su
wm size 480x800
exit
You'll see it scaling the UI immediately
Note: Grant Root Access if Asked
To change density of display type:
su
wm density 'value'
exit
example:
su
wm density 200
exit
In case you try all the above and you want to revert back to default, never worry because these values are not written to system hence they will never brick your device like trying to change by modifying build.prop just type:
su
wm density reset
wm size reset
exit
reboot
And if I'm case you changed the values to extents that you can't use the keyboard, never worry still. You can reboot to recovery and use computer while your phone is in recovery ADB mode and type the codes to test it from an ADB terminal.
If you can't use that, still never worry. Reset your phone from recovery and default values will be assigned to the changes and you'll be ready to go again.
That's how simple it is. Let me know whether it worked for you. I bet it must
Sent from my TECNO-J5 using xda premium

Google Pay working on custom ROM?

I've been using soldier room on my s9 for a long time now and Google play stoped working a few months ago. Back then I didn't manage to get it working but my bank app does work with magisk hide.
Is it possible to have gpay working again with a pie custom ROM? I've been reading a little bit but just wanted to make sure before I spend a few hours investigating.
Thanks
frozst said:
I've been using soldier room on my s9 for a long time now and Google play stoped working a few months ago. Back then I didn't manage to get it working but my bank app does work with magisk hide.
Is it possible to have gpay working again with a pie custom ROM? I've been reading a little bit but just wanted to make sure before I spend a few hours investigating.
Thanks
Click to expand...
Click to collapse
https://forum.xda-developers.com/apps/magisk/magisk-google-pay-gms-17-1-22-pie-t3929950/post79643248
Ok I managed to get this working now:
https://forum.xda-developers.com/apps/magisk/magisk-google-pay-gms-17-1-22-pie-t3929950
A few tweaks:
1) download a SQL database editor. I used
https://play.google.com/store/apps/d...ditor&hl=en_US
2) download a terminal emulator program. Terminal emulartor by Jack PAlevich should be easier to use for this matter.
3) make sure Google pay is forced close, if it is open.
4) open SQL editor. Navigate to /data/data/com.google.android.gms/databases
5) open dg.db
6) change any value that contains "attest" in its name in the name (first column) to 0 in the third column. Mine was showing a value of 10 in the third column for each of these values. (Column c for sqlite database editor I used)
7) open the terminal emulator.
8) get root access (su) - meaning, type "SU" and Magisk should automatically grant root access to your terminal app
9) cd /data/data/com.google.android.gms/databases
10) type: chmod 440 dg.db
This makes dg.db read only (for owner and group, and no access for world.)
11) reboot
frozst said:
Ok I managed to get this working now:
https://forum.xda-developers.com/apps/magisk/magisk-google-pay-gms-17-1-22-pie-t3929950
A few tweaks:
1) download a SQL database editor. I used
https://play.google.com/store/apps/d...ditor&hl=en_US
2) download a terminal emulator program. Terminal emulartor by Jack PAlevich should be easier to use for this matter.
3) make sure Google pay is forced close, if it is open.
4) open SQL editor. Navigate to /data/data/com.google.android.gms/databases
5) open dg.db
6) change any value that contains "attest" in its name in the name (first column) to 0 in the third column. Mine was showing a value of 10 in the third column for each of these values. (Column c for sqlite database editor I used)
7) open the terminal emulator.
8) get root access (su) - meaning, type "SU" and Magisk should automatically grant root access to your terminal app
9) cd /data/data/com.google.android.gms/databases
10) type: chmod 440 dg.db
This makes dg.db read only (for owner and group, and no access for world.)
11) reboot
Click to expand...
Click to collapse
i, in no way, doubt the veracity of your claim on having figured this out, but if youre right about this, it could be helpful to many people. i see this asked about every so often and people get it taken care of with with magisk, nice to have an alternative for when it becomes problematic tho

Categories

Resources