• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

[International / GSM] How to unlock the bootloader using a Mac

AlexKP

Member
Nov 9, 2011
73
34
Seattle
Here is a step-by-step guide. Hope u guys find it useful.

Learn How-To Unlock the Galaxy Nexus Bootloader | Apple Umbrella

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

Your phone should go into this screen
http://cdn.droid-life.com/wp-content/uploads/2011/11/galaxy-nexus-bootloader.jpg

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.
 
Ok guys I just finished rooting my phone. It was really simple. Download superboot here and unzip it.
30 Nov r3: Superboot - rooting the GSM + LTE Galaxy Nexus - Android @ MoDaCo

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.
 
Upvote 0
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]
 
  • Like
Reactions: GalaxyNexus
Upvote 0
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.
 
  • Like
Reactions: GalaxyNexus
Upvote 0
Alex,

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.

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."
 
  • Like
Reactions: GalaxyNexus
Upvote 0
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?
 
Upvote 0
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.

Cheers!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones