Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,778 Members 52,123 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: 553
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 2893
Posts: 13,092
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
HTC One M8 (Gunmetal Grey) 16GB
ROM: 1.54.401.10 (KOT49H) | HBOOT: 3.16.0.0000 S-OFF | Recovery: Stock | Baseband: 1.16.2133156.UA15G_20.18m.4096.07L | Kernel: Stock | CID: HTC__001

OnePlus One (Sandstone Black) 64GB *** PENDING ***

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: 203
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 28
Posts: 337
Join Date: May 2008
Location: Rome
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 2893
Posts: 13,092
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!)
HTC One M8 (Gunmetal Grey) 16GB
ROM: 1.54.401.10 (KOT49H) | HBOOT: 3.16.0.0000 S-OFF | Recovery: Stock | Baseband: 1.16.2133156.UA15G_20.18m.4096.07L | Kernel: Stock | CID: HTC__001

OnePlus One (Sandstone Black) 64GB *** PENDING ***

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 28
Posts: 337
Join Date: May 2008
Location: Rome
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 2893
Posts: 13,092
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
HTC One M8 (Gunmetal Grey) 16GB
ROM: 1.54.401.10 (KOT49H) | HBOOT: 3.16.0.0000 S-OFF | Recovery: Stock | Baseband: 1.16.2133156.UA15G_20.18m.4096.07L | Kernel: Stock | CID: HTC__001

OnePlus One (Sandstone Black) 64GB *** PENDING ***

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


XDA PORTAL POSTS

Run, Jump, and Shoot in Tales of Ciaxia

There are certain types of games that have become paramount of the portable gaming world. As we have … more

Samsung Gear Live Stock Firmware Image Pulled, Temp Root

Just yesterday,XDA Recognized Developer and TV ProducerAdamOutlertore apart … more