1. Download our Official Android App: Forums for Android!

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

Discussion in 'Android Devices' started by AlexKP, Dec 15, 2011.

  1. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    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.
     

    Advertisement

    DucatiDude, RazorSharp, steve and 4 others like this.
  2. DucatiDude

    DucatiDude Well-Known Member
    Rank:
    None
    Points:
    43
    Posts:
    215
    Joined:
    May 30, 2010

    May 30, 2010
    215
    44
    43
    Wow. Cool. Thank you. What further steps did you use to Root it?
     
    GalaxyNexus likes this.
  3. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    I actually haven't rooted it yet. Got caught up with other things...:rolleyes:
    will do so here shortly though
     
    GalaxyNexus likes this.
  4. Beatlesfan

    Beatlesfan Well-Known Member
    Rank:
    None
    Points:
    58
    Posts:
    223
    Joined:
    Apr 12, 2010

    Apr 12, 2010
    223
    21
    58
    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!
     
    GalaxyNexus likes this.
  5. CaptainRon

    CaptainRon Android Expert
    Rank:
    None
    Points:
    333
    Posts:
    1,257
    Joined:
    Nov 4, 2009

    Nov 4, 2009
    1,257
    1,237
    333
    Pilot
    Moab, Utah
    When I use the try tosue SDK Manager to install everything that falls under Android 4.0 I get the following error message:

    Stopping ADB server failed (code -1).

    Everything else seems to install fine. Any ideas of what I'm doing wrong?
     
    GalaxyNexus likes this.
  6. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    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.
     
  7. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    Were you able to unlock the bootloader ok?
     
    GalaxyNexus and CaptainRon like this.
  8. CaptainRon

    CaptainRon Android Expert
    Rank:
    None
    Points:
    333
    Posts:
    1,257
    Joined:
    Nov 4, 2009

    Nov 4, 2009
    1,257
    1,237
    333
    Pilot
    Moab, Utah
    Thanks Alex. Yes. I was able to unlock and root thanks to your instructions.
     
    GalaxyNexus likes this.
  9. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    You're welcome;)
     
    GalaxyNexus likes this.
  10. Winston Lane

    Winston Lane Lurker
    Rank:
    None
    Points:
    6
    Posts:
    2
    Joined:
    Dec 16, 2011

    Dec 16, 2011
    2
    2
    6
    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]
     
    GalaxyNexus likes this.
  11. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    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.
     
    GalaxyNexus likes this.
  12. Beatlesfan

    Beatlesfan Well-Known Member
    Rank:
    None
    Points:
    58
    Posts:
    223
    Joined:
    Apr 12, 2010

    Apr 12, 2010
    223
    21
    58
    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!
     
    GalaxyNexus likes this.
  13. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    It's ok to reboot the phone.
     
    GalaxyNexus and Beatlesfan like this.
  14. Beatlesfan

    Beatlesfan Well-Known Member
    Rank:
    None
    Points:
    58
    Posts:
    223
    Joined:
    Apr 12, 2010

    Apr 12, 2010
    223
    21
    58
    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.:D
     
    GalaxyNexus likes this.
  15. Winston Lane

    Winston Lane Lurker
    Rank:
    None
    Points:
    6
    Posts:
    2
    Joined:
    Dec 16, 2011

    Dec 16, 2011
    2
    2
    6
    Removed: Went back to using the old pc! got it unlocked. Thanks for your help Alex!!!
     
    GalaxyNexus likes this.
  16. ketamine

    ketamine Lurker
    Rank:
    None
    Points:
    6
    Posts:
    2
    Joined:
    Dec 14, 2011

    Dec 14, 2011
    2
    1
    6
    I'm having issues.

    When I enter the fastboot unlock command, it says 'permission Denied'

    Any ideas?
     
    GalaxyNexus likes this.
  17. hfd79

    hfd79 Lurker
    Rank:
    None
    Points:
    6
    Posts:
    1
    Joined:
    Dec 22, 2011

    Dec 22, 2011
    1
    1
    6
    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.
     
    GalaxyNexus likes this.
  18. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    Hmm I'm not sure...I haven't run into that issue. Sorry.
     
    GalaxyNexus likes this.
  19. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    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
     
    GalaxyNexus likes this.
  20. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    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.
     
    GalaxyNexus likes this.
  21. Beatlesfan

    Beatlesfan Well-Known Member
    Rank:
    None
    Points:
    58
    Posts:
    223
    Joined:
    Apr 12, 2010

    Apr 12, 2010
    223
    21
    58
    Got the phone today and just finished unlocking and rooting. Worked perfectly and went over without a hitch. Thanks AlexKP!
     
    GalaxyNexus likes this.
  22. CaptainRon

    CaptainRon Android Expert
    Rank:
    None
    Points:
    333
    Posts:
    1,257
    Joined:
    Nov 4, 2009

    Nov 4, 2009
    1,257
    1,237
    333
    Pilot
    Moab, Utah
    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."
     
    GalaxyNexus likes this.
  23. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    I went into system from Root Explorer and did not see the reboot-from-recovery.p file. Where is this located exactly?
     
  24. scary alien

    scary alien not really so scary
    Moderator
    Rank:
     #10
    Points:
    2,138
    Posts:
    22,319
    Joined:
    Mar 5, 2010

    Mar 5, 2010
    22,319
    23,814
    2,138
    Male
    space alien ;)
    Indy
    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!
     
  25. AlexKP

    AlexKP Member
    Thread Starter
    Rank:
    None
    Points:
    23
    Posts:
    73
    Joined:
    Nov 9, 2011

    Nov 9, 2011
    73
    34
    23
    Male
    Student
    Seattle
    Unfortnately it was not there. That's why I was asking..
     
Tags:

Share This Page

Loading...