Android OS Forum banner
1 - 20 of 143 Posts

·
Android Nut
Joined
·
2,611 Posts
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.
Code:
adb reboot bootloader<br />
fastboot flash bootloader bootloader-toro-primel???.img<br />
fastboot reboot-bootloader<br />
fastboot flash radio radio-toro-i515.????.img<br />
fastboot reboot-bootloader<br />
fastboot flash radio-cdma radio-cdma-toro-i515.????.img   (Note: This one takes a couple minutes. Be patient)<br />
fastboot reboot-bootloader<br />
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.

Code:
adb reboot bootloader<br />
fastboot oem lock
7. Now just press the power button and your phone will reboot. ALL DONE.
 

·
Android Addict
Joined
·
146 Posts
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!
 

·
Registered
Joined
·
12 Posts
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?
 

·
Android Nut
Joined
·
2,611 Posts
Discussion Starter · #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
 

·
Registered
Joined
·
12 Posts
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
 

·
Android Nut
Joined
·
2,611 Posts
Discussion Starter · #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.
 

·
Android Beginner
Joined
·
7 Posts
I am getting the Too Many links error when trying to flash any of the files in fastboot. I have searched around but can't find a fix can anyone help?

Edit: now the phone won't even power on at all, no bootloader no google logo no battery icon nothing.
 

·
Android Nut
Joined
·
2,611 Posts
Discussion Starter · #15 ·
I am getting the Too Many links error when trying to flash any of the files in fastboot. I have searched around but can't find a fix can anyone help?

Edit: now the phone won't even power on at all, no bootloader no google logo no battery icon nothing.
too many links error is usually caused by trying to do more than 1 command at a time. are you just doing one command at a time?

try pulling the battery out for a while.
 

·
Supporting Member
Joined
·
26 Posts
nope they are not apparently, i keep getting "no such file" or "command not found", pretty frustrating. i looked online for a Mac but there is little help. anybody?
it's a little different on MacOS. Try this:
  1. open Terminal.app
  2. type sudo emacs ~/.bash_profile
  3. emacs should open up with the terminal's profile document in the buffer(window).
  4. look for a line that begins 'export PATH', if you don't see it then go to the head of the file and add this:
    1. export PATH=[path-to-sdk-platform-tools-directory]:$PATH
  5. if you already do have a PATH statement, just tack it on the the end of the list of directories just before the $PATH and end it with a colon:))
    1. example: export PATH=/opt/local/bin:~/android-sdk-macosx/platform-tools:$PATH
  6. press ctrl+x, then ctrl+s to save it.
  7. press ctrl+x, then ctrl+c to close emacs.
  8. Quit Terminal.app and restart it.
  9. you should be in business now. :)
 
1 - 20 of 143 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top