so say i upgrade my rooted htc one once the ota update becomes ready.. what happens? i dont want to end up with a bricked phone.. would it harm my phone in any way?
thaaaanxxx
monrokhoury said:
so say i upgrade my rooted htc one once the ota update becomes ready.. what happens? i dont want to end up with a bricked phone.. would it harm my phone in any way?
thaaaanxxx
Click to expand...
Click to collapse
An OTA update will not work on a rooted phone! For the OTA to work it needs stock recovery, stock rom and all of the files that it is attempting to update. If anything is missing then it will error out and return to your present setup.
and to complete what majmoz already said, if your rom is 100% stock, and you have flashed back your stock recovery, the phone will update fine but you will loose root. You'll need to flash a custom recovery after the OTA to re-root the rom.
Guys you're very helpful and i must thank you for that. i am on the official 4.4.3 rom so i just need to restore the stock recovery? how to do that? and will the current rooting method work on lollipop (and should i follow the same steps to install clockwork recovery)? Will the ota update relock the bootloader?
i'm sorry if i'm asking too many questions but i don't trust any other forum.
monrokhoury said:
Guys you're very helpful and i must thank you for that. i am on the official 4.4.3 rom so i just need to restore the stock recovery?
Click to expand...
Click to collapse
If you have not modified anything to your rom (Kernel is stock and always was, you have not deleted any /system files and you still have or restored all the content in /data/preload (wiped during bootloader unlock), so yes all you need to do is to flash back the stock recovery that match your version.
how to do that?
Click to expand...
Click to collapse
The same way you did to flash a custom recovery:
Code:
fastboot flash recovery name_of_file.img
fastboot erase cache
fastboot reboot
and will the current rooting method work on lollipop
Click to expand...
Click to collapse
Flash the latest supersu from a custom recovery. Version 2.37 and above should work on lollipop
and should i follow the same steps to install clockwork recovery
Click to expand...
Click to collapse
You always flash the recovery using the same commands, stock or custom, on all versions its always:
Code:
fastboot flash recovery name_of_file.img
fastboot erase cache
fastboot reboot
Will the ota update relock the bootloader?
Click to expand...
Click to collapse
OTA updates will never affect the bootloader status (S-ON/S-OFF, LOCKED/UNLOCKED/RELOCKED)
If you have not modified anything to your rom (Kernel is stock and always was, you have not deleted any /system files and you still have or restored all the content in /data/preload (wiped during bootloader unlock), so yes all you need to do is to flash back the stock recovery that match your version.
Click to expand...
Click to collapse
So, if I did flash a custom kernel, and did uninstall system programs (but didn't flash a custom Rom), what are my options if I'd like to upgrade to lollipop?
Thanks!
Sent from my HTC One using XDA Free mobile app
Related
Hello,
I have a Developer Edition (unlocked) with Stock 4.3 at the moment, is rooted and with TWRP 2.6.3.0 custom recovery, my phone is asking me to upgrade to 4.4. My questions are:
- What would be the results of the upgrade?
- It will flash over my custom recovery without problems?
I guess I will loose root and custom recovery but I can flash them again, my main concern is that the OTA will not flash correctly for being rooted and with custom recovery. Thanks a lot for those that know the answer and want to help me.
gustavorod said:
Hello,
I have a Developer Edition (unlocked) with Stock 4.3 at the moment, is rooted and with TWRP 2.6.3.0 custom recovery, my phone is asking me to upgrade to 4.4. My questions are:
- What would be the results of the upgrade?
- It will flash over my custom recovery without problems?
I guess I will loose root and custom recovery but I can flash them again, my main concern is that the OTA will not flash correctly for being rooted and with custom recovery. Thanks a lot for those that know the answer and want to help me.
Click to expand...
Click to collapse
i guess you cant flash official OTA through custom recovery..u need stock recovery to do this
gustavorod said:
Hello,
I have a Developer Edition (unlocked) with Stock 4.3 at the moment, is rooted and with TWRP 2.6.3.0 custom recovery, my phone is asking me to upgrade to 4.4. My questions are:
- What would be the results of the upgrade?
- It will flash over my custom recovery without problems?
I guess I will loose root and custom recovery but I can flash them again, my main concern is that the OTA will not flash correctly for being rooted and with custom recovery. Thanks a lot for those that know the answer and want to help me.
Click to expand...
Click to collapse
Actually, you won't be able to do an OTA update when you've a custom recovery (you shouldn't even get it in the first place, sometimes it comes through), if you try to apply the OTA, you'll boot back to the TWRP recovery.
So, you should either go full stock (recovery & ROM), then do an OTA. Or flash some 4.4 Custom ROM.
By itself the phone alerted me that the OTA download is available and wants to download and flash itself as it did when it upgraded from 4.2.2 to 4.3 so I am not planning to flash through TWRP...
gustavorod said:
By itself the phone alerted me that the OTA download is available and wants to download and flash itself as it did when it upgraded from 4.2.2 to 4.3 so I am not planning to flash through TWRP...
Click to expand...
Click to collapse
it will download OK, but when it reboots to start installing, you'll just see the TWRP screen and nothing is gonna happen; because the OTA expects stock recovery.
Thanks!!!!
I guess I better flash another 4.3 or 4.4 by myself, I just thought the OTA would be better first to upgrade to the latest firmware...
gustavorod said:
I guess I better flash another 4.3 or 4.4 by myself, I just thought the OTA would be better first to upgrade to the latest firmware...
Click to expand...
Click to collapse
you can do two things:
1- get s-off and flash any firmware you want
2- "download & install later" the OTA, once downloaded pull it to your PC, the OTA file will contain a "firmware.zip" which is signed and can be flashed in fastboot ruu mode (you have to issue the flash command twice!!!), which would upgrade your firmware (including hboot, kernal and recovery), but will leave your rom intact
----- because it flashes recovery, you need to reflash custom recovery
----- and, kernel (boot.img) you'll need to reflash the custom one (or dirty install the ROM), otherwise the ROM won't boot up
nkk71 said:
you can do two things:
1- get s-off and flash any firmware you want
2- "download & install later" the OTA, once downloaded pull it to your PC, the OTA file will contain a "firmware.zip" which is signed and can be flashed in fastboot ruu mode (you have to issue the flash command twice!!!), which would upgrade your firmware (including hboot, kernal and recovery), but will leave your rom intact
----- because it flashes recovery, you need to reflash custom recovery
----- and, kernel (boot.img) you'll need to reflash the custom one (or dirty install the ROM), otherwise the ROM won't boot up
Click to expand...
Click to collapse
I've looked around for a CWM compatible version of the Dev Edition + Root, but I'm not finding one. Is anyone aware of a CWM-packaged version that I can flash using CWM on a rooted device? Reverting to stock to pick up the OTA seems like a long way to go
Hey everyone
I've recently solved my OTA problem (seen here) but I soon discovered yet another problem.
When I tried to enter SuperSU, I received the following error shown below.
As mentioned before, I'm on 4.4.2 and I have NO desire whatsoever to unlock my bootloader all over again. Is there anyway to re-root my phone without unlocking my bootloader or will I need to do just that in order to re-root?
Thanks in advance
Anyone?
Please help :crying:
ArmyMan007 said:
Please help :crying:
Click to expand...
Click to collapse
From what I know, and by the error displayed on the attached screenshot, you need to do the whole rutine all over again. I am pretty sure rooting can not be done if bootloader is locked, which might mean you have a stock recovery image as well - and since that is not keen to be rooted (as far as I know) you need to flash a custom recovery like twrp. I might be wrong in all this, I'm newish to all this.
ArmyMan007 said:
Hey everyone
I've recently solved my OTA problem (seen here) but I soon discovered yet another problem.
When I tried to enter SuperSU, I received the following error shown below.
As mentioned before, I'm on 4.4.2 and I have NO desire whatsoever to unlock my bootloader all over again. Is there anyway to re-root my phone without unlocking my bootloader or will I need to do just that in order to re-root?
Thanks in advance
Click to expand...
Click to collapse
Since you are S-ON you can not flash a custom recovery or root without unlocking your bootloader.
Frogger209 said:
From what I know, and by the error displayed on the attached screenshot, you need to do the whole rutine all over again. I am pretty sure rooting can not be done if bootloader is locked, which might mean you have a stock recovery image as well - and since that is not keen to be rooted (as far as I know) you need to flash a custom recovery like twrp. I might be wrong in all this, I'm newish to all this.
Click to expand...
Click to collapse
Well, for starters, my bootloader is unlocked (as mentioned before), thus we eliminate the bootloader unlocking dilemma. But it still doesn't tell me how can I re-root my device: you want to tell me that I have to do is to flash a custom recovery and install SuperSU again, and my phone will be rooted again?
majmoz said:
Since you are S-ON you can not flash a custom recovery or root without unlocking your bootloader.
Click to expand...
Click to collapse
Like I wrote before: I DO have an unlocked bootloader
ArmyMan007 said:
Well, for starters, my bootloader is unlocked (as mentioned before), thus we eliminate the bootloader unlocking dilemma. But it still doesn't tell me how can I re-root my device: you want to tell me that I have to do is to flash a custom recovery and install SuperSU again, and my phone will be rooted again?
Click to expand...
Click to collapse
flash twrp 2.6.3.3. boot in recovery then exit, twrp will prompt you to root the phone. Then yo ucan flash back the stock recovery for future ota updates.
alray said:
flash twrp 2.6.3.3. boot in recovery then exit, twrp will prompt you to root the phone. Then yo ucan flash back the stock recovery for future ota updates.
Click to expand...
Click to collapse
Why can't I flash twrp 2.7.1.0? and don't I need to install SuperSU via twrp? and what do you mean that twrp will promote me to root the phone? it never did that before..
ArmyMan007 said:
Why can't I flash twrp 2.7.1.0?
Click to expand...
Click to collapse
latest known bug free version of twrp is 2.6.3.3/.4 thats why we always recommend using this version.
and don't I need to install SuperSU via twrp? and what do you mean that twrp will promote me to root the phone? it never did that before..
Click to expand...
Click to collapse
that is for the M8 but same thing apply for the M7:
http://www.youtube.com/watch?v=bKGKlkJRroQ#t=122
or flash the latest su binary from twrp
alray said:
latest known bug free version of twrp is 2.6.3.3/.4 thats why we always recommend using this version.
that is for the M8 but same thing apply for the M7:
http://www.youtube.com/watch?v=bKGKlkJRroQ#t=122
or flash the latest su binary from twrp
Click to expand...
Click to collapse
I used to install the latest binary within twrp and it never asked me to do so. Now I got root access again Can I flash my stock recovery again?
ArmyMan007 said:
I used to install the latest binary within twrp and it never asked me to do so. Now I got root access again Can I flash my stock recovery again?
Click to expand...
Click to collapse
yes you can flash your stock recovery again, might be a good idea to do a nandroid backup of your current config before flashing back the stock recovery.
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot
alray said:
yes you can flash your stock recovery again, might be a good idea to do a nandroid backup of your current config before flashing back the stock recovery.
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot
Click to expand...
Click to collapse
Will do! Thanks a bunch!!!
As thread says, now boot looping. Did fastboot reboot at the end of the upgrade and phone tried to reboot then stayed off.
Trying to go into recovery but that blacks out for me as well.
saw this thread pop up in the "similar threads" field as i was creating this post so guess i should give it a go? http://forum.xda-developers.com/showthread.php?t=1936852
basically says to just reinstall a custom recovery and flash a new rom and i'm all set (i think).
you need unlock device again and flash custom recovery
1)Unlock your device
2)flash custom recovery
3)flash rom
Click to expand...
Click to collapse
If that's the case my phone still says i'm unlocked. So yeah, not sure what to do here. Thanks in advance for any help.
My guess is the new kernel/boot.img is not compatible with the rom you are running.
1. You could try a dirty flash of your current rom.(don't wipe anything just flash the rom)
2. Flash a 5.03.651.3 stock rooted rom.
3. Restore a good backup.
4. Run the 5.03.651.3 RUU and start fresh.
BD619 said:
My guess is the new kernel/boot.img is not compatible with the rom you are running.
1. You could try a dirty flash of your current rom.(don't wipe anything just flash the rom)
2. Flash a 5.03.651.3 stock rooted rom.
3. Restore a good backup.
4. Run the 5.03.651.3 RUU and start fresh.
Click to expand...
Click to collapse
Hi, yeah i see.
I went ahead and flashed a TWRP recovery i had labeled as safe and managed to get back into recovery. I'm now on one of my original stock backups which i set right before i went into custom rom mode. So got some functionality back at least.
I will now attempt the RUU process. Please correct me if i'm wrong, but after i complete it, i have to root my phone again? And s-off shouldn't change?
Since you are s-off you don't need to re-lock your bootloader, so all you should need to do after the RUU is re-flash twrp,flash SuperSU if you are going to stay stock rooted or flash a custom rom and you should be good to go.
BD619 said:
Since you are s-off you don't need to re-lock your bootloader, so all you should need to do after the RUU is re-flash twrp,flash SuperSU if you are going to stay stock rooted or flash a custom rom and you should be good to go.
Click to expand...
Click to collapse
awesome, you are the best
thanks again for your help, i would have been in some kind of misery without it lol.
nickhx2 said:
awesome, you are the best
thanks again for your help, i would have been in some kind of misery without it lol.
Click to expand...
Click to collapse
No worries good luck
I have HTC One M7 with Root, S-off, TWRP 2.8.5.0, CID HTC__001 , HTC-WWE, and when i'm trying to install recent OTA update (7.19.401.22) after downloading OTA_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.22-7.19.401.2_****.zip, phone is restarted in boot-loader mode so I have choosen in TWRP install (downloaded zip file) and then I have got the this error message.
Any idea what I've done wrong?
badzi0r said:
I have HTC One M7 with Root, S-off, TWRP 2.8.5.0, CID HTC__001 , HTC-WWE, and when i'm trying to install recent OTA update (7.19.401.22) after downloading OTA_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.22-7.19.401.2_****.zip, phone is restarted in boot-loader mode so I have choosen in TWRP install (downloaded zip file) and then I have got the this error message.
Any idea what I've done wrong?
Click to expand...
Click to collapse
Phone must be 100% stock for ota updates including recovery.
@badzi0r like alray said You need to flash the stock recovery (the same way you flashed a custom recovery) before installing ota. If you can't find it lemme know and I'll try to
monrokhoury said:
@badzi0r like alray said You need to flash the stock recovery (the same way you flashed a custom recovery) before installing ota. If you can't find it lemme know and I'll try to
Click to expand...
Click to collapse
Take the stock recovery out of the firmware.zip of the ota, flash that then try and update again.
But it also depends on what other mods you have done with your root etc, too many system mods and you'll just have to flash the stock full ruu of 7.19.401.2 to return to stock, then update, and then mod away.
Hi,
Sorry for delay and thanks for support.
I have extracted the firmware.zip and got 4 img files:
boot.img
hboot_signedbyaa.img
rcdata.img
recovery.img
Now series of basic question as I'm not feeling as an expert. I have rooted my phone half year ago and don't want to do something stupid now.
Which of above has to be flashed?
Is this the correct command: fastboot flash recovery <name of recovery>.img ?
Another question is: do I lose my data?
Should I flush the newest twrp after OTA update?
I have clean HTC Stock ROM 'CID HTC__001 , HTC-WWE'
Thanks
badzi0r said:
Hi,
Sorry for delay and thanks for support.
I have extracted the firmware.zip and got 4 img files:
boot.img
hboot_signedbyaa.img
rcdata.img
recovery.img
Now series of basic question as I'm not feeling as an expert. I have rooted my phone half year ago and don't want to do something stupid now.
Which of above has to be flashed?
Click to expand...
Click to collapse
You flash the recovery with..... the recovery.img
Is this the correct command: fastboot flash recovery <name of recovery>.img ?
Click to expand...
Click to collapse
Yes "fastboot flash recovery recovery.img"
Another question is: do I lose my data?
Click to expand...
Click to collapse
You shouldn't but always better to do a backup first.
Should I flush the newest twrp after OTA update?
Click to expand...
Click to collapse
Why? If you need it yes, if you don't then no.
I have clean HTC Stock ROM 'CID HTC__001 , HTC-WWE
Click to expand...
Click to collapse
Clean? We will see....
It's not gonna work.
Stays at white screen with HTC Logo.
I have restored from backup.
Any idea what goes wrong?
badzi0r said:
It's not gonna work.
Stays at white screen with HTC Logo.
I have restored from backup.
Any idea what goes wrong?
Click to expand...
Click to collapse
[this is not 100% guaranteed]
the phone hangs after finishing the backup installation?
your stock recovery should be according to what version of firmware you are installing (although LP recovery works on KK).
wipe cahe and data if it still hangs then, try to flash stock [kitkat or lollipop] recovery again and then restart the phone.
I have download OTA, then extract and flash recovery.img. After reboot to system download an OTA again and it was installed without any errors but system stopped on white screen with HTC and android logo.
After three attempts I have restored nand backup and now phone is wroking, as before.
Is anything which I forgot?
badzi0r said:
I have download OTA, then extract and flash recovery.img. After reboot to system download an OTA again and it was installed without any errors but system stopped on white screen with HTC and android logo.
After three attempts I have restored nand backup and now phone is wroking, as before.
Is anything which I forgot?
Click to expand...
Click to collapse
you might want to flash the 7.19.401.22 ruu, it will update your phone and bring everything back to stock. RUU is in the general section, check sticky thread.
badzi0r said:
I have download OTA, then extract and flash recovery.img. After reboot to system download an OTA again and it was installed without any errors but system stopped on white screen with HTC and android logo.
After three attempts I have restored nand backup and now phone is wroking, as before.
Is anything which I forgot?
Click to expand...
Click to collapse
alray said:
you might want to flash the 7.19.401.22 ruu, it will update your phone and bring everything back to stock. RUU is in the general section, check sticky thread.
Click to expand...
Click to collapse
Looks like HTC didn't test this OTA very well, the update to .22 seems to soft brick a lot of phones, personally, as I use a custom rom on my M7, I just flashed the firmware only without a problem, just to bring it up to the latest, I didn't bother with the OTA, no point unless you are going to run stock rom.
What if I install RUU, how it affects to my data? It will wipe everything?
badzi0r said:
What if I install RUU, how it affects to my data? It will wipe everything?
Click to expand...
Click to collapse
RUU will wipe everything yes.
I will stay with current state. Hopefully I will not lose to much. Planning to have my M7 for the next year and then replace for the newer model.
I got an OTA update named OTA_M7_UL_L50_SENSE60_MR_TMOUS_7.18.531.35-7.18.531.2_release_450302.zip with size about 180MB.
Did anybody else get it?
I can't apply the update though because I have twrp and the phone is rooted. I was wondering if someone else got the update and applied it successfully on a rooted phone.
devsk said:
I got an OTA update named OTA_M7_UL_L50_SENSE60_MR_TMOUS_7.18.531.35-7.18.531.2_release_450302.zip with size about 180MB.
Did anybody else get it?
Click to expand...
Click to collapse
Should post this question here: http://forum.xda-developers.com/showthread.php?t=2305490
and the answer is probably yes since I don't see why T-mobile USA would push an ota update only to you
7.18.531.35 is the t-mobile US equivalent of 7.17.1540.35 which is the latest version with the stagefright 1.0 vulnerability fixed.
I can't apply the update though because I have twrp and the phone is rooted. I was wondering if someone else got the update and applied it successfully on a rooted phone.
Click to expand...
Click to collapse
You need to be on 100% stock rom including stock recovery to install ota updates. Better to return to stock using a ruu before applying the update imo since many users soft bricked their phones when attempting to install lollipop ota updates on stock rooted phones. If you need the RUU, look in the RUU collection thread, there is a 7.18.531.2 RUU posted there (link in my signature). Don't forget that questions should be posted in the q&a section, not in general. :good:
Thanks for your help. I found the RUU for my version. So, since I need to go back to RUU flash, I will need to re-setup my phone from scratch again just for getting this OTA....sucks!!
I wish they would make it easier to update modified phones. Just overwrite my root changes to /system and destroy my recovery but keep my /data and /sdcard. I can recover from that much faster than doing RUU and set up from scratch!!
So, on m7, isn't there way to flash stock on /system and stock recovery through fastboot and then take the OTA? I have done that on at least Samsung and Moto phones in the past and it worked fine.
So, if I restore system and boot partitions from my backup to stock, can I sideload the OTA ZIP using TWRP?
I should have made a recovery.img from the original stock recovery partition. Do you know if I can find the stock recovery here somewhere?
devsk said:
I wish they would make it easier to update modified phones. Just overwrite my root changes to /system
Click to expand...
Click to collapse
It is, you'll loose root every time you do an ota update.
and destroy my recovery
Click to expand...
Click to collapse
The ota is flashed using the stock recovery, and the stock recovery is also updated in that process.
So, on m7, isn't there way to flash stock on /system and stock recovery through fastboot and then take the OTA? I have done that on at least Samsung and Moto phones in the past and it worked fine.
Click to expand...
Click to collapse
Yes, either using a RUU, or a combination of a stock rom/backup (/system partition) flashed using twrp and then flashing the stock recovery back.
So, if I restore system and boot partitions from my backup to stock, can I sideload the OTA ZIP using TWRP?
Click to expand...
Click to collapse
No, the updater-script will only work with stock recovery
I should have made a recovery.img from the original stock recovery partition.
Click to expand...
Click to collapse
You can't backup the stock recovery directly from the phone (actually yes you can but it requires s-off and its somewhat complicated.
Do you know if I can find the stock recovery here somewhere?
Click to expand...
Click to collapse
already uploaded here:
https://www.androidfilehost.com/?fid=23991606952604831
or you can extract it from the ota update.
It was possible to update a stock rom + rooted phone simply by flashing the stock recovery back in the past (on kitkat roms and eariler) but it looks like its not possible anymore on lollipop updates. So much ppl posted here with the same problem: "Phone is stuck at HTC splash screen after installing update on stock rooted phone". Example here and here
The biggest problem if the ota install fine but the phone is stuck at the booting screen (like in the link above) is that your firmware will be updated to 7.18.531.35 so you won't be able to use the 7.18.531.2 RUU anymore unless you achieve S-OFF or edit your MISC partition.
alray said:
It is, you'll loose root every time you do an ota update.
The ota is flashed using the stock recovery, and the stock recovery is also updated in that process.
Yes, either using a RUU, or a combination of a stock rom/backup (/system partition) flashed using twrp and then flashing the stock recovery back.
No, the updater-script will only work with stock recovery
You can't backup the stock recovery directly from the phone (actually yes you can but it requires s-off and its somewhat complicated.
already uploaded here:
https://www.androidfilehost.com/?fid=23991606952604831
or you can extract it from the ota update.
It was possible to update a stock rom + rooted phone simply by flashing the stock recovery back in the past (on kitkat roms and eariler) but it looks like its not possible anymore on lollipop updates. So much ppl posted here with the same problem: "Phone is stuck at HTC splash screen after installing update on stock rooted phone". Example here and here
The biggest problem if the ota install fine but the phone is stuck at the booting screen (like in the link above) is that your firmware will be updated to 7.18.531.35 so you won't be able to use the 7.18.531.2 RUU anymore unless you achieve S-OFF or edit your MISC partition.
Click to expand...
Click to collapse
Thanks for the great help! I can't thank you enough.
One question: if I do fail to apply the OTA zip after restoring boot, system and recovery to stock, I will still be able to get TWRP back on the recovery through fastboot and restore my full TWRP backup to get a working system back, right? Is there a gotcha in that route?
devsk said:
Thanks for the great help! I can't thank you enough.
One question: if I do fail to apply the OTA zip after restoring boot, system and recovery to stock, I will still be able to get TWRP back on the recovery through fastboot and restore my full TWRP backup to get a working system back, right? Is there a gotcha in that route?
Click to expand...
Click to collapse
yes, even if the ota installation fails, you''ll be able to access fastboot, flash back twrp and restore your twrp nandroid backup. :good:
alray said:
yes, even if the ota installation fails, you''ll be able to access fastboot, flash back twrp and restore your twrp nandroid backup. :good:
Click to expand...
Click to collapse
Awesome!! :good::good: