• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[International / GSM] Rooted GNex - What will I lose if I OTA update

GrenW

Android Expert
Apr 16, 2010
798
130
Got my Nexus on Friday, rooted on Saturday - am too attached to the benefits (adblocking, Titanium etc). I've currently left the stock rom in place though as I'm still loving that ICS goodness and want to take my time choosing a rom.

My question is : will I lose root/recovery/unlock if I do an OTA software upgrade?

I'm currently on 4.02 and am assuming 4.03 will be out soon with a few changes. I know on my Desire the rule was never to OTA update after rooting but was wondering that if an OTA just broke root then all I needed to do was flash the SU zip from recovery again.

In case it matters I rooted by running the fastboot unlocking command then fastboot flashed CWM. I then flashed the SU zip from CWM, rebooted, changed the recovery backup filename and then reflashed CWM to make it permanent.


Edit : Nevermind - searched a little further back and found Scary Alien's post
 
  • Like
Reactions: scary alien
Maybe you could quote the answer here.

Im sure others are curious

Sure, no problem (and I'll make sure the link below gets added to the all-things-root guides--I'm guessing its not in there at the moment).

http://androidforums.com/galaxy-nexus-all-things-root/469782-ota-updates-vs-clockworkmod-root.html

Here's the "TL;DR" (too long--didn't read) version:

Q: can I get/install an OTA if I have a custom recovery (ClockworkMod) installed?

A: nope

Q: can I then just re-flash the stock recovery and then get/install the OTA?

A: yep

Q: can I be rooted and get/install an OTA?

A: yep

Q: do I lose root access at that point?

A: yep

Q: what do I do then?

A: invoke custom recovery and re-install the su.zip root package

---

So yes, an OTA install will break root. No big deal though.

So, its really no biggie when an OTA comes in or becomes available. If you know about it ahead of time and want to take the OTA, then you just need to make sure you've got a stock recovery installed (How to restore stock recovery), then take the OTA, re-install ClockworkMod and flash the su.zip file (from the ClockworkMod rooting method--very simple).

If you don't want the OTA to install, just keep your currently installed custom recovery.

Hope that helps :).

Cheers!
 
Upvote 0
Haven't tried it myself, but using the below app "OTA Rootkeeper" it seems like you can avoid losing root when you update through OTA. Created by supercurio, same developer as voodoo.

https://market.android.com/details?id=org.projectvoodoo.otarootkeeper

btw, great thread (OTA updates vs. CWM and root) by scary alien :)

Thanks, NextNexus! :)

I'm just about to start doing a few more root-related tests re. what happens to the su binary when you get the OTA (does it get deleted or are the SUID (set userid) permission bit just reset? Stay tuned! :)).

By the way, we're discussing this same topic over here, too, in the VZW root area:

http://androidforums.com/verizon-galaxy-nexus-all-things-root/490895-when-ota-breaks-root-now-what.html

Cheers! (back soon :))
 
  • Like
Reactions: NextNexus
Upvote 0
Just reading up on a similar thread on xda [REF] [HOW-TO] Official Google OTA update URLs - xda-developers

Seems that you can download the OTAs from Google's servers and flash the zip using CWM (or fastboot methods). You will lose root but getting it back is the work of a couple of minutes.

Am not sure on the timings of OTAs versus the files being available on the servers but can't imagine there is much in it.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones