.
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.