Related
Q&A for [EXP][DEV] Lollipop for Xperia Z
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [EXP][DEV] Lollipop for Xperia Z. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Good start
Had no problems installing via fastboot. Very nice and smooth, but needs some google play sevice files, so to test properly. Unable to call out - APN settings look okay, but signal icon on status bar has exclamation mark (?). SOme sort of recovery would be invaluable.
My Q&A: not definitive, but hopefully this will ease question duplication
I've decided to update this post to be an informal Q&A-link-list in the desperate hope that people will come across it before asking the same questions again and again. Look here to see if your question has already been answered. If you think something needs to be added to this post, then post it in thread.
INFO CURRENT AS OF ~1AM UTC 13 Nov 2014.
There are two versions of the Xperia Z Lollipop rom: one by thomas, and one by pabx. Installation instructions differ in places between the two, as do the prerequisites. I will list note when they are different.
How do I install?
Prerequisites:
An unlocked bootloader. If not unlocked, see 'Bootloader unlocking' below
The fastboot and adb command line tools. For more on them, see 'Adb and Fastboot' below
Additional prerequisites for thomas's version if you want gapps or SuperSU:
A kernel including a recovery: I suggest HodorKernel
The SuperSU update package
A Gapps package (such as these ones suggested a while back by @_infected). If you find these gapps don't work for you, but find others that do, then post in the thread so this can be updated.
If you have the prerequisites, then you can continue. Note that installation will wipe your phone completely, including the internal SD.
PABX's version: downloads and installation instructions can be found here.
Thomas's version: see this post.
Regarding Root
Pabx's build doesn't support root. If you need root, use Thomas's build.
Regarding recovery
Thomas's build doesn't include a recovery. Pabx's includes CWM recovery.
If you need a recovery on thomas's, you'll need to temporarily flash a boot image which includes a recovery. That would be the HodorKernel I suggested earlier.
To temporarily add a recovery to Thomas's build, take the following steps:
Enter fastboot by unplugging the USB, powering the device off, and holding the up volume button when plugging in a USB cable connected to your PC. The light on your phone will turn red, then blue. When it is blue, your phone is in fastboot mode.
On your PC, extract the HodorKernel zip file, and locate the boot.img
Flash the boot.img using the following command: fastboot flash boot boot.img
Unplug the USB cable
Press the power button
When the indicator light on your phone turns on, press the volume-down button repeatedly. You will eventually enter recovery. For some reason, you may need to touch the screen (rather than the power button) to actually turn the screen on once the recovery has loaded
Do what you need to do with the recovery (e.g. flash, etc)
Power off the device (I believe the option is in the 'reboot' menu)
Go back into fastboot (i.e. hold up volume, plug in, etc)
Flash the original boot.img from thomas's rom
Unplug USB
Boot
Bootloader unlocking
Unlocking your bootloader allows you to install unofficial ROMs on your Xperia Z. See here for how to unlock. Read the warnings.
this adb tutorial and this guide to fastboot. You can download these tools for Mac here and Windows here. If you're having problems with Windows, particularly Windows 8, look here.
If the links don't work, go find links that do and post them here. I can then update these links.
This isn't the fastboot or adb Q&A thread. If you don't understand how to use fastboot and adb, this isn't the place to ask. XDA is scattered with more guides than I can point a pointy thing at for fastboot and adb.
Post-original post:
EDIT: Don't use the GApps I've mentioned. They kind of work, but are pretty flakey for the XZ.
EDIT 2: PABX has posted a new build, but more importantly also some GAPPS. (http://www.blinkenlights.ch/ccms/android/yuga-l.html)
However, the GAPPS are a .tgz which means (I think) they can't be flashed using recovery. Thus, you'll more or less need to follow the procedure in this post.
NOTE: you only need to flash them using the procedure below if you are not using PABX's build. If you are, then you just need to follow the installation instructions on his page.
An alternative set of gapps linked by _infected is https://www.androidfilehost.com/?w=files&flid=20902
(_infected's post is http://forum.xda-developers.com/showpost.php?p=56623436&postcount=314)
Original post:
I've used the GApps from here: http://forum.xda-developers.com/google-nexus-5/orig-development/illusionrom-lollipop-lrx21m-t2929192
Because there is no recovery (that I know of) you have to manually copy them on using ADB, but once they are on you can create an account, access the play store, and thus install the other Google apps.
(I have barely tested them, though)
To install thees Gapps, I did the following (in brackets is description, don't enter it. Number is sequence of events, don't enter it.
1. adb shell (open a shell)
2. su (become root user)
3. mount -o rw,remount /system (make the /system file system writeable)
4. mkdir /tmp/gapps (make a directory to put the gapps in temporarily without losing the file system privileges on them)
5. chmod 777 /tmp/gapps (make the /tmp/gapps folder writeable to all)
6. exit (leave su)
7. exit (leave adb shell)
8. Unzip the file downloaded from the link above
9. adb push /system /tmp/gapps (push the gapps /system folder to the temp directory we created)
10. adb shell (back to the shell on the phone)
11. su (root again)
12. chown -R root.root /tmp/gapps (change ownership of all the gapps file to root)
13. cp -r /tmp/gapps/* /system/. (copy the gapps files into the /system partition file system)
14. exit (leave su)
15. exit (leave adb shell)
16. adb reboot (reboot device)
17. ???
18. Profit!!!
I'm not certain all these steps are necessary, and I'm writing them from memory not as I do them but I am pretty sure they are correct.
---------- Post added at 05:52 AM ---------- Previous post was at 05:26 AM ----------
By the way, GPS seems to work fine. Getting a good lock (4m accuracy) outdoors.
cant install gapps
i cant boot into my recovery to install gapps
is the adb way supposed to work in fastboot mode? since it says device not found
please help me get my gapps installed
Thanks in advance
xixhxix said:
i cant boot into my recovery to install gapps
is the adb way supposed to work in fastboot mode? since it says device not found
please help me get my gapps installed
Thanks in advance
Click to expand...
Click to collapse
EDIT: look at Post 3 (http://forum.xda-developers.com/showpost.php?p=56536436&postcount=3) for a link to PABX's most recent gapps and a (rough) procedure to install them. If you are using Thomas's builds, read on.
If you're trying to flash a zip-based set of GAPPS, then follow the instructions below *but using your own GAPPS package, not the one I've linked). If you *want* to flash a zip-based set of GAPPS but don't have them, then you can grab them from this post by _infected: http://forum.xda-developers.com/showpost.php?p=56623436&postcount=314.
Original post:
Hi,
The ADB way you do in normal mode (i.e. when the phone is running), not in fastboot mode, but there is a better way (which I will describe below).
I am now using these GAPPS and they seem to be working well.
http://forum.xda-developers.com/goo.../gapps-google-apps-flashable-package-t2930260
The better way to install the GAPPS (compared to my ADB method above)
1. Install the rom (using fastboot) and start it up once.
2. Shut down and go back into fastboot mode
3. Download HodorKernel (http://forum.xda-developers.com/xperia-z/orig-development/kernel-hodorkernel-t2865648)
4. Extract the HodorKernel ZIP, and flash the boot.img (fastboot flash boot boot.img)
5. Reboot and go into recovery (pressing down on the volume while booting)
6. Sideload the Gapps linked above
7. Power off (in TWRP, 'reboot'/'power off')
8. Go back into fastboot mode
9. Reflash the lollipop boot.img (fastboot flash boot boot.img)
10. Reboot
12. Do a happy dance
Note: other kernels may well work; I just used Hodor because I had it lying around.
Note 2: #9 is not an optional step. You *must* reflash the original boot.img or your rom will not work.
how did you guys managed to install gapps?
Pablosch23 said:
how did you guys managed to install gapps?
Click to expand...
Click to collapse
easy pizzy
download doom kernel
fastboot via adb
boot recovery
flash zip
go to advance
turn off phone
fast boot 5.0 boot
done
No
chauhanjayc said:
hi all
its been almost 12 hrs last night near 10:00 PM i had CM12 installed and here are my results .
00000000 LAGS(GOD FATHER OF PROJECT BUTTER)
1.5 Free RAM all the time :laughrunning all the gapps like gmail, map, location, google now, hangout, sync, and other...)
no huge battery drops(testing on going)
crystal clear sound in calls
NOOOOOOOOOOOOO HEATINGGGG:victory:
super fast installation of any apps
and much much much moreeeeeeeeee:victory:
check this out
Click to expand...
Click to collapse
How did u fix calling bug bro
Nd is audio bug fixed
iKillCypher said:
@pabx and @thomas1991_12
what blobs are you guys using cause sony seems to have their own blobs for AOSP (strange)
http://forum.xda-developers.com/showpost.php?p=56540160&postcount=25
Click to expand...
Click to collapse
I'm using the 283 blobs: https://github.com/adrian-bl-yuga/yuga-blobs-a806
vpn client on android L
Hey there, I live in a country where most of the websites are filtered by the government and it seems like I cant get any of the vpn clients apps to be working on this Android L build such as the "hotspot shield" or "psiphon", I hardly logged in to my google account and cant get my contacts to be synced. Any supposed solutions?
so no one is going to help me!!????
Thanks
I followed your guide and it worked perfectly for me. Though I used a different boot.img with recovery.
I guess older boot.img with custom recoveries should all work then.A BIG THANKS
---------- Post added at 02:51 PM ---------- Previous post was at 02:46 PM ----------
xixhxix said:
so no one is going to help me!!????
Click to expand...
Click to collapse
Great contributors are there to help in every step of the way.Big ups to pabx,R:goodejeev and the others
xixhxix said:
so no one is going to help me!!????
Click to expand...
Click to collapse
What do you want, magic? Right now the device can't transmit mobile data: I am not sure that VPN clients not working is going to stack up as top priority.
First, you need to be more clear about what you tried. What specific clients did you try? Did you try Cyberghost? Did you try ProXPN? Did you try using a generic OpenVPN client as well as VPN-specific apps?
Re: Google contact syncing: it isn't clear whether you're saying that it isn't syncing because the VPN isn't working, or it isn't syncing at all. Be specific.
If you want a fully functional phone right now, don't use Lollipop builds. If you want to use Lollipop, then accept that some things will be broken and either work out how to fix them and tell others, or report the issue and live with the fact that it takes time for people to test and respond.
thanks anyway
vo4LG said:
What do you want, magic? Right now the device can't transmit mobile data: I am not sure that VPN clients not working is going to stack up as top priority.
First, you need to be more clear about what you tried. What specific clients did you try? Did you try Cyberghost? Did you try ProXPN? Did you try using a generic OpenVPN client as well as VPN-specific apps?
Re: Google contact syncing: it isn't clear whether you're saying that it isn't syncing because the VPN isn't working, or it isn't syncing at all. Be specific.
If you want a fully functional phone right now, don't use Lollipop builds. If you want to use Lollipop, then accept that some things will be broken and either work out how to fix them and tell others, or report the issue and live with the fact that it takes time for people to test and respond.
Click to expand...
Click to collapse
I dont think I asked for such an answer, thanks for your attitude but any way I'll answer your questions so that maybe somebody could help me
First you could say I've already tried every possible way of a proxy
second, according to google contacts syncing its because that server is already blocked here so you cant sync those except if you got a working vpn (although I found a way to get them, but not with the normal sync way)
actually the main purpose of my post was reporting that this vpn stuff isn't working so that they even try fixing it
Is there a flashable zip or something for this?
Or something to flash this without wiping internal sdcard?
Help!!
I have already install this rom and working for one day .
it is awesome .
but today battery less then 2% and i plug the power quickly and the red led light for 1hour and cannot power on or even reboot the devices when the power didn't plug .
i try to use adb/fastboot to reboot the devices but nothing happen the red light still light and no display
how can i fix it?
.zip compile?
Why there aren't a .zip file (easier to flash for me) of this rom?
Sorry for my bad english.
How can I install Gapps?
How can I flash Gapps? I can't reboot in recovery.
gapps
Pleaseeeeee
Anyone give me a link of working gapps.
leonso26 said:
I have already install this rom and working for one day .
it is awesome .
but today battery less then 2% and i plug the power quickly and the red led light for 1hour and cannot power on or even reboot the devices when the power didn't plug .
i try to use adb/fastboot to reboot the devices but nothing happen the red light still light and no display
how can i fix it?
Click to expand...
Click to collapse
__________________
and i finally use all the battery until the red led light goes on . and plug and power and let it to charge and it working now.
Q&A for [UBL] Latest TWRP with f2fs support for Xperia SP (huashan)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [UBL] Latest TWRP with f2fs support for Xperia SP (huashan). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
pilger said:
Rashr was not working for me. I got it to work with this command on the terminal (with root):
Code:
su
dd if=/ext_card/twrp-2.8.7.0_huashan.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
Notice that you'd have to save the .img file on the proper directory prior to using the command.
You can find more details of my struggle here: http://forum.xda-developers.com/xpe...rnel-tangerine-kernel-v1-t3073297/page28#1379
Hope this helps someone with the same issue.
Click to expand...
Click to collapse
I have the same problem and did not do very well could give more details of which app you used and what is the directory Thx
I tried Rashr from the Play Store. Your phone has to be rooted to use it.
When Rashr failed, I downloaded the .img file to my computer and transfer it by USB to the root of the internal memory and then used the procedure you quoted above.
Newest Rashr doesn't work.
Version 2.2.8 worked flawlessly
Hi,
I've been trying both rashr and command line, the first one flashed with no errors (but it tok less than a second) and rebooting TWRP wasn't installed; the second, all the commands executed corretly, I got an online confirmation, but still unable to boot in recovery mode.... any idea?
I'm having trouble with TWRP F2FS, since, when i try to access the SD card, the recovery simply restarts, and i can not access the SD to install a ZIP for example ...
After the update f2fs in change file system gone.
can i use rashr app to intall the zip file? btw, no recovery installed yet. UBL and on Stock ROM.
Hope someone will reply. thanks in advance.
BL4cKPoP3™ said:
can i use rashr app to intall the zip file? btw, no recovery installed yet. UBL and on Stock ROM.
Hope someone will reply. thanks in advance.
Click to expand...
Click to collapse
Yes, you can use Rashr to install the recovery BUT extract the img file from within first. Then use the img file for rashr to flash.
TechnoSparks said:
Yes, you can use Rashr to install the recovery BUT extract the img file from within first. Then use the img file for rashr to flash.
Click to expand...
Click to collapse
THANK YOU... Appreciate it. :good:
Hello, everyone!
TL;DR: You're about to perform a systemless root installation on your phone so make sure you have uninstalled Xposed Framework, uninstalled root, the device's bootloader is unlocked and your phone's boot image is in its untouched stock state. Then boot into TWRP and install SuperSU-v.279-SR3 or newer.
UPDATE 2017-01-19:
- Provided missing bootloader information regarding root. Thanks, @Charlita for the heads-up!
- Moved TL;DR section to the top.
UPDATE 2017-01-15:
- SuperSU-v.279-SR3 learned how to use systemless mode as default flashing method for Motos. This is great news as the installation process now is just a matter of flashing the SuperSU installer. The segmentation fault had been fixed on SR2 and this version also includes that fix.
- Included a TL;DR section.
UPDATE 2016-12-25:
- SuperSU-v.279-SR1 contains a regression bug regarding the "segmentation fault". Skip this version for now. I've already contacted Chainfire.
- suhide: as the Chainfire himself stated, the tool is a losing game so I'm not putting any further effort here.
UPDATE 2016-11-03:
- As of SuperSU-v2.78-SR3 boot image patching works out-of-the-box. Just install it and you're done!
- TWRP version 3.x works as expected.
- Unfortunately, SafetyNet checking fails as Google constantly updates the server-side code.
- WIP: Check if Chainfire's suhide are able to help here.
UPDATE 2016-08-08:
- Added a backup reminder.
- Added flashable zip systemless_root_enabler_by_glauberlima.zip.
After a few days playing with it, I finally managed to perform a systemless root install for our beloved Moto X 2014
Benefits:
- Install OTA updates when they arrive;
- SafetyNet checking will pass so Android Pay can be used (not available in Brazil yet).
Requirements (links below) :
- Android 6 Marshmallow
- Bootloader must be unlocked otherwise you won't be able to root your phone;
- Boot partition must be in its original untouched stock state otherwise, SuperSU installer won't be able to patch it;
- System partition must be untouched as well but a simple uninstall of applications that have changed it should be enough. This step is not mandatory but if your system partition remains changed SafetyNet checking will fail;
- Your device must be unrooted. SuperSU has the option "Completly remove root". Use it;
- If you have Xposed Framework installed, uninstall it;
- You'll need ADB and Fastboot in order to flash stock boot.img if applicable;
- TWRP. Version 3.0.2-2 works just fine. If you prefer 2x series, I highly recommend version 2.8.7.1;
- SuperSU-v2.79-SR3 zip installer (or a newer version). DO NOT TRY AN OLDER VERSION. WILL NOT WORK;
Install guide:
- Make a Nandroid backup first using TWRP;
- Uninstall Xposed Framework if applicable;
- Uninstall SuperSU;
- Connect your device to your computer via USB;
- Reboot into bootloader:
Code:
adb reboot-bootloader
- Restore stock boot partition (you can skip this step if you already been on stock boot):
Code:
fastboot flash boot xt1097_boot_stock_with_may_2016_update.img
VERY IMPORTANT: The binary file boot xt1097_boot_stock_with_may_2016_update.img is device dependent. I have extracted stock boot.img from victara May 2016 update full ROM package and put it here. If you are trying on the other variants, make sure you will use the right image.
- Reboot into Recovery (TWRP);
- Flash the attached zip file systemless_root_enabler_by_glauberlima.zip. This will set both variables SYSTEMLESS=true and BINDSYSTEMXBIN=false. Without these variables set, SuperSU will fail to systemless root the device. Feel free if you want to manually enter the commands in the Command Prompt:
Code:
adb shell "echo SYSTEMLESS=true>/data/.supersu"
adb shell "echo BINDSYSTEMXBIN=false>>/data/.supersu"
- Install SuperSU and reboot system. If the first boot fails, just wait - the second will work I promise you!
- As soon as Android UI shows up you should be systemless rooted;
- Confirm SuperSU is installed by recognizing the green icon on your app drawer;
- Open up any root app you have. The world-famous Superuser permission request dialog should pop-up;
- Install SafetyNet Helper, in order to attest your Android, is passing Google's SafetyNet checking: https://play.google.com/store/apps/details?id=com.scottyab.safetynet.sample
Now you should be good. Congrats!
Go ahead and get some systemless apps:
- Systemless Xposed Framework
- Systemless Adaway
This procedure should work for the other variants too - all you need is the original boot.img
If you need any help feel free to ask.
Attached you can find the screenshots taken from my XT1097 after the procedure
Related links:
SuperSU-v2.79-SR3:
https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip
Latest stable SuperSU:
http://download.chainfire.eu/supersu-stable
Systemless Xposed Framework:
http://forum.xda-developers.com/xposed/unofficial-systemless-xposed-t3388268
Systemless AdAway:
http://forum.xda-developers.com/showthread.php?t=2190753
Material Design Xposed Installer:
http://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Minimal ADB and Fastboot:
http://forum.xda-developers.com/showthread.php?t=2317790
TWRP for Moto X 2014:
http://forum.xda-developers.com/mot...recovery-twrp-2-8-0-0-touch-recovery-t2911523
Thanks:
@Chainfire
Even if I am on stock I have to flash boot*.img?
Sent from my XT1097 using Tapatalk
rtrotsky said:
Even if I am on stock I have to flash boot*.img?
Sent from my XT1097 using Tapatalk
Click to expand...
Click to collapse
Since your device already has the untouched stock boot you don't need to flash anything.
I seem to be having trouble installing the "Systemless Xposed". It errors out with - ! Failed: Unable to extract zip file!
I have verified "systemless root - ver 2.76" and tried re-downloading the zip. Any thoughts?
jbaumert said:
I seem to be having trouble installing the "Systemless Xposed". It errors out with - ! Failed: Unable to extract zip file!
I have verified "systemless root - ver 2.76" and tried re-downloading the zip. Any thoughts?
Click to expand...
Click to collapse
Could you provide your recovery.log from TWRP so we can see the detailed logging information?
You can pull it from your device by running the following command in command prompt:
Code:
adb shell cat /tmp/recovery.log | clip
This will copy recovery.log contents to the clipboard. Paste it into notepad then save and attach here.
glauberlima said:
Could you provide your recovery.log from TWRP?
You can pull it from your device by running the following command in command prompt:
Code:
adb shell cat /tmp/recovery.log | clip[code]
This will copy contents to the clipboard. Paste it in notepad then save and attach here.[/QUOTE]
This is pretty neat. Given what I read as the requirements am I correct this only works with stock ROM? (and test will only pass on stock).
Click to expand...
Click to collapse
vpxf said:
This is pretty neat. Given what I read as the requirements am I correct this only works with stock ROM? (and test will only pass on stock).
Click to expand...
Click to collapse
Hi @vpxf
The unmodified boot.img is a requirement for SuperSU as it tries to patch the boot image on-the-fly during the install process (by the time you flash it using TWRP). If the image is not in its original state, SuperSU will fail to install in systemless mode.
Regarding your question about custom ROMs compatibility I don't know if the SafetyNet checking will pass/fail. That's a good test to perform.
glauberlima said:
Could you provide your recovery.log from TWRP so we can see the detailed logging information?
You can pull it from your device by running the following command in command prompt:
Code:
adb shell cat /tmp/recovery.log | clip
This will copy recovery.log contents to the clipboard. Paste it into notepad then save and attach here.
Click to expand...
Click to collapse
I've attached the log. I did notice "unzip: zip flags 1 and 8 are not supported".
NOTE: I was able to flash the 85.7 version found in the second post of the "Systemless Xposed" thread. The newest 86.2 is the one giving me troubles.
As glauberlima found out in the other thread, you need to re-zip the xposed installer with 7-zip (that's what i used at least) and the install will work.
bertolehm said:
As glauberlima found out in the other thread, you need to re-zip the xposed installer with 7-zip (that's what i used at least) and the install will work.
Click to expand...
Click to collapse
jbaumert said:
I've attached the log. I did notice "unzip: zip flags 1 and 8 are not supported".
NOTE: I was able to flash the 85.7 version found in the second post of the "Systemless Xposed" thread. The newest 86.2 is the one giving me troubles.
Click to expand...
Click to collapse
As stated by @bertolehm I've discussed in the other posts the exactly same issue with the zip installer you have reported @jbaumert. Take a look at them:
http://forum.xda-developers.com/showpost.php?p=67792193&postcount=1193
http://forum.xda-developers.com/showpost.php?p=67805517&postcount=1233
Regarding your device being systemless rooted check with SafetyNet Helper Sample app. If everything turns green you are good
** Duplicated **
Thanks for the tutorial.
The first boot fails, ok ; but how long is the second boot ?
I wait a long time (around 15 minutes) blocked at the first screent (static moto logo) and I stop it, reboot and reinstall my backup. I panic a little
oyoyl said:
Thanks for the tutorial.
The first boot fails, ok ; but how long is the second boot ?
I wait a long time (around 15 minutes) blocked at the first screent (static moto logo) and I stop it, reboot and reinstall my backup. I panic a little
Click to expand...
Click to collapse
Which variant is your X?
glauberlima said:
Which variant is your X?
Click to expand...
Click to collapse
XT1092
oyoyl said:
XT1092
Click to expand...
Click to collapse
15 minutes... That's definitely too much.
I'm about to update this guide with my new findings so If you don't mind I'd like to suggest you this:
Repeat the steps but this time skip the update to latest version. After the reboot access SuperSU. It should display a message regarding your su needs update. Accept it.
Make sure your nandroid backup is up to date.
Same thing, but it's possible that my boot image is not up to date and I have no other boot backup to test.
I have only a complete backup (boot + system without root), perahps I'll try later with complete restore ...
Thanks
Something went wrong, the root works fine, but when I run the SafetyNet test, I got "CTS profile match: false", I just want to keep the OTA upgrades working, if I did something wrong, is there any way to unroot and do the systemless root again?? Thankss
Hi! Hey, I followed the steps and my MotoX got stuck when rebooting after flashing. I'm trying to enter fastboot with power+Volume down but no luck so far, any idea? I hope you can help me!
oyoyl said:
Same thing, but it's possible that my boot image is not up to date and I have no other boot backup to test.
I have only a complete backup (boot + system without root), perahps I'll try later with complete restore ...
Thanks
Click to expand...
Click to collapse
OK. Just leave a reply by the time you have the result of your test.
guilhermoaraujo said:
Something went wrong, the root works fine, but when I run the SafetyNet test, I got "CTS profile match: false", I just want to keep the OTA upgrades working, if I did something wrong, is there any way to unroot and do the systemless root again?? Thankss
Click to expand...
Click to collapse
One of your installed apps modified system partition. Did you test on a completly stock image?
I recently started playing pokemon go and I am getting really frustrated while playing because it lags soo much and my phone is generally quite slow now. I have been told rooting and installing a good ROM can help with this and I have never attempted this, could someone please explain what rooting and ROMs are and their benefits and a how to guide for this phone and also the best ROM?
I know there are loads of threads on this but if someone could link me best threads I would be eternally gratefull!!
First of all, which variant of LG L90 is your phone (D4xx)? And could you go to Menu > General > About Phone > Software Information and tell me your "version" (v10x or v20x)?
Root is the ability for the user to take total control of his phone, from doing as little as automate 3G activation when an app is open to instaling custom ROMs, which are custom firmwares that you can install in your device, just like the stock one you're currently in, but with some modifications made by its creators. As for advantages, with root you have more freedom over your device, and with Custom ROMs you have some tweaks, which change depending on the ROM you choose to install, going from just porting newer firmwares to older devices to being an entire new OS (Operational System, in case you don't know).
Hyoretsu said:
First of all, which variant of LG L90 is your phone (D4xx)? And could you go to Menu > General > About Phone > Software Information and tell me your "version" (v10x or v20x)?
Root is the ability for the user to take total control of his phone, from doing as little as automate 3G activation when an app is open to instaling custom ROMs, which are custom firmwares that you can install in your device, just like the stock one you're currently in, but with some modifications made by its creators. As for advantages, with root you have more freedom over your device, and with Custom ROMs you have some tweaks, which change depending on the ROM you choose to install, going from just porting newer firmwares to older devices to being an entire new OS (Operational System, in case you don't know).
Click to expand...
Click to collapse
Thank you soo much for your reply and sorry about my late reply. My variant is LG-D405n and software version is V20c-234-30. I think I understand what Root and ROM is thx.
So could you link me to the best method to root and install ROM on my phone?
And what is the best ROM for my device to free up the RAM and CPU used on my device to increase my phone speed?
First of all, install these required apps:
http://king.myapp.com/myapp/kdown/img/NewKingrootV4.9.6_C151_B309_en_release_2016_08_18_105203.apk (For rooting)
https://play.google.com/store/apps/details?id=com.cgollner.flashify (For flashing the Custom Recovery)
https://play.google.com/store/apps/details?id=jackpal.androidterm (For terminal emulation)
Custom Recovery:
TWRP: http://forum.xda-developers.com/devdb/project/dl/?id=18679&task=get
Personally recommended Custom ROM, CyanogenMod (Ports Android updates to older phones plus some tweaks) and Gapps (Google Apps, it's needed to have things like calculator, play store, etc):
CM13: https://download.cyanogenmod.org/get/jenkins/175208/cm-13.0-20160820-SNAPSHOT-ZNH5YAO0J8-w7.zip
Gapps: http://opengapps.org/ (Go to this link, select ARM in platform, 6.0 in android and Nano in variant, then just click the download image button)
Put the TWRP img, the CM13 rom img and gapps on microSD or internal storage. Open Kingroot and click on the green button after the 3 introduction images. After a few minutes, your device will be rooted. Grab this file: http://forum.xda-developers.com/lg-...0w7xxshoxx-t2826150/post54358527#post54358527 (D405n_v20a_patched_aboot, don't worry, it's okay if you flash a different software version aboot as long as it's the same device as yours. The only "problem" you can have is to have your software version changed to v20c, which if I remember correctly, can be fixed using Bootstacks), transfer it to your phone and open Terminal Emulator. Then input the following commands:
su
dd if=(aboot.bin storage directory) of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Then, go to flashify and flash your custom recovery image (TWRP or CWM) in the flash recovery img option. After this, reboot into recovery by pressing Volume Down + Power and when you see the LG Logo, let go of the Power button and press it again. Then select yes two times with the volume keys for selection and power button to actually select the options (Don't worry, your device won't be factory resetted if you successfully installed custom recovery). Then, if you want, make a backup of your entire phone (recommended, just in case something goes wrong or if you just want your apps back when the process is done) in the Backup section and then do a factory reset through the Wipe option (Don't select anything, just swipe the bar). Select the Install option and select your ROM zip. After this, do the same process as the ROM installation but this time with Gapps zip. There you go, now you have CM13 installed. If you want root again, you don't have to install Kingroot again this time, as CM13 has built-in root, just enable Developer options and activate root and you're ready to go. Also, if you want the apps you had before the installation, just restore your backup (ONLY THE DATA PARTITION, otherwise CM13 will be uninstalled and replaced with stock ROM). If something goes wrong and you accidentally brick your device, just reply and I'll help you fix it. (If helped, click the Thanks! button)
Hyoretsu said:
Grab this file: http://forum.xda-developers.com/lg-...0w7xxshoxx-t2826150/post54358527#post54358527 (D405n_v20a_patched_aboot, don't worry, it's okay if you flash a different software version aboot as long as it's the same device as yours. The only "problem" you can have is to have your software version changed to v20c, which if I remember correctly, can be fixed using Bootstacks), transfer it to your phone and open Terminal Emulator. Then input the following commands:
su
dd if=(aboot.bin storage directory) of=/dev/block/platform/msm_sdcc.1/by-name/aboot
Click to expand...
Click to collapse
Hi, thank you so much, I finally rooted my device but I am having problems with the script part of the terminal emulator.
I wrote upto msm_sd and then this happen automatically:
View attachment 3865360
View attachment 3865361
View attachment 3865362
View attachment 3865363
I don't know what to do here..
EDIT: Also am I meant to have the SuperSU/SuperUser app installed once rooted? Then get a popup in the terminal emulator for permission for its root access?
Firebird3334 said:
Hi, thank you so much, I finally rooted my device but I am having problems with the script part of the terminal emulator.
I wrote upto msm_sd and then this happen automatically:
View attachment 3865360
View attachment 3865361
View attachment 3865362
View attachment 3865363
I don't know what to do here..
EDIT: Also am I meant to have the SuperSU/SuperUser app installed once rooted? Then get a popup in the terminal emulator for permission for its root access?
Click to expand...
Click to collapse
You have to change "(aboot.bin storage directory) with the directory in which aboot.bin is stored. And no, you don't need SuperSU, when you use the su command, a KingRoot window will open, just say yes.
EDIT: Wahay! It works! Thank you soo much for your help!
EDIT 2: I can't seem to find the option to edit my recent button in settings. What can I do?
Firebird3334 said:
EDIT: Wahay! It works! Thank you soo much for your help!
EDIT 2: I can't seem to find the option to edit my recent button in settings. What can I do?
Click to expand...
Click to collapse
If it's the menu button, I don't know of any way to change them, as Android updates change them. For example, my phone in KitKat used the home button for recent apps, in Lollipop it used the menu button for recent apps, and when I installed CM13, it used the home button again.
EDIT: Browsing LG L90 xda, I found this: http://forum.xda-developers.com/lg-l90/themes-apps/mod-button-remaps-l90-t3145146
Hyoretsu said:
If it's the menu button, I don't know of any way to change them, as Android updates change them. For example, my phone in KitKat used the home button for recent apps, in Lollipop it used the menu button for recent apps, and when I installed CM13, it used the home button again.
EDIT: Browsing LG L90 xda, I found this: http://forum.xda-developers.com/lg-l90/themes-apps/mod-button-remaps-l90-t3145146
Click to expand...
Click to collapse
You have helped me out so much already! Thank you so much!
But just one more thing though, could you explain how to install magisk and xposed in layman's term so I can use Android Pay?
I don't know what magisk is nor layman's term, but to install Xposed just go to this thread: http://forum.xda-developers.com/showthread.php?t=3034811, download both Xposed installer apk and xposed zip. Install xposed apk and flash xposed zip
Hello,
Help me please I'm getting Error 7 and after twrp reflash Error executing updater binary in zip
I did all the previus steps phone LG L90 d405n is rooted and bootloader is unlocked and rom downgraded to KK v10b
Now I want to flash CM or RR rom but I simply can't!
First I was getting error 7 when flashing I found out that I need TWRP 2.8.7 build 2 to flash so I found it and flashed. Now I'm getting ''error executing updater binary in zip twrp'' and I can't flash any rom.?*
I tried deleting first assert lines in updater-script from this?*thread?*but It didn't helped in any way...
Any ideas? Why the hell it is so ****ing complicated to flash custom on this ****ty device? Can't it work like Nexus4 or any other normal device??*
Thanks in advance for any tips&trics
PS. I can't open new thread dunno why...
amonlb said:
Hello,
Help me please I'm getting Error 7 and after twrp reflash Error executing updater binary in zip
I did all the previus steps phone LG L90 d405n is rooted and bootloader is unlocked and rom downgraded to KK v10b
Now I want to flash CM or RR rom but I simply can't!
First I was getting error 7 when flashing I found out that I need TWRP 2.8.7 build 2 to flash so I found it and flashed. Now I'm getting ''error executing updater binary in zip twrp'' and I can't flash any rom.?*
I tried deleting first assert lines in updater-script from this?*thread?*but It didn't helped in any way...
Any ideas? Why the hell it is so ****ing complicated to flash custom on this ****ty device? Can't it work like Nexus4 or any other normal device??*
Thanks in advance for any tips&trics
PS. I can't open new thread dunno why...
Click to expand...
Click to collapse
First of all, you don't need to use that TWRP build, you can use the latest one. To fix the only errors that should appear (Updater error 7 and 6), delete the first lines of updater-script until you reach the ui_print part (the first line of your file should be "ui_print("Target: 1471683591");"). Also, delete any double spaces that exist (there should be two, one before "abort" at line 27 and the other before "abort" at line 30). If it still gives the same error, try wiping Cache, data, system and dalvik-cache partitions, try to install the ROM, it'll give the error. Now, reboot your phone and try to install without wiping anything. (To properly see the line indications, open the file using Notepad++)
There are many threads and it's very difficult to find the Xposed latest version on the Xda.so I made this thread that people can find the latest version of the Xposed framework installer . I will keep Updating the links for the latest version in this thread.
If You want to improve the thread then please pm or post in the comment by quoting my username.
What is Xposed
Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations.
Xposed for Android 4.4 or below = Xposed 3.0.1 to 4.4
Xposed for Android 5.1 and latest = Xposed Latest Version
How to install:
- Install Xposed Installer app
- Make a nandroid backup
- Copy the Xposed file and the uninstaller to your sdcard(link is on Xda Try Search)
- Flash "xposed-vxx-sdkxx-armxx-MIUI-edition-by-SolarWarez-xxxxxxxx.zip" through a custom recovery (TWRP/CWM...)
- Reboot and wait, it may take several minutes to boot up depending on your ROM size and installed apps amount. If phone still not boot after 5 minutes then you need get boot log by "adb logcat -v time", reboot into recovery and restore backup or de install Xposed.
user-root said:
There are many threads and it's very difficult to find the Xposed latest version on the Xda.so I made this thread that people can find the latest version of the Xposed framework installer . I will keep Updating the links for the latest version in this thread.
If You want to improve the thread then please pm or post in the comment by quoting my username.
What is Xposed
Xposed is a framework for modules that can change the behavior of the system and apps without touching any APKs. That's great because it means that modules can work for different versions and even ROMs without any changes (as long as the original code was not changed too much). It's also easy to undo. As all changes are done in the memory, you just need to deactivate the module and reboot to get your original system back. There are many other advantages, but here is just one more: Multiple modules can do changes to the same part of the system or app. With modified APKs, you to decide for one. No way to combine them, unless the author builds multiple APKs with different combinations.
Xposed for Android 4.4 or below = Xposed 3.0.1 to 4.4
Xposed for Android 5.1 and latest = Xposed Latest Version
How to install:
- Install Xposed Installer app
- Make a nandroid backup
- Copy the Xposed file and the uninstaller to your sdcard(link is on Xda Try Search)
- Flash "xposed-vxx-sdkxx-armxx-MIUI-edition-by-SolarWarez-xxxxxxxx.zip" through a custom recovery (TWRP/CWM...)
- Reboot and wait, it may take several minutes to boot up depending on your ROM size and installed apps amount. If phone still not boot after 5 minutes then you need get boot log by "adb logcat -v time", reboot into recovery and restore backup or de install Xposed.
Click to expand...
Click to collapse
Thanks