Like many a mobotnik, you've just rooted your shiny new Samsung Galaxy Nexus and flashed TWRP's latest touch recovery. You race to your local Android forum, pick out the latest custom Jelly Bean ROM and flash it. The device's screen glows with the light of the Google emblem and nothing happens. You wait for several minutes hoping to see the boot screen, but the device reboots itself. Having forgotten to run a nandroid backup, you are now stuck between a rock and a hard place.
You pull the battery and then rerun TWRP. You wipe system, data, cache, and even the battery stats, hoping that with a reflash your Galaxy Nexus will reboot into the comforting glow of the Jelly Bean home screen. Sadly, the device just remains on the Google emblem, doomed to be forever stuck there. Your device is now what is known as soft bricked. This is definitely a problem that can be fixed, however, your options are limited: you can try and flash the stock ROM images from Verizon Wireless and hope that none of the partitions are corrupted or you can take the safe, guaranteed route: ODIN.
The scenario you read above was what happened to me three nights ago. After flashing the latest custom Android 4.1 ROM to my Verizon Galaxy Nexus, my device's userdata partition became corrupted. I looked in vain, high and low across the internet for a solution that would work. Since the partition was corrupted beyond repair, the traditional method of using ADB and flashing the factory IMM76K images would not work. After much searching I finally was able to obtain a set of working ODIN PDA and PHONE .tar's. This is how I was able to save my Verizon Galaxy Nexus from having to be turned in for Samsung's warranty service:
The first thing you need is ODIN. Download and save this application to your desktop. Unzip the file and extract all of the contents to the local directory. ODIN is basically the supreme overlord of Samsung device flashing. It is an executable application that takes pre-packaged .tar images and flashes them to your device. The best (and worse) part of ODIN is that as long as the Samsung USB drivers are installed and your device is connected, ODIN will flash any valid file to your phone. Always make sure you select the correct files when flashing.
Once you've downloaded ODIN you need the files that go with it. The first is the PDA .tar and the second is the PHONE .tar. Download and save both of these files to your desktop. You must have BOTH of these together to ensure that your device is completely restored. Do not unzip them.
Now that you have all of the proper files, you need to turn off and unplug your device. Once the device has been completely turned off, hold the power and down volume button at the same time and your Galaxy Nexus will go into what's known as download mode (pictured right).
Once the device is in download mode, plug a microUSB cable into the computer and your Nexus. Provided you have the correct Samsung drivers installed (which if you're attempting this in-depth of a task you should) the device will connect to your PC. Go to the ODIN folder on your desktop and open it. Inside you will see a file called Odin3 v1.85. Open the file and the ODIN application will appear before you.
You'll notice a number of different options on screen. Leave the Auto Reboot and F. Reset Time boxes checked.
Next click on the Phone button and select the VzW-PHONE-ODIN-SCH-I515.EK02_LTE.tar.
Once you've done this and your phone is connected, hit the “Start” button. At this point you'll notice the top left hand box that was empty has text in it and the box below it filling up with a green bar. In the “Message” box there will be text detailing the exact happenings. DO NOT at any point during the flashing process disconnect or wiggle the microUSB cable. Doing so could take a repairable soft brick and turn it into an unrepairable hard brick. When the flashing process is finished, ODIN will state that the device is rebooting. Once the device has finished rebooting, feel free to close ODIN and unplug your restored Samsung Galaxy Nexus. You're now back to stock format and ready to try flashing custom ROM's again. Enjoy.