Installing system update with TWRP - HTC U11 Questions & Answers

So I decided to update my phone ot the latest version, but since I have TWRP installed when I downloading the update it reboots to TWRP, thinks for a second and then goes to the main menu. Never does the install. Anyway I can go about installing it or do I need to install the stock recovery? If so does anyone have a link to the stock recovery.

You need to be stock (not rooted) to take updates. You'll have to flash the phone back to the original firmware, take the updates and then decide if you're going to reroot. BTW just unroot in will not trick the system. You need to have an untouched system partition. If you unroot you'll still have a marked system. Only ruu can undo it.
If you are s-off or unlocked bootloader then don't change them. It's not necessary. If you have manually locked or relocked your bootloader I recommend unlocking it before you flash the firmware to avoid any problems later on.
Find the ruu in zip format and go from there.

Related

What happens if you get OTA on a rooted phone?

I heard the phone gets unrooted with an OTA? So what happens to the apps that need root access? They stay there and start working fine when you root again or need to be reinstalled?
Do you lose data in the process when you install OTA update on a rooted phone?
if i remember correctly , it will not have OTA with rooted phone even with stock ROM.
by root , you must have change some system file , most case, flash CWM recovery and install superuser, which will effectively fail the OTA.
You will get the ota.
it will install perfectly normal if you still have stock recovery.
if you have custom recovery manually flash the update.zip Then flash su.zip. You're now stock rooted.
albundy2010 said:
You will get the ota.
it will install perfectly normal if you still have stock recovery.
if you have custom recovery manually flash the update.zip Then flash su.zip. You're now stock rooted.
Click to expand...
Click to collapse
I have stock recovery and I do have some third party apps installed as system apps but I havent deleted any.
I'll think unless I am one of the first to get OTA I'll prolly be too impatient to wait for it anyways and flash through CWM. But will I lose data flashing through CWM? I have flashed stock roms through stock recovery when it was allowed in GB and never lost data but I wasnt rooted back then.
Gambler_3 said:
I heard the phone gets unrooted with an OTA? So what happens to the apps that need root access? They stay there and start working fine when you root again or need to be reinstalled?
Do you lose data in the process when you install OTA update on a rooted phone?
Click to expand...
Click to collapse
Be patient, stay rooted, soon after the release I am sure there will be a stock rom that you can flash via CWM,
You won't loose data.
You can flash official updates through cwm no problem. In fact that was the only way to do it manually after 4.0.3. Stock recovery would not allow manually flashing the update zip. Would end up in a error 7.
So it was either wait for the update to be pushed to your phone or flash it manually with a custom recovery

OTA update wont run after going back to stock from MOD

Hi am having a problem after going back to telstra stock after being on rohans JB build 3. It was really bad at connecting on LTE so I wanted to go back to stock where I have less problems. So now the 4.0.4 OTA update is available which fixes the one of the main reasons I found a ROM, that stupid settings bar.
However when I reboot to install the OTA it just boots into TWRP (v 2.2.2). I cant manually apply update from within recovery. It just gives an error. If I reboot from recovery nothing is applied.
Android v 4.0.3, software version 1.89.841.9
Do I have to get rid off TWRP or find a RUU and and apply that image? Was there some boot locking thing I need to do through abd to get the OTA to work?
piscario said:
Hi am having a problem after going back to telstra stock after being on rohans JB build 3. It was really bad at connecting on LTE so I wanted to go back to stock where I have less problems. So now the 4.0.4 OTA update is available which fixes the one of the main reasons I found a ROM, that stupid settings bar.
However when I reboot to install the OTA it just boots into TWRP (v 2.2.2). I cant manually apply update from within recovery. It just gives an error. If I reboot from recovery nothing is applied.
Android v 4.0.3, software version 1.89.841.9
Do I have to get rid off TWRP or find a RUU and and apply that image? Was there some boot locking thing I need to do through abd to get the OTA to work?
Click to expand...
Click to collapse
Pretty sure you have to relock your bootloader and run an RUU to get your phone to true stock. Then OTA. Although, if the RUU was based off 4.0.4 you wouldn't have to OTA. You can always re-ulock your phone after an RUU as long as you have your unlock token and/or super CID.
Did you just flash a stock ROM?
Also, pretty sure there are 4.0.4 stock ROMs out there that you could flash so you wouldn't have to relock your phone.
Butters619 said:
Pretty sure you have to relock your bootloader and run an RUU to get your phone to true stock. Then OTA. Although, if the RUU was based off 4.0.4 you wouldn't have to OTA. You can always re-ulock your phone after an RUU as long as you have your unlock token and/or super CID.
Did you just flash a stock ROM?
Also, pretty sure there are 4.0.4 stock ROMs out there that you could flash so you wouldn't have to relock your phone.
Click to expand...
Click to collapse
Thanks I restored a backup I made before flashing the ROM. Might try and find another ROM to see how 4G goes.
Fixing a connectivity issue on one custom ROM is not a good reason to go stock. I think the OTA needs stock recovery, so that is why you are getting stuck at recovery. Even if it works, you lose root. Its a step backwards, so why would you want to do that?
Just flash a ROM based on 4.0.4 from Development. You can pick a custom ROM, or a stock rooted one (safe to flash from TWRP), if you want stock.
If you are rooted, don't install a OTA or run RUU (unless you are trying to fix a soft brick). Good rule for any Android device.

[Q] Restoring for Update

Hello. I am reverting my XT1032 to stock in preparation for the update. Does the recovery need to be resotred to stock as well or can I leave the clockworkmod recovery on?
Thanks
Yes
Stock means all is stock, even the recovery. If you leave unlocked bootloader, you can change back to cwm later.
Stock firmware
Stock recovery
No root
No system apps uninstalled or freezed
Thats what you need to succesfully OTA to Lollipop. :highfive:
Hello
I have my moto G with root and custom recovery, what are the steps to follow to get all way back to stock ?
1. Unroot.
2. Uninstall xposed if you have it
3. Flash stock recovery.
4. Make sure you have the stock ROM installed. (Unlocked bootloader is fine)
5. Initiate ota
will i be able to return to kitkat after upgrading, at any time? no bootloader conflicts, or anything?
Once you upgrade to lollipop you most likely cannot downgrade to KitKat again since the boot loader will not accept it any longer.
skyguy126 said:
1. Unroot.
2. Uninstall xposed if you have it
3. Flash stock recovery.
4. Make sure you have the stock ROM installed. (Unlocked bootloader is fine)
5. Initiate ota
Click to expand...
Click to collapse
Regarding this guide it isn't necessary to have the rom 'unmodified' i removed a few system apps from /system. is this causing a failure as well or do i have not all XPosed removed properly ?
Thanks for reply.
Do i have any alternative option than complete reflash the stock rom ?
If you removed some system apps there is a slight chance it will fail. Also I forgot to mention to remove xposed before unrooting because uninstalling xposed requires root.
Well then I think it fails because of the removed sys apps.
Will it be a chance to flash the ota using sideload? Or will this attempt fail also?
If I don't have any option I need to start over with the device when I decide to upgrade to lollipop. But at the moment it is not yet available in Germany.
I only have a due update which might increase the SD card compatibility.

OTA Question

Unlocked U11 with unlocked bootloader, trwrp recovery and rooted stock. Have not flashed custom rom. Steps to take OTA Oreo?
Flash back to stock. Use the firmware zip it is on now to reset. You should then be able to take ota's. No need to unroot, relock etc.
Flash stock unrooted FW due twrp?
Sent from my HTC U11 using XDA Labs
Believe I have bricked my device. Flashed RUU using appropriate RUU exe from HTC. Intaller ran for @1hour with 0% process. Battery was at 93% and ran to under 30% halting process. Had to disconnect to recharge. Will call HTC to see if they can help.
Update- All cool. Battery died, charged phone boots up fine. Still on stock. Need to restore stock recovery.
shivadow said:
Flash back to stock. Use the firmware zip it is on now to reset. You should then be able to take ota's. No need to unroot, relock etc.
Click to expand...
Click to collapse
If I'm not mistaken, flashing back to stock with the ruu will in affect unroot your phone. You'd still have twrp and an unlocked bootloader, but you'd have to install SuperUser or Magisk again.
Am I correct?
cmurgia said:
If I'm not mistaken, flashing back to stock with the ruu will in affect unroot your phone. You'd still have twrp and an unlocked bootloader, but you'd have to install SuperUser or Magisk again.
Am I correct?
Click to expand...
Click to collapse
Flashing back to stock with the ruu will replace TWRP with stock recovery, thus making it able to take OTA.
If it's rooted or TWRP installed, it will stall at beginning of OTA process .
michaelbsheldon said:
Flashing back to stock with the ruu will replace TWRP with stock recovery, thus making it able to take OTA.
If it's rooted or TWRP installed, it will stall at beginning of OTA process .
Click to expand...
Click to collapse
What if you just remove twrp and go back to the stock recovery? Would it then break root?
cmurgia said:
What if you just remove twrp and go back to the stock recovery? Would it then break root?
Click to expand...
Click to collapse
You could remove root of SuperSU or Magisk and then flash stock recovery over TWRP.
Haven't tried that and not sure if it would work. A rooted phone won't take OTA.
Would save restore chores if you could.
michaelbsheldon said:
You could remove root of SuperSU or Magisk and then flash stock recovery over TWRP.
Haven't tried that and not sure if it would work. A rooted phone won't take OTA.
Would save restore chores if you could.
Click to expand...
Click to collapse
only way to take OTA is go back to stock rom by using RUU (will lost data, back to stock recovery, unroot already).
On rooted stock rom, i tried unroot and flash stock recovery by ADB but it still cant install OTA update
Flashing back to stock will unroot and flash stock recovery. If you dont do it that way you cannot update ota as the signature of the firmware is broken. You have to 're-sign' the firmware by flashing it again.
Flashing stock firmware will NOT relock or lock the bootloader. It will NOT s-on. If your bootloader is unlocked and/or s-off do not change them as there is no need.
3 essentials for the m9 are:
Stock firmware ruu.zip
S-off
Charger cable.

Oreo 2.31.400.6 Red triangle when boot to Recovery (how to get OTA)

Hi there !
I have U11 2.31.400 version
-Bootloader Unlocked
-TWRP installed
- Root with Masgik
Now i want get OTA update
-First, NO RUU, i tried Restore NANDoid backup and Flash stock recovery (same version)
(https://docs.google.com/spreadsheets/d/15JL3tRWDSVOUKo_revEYtQ_tRcOSJ0vWcvk8a7TK8Hk/edit#gid=1564536856)
-> Not work
-I tried flash stock Firmware ( got 35_RU_Partition_not_support firmware error)
Anyone can tell me how to got OTA with out RUU??
Hi there
I think we're in the same situation.
I also unlocked my phone, installed TWRP and Magisk on stock system and did a NANDroid Backup before doing so.
In order to get the OTA I restored stock recovery (which i had to extract from OTA, since i forgot to back it up) and started OTA.
--> Red Triangle!
Even after restoring stock NANDroid the OTA wouldn't install.
My mistake i think was that i didn't kept the stock system read only when i did the backup in twrp and swiped to allow modifications.
According to some threads here, even mounting the system r/w would break OTA functionality.
So since i also have no RUU for my device, i don't have the chance either to go back to stock. Maybe you did that mistake too.
The only way i can think of now, is to go temporary S-OFF, change CID and MID (to 401 international for example), flash Firmware and run the RUU for it.
But i'm not sure it'll still work after flashing the firmware.
Can anyone maybe confirm this way would work?
Thanks
Edit: Hi, in case you're still having this problem, here's a solution:
Reverting to stock

Categories

Resources