[Q] Stock bootloader/recovery and keep root possible? - One (M7) Q&A, Help & Troubleshooting

Hello,
Is it possible to keep root and have original bootlader/recovery reflashed after unlock?
So I can receive ota without having to worry or would even su cause problems for ota?
Sent from my HTC One using XDA Free mobile app

micnolmad said:
Hello,
Is it possible to keep root and have original bootlader/recovery reflashed after unlock?
So I can receive ota without having to worry or would even su cause problems for ota?
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
Root will not prevent ota update to install
You can safely relfash stock recovery after you have rooted the phone.
BUT
Unlocking the bootloader also wipe /data/preload folder (and its content). Everything in this folder must be restored to be able to install ota update. back it up first, then unlock bootloader, flash twrp recovery, root, flash stock recovery, restore /data/preload and set permission to folder and files.
After installing an ota update you'll need to root again (relfash twrp, root and relfash stock recovery)
Any modification to /system files will prevent ota update to install.

Thanks.. It is so annoying that a customer has to go though this must trouble simply to get the most out of his device. I am really starting to dislike otas...
Sent from my HTC One using XDA Free mobile app

Related

[Q] Future OTA's

I have a us cellular version Moto X. I unlocked bootloader using motorola website and flashed clockwork mod and SU. When a future OTA comes up do I just accept it, or do i need to do something special.
It won't install if you have a custom recovery. Just wait till someone comes out with a flashable version.
Sent from my XT1058 using XDA Premium 4 mobile app
charlie-n said:
I have a us cellular version Moto X. I unlocked bootloader using motorola website and flashed clockwork mod and SU. When a future OTA comes up do I just accept it, or do i need to do something special.
Click to expand...
Click to collapse
On my Nexus 7 you could create a backup right after unlocking the bootloader and flashing recovery, but before rooting. When the OTA is available, flash back to that backup, then take the OTA. It would flash in TWRP, after flashing it would ask you if you wanted to remove the recovery.sh file......or you could manually remove it via TWRP by mounting system, and removing the file. That file re-flashes stock recovery on boot. You could then reboot, go to play and download SuperSU, then root. Seemed to work pretty well. I am setup and ready to try it that way.

I'll Ask Another Way

Unlocked bootloader, flashed TWRP 2.6 but supersu did not root. Fortunately I did a backup of my stock unrooted rom and was able to revert back to it. I just want to know if I un root and relock my bootloader can I still RUU a stock rom since I wasn't really rooted. If so will I be able to receive OTA updates in the future. Thanks
Sent from my HTCONE using xda app-developers app

[Q] Verizon DE Software Upgrade Q

If I have the Verizon DE Moto X, do I need to be stock (no root) and re-locked bootloader to get software updates? Or just one or the other? Neither?
Thanks,
Mike
Mike7143 said:
If I have the Verizon DE Moto X, do I need to be stock (no root) and re-locked bootloader to get software updates? Or just one or the other? Neither?
Thanks,
Mike
Click to expand...
Click to collapse
You need stock /system partition and stock recovery. It doesn't matter whether the bootloader is locked or unlocked.
Mike7143 said:
If I have the Verizon DE Moto X, do I need to be stock (no root) and re-locked bootloader to get software updates? Or just one or the other? Neither?
Thanks,
Mike
Click to expand...
Click to collapse
To install? or to be notified and receive the update?
To receive the update you'll need to be running the "stock" Verizon firmware, rooted/unrooted and bootloader locked/unlocked doesn't matter.
For it to install successfully, to expand on what kbluhm posted...
Keep in mind that usually OTA updates will look for certain files to be present on your phone and verify their size and check sums (MD5 or the like) before the OTA update will install. If files are missing or changed, the ota update will fail. That is why "stock /system" is required.
And "stock recovery" is needed because when the phone reboots to install the update, it tries to boot to stock recovery and run the install script. The 3rd party recoveries don't seem to work, or have errors, when installing the OTA update zips.
If you've rooted with SlapMyMoto, RockMyMoto, or thel like, you may have other issues to deal with in order to take any OTA updates since those processes can touch other files/partitions on the phone which will cause problems with the OTA Updates.
So in order to install the update I need to re-flash the stock recovery over TWRP, correct? How do I go about doing this?
Ah okay, thanks guys. What a hassle. I'm unlocked and using TWRP, flashed a new boot logo, and am rooted. Probably just easiest to just SBF back to stock and re-do everything.
Thanks!
You could grab the factory image from Motorola and flash only system and recovery using fastboot. That is my plan. You can find the zip file on Motorola's site or there is a topic here on XDA.
Sent from my XT1060 using Tapatalk
guitarbedlam said:
So in order to install the update I need to re-flash the stock recovery over TWRP, correct? How do I go about doing this?
Click to expand...
Click to collapse
Mike7143 said:
Ah okay, thanks guys. What a hassle. I'm unlocked and using TWRP, flashed a new boot logo, and am rooted. Probably just easiest to just SBF back to stock and re-do everything.
Thanks!
Click to expand...
Click to collapse
There are several threads about using Fastboot to flash recovery or parts of the rom rather than having to use RSDLite and flash the SBF of everything..
Example: see option 2 in -> http://forum.xda-developers.com/showthread.php?t=2536735
KidJoe said:
There are several threads about using Fastboot to flash recovery or parts of the rom rather than having to use RSDLite and flash the SBF of everything..
Example: see option 2 in -> http://forum.xda-developers.com/showthread.php?t=2536735
Click to expand...
Click to collapse
Thus, all I'd have to flash (I'm stock unlocked rooted) is the recovery and I'd be good to install the update. Then install the custom recovery and install the superuser zip. and BAM. But first I need the whole 4.4.2 update thing...
guitarbedlam said:
Thus, all I'd have to flash (I'm stock unlocked rooted) is the recovery and I'd be good to install the update. Then install the custom recovery and install the superuser zip. and BAM. But first I need the whole 4.4.2 update thing...
Click to expand...
Click to collapse
Sure, we need the 4.4.2 update.
And as long as you didn't delete any stock apps/apk's, freeze them with Titanium Backup or something similar, or rename them manually (and forgot to rename them back)... then yes.. just flash stock recovery, take update, flash TWRP and use SuperSU to re-root.
KidJoe said:
Sure, we need the 4.4.2 update.
And as long as you didn't delete any stock apps/apk's, freeze them with Titanium Backup or something similar, or rename them manually (and forgot to rename them back)... then yes.. just flash stock recovery, take update, flash TWRP and use SuperSU to re-root.
Click to expand...
Click to collapse
You can freeze them all you want and leave them frozen. They are still there, untouched, waiting to be checked/verified against and patched/updated. Once you obtain root again and grant it to Titanium Backup it will be re-frozen.
You just can't delete, rename or swap out.....frozen apps are still right there as normal.
tcrews said:
You can freeze them all you want and leave them frozen. They are still there, untouched, waiting to be checked/verified against and patched/updated. Once you obtain root again and grant it to Titanium Backup it will be re-frozen.
You just can't delete, rename or swap out.....frozen apps are still right there as normal.
Click to expand...
Click to collapse
Interesting. One of the issues reported with the Kit Kat update was the OTA failing due to apps frozen with Titanium Backup. I only "disable" via the stock app manager, so I haven't had a problem.
Most likely those with failures had modified/deleted/renamed something else that was causing the issues and blaming it on the frozen apps. I have updated every device I've had with frozen apps. Freezing, at least in Titanium Backup, tells the OS the app is not available. In recovery, the OS is not loaded and knows nothing about frozen apps. Titanium doesn't touch the actual files so they are still present to be patched by the OTA.
Sent from my Nexus 10

[Q] how to update os

I have htc one m7 i had it rooted s-off and than unlocked with java card.
I have notification about update from htc (left the phone with original rom on it)
I accept to update it downloads the update than reboots my phone in recovery but there nothing happends it gives me options to browse the content of the phone whipe dalvik cashe etc.
I am currently running android kitkat 4.4.2 original htc rom with htc sense 5
I have hboot 1.56
Should i install zip manualy from there?
if i do that will it brick my phone? will i loose unlock that i made with java card ?
Are you on a custom recovery? You need to flash the stock recovery for your firmware to accept ota updates. It will not mess with your secure flag or lock status by updating. At least it shouldn't.
Sent from my HTC6500LVW using XDA Free mobile app
Uzephi said:
Are you on a custom recovery? You need to flash the stock recovery for your firmware to accept ota updates. It will not mess with your secure flag or lock status by updating. At least it shouldn't.
Sent from my HTC6500LVW using XDA Free mobile app
Click to expand...
Click to collapse
I no longer have stock recovery i have a custom one installed. It was installed by the guy ho did the phone unlock.
How can i put back stock recovery ?
If i put back stock recovery i will lose root on update right ?
eradokir said:
I no longer have stock recovery i have a custom one installed. It was installed by the guy ho did the phone unlock.
How can i put back stock recovery ?
If i put back stock recovery i will lose root on update right ?
Click to expand...
Click to collapse
When you do any ota, you still lose root. Ota needs stock recovery to work. Check santod's thread on recoveries, firmwares and such thread. It has links and instructions
Sent from my HTC6500LVW using XDA Free mobile app

If I root my htc , will i get OTA updates ?

Hi guys , so if I root my HTC One will i still get OTA Update ?
Xhemal1325 said:
Hi guys , so if I root my HTC One will i still get OTA Update ?
Click to expand...
Click to collapse
It depends.
rooting itself doesn't prevent ota updates to install. As long as all your /system files and /data/preload files are 100% stock, ota updates will install fine.
But unlocking the bootloader will wipe everything in /data/preload so you won't be able to install ota updates (even if your phone will notify you and download the update) unless you have restored this folder and its files after having unlocked the bootloader (either by using a ruu, restoring a nandroid backup, using a reset rom). You can also manually restore that folder if you can find the files you need but they most be from the same exact software version (e.g: you can't use /data/preload files of 5.09.401.10 on 5.09.401.11 in order to update to 5.09.401.12).
http://android-revolution-hd.blogspot.ca/2013/03/negative-effects-of-unlocked-bootloader.html
Just check if you still have HTC calculator and flashlight app installed on your phone. If not, then its because you don't have /data/preload on your phone and ota update can't be installed.
alray said:
It depends.
rooting itself doesn't prevent ota updates to install. As long as all your /system files and /data/preload files are 100% stock, ota updates will install fine.
But unlocking the bootloader will wipe everything in /data/preload so you won't be able to install ota updates (even if your phone will notify you and download the update) unless you have restored this folder and its files after having unlocked the bootloader (either by using a ruu, restoring a nandroid backup, using a reset rom). You can also manually restore that folder if you can find the files you need but they most be from the same exact software version (e.g: you can't use /data/preload files of 5.09.401.10 on 5.09.401.11 in order to update to 5.09.401.12).
http://android-revolution-hd.blogspot.ca/2013/03/negative-effects-of-unlocked-bootloader.html
Just check if you still have HTC calculator and flashlight app installed on your phone. If not, then its because you don't have /data/preload on your phone and ota update can't be installed.
Click to expand...
Click to collapse
ok thanks sir, ill keep for sometime unrooted, , its working great

Categories

Resources