[How To] Return your Galaxy Nexus to 100% Stock, Locked Bootloader

This is a discussion on [How To] Return your Galaxy Nexus to 100% Stock, Locked Bootloader within the Galaxy Nexus Development forums, part of the Samsung Galaxy Nexus Forum category; For an easier Script to do the same thing (and more), scroll down to the asterisk line, and read below that. Download this file [ ...

+ Reply to Thread
Page 1 of 9 1 2 3 ... LastLast
Results 1 to 10 of 87
Like Tree14Likes

Thread: [How To] Return your Galaxy Nexus to 100% Stock, Locked Bootloader

  1. Super Moderator
    jntdroid's Avatar
    Member #
    6110
    Join Date
    Nov 2009
    Location
    TX
    Posts
    4,915
    Liked
    313 times
    Phone
    HTC One S
    Premium Member
    #1

    [How To] Return your Galaxy Nexus to 100% Stock, Locked Bootloader

    For an easier Script to do the same thing (and more), scroll down to the asterisk line, and read below that.

    Download this file [mirror] - appx 190mb - and unzip it to your desktop (contains all the files you'll need: image/zip system files, adb, and fastboot).


    Thanks droid-life

    [Make sure you use 7zip and not winrar - thanks GeLopez - see post #7]

    Three quick notes... First, this will wipe your phone, internal storage included. Second, #6 took a few minutes for me, so don't panic - all the others went quickly. Second, if you just want to wipe your phone clean and start with a completely clean factory slate, but maintain the unlocked bootloader, stop after #8.

    Now for the adb/fastboot commands... (plug your phone into your computer and make sure you have USB Debugging enabled)

    Ok... if it's [blue, italicized and in brackets, it's not a part of the commands]
    1. adb reboot bootloader
    2. fastboot flash bootloader bootloader-toro-primekk15.img
    3. fastboot reboot-bootloader
    4. fastboot flash radio radio-toro-i515.ek02.img
    5. fastboot reboot-bootloader
    6. fastboot flash radio-cdma radio-cdma-toro-i515.ek05.img [this one takes the longest - possibly a couple minutes]
    7. fastboot reboot-bootloader
    8. fastboot -w update image-mysid-icl53f.zip [If it doesn't reboot, #9 and #10 will work. If it does reboot, log in, enable usb debugging, and for #9 use "adb reboot bootloader" instead, then proceed to #10. Also, stop after #8 if you want to maintain the unlocked bootloader]
    9. fastboot reboot-bootloader
    10. fastboot oem lock
    Now restart by highlighting "Start" and pressing the lock/power button.

    That's it!

    ************************************************** ****************

    Here's an easier/better script method from Mr. ZoSo, in this post (thanks!):


    Here's a modified script that will allow you to choose between 4.0.1 and 4.0.2. (as long as you have either image or both) It also has the option to re-lock the bootloader, without the need to have the full Android SDK on your system.
    I'll also update it when the official 4.0.3 images are released.
    I don't take no credit for what was already done, I just modified it



    Prerequisites:
    --------------
    Windows PC running XP, Vista, or Windows 7
    USB and ADB drivers must be installed and working properly.
    Google Images (You only need the one you want to flash to, having both is optional):
    4.0.1 - https://dl.google.com/android/aosp/m...y-516b56c2.tgz
    4.0.2 - https://dl.google.com/android/aosp/m...y-65895fa8.tgz


    Instructions:
    ==========
    1- Extract folder with contents of this package.
    2- You will need the Google Factory image for the version you want to restore, or both if you want.
    3- Extract the image files to the same folder in step one. Image files should not be in a seperate folder!
    So you should have, in one folder, the above files contained in this package plus:

    image-mysid-xxxxxx.zip (xxxxxx= pertains to what version)
    radio-tor-i515.xxxx.img
    radio-cdma-tor-i515.xxxx.img
    flash-all.sh
    bootloader-tor-primexxxx.img

    4- Enable USB debugging in Developer options on phone.
    5- Dbl click on GNexRestore.bat and follow the prompts.


    Optional:
    ---------
    If you do have the Android SDK installed, just copy the image files and GNexRestore.bat to the platform-tools folder.
    fastboot.exe will also be needed, if you don't have it already, just copy the one in this package to the same location.
    Then run GNexRestore.bat

    Download:
    Multiupload.com - upload your files to multiple file hosting sites!
    Last edited by jntdroid; 05-18-2012 at 08:21 AM. Reason: updated link
    CJM, NewAge, 1FZFE and 3 others like this.
    "...life is 10% what happens to me and 90% how I react to it."
    The only dumb question is the one not asked.
    Guidelines of Conduct
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Super Moderator
    jntdroid's Avatar
    Member #
    6110
    Join Date
    Nov 2009
    Location
    TX
    Posts
    4,915
    Liked
    313 times
    Phone
    HTC One S
    Premium Member
    #2

    Restore Stock Recovery

    This is about as simple as it gets... one reason this phone is great! Also, I'm not sure if this is necessary or not... the steps above MIGHT already put the stock recovery in place.

    In order for CWM to "stick", you had to rename or remove a file in /system - recovery-from-boot.p - this file erased CWM and put the stock recovery back on your phone after a reboot. If that file is in place, and is named correctly, and the permissions are set correctly (644 - see here), all you have to do is reboot and the stock recovery will be back. So if you simply renamed it to "disable" it, that's all you have to do... rename it back, set the correct permissions, reboot.

    If you deleted it, download it here: download. Using Root Explorer (or whatever root file system explorer you use), put it back in /system, make sure it's named appropriately, long-press on it to change the permissions as stated, and reboot.
    Last edited by jntdroid; 12-16-2011 at 02:38 PM.
    NewAge and scdown like this.
    "...life is 10% what happens to me and 90% how I react to it."
    The only dumb question is the one not asked.
    Guidelines of Conduct
  4. Droid Sensei
    czerdrill's Avatar
    Member #
    22335
    Join Date
    Jan 2010
    Posts
    4,836
    Liked
    97 times
    Phone
    OG Droid UD 3.0 -- GB :)
    #3
    Thanks, this one deserves a sticky
    NewAge likes this.
    Google Interview Q&A

    Apple CEO, Verizon COO
  5. Super Moderator
    jntdroid's Avatar
    Member #
    6110
    Join Date
    Nov 2009
    Location
    TX
    Posts
    4,915
    Liked
    313 times
    Phone
    HTC One S
    Premium Member
    #4
    Quote Originally Posted by czerdrill View Post
    Thanks, this one deserves a sticky
    already used it once... works great

    feel weird stickying my own thread though... though I guess it's more DL's, I just relayed the info...

    ok, cleaned up a bit, made sure I tested everything myself and added a few notes... now stuck.
    Last edited by jntdroid; 12-16-2011 at 10:57 PM.
    "...life is 10% what happens to me and 90% how I react to it."
    The only dumb question is the one not asked.
    Guidelines of Conduct
  6. Droid Newbie
    lifebeginsfriday's Avatar
    Member #
    114517
    Join Date
    Sep 2010
    Posts
    3
    Phone
    Enter Current Phone Model Here
    #5
    I'll end up using this eventually. I'm sure of it! Lol

    Sent from my Galaxy Nexus using Tapatalk
  7. Beta Team
    BenLand150's Avatar
    Member #
    142934
    Join Date
    Nov 2010
    Location
    Lincoln, NE
    Posts
    1,587
    Liked
    109 times
    Twitter
    BlackBlizzNerd
    Phone
    Samsung Galaxy Nexus
    Premium Member
    #6
    Thanks! I'll be using this probably Tuesday or wed once my screen protector comes in. Have to return the phone, (battery lasts 5hrs.. has a small scratch in it from just being in my pocket..)
    II New Signature Finally! Made by Me II II Rooted Galaxy Nexus II
    II - AOKP AXIOM MORPHR - II
    II Want a signature like mine? Ask on Twtter! II

    II Link to my work: http://tinypic.com/BenLand150 II
  8. Master Droid
    GeLopez's Avatar
    Member #
    10275
    Join Date
    Nov 2009
    Location
    Dallas TX
    Posts
    646
    Liked
    23 times
    Phone
    Galaxy Nexus
    #7
    i just want to add my 2 cents on this:

    make sure you use 7zip and NOT winrar.
    with 7zip youwill get to the folder and to all the files with full names
  9. Super Moderator
    jntdroid's Avatar
    Member #
    6110
    Join Date
    Nov 2009
    Location
    TX
    Posts
    4,915
    Liked
    313 times
    Phone
    HTC One S
    Premium Member
    #8
    Quote Originally Posted by GeLopez View Post
    i just want to add my 2 cents on this:

    make sure you use 7zip and NOT winrar.
    with 7zip youwill get to the folder and to all the files with full names
    ah, thanks for that - did not know that, always used 7zip...
    "...life is 10% what happens to me and 90% how I react to it."
    The only dumb question is the one not asked.
    Guidelines of Conduct
  10. Master Droid
    mach330's Avatar
    Member #
    1784
    Join Date
    Nov 2009
    Location
    The OC
    Posts
    680
    Liked
    2 times
    Phone
    Galaxy Nexus
    #9
    did this as well. I was stupid and pulled out the battery after unlocking the bootloader then reboot. I didn't think it was that fast to unlock the bootloader and didn't think the reboot was necessary and I got impatient. STayed up til 3 am the other day. I'm glad I got it back now, fully rooted with the only ROM and wifi tether working. This is a beast!!!
  11. Senior Droid
    1FZFE's Avatar
    Member #
    152343
    Join Date
    Dec 2010
    Location
    City of Medicine
    Posts
    177
    Liked
    4 times
    Phone
    Galaxy Nexus
    #10
    I successfully rooted and unlocked the phone and now realize that my screen is clearly defective and has been since day one. I need to return the phone for a replacement. Is it the general consensus that I need to return to a locked, unrooted state before returning the phone? This is clearly an unrelated issue to unlocking the phone, but didn't know if they would give me grief.

    If so, its not a big deal because I need to become more familiar with ADB anyway. I have installed the SDK and I am trying to get ADB to recognize the phone. I have tried every driver imaginable with no luck. With the samsung drivers installed the computer recognizes the hardware normally, but ADB returns no devices when asked. I realize that this may not be necessary for this restore method, as the device pops up with "fastboot devices" when in fastboot mode. Not sure why it would be recognized in fastboot mode and not when powered up with debugging. For now, will this suffice to restore?
    Galaxy Nexus | Unlocked | Rooted
+ Reply to Thread
Page 1 of 9 1 2 3 ... LastLast

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. [How To] Unlock Bootloader & Root Galaxy Nexus
    By sbenson in forum Galaxy Nexus Development
    Replies: 483
    Last Post: 04-12-2012, 09:23 PM
  2. Was Best Buy wrong to ask a customer to return the Galaxy Nexus?
    By Preach2k in forum Galaxy Nexus General Discussions
    Replies: 39
    Last Post: 12-13-2011, 07:19 PM
  3. Should I return my Razr for a Galaxy Nexus??
    By brightside in forum Droid RAZR
    Replies: 79
    Last Post: 12-12-2011, 09:37 PM
  4. buy iphone 4s now, return for galaxy nexus befor jan15th?
    By bhawks in forum Droid General Discussions
    Replies: 9
    Last Post: 12-05-2011, 12:42 PM
  5. Galaxy Tab Firmeware Shows Locked Bootloader
    By WenWM in forum Droid News
    Replies: 43
    Last Post: 12-28-2010, 12:39 PM

Search tags for this page

flash galaxy nexus back to stock
,
flash galaxy nexus to stock
,
galaxy nexus back to stock
,
galaxy nexus lock bootloader
,

galaxy nexus return to stock

,

galaxy nexus stock recovery

,
galaxy nexus stock recovery image
,

galaxy nexus stock rom

,
how to restore galaxy nexus to stock
,
how to return galaxy nexus to stock
,

restore galaxy nexus to stock

,
restore verizon galaxy nexus to stock
,

return galaxy nexus to stock

,
returning galaxy nexus to stock
,
stock galaxy nexus rom
Click on a term to search our site for related topics.

Tags for this Thread