[GUIDE] Return to Stock: Factory Images for the VZW Galaxy Nexus
Note: once the Jelly Bean/JRO030 images are released, I will update this thread accordingly. Until then, you're stick with silly ole ICS.
[WARN]For those who have screwed up in Biblical proportions, follow me...[/WARN]
Here are the GENERAL INSTRUCTIONS TO RESTORE THE STOCK IMAGES. Make sure you know how to do it for your computer/setup and that ADB and fastboot is set up on your computer. For all machines, I highly highly recommend installing the Android SDK, found here. For Windows machines, I recommend using Wug's Toolkit, found right here (we also have a support thread for this). If you're on Ubuntu, I highly recommend reading and following this. For Mac OSX, use the superboot folder you used when unlocking/rooting your device.
In addition, make sure you know how to type the commands in for your specific setup. For example, if you're using a superboot folder for Mac, you need to make sure you understand what your "version" of the "beginning" of the command is (usually "./fastboot-mac" if you're using that r3-superboot folder). For Ubuntu, be sure to put "sudo" before any and all fastboot commands.
[NOTE]General Checklist of Stuff You Need:
- The actual factory images.
- Drivers for adb and fastboot setup and working properly.
- Adb/Fastboot installed on your computer.
First, download the 4.1.1 JRO03O image files to your computer. These specific files are found here.
Second, extract the files from that downloaded file. Place those files in an easily accessible location, like your desktop or your downloads folder.
Third, turn your phone off. Then, hold down volume up, volume down, and the power button at the same time to boot you into the bootloader. It should say "FASTBOOT MODE" in weird (red?) lettering on the screen. Make sure the phone is connected (by USB cable) to your computer.
Note - you can also to do this in the terminal with an ADB command; make sure USB Debugging is checked (Developer Options) and your phone is plugged in. Simply type:
Fourth, open up a terminal/command prompt.
adb reboot rebootloader
Fifth, using the command line, you need to "cd" or "change directory" to where your files are. This might be different depending on what computer you're on. If you are on Ubuntu and they are on the Desktop, do this:
If they are in your Downloads folder, then try this:
Then, "cd" or "change directory" again to the folder that you extracted (mysid-jro03o I believe). So, it would be
(Trick: to quickly cd to something on Ubuntu, simply type in "cd " [notice the space] and then drag and drop the folder/directory right in there )
Sixth, once at the folder containing the goods, you need type in the following commands. Each command will flash a different component/image required to go to stock. You can copy and paste each command, but if they don't work type them in. There's a general "language" that's being spoken here, so as long as you understand that language you'll be able to get the general jibe of what's going on. Also, make sure each command is COMPLETE before going to the next.
Seventh, let the phone reboot COMPLETELY to the "Welcome" screen. Then turn the device off and get back to the bootloader (see the third step). Also, don't close the terminal/command prompt window, you still need it!
fastboot flash bootloader bootloader-toro-primelc03.img
fastboot flash radio radio-toro-i515.fg02.img
fastboot flash radio-cdma radio-cdma-toro-i515.ff02.img
fastboot –w update image-mysid-jro03o.zip
Eighth, lock the device by using the following command in the terminal/command prompt, and then reboot the bootloader:
You should now see "LOCKED" at the bottom of that bootloader screen on your device. Remember, this wipes your SDcard and everything, but if you're at this point that should be of no concern to you . If you hate that your device is locked, then...
fastboot oem lock
Ninth, to unlock the device again, simply type in the commands:
fastboot oem unlock
And there you have it--a locked or unlocked, stock Galaxy Nexus running 4.1.1.
Credit for the above is due to everyone who has helped me and this guide.
For visual learners, we took a friend's phone and returned it to stock using this very guide. Follow along here. The rest of the video is flashing Jelly Bean, if that interests you . Video starts at 4:25...
The guide has been updated with the latest available factory images, JRO03O (Jelly Bean ).