February 18th, 2012, 08:07 PM
not really so scary
Thread Author (OP)
Join Date: Mar 2010
Device(s): LG Nexus 5, Asus Nexus 7, Samsung Galaxy Nexus, Moto Droid X, HTC Droid Eris
Thanked 15,080 Times in 7,408 Posts
Galaxy Nexus root / un-root without unlocking bootloader
Introducing the Samsung Galaxy Nexus root / un-root without needing to unlock your bootloader.
Note: it appears that this will only work for GNex phones running Android ICS 4.0.2--the exploit that this method utilizes does not seem to work for 4.0.4; if you use this method to gain root in 4.0.2 and wish to retain it later in 4.0.4, be sure to use a utility like my app Android Root Toolkit or OTA RootKeeper to save root in 4.0.2 so that you don't lose it when you install the 4.0.4 OTA.
I've had this posted in the VZW Galaxy Nexus root area for a little bit, but I've updated it with un-root options and support for Linux (32-bit) and Mac/OSX, so I thought I'd post it here in the GSM area too since it should work identically to the LTE version.
Download for the simple-gnex-root-unroot.zip
package is located at the bottom of this post.
How to use:
Credits / references:
1. Download simple-gnex-root-unroot.zip
to your PC
2. Extract the contents of the above .zip file to a working folder on your PC
3. Start-up a command (Windows) or Terminal (Linux or Mac/OSX) session
4. Change to (cd) to folder (directory) location where you've extracted the simple-gnex-root-unroot.zip
5. For Windows PCs, make sure you have the proper USB adb drivers installed:
.....How to install the adb & fastboot USB drivers
6. Make sure you have USB debugging
enabled on your device:
.....Settings -> Developer options -> USB debugging
7. Connect your phone to your PC via the USB cable
8. Run the desired script:
- Linux (32-bit installs) / Mac (OSX):
note: there's a sudo invocation for the first adb command in the shell script; this will cause you to be prompted for entry of your administrator / root password (this is so that the adb daemon is started-up with the proper privileges to work on your Linux system); I'm not sure if this is necessary for the Mac/OSX system, so you might need to remove it from the script if needed
.....File size: ..........944,566 (bytes)
.....MD5 checksum: 2ebd6f0d58b26955d7b97d37fa1e0b36
Last edited by scary alien; May 27th, 2012 at 09:15 AM.
Reason: update w/notes for Linux users that adb only works on 32-bit distros