Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (International / GSM) Galaxy Nexus - All Things Root

New Forums: Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old January 30th, 2012, 02:37 AM   #1 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: UK
Posts: 780
 
Device(s): Nexus 5 : AOKP/Franco, Nexus 10 : Stock, GNex : AOKP (retired), Desire : Redux 2 (retired)
Carrier: Not Provided

Thanks: 61
Thanked 123 Times in 106 Posts
Default Rooted GNex - What will I lose if I OTA update

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

Advertisements
GrenW is offline  
Last edited by GrenW; January 30th, 2012 at 04:45 AM.
Reply With Quote
The Following User Says Thank You to GrenW For This Useful Post:
scary alien (January 30th, 2012)
sponsored links
Old January 30th, 2012, 08:30 AM   #2 (permalink)
not really so scary
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,721
 
Device(s): LG Nexus 5, Asus Nexus 7, Samsung Galaxy Nexus, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,560
Thanked 15,272 Times in 7,525 Posts
Default

Quote:
Originally Posted by GrenW View Post
Edit : Nevermind - searched a little further back and found Scary Alien's post
Aw, man! I didn't get a chance to reply!

No worries and glad you saw that info...there's so many little pieces to the puzzle, its hard to put them all in one place, LOL .

Cheers!
scary alien is online now  
Reply With Quote
Old January 30th, 2012, 09:21 AM   #3 (permalink)
Senior Member
 
kylecummins's Avatar
 
Join Date: Dec 2011
Location: Canada
Posts: 816
 
Device(s): Sony Xperia Z2 (Black)
Carrier: Bell Mobility

Thanks: 122
Thanked 150 Times in 112 Posts
kyle.t.cummins
Default

Maybe you could quote the answer here.

Im sure others are curious
kylecummins is offline  
Reply With Quote
Old January 30th, 2012, 09:35 AM   #4 (permalink)
not really so scary
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,721
 
Device(s): LG Nexus 5, Asus Nexus 7, Samsung Galaxy Nexus, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,560
Thanked 15,272 Times in 7,525 Posts
Default

Quote:
Originally Posted by kylecummins View Post
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!
scary alien is online now  
Last edited by scary alien; January 30th, 2012 at 09:39 AM.
Reply With Quote
Old January 30th, 2012, 05:38 PM   #5 (permalink)
Junior Member
 
Join Date: Nov 2011
Location: Bay Area, California
Posts: 73
 
Device(s): Former: Samsung Fascinate. Present: Verizon Galaxy Nexus
Carrier: Not Provided

Thanks: 44
Thanked 27 Times in 19 Posts
Default

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
NextNexus is offline  
Reply With Quote
The Following 2 Users Say Thank You to NextNexus For This Useful Post:
scary alien (January 30th, 2012), umataro42 (January 30th, 2012)
Old January 30th, 2012, 06:29 PM   #6 (permalink)
not really so scary
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,721
 
Device(s): LG Nexus 5, Asus Nexus 7, Samsung Galaxy Nexus, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,560
Thanked 15,272 Times in 7,525 Posts
Default

Quote:
Originally Posted by NextNexus View Post
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:

When an OTA Breaks Root? Now What?

Cheers! (back soon )
scary alien is online now  
Last edited by scary alien; March 17th, 2012 at 01:34 PM. Reason: correct permission reference
Reply With Quote
The Following User Says Thank You to scary alien For This Useful Post:
NextNexus (January 30th, 2012)
Old February 1st, 2012, 02:21 AM   #7 (permalink)
Senior Member
Thread Author (OP)
 
Join Date: Apr 2010
Location: UK
Posts: 780
 
Device(s): Nexus 5 : AOKP/Franco, Nexus 10 : Stock, GNex : AOKP (retired), Desire : Redux 2 (retired)
Carrier: Not Provided

Thanks: 61
Thanked 123 Times in 106 Posts
Default

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.
GrenW is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (International / GSM) Galaxy Nexus - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:28 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.