Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,359 Members 39,110 Now Online
XDA Developers Android and Mobile Development Forum

[Solved] Installing OTA with S-Off and Root

Tip us?
 
addicted2088
Old
(Last edited by addicted2088; 9th May 2014 at 11:21 AM.) Reason: Solved
#1  
Senior Member - OP
Thanks Meter 154
Posts: 554
Join Date: Oct 2010
Location: Pune

 
DONATE TO ME
Question [Solved] Installing OTA with S-Off and Root

Update: Well, I took the plunge on my own, and everything worked fine. Flashed firmware.zip, went to stock recovery and flashed OTA, and voila, all good.

So I've bought an HTC device for the first time. I did S-Off and unlocked bootloader and rooted as well. Now, there's an OTA available (I have the Asia_India variant), and I wanted to ask just how would I go about updating.

Here's what I've surmised till now:

1. Revert changes to system partition or it will fail to update (I moved some system APKs, but I saved them for such a scenario.)
2. Flash Firmware.zip to get stock recovery back.
3. Install OTA normally from the notification.

However, I'm still not sure what else I'd need to do (unroot, using the option in SuperSU?), so was wondering if someone could help me out. I've made backups in Philz and TWRP recovery both just to be sure.

P.S.: I extracted the firmware.zip file from the OTA, and tried to open it, but it doesn't open in apps like WinRAR. Is that normal, with the file only flashable via fastboot?
Writer at SamMobile, Android Beat, and VR-Zone.

Press the Thanks button if my post was helpful.
 
EddyOS
Old
#2  
EddyOS's Avatar
Recognized Contributor
Thanks Meter 3,048
Posts: 13,307
Join Date: Jan 2010
Location: Liverpool, Merseyside
Personally, I'd say remove root just incase it stops the OTA but others will say it doesn't matter so long as the rest of the system is 100% stock as HTC intended it
OnePlus One A0001 (Sandstone Grey) 64GB
ROM: CyanogenMod 11S (XNPH33R) | Bootloader: Stock | Recovery: TWRP 2.8.0.1 | Radio: Stock | Kernel: Franco Kernel r19

Google Nexus 5 D821 (Black) 32GB
ROM: Android 4.4.4 (KTU84P) | Bootloader: HHZ11K | Recovery: Stock | Radio: 2.0.50.1.16 | Kernel: Stock

If you have a question, great - but DO NOT PM ME WITH IT!!! | [GUIDE] Return your EU M8 to 100% Stock (S-OFF Required) | [GUIDE] Return your OPO to 100% Stock
 
KarimSalloum
Old
#3  
KarimSalloum's Avatar
Senior Member
Thanks Meter 18
Posts: 206
Join Date: Apr 2012
Location: Beirut
For OTA updates after having a custom recovery, just flash your ROM stock recovery (search XDA all are available) then run OTA as you normally would and then flash your custom recovery again (if you like to get root again). However personally I would not do this with S-ON device, probably it's better if you're S-OFF while doing this to avoid any problem.
 
Black Antitoon
Old
#4  
Senior Member
Thanks Meter 30
Posts: 343
Join Date: May 2008
Location: Zurich (Switzerland)
I am also interested in this. What would be the risk if I do this with S-ON? Assume I flash the wrong stock recovery or do some other mistake, won't I still be able to flash my custom recovery back from fastboot and get everything back up and running?

Thanks to whom will answer.
Current phone: HTC One (M8)

Previous phones:
HTC HD2 (Dec 2010 - Apr 2014; thank you Leo!)
HTC Touch HD (Dec 2008 - Dec 2010)
HTC Touch Cruise (May 2008 - Sep 2008 [stolen])
Previously: Nokia 6630, Nokia 3510
 
EddyOS
Old
#5  
EddyOS's Avatar
Recognized Contributor
Thanks Meter 3,048
Posts: 13,307
Join Date: Jan 2010
Location: Liverpool, Merseyside
Quote:
Originally Posted by Black Antitoon View Post
I am also interested in this. What would be the risk if I do this with S-ON? Assume I flash the wrong stock recovery or do some other mistake, won't I still be able to flash my custom recovery back from fastboot and get everything back up and running?

Thanks to whom will answer.
So long as the phone still boots to fastboot, yes (although unlocking the boot loader will delete any backups so make sure you backup the backup to your PC before doing anything else!)
OnePlus One A0001 (Sandstone Grey) 64GB
ROM: CyanogenMod 11S (XNPH33R) | Bootloader: Stock | Recovery: TWRP 2.8.0.1 | Radio: Stock | Kernel: Franco Kernel r19

Google Nexus 5 D821 (Black) 32GB
ROM: Android 4.4.4 (KTU84P) | Bootloader: HHZ11K | Recovery: Stock | Radio: 2.0.50.1.16 | Kernel: Stock

If you have a question, great - but DO NOT PM ME WITH IT!!! | [GUIDE] Return your EU M8 to 100% Stock (S-OFF Required) | [GUIDE] Return your OPO to 100% Stock
The Following User Says Thank You to EddyOS For This Useful Post: [ Click to Expand ]
 
Black Antitoon
Old
#6  
Senior Member
Thanks Meter 30
Posts: 343
Join Date: May 2008
Location: Zurich (Switzerland)
Thank you for your answer. As far as you know, being S-ON, is there really any kind of mistake one can do to brick the phone so that it doesn't even boot to fastboot?

Also, if my bootloader is already unlocked, no data wipe is going to happen again flashing a firmware/OTA in any predictable case, right?

Once again, thank you or anybody else who knows the answer.

By the way, are there any FAQs answering these questions? There are some FAQs here and there, but none seems to be very clear on these matters.
Current phone: HTC One (M8)

Previous phones:
HTC HD2 (Dec 2010 - Apr 2014; thank you Leo!)
HTC Touch HD (Dec 2008 - Dec 2010)
HTC Touch Cruise (May 2008 - Sep 2008 [stolen])
Previously: Nokia 6630, Nokia 3510
 
EddyOS
Old
#7  
EddyOS's Avatar
Recognized Contributor
Thanks Meter 3,048
Posts: 13,307
Join Date: Jan 2010
Location: Liverpool, Merseyside
Quote:
Originally Posted by Black Antitoon View Post
Thank you for your answer. As far as you know, being S-ON, is there really any kind of mistake one can do to brick the phone so that it doesn't even boot to fastboot?

Also, if my bootloader is already unlocked, no data wipe is going to happen again flashing a firmware/OTA in any predictable case, right?

Once again, thank you or anybody else who knows the answer.

By the way, are there any FAQs answering these questions? There are some FAQs here and there, but none seems to be very clear on these matters.
If you're S-ON there's not a lot you can do to brick the phone. You could wipe the ROM and have it not boot but you should always be able to get back to fastboot. This is where S-OFF is only handy to have if RUUs are about (it's the ONLY reason I am S-OFF, it's purely for a 'going back to stock' standpoint)

Yes, if the bootloader is already unlocked then you're good to go
OnePlus One A0001 (Sandstone Grey) 64GB
ROM: CyanogenMod 11S (XNPH33R) | Bootloader: Stock | Recovery: TWRP 2.8.0.1 | Radio: Stock | Kernel: Franco Kernel r19

Google Nexus 5 D821 (Black) 32GB
ROM: Android 4.4.4 (KTU84P) | Bootloader: HHZ11K | Recovery: Stock | Radio: 2.0.50.1.16 | Kernel: Stock

If you have a question, great - but DO NOT PM ME WITH IT!!! | [GUIDE] Return your EU M8 to 100% Stock (S-OFF Required) | [GUIDE] Return your OPO to 100% Stock

The Following User Says Thank You to EddyOS For This Useful Post: [ Click to Expand ]
Tags
htc, htc one m8, ota
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Flyme OS Finds Its Way to the Google Nexus 5

Flyme OS is a heavily modified Android variantdeveloped by the Meizu team for their MX … more

MultiROM Makes Its Way to the LG G2

Over the last few weeks, we’ve seen quite a fewflagship (and former flagship) devicesget to … more

Jair Player with a Major Update–Here’s What’s New!

Back in May, we talked a bit aboutJair Player, a nice looking music … more