Jump to content

  1. 0
  2. 0
  3. 0/5

Rate this Topic

* * * * *
3 votes

[How-To][VZW] Return to Factory State (Unroot and Relock)

stock unroot unbrick relock factory
  • Please log in to reply

OP razorloves

razorloves

Android Nut

Posted 30 December 2011 - 05:24 PM #1

Performing these steps will return your Verizon Galaxy Nexus to factory software/firmware. Just like it was when you pulled it out of the box.
This means the sdcard partition will be erased, so backup if you need to.

If you are bootlooping or soft-bricked and cant figure out how to fix the problem, doing these steps should bring it back to life.


DOWNLOADS:

NOTE: The file you download will be a compressed archive, so you will need to extract it. This is explained in the instructions below.

Download the version you want to flash from here https://developers.g...us/images#mysid


INSTRUCTIONS:

NOTE: These instructions require that you have adb and fastboot already setup and ready to use. They are the same things used when you unlocked and rooted the phone. If you don't have it setup, let me know and I'll provide instructions.

1. Download the factory image archive you want to flash to your phone and save it to your desktop. OPTIONAL: When it's done downloading verify the md5. You can use MD5 Check to do that.

2. Extract the factory image archive to the folder that you have adb and fastboot in. Normally your adb and fastboot are located in the "C:\android-sdk\platform-tools folder" on your hard drive. You can use 7-zip to do the extracting.

NOTE: If on Windows, you can put the phone into bootloader mode and run the flash-all.bat batch file and it will do all the flashing commands for you and take you to step 5 of this guide.

NOTE: If on Linux or Mac, you can put the phone into bootloader mode and run the flash-all.sh script and it will do all the flashing commands for you and take you to step 5 of this guide.

3. When you're done extracting those files into the same folder that has adb and fastboot, open a command prompt window by holding the shift key, then right click in the window with your adb and fastboot and factory image files, then choose "Open command window here".

4. Ensure USB Debugging is enabled on your phone and connect it to your PC, then type the following commands, one at a time, into the command prompt window:

Note: The first command listed below will reboot your phone into bootloader mode. If your phone is soft-bricked or bootlooping, that command might not work. So, if you're phone is not booted up, just manually put your phone into bootloader mode by powering off your phone, then hold the volume up + volume down + power buttons, until it vibrates. Now it's in bootloader mode and you can skip the first command.

WARNING: Be careful not to move your phone around or mess with the usb cable while doing the following commands. You don't want to accidentally disconnect it. That might end up bad.

Use these commands for flashing the files:
(Reminder: As stated above, you can run the flash-all.bat file (for Windows) or the flash-all.sh file (for Linux or Mac) to perform all these flash commands for you. If you'd still like to do it manually, continue.)
Note: replace the ? symbols with the actual file name you're flashing. They are different depending on which factory image you downloaded.
adb reboot bootloader
fastboot flash bootloader bootloader-toro-primel???.img
fastboot reboot-bootloader
fastboot flash radio radio-toro-i515.????.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-toro-i515.????.img   (Note: This one takes a couple minutes. Be patient)
fastboot reboot-bootloader
fastboot -w update image-mysid-??????.zip

Note: After you enter the last command listed above (fastboot -w update image-mysid-??????.zip), your phone will be busy for a several minutes. It will also reboot a couple times. Just be patient and it will finish.

5. If you want to leave your bootloader unlocked, you are done. Your phone now has all the factory software/firmware installed. If you want to relock the bootloader, continue to step 6.

6. Your phone will now be at the Welcome screen to begin setting up android. After you finish doing the initial setup of your device, go into Settings-Developer Options and enable USB Debugging. Then type the following commands into your command prompt window to lock the bootloader.

adb reboot bootloader
fastboot oem lock

7. Now just press the power button and your phone will reboot. ALL DONE.
  • 66 Likes

Gootz66

Gootz66

Android Addict

Posted 05 January 2012 - 07:49 PM #2

I had to return my Nexus and swap it out at my local vzw store and this guide helped out tremendously! Very easy to follow and highly recommend for anyone that needs to return to locked and factory.

Cheers! :android-smile:
  • 3 Likes

BB Curve 8330>BB Storm 9530>BB Storm 9550>HTC Incredible>Galaxy Nexus>iPhone4s


hags2k

hags2k

Member

Posted 06 January 2012 - 11:55 AM #3

Quick question... I thought I'd read somewhere (or saw a screenshot of the warning the phone displays when you unlock the bootloader) that a flag is permanently set, ostensibly to create a permanent record on the device that you'd unlocked it at some point. Did I just imagine this, or is there really some indicator left on the device even if you totally restore it that will show that you'd unlocked it at some point?
  • 0 Likes

OP razorloves

razorloves

Android Nut

Posted 06 January 2012 - 03:51 PM #4

Quick question... I thought I'd read somewhere (or saw a screenshot of the warning the phone displays when you unlock the bootloader) that a flag is permanently set, ostensibly to create a permanent record on the device that you'd unlocked it at some point. Did I just imagine this, or is there really some indicator left on the device even if you totally restore it that will show that you'd unlocked it at some point?


I haven't heard of this
  • 0 Likes

hags2k

hags2k

Member

Posted 07 January 2012 - 02:16 PM #5

I haven't heard of this


I found the page I was reading. It's in the wikipedia entry for the Fastboot protocol, toward the bottom of the page. No citation is given in the entry, so I have no idea if the information is reliable. Also, it only mentions the Nexus S and the Xoom, so, again, it might not apply to the GN even if it is true.

http://en.wikipedia.org/wiki/Fastboot
  • 0 Likes

OP razorloves

razorloves

Android Nut

Posted 07 January 2012 - 03:03 PM #6

I found the page I was reading. It's in the wikipedia entry for the Fastboot protocol, toward the bottom of the page. No citation is given in the entry, so I have no idea if the information is reliable. Also, it only mentions the Nexus S and the Xoom, so, again, it might not apply to the GN even if it is true.

http://en.wikipedia.org/wiki/Fastboot


i can understand your concern cuz of what that says there, but i have not heard of any permanent flag being set. The only scenario i can think of where you would be screwed is if your usb port quit working. Then you'd have no way to relock it. Then when you turned it in for warranty replacement, they would be able to see that it was unlocked by the unlock symbol on the bottom of the google boot image.
  • 0 Likes

willlayb

willlayb

Android Beginner

  • 34 posts

Posted 14 January 2012 - 03:37 PM #7

i flashed the bootloader, then rebooted, then tried the first radio and got this

sending radio failed (data transfer failure (too many links))

any idea what that would be caused by?
  • 0 Likes

OP razorloves

razorloves

Android Nut

Posted 14 January 2012 - 07:28 PM #8

i flashed the bootloader, then rebooted, then tried the first radio and got this

sending radio failed (data transfer failure (too many links))

any idea what that would be caused by?


are you doing one command at a time? then when it's finished, you copy and paste the next one.
  • 0 Likes

Bulls25

Bulls25

Android Beginner

  • 4 posts

Posted 15 January 2012 - 12:18 PM #9

Will doing this de-activate the phone?
  • 0 Likes

OP razorloves

razorloves

Android Nut

Posted 15 January 2012 - 01:32 PM #10

Will doing this de-activate the phone?


yea. just like doing a factory reset. but it auto activates as soon as it boots up.
  • 0 Likes