View Single Post
Old December 24th, 2011, 10:32 PM   #7 (permalink)
scary alien
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 12,549
 
Device(s): Galaxy Nexus, Nexus 7, Droid X, Droid Eris
Carrier: Verizon

Thanks: 15,673
Thanked 9,114 Times in 4,739 Posts
Default How to un-root (return to stock)

.
This post will discuss how to return your phone back to stock, which will un-root it.

That is in contrast to just removing the root components (su binary, Superuser.apk, custom recovery, possibly busybox, other root apps, etc.) from your device. You can just remove the root components, but that would be a manual process and is not what most folks want or talk about when they say "un-rooting".

Here's a quick (un-tested) list of what I would do if I simply wanted to "un-root" and not reflash a set of stock images (note: again, this is not a true substitute for returning your phone back to stock and re-locking the bootloader):



The main difficulty in documenting a return to stock procedure is that the stock images / packages are device and version dependent and specific and will change from release to release.

You need to know and be aware of the differences in how the stock image files are named:

  • The other GSM/HSPA+ version of the Galaxy Nexus is also often referred to as "yakju" or "maguro".

Here's an outline of the steps you'd need to take (click the "Show" button below to expand the details):




Here are the current contents of the GSM/HSPA+ flash-all.sh script for ICS 4.0.2:




As you can see from the different and specific filename references between the two, its very important that you use the flash-all.sh script as your reference when flashing back to stock.
scary alien is online now  
Last edited by VoidedSaint; February 18th, 2012 at 09:11 PM.
The Following User Says Thank You to scary alien For This Useful Post:
pngwolffman (May 3rd, 2012)