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.
I've hunted around the forum but can't quite see this issue.
I've rooted and unlocked the bootloader and installed the latest TWRP recovery on my Nexus 9 LTE.
I'm aware that TWRP is for the wifi only model, so when I try and flash the latest LMY48I update via recovery and the zip file, TWRP states that the update is for "flounder_lte" and my device is "flounder". (the device is flounder lte but clearly having twrp installed is causing this error)
Is there a another way of updating my lte device so I can install the OTA update ???
@beej199
What "update" are you trying to flash?
The official OTA can only be sideloaded via stock recovery.
And the factory image has to flashed via fastboot, from bootloader.
The lte zip from here....
http://www.droid-life.com/2015/08/10/download-nexus-4-5-6-7-9-10-ota-stagefright-patches/
So it would be possible to install via fastboot?
Is there a guide for how an update (rather than a full system image) can be installed you could point me to?
thanks!
beej199 said:
The lte zip from here....
http://www.droid-life.com/2015/08/10/download-nexus-4-5-6-7-9-10-ota-stagefright-patches/
So it would be possible to install via fastboot?
Is there a guide for how an update (rather than a full system image) can be installed you could point me to?
thanks!
Click to expand...
Click to collapse
No. This is an OTA. You have to have stock recovery, stock (non rooted) system, and stock kernel.
If you want to fastboot flash the factory image, download it from here > https://developers.google.com/android/nexus/images
Then follow this guide for a "how to" (use the Long Method. Flash_All does not work) > http://forum.xda-developers.com/nexus-9/general/guide-how-to-unlock-bootloader-flash-t3035153
I've done a lot of research about custom ROMs and recoveries on Samsung phones and I'm coming here to confirm what I've found.
There is no way for me to flash twrp on my Verizon SCH-I545 Galaxy S4 even though it's rooted and I have twrp manager installed.
Rashr says "partition flash successful" when I flash twrp recovery, but then when I when I reboot it says Odin error. So I'm guessing rashr cannot help me either.
I also can't make a nandroid backup because I can't flash twrp. And I can't use Android SDK Studio to unlock the bootloader because then it would brick my phone.
Is there any known reliable way of unlocking my S4? If not, I wouldn't be surprised.
Thanks in advance.
Unfortunately not. After the 4.2.2 MDK update, the bootloader was locked down and there was no longer a way to downgrade to that update or unlock the bootloader. So you'll see recent roms for it, but they are only for the people who managed to root and stop the official updates and updated manually instead.
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.