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.
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.
7. Now just press the power button and your phone will reboot. ALL DONE.
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
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