Hi, I was just wondering what the steps were to keep stock software and root so I can still install OTA updates. I saw the guide here: http://forum.xda-developers.com/showthread.php?t=2265618 but I wasn't quite sure under 'Rooting Stock ROM', whether this meant I had to have an unlocked bootloader and custom recovery, just an unlocked bootloader or whether I could flash this through the stock recovery.
Thanks!
leo.sutton said:
Hi, I was just wondering what the steps were to keep stock software and root so I can still install OTA updates. I saw the guide here: http://forum.xda-developers.com/showthread.php?t=2265618 but I wasn't quite sure under 'Rooting Stock ROM', whether this meant I had to have an unlocked bootloader and custom recovery, just an unlocked bootloader or whether I could flash this through the stock recovery.
Thanks!
Click to expand...
Click to collapse
Step require to root is to first unlock the bootloader, flash a custom recovery like TWRP, then root using TWRP.
When you unlock the bootloader, the process will wipe /data partition. This include the /data/preload folder were HTC preloaded apps are (flashlight, calculator, soundhound and much more). In alsmost each ota updates, some of these apps are patched but because they were wiped, the ota installation will fail. So in order to still receive ota, you must restore the entire content of that folder after unlocking bootloader. This can be done using someone's backup, guru reset rom, or a RUU.
You'll also need to restore stock recovery for your version which is needed to install ota updates.
You will probably need to re-root after each ota, which is not a really hard thing to do.
Related
Hi guys,
I want unlock my phone with HTCDEV.
I wan't install any custom rom but only have the root.
After this operation can I to have the root?
Can I to continue to have OTA update?
Sorry for my english and thanks.
tatoone said:
Hi guys,
I want unlock my phone with HTCDEV.
I wan't install any custom rom but only have the root.
After this operation can I to have the root?
Can I to continue to have OTA update?
Sorry for my english and thanks.
Click to expand...
Click to collapse
From what I understand you're saying you do not want to install a custom rom, just rooted stock rom?
Yes you can still recieve ota update but I think you must relock the bootloader before you install ota update
You could do that yet it would be an unbearable and unnecessary effort.
Just go with Android Revolution HD.
It is in sync with the OTA updates, nothing would look or feel different than stock. But has a better performance and battery life overall.
Nonverbose said:
From what I understand you're saying you do not want to install a custom rom, just rooted stock rom?
Yes you can still recieve ota update but I think you must relock the bootloader before you install ota update
Click to expand...
Click to collapse
All right, I want root my stock rom and (Titanium Backup) and to continue to have the official update.
INFO:
Unlocking through htcdev.com will wipe your phone to factory defaults. Nothing will be wiped of you sd-card, only of your phone.
Ok, but after i have ulnocked the phone with htcdev, where find a guide for root?
tatoone said:
Ok, but after i have ulnocked the phone with htcdev, where find a guide for root?
Click to expand...
Click to collapse
After you unlock, you can use the same procedure that you do for Revolutionary, namely you install ClockworkMod Recovery and then from CWM recovery you can install the lastest version of su-3.0.xxxx.zip to root the ROM. Then you can use Titanium Backup, BusyBox, etc.
Hi
I've currently got stock 4.1.2 which is rooted, S-Off and with TWRP.
I've been offered the OTA on my phone, but it won't flash because of TWRP.
I've downloaded the OTA from the list on here but when I try flashing that it gets stuck on "Running bug_fix1 tool".
If there's a way that won't wipe my data, then that would be preferred, even if it's a bit of a ballache to do it.
I found this: http://www.icsforums.com/comment/2154761#comment-2154761 but not too sure how to do it.
Thanks
koocha said:
Hi
I've currently got stock 4.1.2 which is rooted, S-Off and with TWRP.
I've been offered the OTA on my phone, but it won't flash because of TWRP.
I've downloaded the OTA from the list on here but when I try flashing that it gets stuck on "Running bug_fix1 tool".
If there's a way that won't wipe my data, then that would be preferred, even if it's a bit of a ballache to do it.
I found this: http://www.icsforums.com/comment/2154761#comment-2154761 but not too sure how to do it.
Thanks
Click to expand...
Click to collapse
Can you not just re-lock your bootloader, install stock recovery in fastboot? That's all it takes to receive official OTA updates ... I'm S-On though so I'm not sure how it differs if you're S-Off. Might be worth looking here .. http://forum.xda-developers.com/showthread.php?t=2224752
I flashed the stock "Odexed" ROM with TWRP, then installed the stock recovery and finally re-locked my bootloader. This gives you a stock system and will allow OTA updates. As far as I'm aware, re-locking the bootloader won't wipe your SD Card but unlocking does. As I said though, I'm S-On so these steps are needed, I'm unsure if S-Off requires bootloader locking etc so might be worth checking the Android development thread as there are guides in there.
AllAboutTheCore said:
Can you not just re-lock your bootloader, install stock recovery in fastboot? That's all it takes to receive official OTA updates ... I'm S-On though so I'm not sure how it differs if you're S-Off. Might be worth looking here .. http://forum.xda-developers.com/showthread.php?t=2224752
I flashed the stock "Odexed" ROM with TWRP, then installed the stock recovery and finally re-locked my bootloader. This gives you a stock system and will allow OTA updates. As far as I'm aware, re-locking the bootloader won't wipe your SD Card but unlocking does. As I said though, I'm S-On so these steps are needed, I'm unsure if S-Off requires bootloader locking etc so might be worth checking the Android development thread as there are guides in there.
Click to expand...
Click to collapse
Reckon I could just fastboot the stock recovery?
koocha said:
Reckon I could just fastboot the stock recovery?
Click to expand...
Click to collapse
So you're on 4.12, you can't get the update because you have custom recovery, right? .. Try fastboot: fastboot flash recovery recovery.img ... I have no idea if you need to relock your bootloader to receive OTA updates as you are S-Off ... Might be worth searching for S-Off and see if theres a guide to receive OTA's.
AllAboutTheCore said:
So you're on 4.12, you can't get the update because you have custom recovery, right? .. Try fastboot: fastboot flash recovery recovery.img ... I have no idea if you need to relock your bootloader to receive OTA updates as you are S-Off ... Might be worth searching for S-Off and see if theres a guide to receive OTA's.
Click to expand...
Click to collapse
It's telling me there's an update available. 416mb to 4.2.2.
I've fastbooted the stock recovery, downloaded the OTA but waiting to install it as my battery level is too low and not near a charger.
I'm S-Off. I'll let you know how it goes!
There's a very thorough guide to returning to 100% stock here: http://forum.xda-developers.com/showthread.php?t=2358738
Hi,
I know this has been discussed in several ocassions, and I have read several threads but none of them answer my question.
I am wondering if I root my HTC One and keep the device with the stock rom (I only want to root for some apps that needs su) will I be able to get OTA updates?
If not, if I also do S-OFF will I be able to? Please keep in mind that I do not want to flash a custom rom, where then the answer I believe would be to unroot and apply the OTA.
Thank you
buzmay said:
Hi,
I know this has been discussed in several ocassions, and I have read several threads but none of them answer my question.
I am wondering if I root my HTC One and keep the device with the stock rom (I only want to root for some apps that needs su) will I be able to get OTA updates?
If not, if I also do S-OFF will I be able to? Please keep in mind that I do not want to flash a custom rom, where then the answer I believe would be to unroot and apply the OTA.
Thank you
Click to expand...
Click to collapse
No, and youll need a custom kernel with disabled write protection for the root to stick, which will not allow OTA's to work. if you really want root, download a custom stock rom
IINexusII said:
No, and youll need a custom kernel with disabled write protection for the root to stick, which will not allow OTA's to work. if you really want root, download a custom stock rom
Click to expand...
Click to collapse
But what about S-OFF not even with it it would work? I am confuse because I saw a guide here in XDA saying the following:
Rooting stock ROM
What you need to know before rooting stock ROM:
You can "un-root" it easily.
As long as you won't change any files on system partition, you still will be able to download and install official OTA updates.
Download Rooting Tools
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of Rooting Tools (zip) package and confirm flashing procedure.
After flashing process is complete, reboot the device. Your device has now SuperUser.apk, su binary and busybox installed.
So is this not true?
Link to this guide:
http://forum.xda-developers.com/showthread.php?t=2265618
buzmay said:
But what about S-OFF not even with it it would work? I am confuse because I saw a guide here in XDA saying the following:
Rooting stock ROM
What you need to know before rooting stock ROM:
You can "un-root" it easily.
As long as you won't change any files on system partition, you still will be able to download and install official OTA updates.
Download Rooting Tools
Boot your device in recovery mode (power off the device and turn it on using power + vol down buttons and select "RECOVERY")
In main menu, select "install zip from sdcard" and "choose zip from sdcard".
Navigate to the location of Rooting Tools (zip) package and confirm flashing procedure.
After flashing process is complete, reboot the device. Your device has now SuperUser.apk, su binary and busybox installed.
So is this not true?
Link to this guide:
http://forum.xda-developers.com/showthread.php?t=2265618
Click to expand...
Click to collapse
Having S-off won't effect OTAs but having a custom recovery will. Best to go all stock, rom and recovery to receive the OTA updates. You can root after.
Note: Do the S-off procedure before you update. If your hboot gets updated, you're outta luck.
farang4u said:
Having S-off won't effect OTAs but having a custom recovery will. Best to go all stock, rom and recovery to receive the OTA updates. You can root after.
Note: Do the S-off procedure before you update. If your hboot gets updated, you're outta luck.
Click to expand...
Click to collapse
Ok, but now for instance I do have 4.2.2 so if I root and then there is an update 4.3 then what? I am interested in being only root and being able to get the updates. So every time an OTA comes I shall unroot and then root? This option is not as optimal as I would have though it would be.
Thanks
buzmay said:
Ok, but now for instance I do have 4.2.2 so if I root and then there is an update 4.3 then what? I am interested in being only root and being able to get the updates. So every time an OTA comes I shall unroot and then root? This option is not as optimal as I would have though it would be.
Thanks
Click to expand...
Click to collapse
As long as you have a stock recovery and rom, you should be able to receive OTAs on a rooted phone. Not %100 certain though.
Note: An OTA update could break the root and other mods you made to the rom and cause some other issues.
farang4u said:
As long as you have a stock recovery and rom, you should be able to receive OTAs on a rooted phone. Not %100 certain though.
Note: An OTA update could break the root and other mods you made to the rom and cause some other issues.
Click to expand...
Click to collapse
But how can I have a stock recovery and be root? Dont I need a custome recovery to root?
buzmay said:
But how can I have a stock recovery and be root? Dont I need a custome recovery to root?
Click to expand...
Click to collapse
You need custom recovery to run the rooting process. After your system is rooted you can then flash back to the stock recovery. You should still have root access but I could be wrong. Download "Root Checker" from the play store, run it to see if your device is still rooted. You still need a stock recovery to receive OTA updates though.
The reason you need stock recovery is that you can't install an official update with custom recovery. The type of recovery you have doesn't affect root access.
The reason you have to keep your system files perfectly stock is that an OTA is a patch, meaning it doesn't necessarily replace entire files but mainly snippets of code. If the system files are not stock, it can't do this properly. So it checks /system before running and stops if things are not perfectly stock.
You can get OTAs being rooted, you just can't install them unless you have stock recovery and a fully stock rom.
If you're stock on 4.2.2 right now, you can't s-off, so don't worry about that.
You don't have to flash a custom rom, but you can flash a stock rooted rom. With OTAs, you play the cat-and-mouse game. Can I root it? Did the HBOOT update and kill current S-OFF procedures?
If 4.3 does come out, all you would have to do is wait for a few days for a dev to cook a stock rooted 4.3 rom. AT&T always lags with updates, yet I have a fully functioning 4.2.2 M7 with LTE and no AT&T bloat all thanks to the devs who cook stock rooted roms.
Moved this question from here: http://forum.xda-developers.com/showthread.php?p=51198721
I'm currently stock, rooted, S-OFF, and TWRP recovery. I'm flashed to 3.06.651.6 firmware.
I still get the OTA notifications, and my goal is to install the latest OTA update (without RUU) so that I can preserve data. I've created a TWRP backup, but that's the extent of it.
Any help is appreciated.
Other background - I reverted back to 3.06.651.6 after flashing firmware 4.06.xxx because I could not boot normally after that or did not know how.
My bootloader says Tampered, relocked
vflock said:
Moved this question from here: http://forum.xda-developers.com/showthread.php?p=51198721
I'm currently stock, rooted, S-OFF, and TWRP recovery. I'm flashed to 3.06.651.6 firmware.
I still get the OTA notifications, and my goal is to install the latest OTA update (without RUU) so that I can preserve data. I've created a TWRP backup, but that's the extent of it.
Any help is appreciated.
Other background - I reverted back to 3.06.651.6 after flashing firmware 4.06.xxx because I could not boot normally after that or did not know how.
My bootloader says Tampered, relocked
Click to expand...
Click to collapse
Ok
I have never done an OTA or Ran an RUU personally.
To the best of my knowledge you will have to flash the stock recovery and a stock rom to be able to take the OTA.
Sidenote: You say you are re-locked...when you unlock again it's going to wipe your device.
Backup everything important to your PC then run the RUU stuff is gonna get wiped either way might as well use the RUU as it's a cleaner method.
You'll have to flash the 4.06 firmware I pointed you to from the other thread to get the required hboot.
BD619 said:
Ok
I have never done an OTA or Ran an RUU personally.
To the best of my knowledge you will have to flash the stock recovery and a stock rom to be able to take the OTA.
Sidenote: You say you are re-locked...when you unlock again it's going to wipe your device.
Backup everything important to your PC then run the RUU stuff is gonna get wiped either way might as well use the RUU as it's a cleaner method.
You'll have to flash the 4.06 firmware I pointed you to from the other thread to get the required hboot.
Click to expand...
Click to collapse
Serious Q - Am I not On the stock ROM if I never switched ROMs?
But OK, s=you're saying if I were even able to get the stock revoery reloaded, and receive the OTA, but then if i try to unloack bootloader after that I won't be able to? Also serious Q - Do you have a link on performing a good nandroid backup?
Next - if I did run the RUU, how would i quickly restore my data - just using titanium backup? is that the quickest/only way?
vflock said:
Serious Q - Am I not On the stock ROM if I never switched ROMs?
But OK, s=you're saying if I were even able to get the stock revoery reloaded, and receive the OTA, but then if i try to unloack bootloader after that I won't be able to? Also serious Q - Do you have a link on performing a good nandroid backup?
Next - if I did run the RUU, how would i quickly restore my data - just using titanium backup? is that the quickest/only way?
Click to expand...
Click to collapse
If you never changed roms then yes you are on a stock rom.
To unlock the bootloader again you would use Htc Dev again(unless you still have your unlock token) and by doing so it will wipe your phone.
Only way to nandroid is to have a custom recovery which means unocking bootloader.
I personally don't use Titanium Backup so can't answer that...I backup my phone/sdcard to my PC at least once a month (copy and paste to a folder on my PC)
Hello,
I would like to root my phone, but do I also have to unlock the bootloader and install a custom recovery? I don't want to install custom roms, and I want to be able to install updates from Google. The phone is also unlocked, but I'm not sure if unlocking the bootloader is a totally different thing. Basically I just want to root to get features such as the notification light and install exposed.
NOTE: This will only work on lollipop, for M preview you need a modified kernel, otherwise it won't boot!
If you only need root then use Chainfire's CF-Auto-Root (https://download.chainfire.eu/628/CF-Root/CF-Auto-Root/CF-Auto-Root-shamu-shamu-nexus6.zip).
To install root, you need to unlock the bootloader (CF-Auto-Root will do it for you if it's locked), but it will wipe you entire phone, and do a factory reset. So backup everything before you root it.
This will leave your stock recovery unchanged.
Thank you. This is exactly what I wanted.
You might want to consider installing twrp also, at least you can do a backup before you start messing around with stuff. Just rooting the phone will allow you to do everything you need /want but if you change something that makes things go south you have no reference point to return to.
Also, just to clarify: You will NOT be able to recieve OTA updates after rooting your phone. Rooting, using custom recovery, custom kernel or anything at all that tampers with the system prevents OTA updates from installing.
If any of the above has occured, the only way to be able to start updating through OTA again is to flash a factory image (or at least relevant parts of one).
Unlocking the bootloader will not affect the ability to update through OTA.