The steps outlined in the above link are useful but are not complete so I'm adding these supplemental instructions.
1.1 After you download the Android SDK go into the Tools folder and double click on the Android unix file. It'll open up the Android SDK Manager. Check all the boxes of everything that falls under Android 4.0 and click on Install packages (the button may be labeled "stall packages" if the window opened is too small because the letters get cutoff).
1.2 After you click on Install, another window should pop up with options to "accept" "reject" or "accept all". Click on "accept all" and then Install. It should take a while so go grab a sandwich or something.
2. So after the Android SDK Manager is done doing its thing you need to follow step 2 from the link above and download the Fastboot tool. After you download the Fastboot tool and unzip it, it needs to be put into the same folder that contains the ADB file. It should be under downloads/android-sdk-macosx/platform-tools folder, but make sure to double check.
3. Turn your phone off. Wait for about 5 seconds after it turns off then hold the volume button down (both up and down) as well as the power button until you feel the haptic feedback. It should turn on in bootloader mode and look like this http://cdn.droid-life.com/wp-content/uploads/2011/12/nexus-bootloader1.jpg
4. It should read FASTBOOT MODE on top and LOCK STATE - LOCKED on the bottom. Although in that article it says "let any drivers install" it didn't do any of that for me so don't worry about that.
5. Now this is where this article kinda leaves you hanging and where I had to dig around a little to get it to work. Open your Finder and go to Macintosh HD/Applications/Utilities/Terminal. When you open terminal it should be a small white window (80 x 24) with black font. Type the following:
cd downloads then enter cd android-sdk-macosx then enter cd platform-tools then enter ./fastboot-mac oem unlock then enter
Move the cursor to Yes using the volume keys and click the power button to choose it. After you've done this it should unlock your bootloader and you can clearly see that it's unlocked when it takes you back to that bootloader screen from step 3 above. Now just reboot your phone and you're good to go.
Last edited by AlexKP; December 15th, 2011 at 09:16 PM.
The Following 7 Users Say Thank You to AlexKP For This Useful Post:
Awesome! This is just what I've been looking for. Coming from a dinc with unrevoked, I was a bit confused. When you do root it, please post the steps. Thanks, you rock!
Then, boot your phone up in fastboot/bootloader mode again (step 3 from my OP). Open up Terminal and type the following: cd downloads then enter cd r3-galaxynexus-superboot then enter chmod +x install-superboot-mac.sh then enter ./install-superboot-mac.sh then enter
Your phone should reboot and voila your phone is now rooted and you have superuser permissions to do anything you want.
Note: My phone got stuck at the Google bootup screen and I waited for about 5 minutes but it did not do anything so I ended up pulling the battery and rebooting but it didn't seem to affect anything and everything was normal except for the fact that I now had superuser installed. Your results may vary.
Don't forget to install ROM Manager from the market after you do this and flash the CDMA galaxy nexus Clockwork Mod Recovery. Have fun.
The Following 4 Users Say Thank You to AlexKP For This Useful Post:
As soon as i get to this part nothing happens. Is there something Im doing wrong? I entered the commands and nothing seems to happen.
Now this is where this article kinda leaves you hanging and where I had to dig around a little to get it to work. Open your Finder and go to Macintosh HD/Applications/Utilities/Terminal. When you open terminal it should be a small white window (80 x 24) with black font. Type the following:
cd downloads[/I] then enter
cd android-sdk-macosx[/I] then enter
cd platform-tools[/I] then enter
./fastboot-mac oem unlock[/I] then enter
Move the cursor to Yes using the volume keys and click the power button to choose it. After you've done this it should unlock your bootloader and you can clearly see that it's unlocked when it takes you back to that bootloader screen from step 3 above. Now just reboot your phone and you're good to go.[/QUOTE]
The Following User Says Thank You to Winston Lane For This Useful Post:
Device(s): OG Droid running CM 7.1 (Retired), Galaxy Nexus running AOSP Android 4.2, stock Nexus 7
Carrier: Can you hear me now?
Thanks: 20
Thanked 37 Times in 19 Posts
Make sure you downloaded the correct files first. If you did not move the files after you've downloaded them they should be under the Downloads folder. My instructions were based on that fact so if you have moved the downloaded files anywhere else, for example let's say you moved them to a folder you created called Root then the command you enter in Terminal would be cd root instead of cd downloads. If you have any other questions feel free to ask.
The Following User Says Thank You to AlexKP For This Useful Post:
Quick question that I can't seem to find the answer to. If I unlock bootloader and root, install su and cwm, once I reboot do I lose anything or does it relock, or is it OK to reboot the phone? Thanks!
The Following User Says Thank You to Beatlesfan For This Useful Post:
Device(s): OG Droid running CM 7.1 (Retired), Galaxy Nexus running AOSP Android 4.2, stock Nexus 7
Carrier: Can you hear me now?
Thanks: 20
Thanked 37 Times in 19 Posts
Quote:
Originally Posted by Beatlesfan
Quick question that I can't seem to find the answer to. If I unlock bootloader and root, install su and cwm, once I reboot do I lose anything or does it relock, or is it OK to reboot the phone? Thanks!
It's ok to reboot the phone.
The Following 2 Users Say Thank You to AlexKP For This Useful Post:
Awesome, thanks. I get the phone on Friday(not the one that just ended lol) and I want to make sure I have everything squared away beforehand. Thanks again for the Mac instructions, I'll be needing them.
The Following User Says Thank You to Beatlesfan For This Useful Post:
I followed you directions. Worked great. I rooted my galaxy nexus and flashed clockwork mod. When i go into recovery mode I get a green droid with a red triangle with an exclamation on it. Any idea why I can't enter recovery mode.
The Following User Says Thank You to hfd79 For This Useful Post:
Device(s): OG Droid running CM 7.1 (Retired), Galaxy Nexus running AOSP Android 4.2, stock Nexus 7
Carrier: Can you hear me now?
Thanks: 20
Thanked 37 Times in 19 Posts
actually, I just ran into the same issue when trying to reboot into recovery from the bootloader screen...
try rebooting into recovery from rom manager and you shouldn't have issues
The Following User Says Thank You to AlexKP For This Useful Post:
Device(s): OG Droid running CM 7.1 (Retired), Galaxy Nexus running AOSP Android 4.2, stock Nexus 7
Carrier: Can you hear me now?
Thanks: 20
Thanked 37 Times in 19 Posts
It seems that for some reason you have to flash the clockwork mod from ROM Manager everytime u want to go into recovery...so if ur having issues open up ROM Manager and flash the clockwork mod then reboot into recovery direct from the ROM Manager and it should work.
The Following User Says Thank You to AlexKP For This Useful Post:
I followed you directions. Worked great. I rooted my galaxy nexus and flashed clockwork mod. When i go into recovery mode I get a green droid with a red triangle with an exclamation on it. Any idea why I can't enter recovery mode.
Quote:
Originally Posted by AlexKP
It seems that for some reason you have to flash the clockwork mod from ROM Manager everytime u want to go into recovery...so if ur having issues open up ROM Manager and flash the clockwork mod then reboot into recovery direct from the ROM Manager and it should work.
The problem is ClockworkMod Recovery doesn't stay "flashed."
Download Root Explorer from the market. Navigate to "system", click "mount r/w" and rename the "reboot-from-recovery.p" file to "reboot-from-recovery.p.bak".
Open ROM Manager and click "flash ClockworkMod Recovery." Now it will stay "flashed."
The Following User Says Thank You to CaptainRon For This Useful Post:
Device(s): OG Droid running CM 7.1 (Retired), Galaxy Nexus running AOSP Android 4.2, stock Nexus 7
Carrier: Can you hear me now?
Thanks: 20
Thanked 37 Times in 19 Posts
Quote:
Originally Posted by CaptainRon
The problem is ClockworkMod Recovery doesn't stay "flashed."
Download Root Explorer from the market. Navigate to "system", click "mount r/w" and rename the "reboot-from-recovery.p" file to "reboot-from-recovery.p.bak".
Open ROM Manager and click "flash ClockworkMod Recovery." Now it will stay "flashed."
I went into system from Root Explorer and did not see the reboot-from-recovery.p file. Where is this located exactly?
I went into system from Root Explorer and did not see the reboot-from-recovery.p file. Where is this located exactly?
Alex,
The recovery-from-boot.p file should be in the /system folder.
Interesting note that I discovered...(I'm on the VZW LTE/CDMA version, by the way), when I flashed back to stock (I've done this many times), I never did have the recovery-from-boot.p file on my system.
I found that the only way it appeared was when I have flashed back to 4.0.1 stock and then accepted the 4.0.2 OTA. That finally introduced the file onto my system and I had to deal with it to make recovery stick.
But when flashing to 4.0.2 stock it was not present and was not an issue.
Unfortnately it was not there. That's why I was asking..
Did you ever manually flash back to stock?
I ask this because I know that when I flash back to both 4.0.1 and 4.0.2 stock (using the .tgz stock images from Google), the recovery-from-boot.p file was not present, either. In this case, I didn't have to take any additional action to prevent Android from over-flashing the custom recovery with the stock one.
When I flashed back to 4.0.1 stock and accepted the 4.0.2 OTA, that installed the recovery-from-boot.p file and I had to do the rename thing.
So, maybe there's some other mechanism going on here...? Dunno, I'd have to do more testing (flash back to stock (again ) to see...
Trouble unlocking bootloader and rooting galaxy nexus ICS
I have the updated sdk files as well as boot loader files transfered into the platform-tools folder. This contains the 14, 15, 16 platforms. When I try to run terminal ./fastoot oem unlock...this being after trying to execute cd (drag and drop my platform-tools folder) All I get is no such file or directory ....Help please