Hello,
I am not new to the process of rooting, unlock bootloader or flashing ROM. But, this is the first time that I need to root a HTC phone, the HTC One M8. I don't usually care much for stock ROM, but this is my girlfriend's phone and I think stock ROM works best for her. It is more stable, even though it will be a bit slow and has a lot of bloatware. I plan to root it then manually go in and disable most of the bloated apps. Then, I will install Xposed Module and add some useful modules. However, the release of Lollipop is around the corner. I want to know if rooting it will affect the ability of doing OTA upgrade.
Base on what I have read, in order to root, you have to unlock the bootloader, then replace the stock recovery with custom recovery like CWM/TWRP, then you flash the supersu.zip file to grant root permission. I am familiar with the process, but I am a bit confused at this part. Since we use a custom recovery to flash the supersu.zip file, it is more likely that OTA upgrade will fail since most OTA upgrade rely on stock recovery.
1/ Then, how do I upgrade to Lollipop 5.0 once I have rooted the phone?
The current ROM is Kitkat I think.
2/ I mean, is there a stock recovery file that I can flash back to replace the custom recovery once the phone has been rooted? or the OTA process will work with the custom recovery, which is very unlikely in my opinion.
3/ Also, once I have upgraded to Lollipop, I can do the same process to gain root again, (flash custom recovery, then flash supersu.zip to gain root). Is that correct?
4/ Is there any other method of gaining root without losing OTA update? As long as I don't have to wipe everything and restore it for every OTA update. I am fine with it.
Please let me know. Thank you all for your help.
After you root, flash back your stock recovery. As long as you are running stock the ota will attempt to download. Even when running non-stock recovery - what will happen is the ota will download and when you accept the update the phone will reboot into your custom recovery and the update won't be applied because the ota relies on the stock recovery being there.
So anyway, you can root, replace custom recovery back with stock and allow the update. You will most likely loose root once the update is applied, but then as long as there are custom recoveries available for the new android version you can flash back to custom recovery, reroot and you should be set.
I did this for a while, but the downside is that if SuperSU updates (or whichever root method you use) and requires a bin update, you won't be able to apply the root bin update unless you are running the custom recovery.
Hope that makes sense, typing from my phone while on a train.
What I do is this
Unlock Bootloader via HTC DEV website.
Dl a custom recovery I prefer TWRP Recovery flash that via Fastboot.
Then boot into custom recovery on your phone and create a New backup of the stock rom b4 you install SuperSU for root, name it something like (Stock untouched) .
Then flash superSU update zip in recovery.
Once superuser is working do what you want.
Note: I'd go ahead and find and Dl the stock recovery and keep it on hand for when you ready to go back Stock for the OTA update.
Go back to stock
Boot into custom recovery wipe system /data/cache. Then restore the Stock (untouched) backup you made.
Fastboot flash the stock recovery back.
Then relock Bootloader and now you back to Stock and ready to do the OTA update.
Note : this is what I do, everybody got their own way of doing things
Sent from my HTC One_M8 using Tapatalk
tommy_riley said:
After you root, flash back your stock recovery. As long as you are running stock the ota will attempt to download. Even when running non-stock recovery - what will happen is the ota will download and when you accept the update the phone will reboot into your custom recovery and the update won't be applied because the ota relies on the stock recovery being there.
So anyway, you can root, replace custom recovery back with stock and allow the update. You will most likely loose root once the update is applied, but then as long as there are custom recoveries available for the new android version you can flash back to custom recovery, reroot and you should be set.
I did this for a while, but the downside is that if SuperSU updates (or whichever root method you use) and requires a bin update, you won't be able to apply the root bin update unless you are running the custom recovery.
Hope that makes sense, typing from my phone while on a train.
Click to expand...
Click to collapse
Ok, thank you for the reply. That clears up a little. I can just flash stock recovery every time I want to update. I was able to find a thread that has all the stock recovery file. I have a quick question. Does any version of stock recovery will work? or you want the one that match your current stock recovery. Also, what is Non-WWE-Recoveries?
Here is the thread with all the stock recoveries:
http://forum.xda-developers.com/showthread.php?t=2701376
Let me know. Thank you
scoot0073 said:
What I do is this
Unlock Bootloader via HTC DEV website.
Dl a custom recovery I prefer TWRP Recovery flash that via Fastboot.
Then boot into custom recovery on your phone and create a New backup of the stock rom b4 you install SuperSU for root, name it something like (Stock untouched) .
Then flash superSU update zip in recovery.
Once superuser is working do what you want.
Note: I'd go ahead and find and Dl the stock recovery and keep it on hand for when you ready to go back Stock for the OTA update.
Go back to stock
Boot into custom recovery wipe system /data/cache. Then restore the Stock (untouched) backup you made.
Fastboot flash the stock recovery back.
Then relock Bootloader and now you back to Stock and ready to do the OTA update.
Note : this is what I do, everybody got their own way of doing things
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
Hello,
I understand your concept for going back to stock. But, I don't get why I have to relock the bootloader. What I mean is, is that necessary for the OTA to work? I thought you only need the stock recovery for the OTA to work. Also, once you have done OTA update, and you want to root the phone again. The downsize is you have to unlock the bootloader again, which will wipe the phone completely and you will have to restore everything, which wastes times.
I like the idea of just restoring the stock recovery, do the OTA upgrade, then flash custom recovery to gain root again. I don't mind repeating that process for each update. But to relock/unlock the bootloader, having to wipe everything is a hassle. Please clarify. Thank you for your help.
I don't believe you need to relock boot loader for OTA. You do need locked bootloader for RUU full install, but only if S-ON (s-off you can do RUU w/boot loader locked or unlocked) - but that's not what were talking about here - OTA w/ unlocked boot loader = All good.
I believe WWE recovery refers to Europe versions of the recovery, so if in US go for the non-WWE.
I'd stick with trying to lineup stick recovery versions with version of OS software you have installed - so if you are running stock 4.4.2 or 4.4.3 grab the latest stocl recovery available.
vi6s said:
Hello,
I understand your concept for going back to stock. But, I don't get why I have to relock the bootloader. What I mean is, is that necessary for the OTA to work? I thought you only need the stock recovery for the OTA to work. Also, once you have done OTA update, and you want to root the phone again. The downsize is you have to unlock the bootloader again, which will wipe the phone completely and you will have to restore everything, which wastes times.
I like the idea of just restoring the stock recovery, do the OTA upgrade, then flash custom recovery to gain root again. I don't mind repeating that process for each update. But to relock/unlock the bootloader, having to wipe everything is a hassle. Please clarify. Thank you for your help.
Click to expand...
Click to collapse
Lol.. Yea if S-On relock Bootloader for RUU.
But no you don't need to relock the Bootloader for OTA updates S-On or s-off Sorry for the confusion I was going back n forth with another user and got you mixed up.
Sent from my HTC One_M8 using Tapatalk
vi6s said:
Ok, thank you for the reply. That clears up a little. I can just flash stock recovery every time I want to update. I was able to find a thread that has all the stock recovery file. I have a quick question. Does any version of stock recovery will work? or you want the one that match your current stock recovery.
Click to expand...
Click to collapse
You need the stock recovery that correspond to your stock software. AT&T software is x.xx.502, and I don't see any corresponding recoveries in exocet's stock nandroid collection, but 1.12.502 and 1.58.502 stock recoveries are posted here: http://forum.xda-developers.com/att-htc-one-m8/development/att-stock-backups-recoveries-otas-t2855966
Also, while eluded to above, it should be clearly stated, no /system files may be modified, in order for OTA to install. So depending on what you intend to change with root, you will either need to put it back to stock (if you modded any system files), restore the stock ROM with a nandroid you made, or a stock ROM posted on XDA.
Alternately, you can quickly return to stock by RUU. Although you either need to relock the bootloader or have s-off to run the RUU. And RUU will also wipe the phone.
So to sum it up, in order to OTA you need:
/system to be returned to stock (stock ROM)
stock recovery
Unlocked bootloader is OK
Root is okay (you will lose root after the OTA)
All:
I have attempted to flash TWRP via various methods to no avail. I have somehow messed something up so I cannot get the stock recovery to work. I can get into the stock recovery screen, but if I select anything, it says Secure boot error. I am currently on OTA 5.0.1 VS98523C. Any advice on how to proceed? I have looked at KDZ options, but am wondering if I can just get the stock recovery back and let it ride until TWRP is available.
Thanks in advance,
Steven
I'm having trouble with getting TWRP to flash successfully. Using their app and flashify
MrSpohn1 said:
All:
I have attempted to flash TWRP via various methods to no avail. I have somehow messed something up so I cannot get the stock recovery to work. I can get into the stock recovery screen, but if I select anything, it says Secure boot error. I am currently on OTA 5.0.1 VS98523C. Any advice on how to proceed? I have looked at KDZ options, but am wondering if I can just get the stock recovery back and let it ride until TWRP is available.
Thanks in advance,
Steven
Click to expand...
Click to collapse
In theory, you can use the dd comment to put the aboot back, but I would not recommend it as I got my phone hard bricked that way. (so dead that even KDZ does not work)The safest way is KDZ back to 10b, and then stump root. Then:
1. Install TWRP manager from Google Play.
2. From TWRP manager you can choose your phone model and download and install TWRP recovery.
3. Follow the instruction from this link to use TWRP to install the 23c
http://forum.xda-developers.com/verizon-lg-g3/development/rom-rom-base-lp-upgrade-bump-t3051884
Never do OTA if you have rooted your phone. It needs to be completely stock for OTA to work.
/\ What he said.
Twrp doesn't work after lollipop because of the signing requirements in the bootloader.
It needs to be rolled back to 10-12b and then rooted and then you can load twrp. Once you have twrp you can load jasmine or skydragon which are both 5.01.
http://forum.xda-developers.com/verizon-lg-g3/general/guide-flash-to-stock-10b-kdz-method-t2928140
Thanks! So if I want to use xposed, I should roll back to the other versions of lollipop?
thanks all. I KDZ'd 12b stock rom, rooted, then flashed TWRP through flashify. I then went into recovery and installed the 23c rom. I used skydragon 4.0.0 because I tried to flash Jasmine 7.0 like 8 times. I did not have any of the bottom keys and I could not access my pulldown menu. I could not figure out why this was happening. Skydragon worked for me perfectly. Thanks All.
Hi all
I'd like to convert an ota update package from .zip to boot/recovery/system images i googled it for sometime and cant seem to find any helpful info on how to do it.
First off im using GR5 KII-L21 and before i started this journey i was @ android 5.1.1 the updated manually -used this- to android 6.0.1 then flashed twrp onto my phone and then rooted it. while i was tweaking and modding i messed something up and as usual i didnt make a twrp backup before i started playing with my system. and twrp always fails to install the update package i used to get from 5.1.1 to 6.0.1 and im stuck
I got a twrp backup for the gr5 kii-l21 somewhere from here flashed it and im back to 5.0.1 now a new issue arises when i try to update via ota to 5.1.1 the update always fails with "software update failed" message and i cant find the local update option to use the 6.0.1 update. So i got myself one of them kiwi 6.0.1 update.app and extracted the boot/recovery/system images and flashed them via adb. Now im on 6.0.1 again but still cant see the local update option in the updater app. It works and everything but it feels wrong somehow. The updater app is trying to update the 5.0.1 to 5.1.1 even tho its on 6.0.1 now.
If its not possible to convert the .zip update to images .img I'd like to have the original 5.0.1 for the GR5 KII-L21 with boot and recovery images or as a twrp backup and i'll work my way from there, thanks.
Alyx89 said:
Hi all
I'd like to convert an ota update package from .zip to boot/recovery/system images i googled it for sometime and cant seem to find any helpful info on how to do it.
First off im using GR5 KII-L21 and before i started this journey i was @ android 5.1.1 the updated manually -used this- to android 6.0.1 then flashed twrp onto my phone and then rooted it. while i was tweaking and modding i messed something up and as usual i didnt make a twrp backup before i started playing with my system. and twrp always fails to install the update package i used to get from 5.1.1 to 6.0.1 and im stuck
I got a twrp backup for the gr5 kii-l21 somewhere from here flashed it and im back to 5.0.1 now a new issue arises when i try to update via ota to 5.1.1 the update always fails with "software update failed" message and i cant find the local update option to use the 6.0.1 update. So i got myself one of them kiwi 6.0.1 update.app and extracted the boot/recovery/system images and flashed them via adb. Now im on 6.0.1 again but still cant see the local update option in the updater app. It works and everything but it feels wrong somehow. The updater app is trying to update the 5.0.1 to 5.1.1 even tho its on 6.0.1 now.
If its not possible to convert the .zip update to images .img I'd like to have the original 5.0.1 for the GR5 KII-L21 with boot and recovery images or as a twrp backup and i'll work my way from there, thanks.
Click to expand...
Click to collapse
what .zip rom you are going to flash ?
the GR5 KII-L21 found here when u unzip it its not in the form of a .app update file
Alyx89 said:
the GR5 KII-L21 found here when u unzip it its not in the form of a .app update file
Click to expand...
Click to collapse
it's my thread bro lol :laugh:
okay it's not a full rom it just an update to mm based on lolipop
Thx for the help. Now that CM13 supports fingerprint sensor im moving to it instead.
Zentalk forums claims that stock firmware WW_15.0405.1803.99 is released but I can't find it on the Asus support page. Anyone knows where it is?
I spent awhile looking for it as well couldn't find it
Is this update only for OTA devices and those with unlocked boot-loaders excluded from this update?
It's up now
Asus web site is always later then phone OTA, today (11-4-2018) the web site can download the upgrade file.
Now is there an easy way to install this with TWRP?
I use the same TWRP version as the last few updates
How do you do that? Anytime I try and install the stock ROM zip with TWRP, I get some error 7 message and refuses to install.
U can't flash the stock ASUS Rom with twrp. U need to reflash the stock boot.img and the stock recovery. Then update. Then reflash twrp.
How do you get the stock recovery? The one online is outdated and won't update to the latest rom.
someaguy said:
How do you get the stock recovery? The one online is outdated and won't update to the latest rom.
Click to expand...
Click to collapse
Flash these in fastboot mode. Open the archive and copy them to your fastboot directory.
https://drive.google.com/file/d/1NK66Zlaish2sqEsb6ci2ABb9XPN-HDIU/view?usp=sharing
I have a Moto E 2015 XT1526 with an unlocked bootloader, and TWRP. After trying many roms I finally settled on the stock rom in the interest of having a reliable phone.
The stock rom I flashed isn't the latest so I get the update nag, what happens if I update using this?
I don't mind if it deletes TWRP or kills root I am just worried it will brick the device.
Don't install a stock ota update if you have TWRP... Device will hard brick!
Some users reported that if you want to get ota updates you had to (if i remember):
- Unroot phone and remove all mods
- Install stock recovery
-Get and install ota
Aftee this you can re-install TWRP and other mods.
dxp420 said:
Don't install a stock ota update if you have TWRP... Device will hard brick!
Some users reported that if you want to get ota updates you had to (if i remember):
- Unroot phone and remove all mods
- Install stock recovery
-Get and install ota
Aftee this you can re-install TWRP and other mods.
Click to expand...
Click to collapse
Heard the same and personally wouldn't risk it.