Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (Verizon) Galaxy Nexus - All Things Root

Like Tree10Likes
  • 3 Post By scary alien
  • 1 Post By scary alien
  • 1 Post By scary alien
  • 1 Post By scary alien
  • 2 Post By scary alien
  • 2 Post By VoidedSaint

Closed Thread
 
LinkBack Thread Tools
Old December 30th, 2011, 01:33 PM   #1 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default [How To] Manually Root, Unroot, Restore and more~VZW Samsung Galaxy Nexus

.
This thread is a result of fellow Guide Yeahha's suggestion of creating a one-stop shopping type thread for many of the root-related tasks and information for our beloved Galaxy Nexus devices. We'll be adding more topics as time goes by and is warranted.

I've tried to organize and detail some of the more common tasks that you might encounter:


Advertisements
scary alien is online now  
Last edited by VoidedSaint; August 9th, 2012 at 05:15 PM. Reason: updated post #13 to have android 4.0.4 factory image
The Following 22 Users Say Thank You to scary alien For This Useful Post:
AlissaLL3 (February 10th, 2012), apjans (March 22nd, 2012), bluroot (March 19th, 2013), darkcyber (February 7th, 2012), ElectroM (January 14th, 2012), meanmon13 (July 21st, 2012), Mikeyz (December 31st, 2012), NSutherl (November 8th, 2012), PhilD (January 14th, 2012), rwinger (April 23rd, 2012), shaddyyy (June 30th, 2012), Snazzytime (January 25th, 2013), someperson472034 (October 13th, 2013), timetoroot (September 26th, 2012), tomato88 (July 11th, 2012), trophynuts (January 4th, 2012), VoidedSaint (February 18th, 2012), worknman (February 24th, 2012), WormDoes (February 5th, 2012), Yeahha (February 23rd, 2012), ymDroid (February 24th, 2012), z0mb13m4n (November 1st, 2012)
sponsored links
Old December 30th, 2011, 01:33 PM   #2 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to install the adb & fastboot USB drivers (MS/Windows users only)

.
Note: this step is not necessary for Mac or Linux users since adb and fastboot seem to connect right out of the box for those platforms.

Unfortunately, Microsoft Windows uses need to install special USB drivers in order to establish USB connectivity with the adb and fastboot utilities.

There are several options for doing so and I'll list them in the order in which I've heard folks indicate their success:

1. PDAnet drivers


If prompted, specify "Samsung" as your device manufacturer; you can also un-install PdaNet itself afterwards, but leave the USB drivers intalled.

2. ADB/FB Driver Naked Samsung Driver 1.7 [ADB/FB Driver] Naked Samsung Driver 1.7 - xda-developers

This driver worked very well for me on my Windows 7 Professional (64-bit) system. Here are some detailed notes that I took when I installed this driver on my system (click the "Show" button below to expand the details):



3. Other drivers


Still having USB connectivity issues after having tried the drivers above? Try a different USB port on your computer and/or a different USB cable (sometimes its NOT the software ).
meanmon13 likes this.
scary alien is online now  
Last edited by scary alien; December 30th, 2011 at 01:36 PM.
The Following 10 Users Say Thank You to scary alien For This Useful Post:
darkcyber (March 6th, 2012), ElectroM (January 14th, 2012), GalaxyNexus (April 11th, 2012), kool kat2 (February 17th, 2012), meanmon13 (July 21st, 2012), NSutherl (November 8th, 2012), shaddyyy (June 30th, 2012), trophynuts (January 4th, 2012), VoidedSaint (February 18th, 2012), WormDoes (February 5th, 2012)
Old December 30th, 2011, 01:33 PM   #3 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to install / acquire the adb and fastboot utilities

.
The adb (Android debug bridge) and fastboot are two utilities that are usually involved in rooting operations for the Samsung Galaxy Nexus (as well as other Android devices, of course).

The adb utility used to be pretty easy to install because it came in the base Android SDK installation. Google recently changed this to require that the adb utility be installed in a separate, secondary step (i.e., the platform-tools installation).

The fastboot utility also used to be pre-packaged with the Android SDK, but it hasn't been included with it for quite some time.

You can follow this guide ADB Guide that will help you install the Android SDK for the purposes of acquiring the adb utility.

Additionally, there's middle section in that thread, labeled "Mini-SDK", that references a downloadable file, sdk-tools.zip, that contains versions of the adb and fastboot tools for Microsoft Windows, Mac, and Linux and how to extract these files a folder on your PC.
meanmon13 likes this.
scary alien is online now  
Last edited by scary alien; January 17th, 2012 at 07:06 PM. Reason: had the whole wrong section, LOL...fixed!
The Following 9 Users Say Thank You to scary alien For This Useful Post:
ElectroM (January 14th, 2012), GalaxyNexus (January 21st, 2012), kool kat2 (February 17th, 2012), MajorAndroid (July 1st, 2012), meanmon13 (July 21st, 2012), NSutherl (December 14th, 2012), shaddyyy (June 30th, 2012), The_Chief (February 7th, 2013), trophynuts (January 4th, 2012)
Old December 30th, 2011, 01:34 PM   #4 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to unlock your bootloader

.
*** Warning ***

Unlocking your bootloader will completely wipe your device's internal "SD card", so backup what you need / want to beforehand.

*** Please Note ***

The first reboot after you've unlocked your bootloader may take about four or five minutes to complete. So, please be patient and do not pull your battery...let the boot complete (you'll see two cycles of the boot animation).

The reason for this is that you've just wiped your device, including the dalvik-cache. This dalvik-cache area needs to be rebuilt during that first reboot and that is what accounts for much of the boot time.

If you do pull the battery before this first reboot completes, just re-lock and unlock the bootloader again.

-----------------------

Here's the "TL;DR" (too-long, didn't read) version for those that don't have USB connectivity issues and already know how to use fastboot:

Code:
fastboot devices         (verify fastboot connectivity)
fastboot oem unlock      (unlock the device)
-----------------------

And here are the full, detailed instructions (click the "Show" button below):



meanmon13 likes this.
scary alien is online now  
Last edited by scary alien; December 30th, 2011 at 01:38 PM.
The Following 14 Users Say Thank You to scary alien For This Useful Post:
13lackmarket (February 21st, 2012), darkcyber (February 7th, 2012), El Presidente (February 12th, 2012), ElectroM (January 14th, 2012), GalaxyNexus (January 21st, 2012), kool kat2 (February 17th, 2012), Lohung (March 16th, 2012), lz5t38 (January 27th, 2012), meanmon13 (July 21st, 2012), NSutherl (November 8th, 2012), Snazzytime (January 25th, 2013), trophynuts (January 4th, 2012), VoidedSaint (February 18th, 2012), WormDoes (February 5th, 2012)
Old December 30th, 2011, 01:34 PM   #5 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to re-lock your bootloader

.
Here are the instructions for re-locking your bootloader, which you'll usually want to do if you need to return your phone for a warranty claim.

Note / FYI: re-locking the bootloader does NOT wipe your device (unlocking does, however).

Here's the "TL;DR" (too-long, didn't read) version for those that don't have USB connectivity issues and already know how to use fastboot:

Code:
fastboot devices         (verify fastboot connectivity)
fastboot oem lock        (re-lock the device)
-----------------------

And here are the full, detailed instructions (click the "Show" button below):



scary alien is online now  
Last edited by scary alien; December 30th, 2011 at 01:40 PM.
The Following 8 Users Say Thank You to scary alien For This Useful Post:
ElectroM (January 14th, 2012), GalaxyNexus (January 21st, 2012), jmar (July 14th, 2012), NSutherl (November 8th, 2012), shaddyyy (June 30th, 2012), Smartphone (October 11th, 2012), trophynuts (January 4th, 2012), WormDoes (February 5th, 2012)
Old December 30th, 2011, 01:34 PM   #6 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to root

.
Here is the rooting guide for the Verizon (VZW) CDMA/LTE version of the Galaxy Nexus:

........[HOW TO] Root the VZW/LTE Samsung Galaxy Nexus

I would suggest using the ClockworkMod rooting method (its the same for both versions of the phone) and is pretty straightforward. Here's a quick outline of that method:

.1 - Download your choice of ClockworkMod Recovery for the Galaxy Nexus

........Original Clockwork Recovery

.................-- or --

........Clockwork Recovery touch screen version

.2 - Place that file in your SDK's platform-tools folder (same place as adb.exe)

.3 - Download the root binaries (su.zip): Superuser

Note: if you are rooting Android 4.1.x / JellyBean, then use this version of the su.zip: http://db.tt/KJY5bFCv (link courtesy of iowabowtech)

Note: some users who have upgraded to Android 4.0.4 have reported that the above su.zip from the clockworkmod site does not give them root. You can use this file: su.zip (from su.zip - File Shared from Box - Free Online File Storage) instead which IS reported to work).

.4 - Place the su.zip file in your SDK's platform-tools folder.

.5 - Open a command prompt from within your platform-tools folder and type the following:

........adb push su.zip /sdcard/

.6 - Then reboot into the bootloader:

........adb reboot bootloader

.7 - When the bootloader menu/screen loads, flash the new recovery image:

........If you're going to use the "Original Clockwork Recovery", then

............fastboot flash recovery recovery-clockwork-5.5.0.4-toro.img

........If you're going to use the "Clockwork Recovery touch screen version", then

............fastboot flash recovery recovery-clockwork-touch-5.8.0.2-toro.img

.8 - When that finishes, use the volume keys to highlight “Recovery mode,” press power to select it.

.9 - From recovery, scroll to “install zip from sdcard.”

10 - Then “choose zip from sdcard.”

11 - Choose the “su.zip” file and install it.

12 - When that finishes, back out of recovery and reboot the system.

13 - Enjoy being rooted with a temporary recovery. (Permanent instructions below)

Afterwards, you might want to install Market Rom Manager and have it re-flash recovery for you.
scary alien is online now  
Last edited by scary alien; October 10th, 2012 at 09:23 PM. Reason: update w/new su.zip package
The Following 13 Users Say Thank You to scary alien For This Useful Post:
AlissaLL3 (February 10th, 2012), ElectroM (January 14th, 2012), GalaxyNexus (January 21st, 2012), jmar (July 14th, 2012), kool kat2 (February 17th, 2012), lz5t38 (January 27th, 2012), NSutherl (November 8th, 2012), shaddyyy (June 30th, 2012), Snazzytime (January 25th, 2013), tachnician199 (July 11th, 2012), trophynuts (January 4th, 2012), VoidedSaint (February 18th, 2012), WormDoes (February 5th, 2012)
Old December 30th, 2011, 01:34 PM   #7 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to un-root (return to stock)

.
This post will discuss how to return your phone back to stock, which will un-root it.

That is in contrast to just removing the root components (su binary, Superuser.apk, custom recovery, possibly busybox, other root apps, etc.) from your device. You can just remove the root components, but that would be a manual process and is not what most folks want or talk about when they say "un-rooting".

Here's a quick (un-tested) list of what I would do if I simply wanted to "un-root" and not reflash a set of stock images (note: again, this is not a true substitute for returning your phone back to stock and re-locking the bootloader):



The main difficulty in documenting a return to stock procedure is that the stock images / packages are device and version dependent and specific and will change from release to release.

You need to know and be aware of the differences in how the stock image files are named:
  • The Verizon (VZW) Galaxy Nexus is often referred to as the CDMA/LTE version; also "mysid" and "toro" code names are used when referencing files related to this type.

Here's an outline of the steps you'd need to take:
  • backup any files from your internal "SD card" up to your PC

  • download the proper stock image file (current name format: <model>-<version>-factory-<hex code>.tgz file) to your PC

    All current stock images (for various O/S versions) can be found here:

    Factory Images for Nexus Devices - Google Support for Nexus Phones and Flagship Devices - Google Code

    Currently (as of 6/30/2012), there is only the ICS 4.0.4 stock image for the VZW Galaxy Nexus listed at the bottom of the page under "Factory Images "mysid" for Galaxy Nexus "toro" (CDMA/LTE) (archived, for reference only)"

    It is highly suggested that you double-check the MD5 or SHA1 checksums after downloading any of these large files (you wouldn't want to flash a bad file and end-up with a bricked device, would you?).

  • extract the contents of the stock image file to a working folder; there will be a subfolder/directory created that should contain files similarly named like the following:

    Quote:

    4.0.2.version...................4.0.4.version
    ------------------------------..------------------------------
    bootloader-toro-primekk15.img...bootloader-toro-primela03.img
    flash-all.sh....................flash-all.sh
    image-myside-icl53f.zip.........image-mysid-imm76k.zip
    radio-toro-i1515.ek02.img.......radio-toro-i515.fc05.img
    radio-cdma-toro-i515.ek05.img...radio-cdma-toro-i515.fa04.img
  • note: you'll need to use your fastboot command, so if you don't have the directory where your fastboot utility is in your PATH environment variable, then you might need/want to copy the fastboot utility to the same directory where the above files have been extracted

  • put your phone into fastboot / bootloader mode

  • connect your phone to your PC via the USB cable (I recommend using a USB 2.0 port--I had issues during several sessions using a USB 3.0 port)

  • view the contents of the flash-all.sh script (this will be the template for the commands you'll enter)

  • start-up a terminal/command session (i.e., Windows Command Prompt for MS/Windows, or a Terminal session for Mac/Linux)

  • cd (change directory) to the folder where the subfolder where the flash-all.sh file is

  • now, carefully copy and paste the fastboot commands from the flash-all.sh script (the name of your particular fastboot command may differ based on the type of PC you are running on (i.e., it might be "fastboot-windows.exe" for MS/Windows or "./fastboot-mac" for Mac or "./fastboot-linux" for Linux)

  • take a little break (five seconds) or so between each fastboot command

  • note: some of the commands will take a minute or two to finish...be patient

  • after the last command (fastboot -w update...) completes, your phone will reboot back into Android and you should be completely back to stock (note: that reboot might take 4 or 5 minutes--be patient and give it some time)

  • if you are returning your device for warranty purposes, you might want to re-lock your bootloader (return to fastboot mode and type "fastboot oem lock")

  • note: here's the sample output of the when I did this for my phone for ICS 4.0.2 (note: your specific commands may be different depending on which phone you have and the version of the Android stock image files):




Here are the contents of the Verizon (VZW) LTE / CDMA flash-all.sh script for ICS 4.0.2:




Here are the contents of the Verizon (VZW) LTE / CDMA flash-all.sh script for ICS 4.0.4:



iowabowtech and jmar like this.
scary alien is online now  
Last edited by scary alien; June 29th, 2012 at 08:59 PM. Reason: update with 4.0.4 information
The Following 9 Users Say Thank You to scary alien For This Useful Post:
GalaxyNexus (January 21st, 2012), iowabowtech (July 3rd, 2012), jmar (July 14th, 2012), Mr. Link (April 12th, 2012), NSutherl (November 8th, 2012), shaddyyy (June 30th, 2012), Snazzytime (January 25th, 2013), trophynuts (January 4th, 2012), WormDoes (February 5th, 2012)
Old December 30th, 2011, 01:34 PM   #8 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to install ClockworkMod custom recovery

.
To install Koushik Dutta's ClockworkMod custom recovery for the Samsung Galaxy Nexus, you'll need to have already unlocked your bootloader.

There are two (*) ways to install ClockworkMod custom recovery:

1. Via the Koush's ROM Manager app




2. Manually by flashing via the fastboot utility while in fastboot mode




* -- there's actually a third way by using the flash_image utility (which is similar to the fastboot command, but you don't have to be in fastboot mode); this is what ROM Manager would be using to flash ClockworkMod


Flashed custom recovery won't "stick"?

Do this:

- remount /system in read/write mode (use something like the Root Explorer app or ES File Explorer; both have root modes (check the app's settings) for remounting /system as writable)

- rename the /system/recovery-from-boot.p to /system/recovery-from-boot.p-bak

(note: you could delete it, but renaming is much safer since its easily reversible)

- here are notes for doing this using ES File Explorer (free in the Market):




- you could also do this manually in an adb shell or on-phone Terminal session:

+ mv /system/recovery-from-boot.p /system/recovery-from-boot.p-bak

+ after you've renamed the file, you might have to re-flash your CWM if it had been missing previously (which led you here)

Note: you can also use the "Make Recovery Stick" feature of the Android Root Toolkit app (free in the Market) to do the above.


Mini-FAQ / Tips / Notes

Q: what's a custom recovery good for?

A: several cool things:

  • making and restoring Nandroid (full phone) backups
  • flashing / installing custom ROMs and update.zip type files
  • wiping / clearing various phone partitions, battery stats
  • fix permissions

Q: how do you navigate the menus in ClockworkMod for the GNex?

A: navigation tips:

  • use the volume key / rocker to navigate up and down in the menus
  • use the power button to select an entry
  • note: many have reported the volume rocker can be a little sensitive (i.e., it will move more than one entry when pressed)

Q: Anyway to change the number of "No" options on the action/confirm page?

A: Yes! Cool tip (thanks to XDA's zyonee):

Create a simple (can be empty) file named /sdcard/clockworkmod/.one_confirm

Here's one example of how to do this: adb shell touch /sdcard/clockworkmod/.one_confirm

Q: can I flash the stock recovery back if I no longer want a custom recovery?

A: Yes. If you return completely back to stock, this will happen when you do the final "flash -w update..." command of that process. You can also just flash the recovery.img file taken from your appropriate device's stock / factory image set (i.e., from inside the image-<model>-<version>.zip file).

Additionally, in lieu of extracting the recovery.img file, you could download them from Koush's site below, but I would caution you that these files do not match (in size) the files you would extract from the stock images--presumably because they were created with a saveprt2sd or similar partition dump command):


Q: do you have to install a custom recovery to become rooted?

A: no, but you can root fairly easily via custom recovery by flashing a .zip file that installs root (su / Superuser.apk) for you

Q: how do you put your phone in fastboot / bootloader mode?

A: from a powered-off state, press (and hold!) volume-UP and volume-DOWN and power (keep holding all three until you see the little green Android laying down with his chest plate open)

Q: how do I get into recovery (custom or stock)?

A: four ways (so far):

  • use the (free) Market app Quick Boot (Reboot) and select "Recovery"

  • put your phone in fastboot / bootloader mode (see above) and use the volume keys to toggle the mode (displayed at the top of the screen) to "Recovery" and select that mode by pressing the power button

  • via an adb reboot recovery command

  • via the ROM Manager app's "Reboot into Recovery" option on the main menu
scary alien is online now  
Last edited by scary alien; September 26th, 2012 at 07:06 PM. Reason: augment the "make recovery stick" notes
The Following 9 Users Say Thank You to scary alien For This Useful Post:
GalaxyNexus (January 21st, 2012), jmar (July 14th, 2012), NSutherl (November 8th, 2012), rlh445 (June 2nd, 2012), shaddyyy (June 30th, 2012), Snazzytime (January 25th, 2013), trophynuts (January 4th, 2012), VoidedSaint (February 18th, 2012), WormDoes (February 5th, 2012)
Old December 30th, 2011, 01:34 PM   #9 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to restore stock recovery

.
Why would you need to restore the stock recovery? To be able to successfully install an over-the-air (OTA) Android update from Google or your carrier.

Note: if, when you installed ClockworkMod custom recovery, you renamed your /system/recovery-from-boot.p file to make ClockworkMod "stick", you should be able to rename it back to its original name and then reboot to cause the stock recovery to be automatically re-flashed for you.

If you deleted the /system/recovery-from-boot.p file instead of renaming it, you can download and extract it from here: recovery-from-boot-p.zip

Many of the details that you would need to follow are already covered in the How to restore stock recovery post (please reference that post for additional details). However, you really only have one file to enter a fastboot flash command for to return your recovery back to stock. Here's an overview:

- acquire the stock recovery image, by either:

  • download the appropriate 4.0.2 stock recovery images for each device:

    stock-VZW-LTE-CDMA-402-recovery-image.zip (contains recovery.img file)

  • - download the proper stock image file (<model>-<version>-factory-<hex code>.tgz) for your partition device to your PC

    - extract the stock image file to a working directory

    - extract the contents of the image-<model>-<version>.zip file to a working directory

    - copy the recovery.img file from the extracted image-<model>-<version>.zip file to the directory that contains your fastboot utility (note: we're assuming you already have fastboot USB connectivity between your phone and your PC)

- start-up a terminal/command session (i.e., Windows Command Prompt for MS/Windows, or a Terminal session for Mac/Linux)

- put your phone into fastboot / bootloader mode

- type the following fastboot command to flash the stock recovery:

Code:
fastboot flash recovery recovery.img
(the name of your particular fastboot command may differ based on the type of PC you are running on (i.e., it might be "fastboot-windows.exe" for MS/Windows or "./fastboot-mac" for Mac or "./fastboot-linux" for Linux)

- that's it...you should now have your stock recovery again

- to reboot your phone, you can type fastboot reboot to restart Android
scary alien is online now  
Last edited by VoidedSaint; February 18th, 2012 at 08:50 PM. Reason: added downloadable 4.0.2 stock recovery files
The Following 7 Users Say Thank You to scary alien For This Useful Post:
GalaxyNexus (January 21st, 2012), jmar (July 14th, 2012), NCTurner (June 5th, 2012), NSutherl (December 14th, 2012), trophynuts (January 4th, 2012), VoidedSaint (February 18th, 2012), WormDoes (February 5th, 2012)
Old December 30th, 2011, 01:34 PM   #10 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to flash a ROM via ClockworkMod custom recovery

.
- be sure to read the ROM developer's compatibility and installation instructions / details that you may need to consider:

  • kernel compatibility
  • wipes that are required
  • additional packages (like Google apps (often referred to as "gapps")) that will also need to be flashed
  • note: some additional packages / mods require that you are using it with a deodexed ROM

- download the ROM's .zip package to your PC or phone (do NOT unzip it!)

- be sure to verify the MD5 checksum of the .zip file you will be flashing (MD5 Verification); you certainly don't want to be flashing a bad ROM

- if you downloaded the .zip file to your PC, copy / place the .zip file to the root / top-level directory or folder of your phone (the top-level folder should show-up as "Internal Storage" under the "Galaxy Nexus" drive when you've connected your phone to your PC via the USB cable

- boot your phone into ClockworkMod custom recovery

- if the ROM dev's thread indicates you need to perform any wipes, do those at this point

  • note: a "wipe data/factory reset" will delete the contents of the /data partition, but will leave the /data/media folder (subdirectory) where the /sdcard (the internal "SD card") is symbolically linked to intact (i.e, your "SD card" will not be touched)

- select install zip from sdcard

- next, select choose zip from sdcard

- you'll next be presented with a list of files and folders in the /sdcard mount point, use the volume rocker to scroll to the downloaded .zip file that you wish to flash

- at the Confirm install? / THIS CANNOT BE UNDONE. screen, scroll down to the Yes - Install <zip filename> entry and press the power button to select and start the flash

- pay attention to the results of the flashing status to see if any errors / issuses were encountered

- when the flashing has completed, scroll to the +++++Go Back+++++ option at each screen until you return to the main screen

- if the ROM dev's thread indicates you need to install any additional .zip files (like Google apps, etc.), flash those at this point (using the same process as outlined above)

- on the main screen, select the reboot system now option to reboot your phone and see the result of your flashing operation
scary alien is online now  
Last edited by scary alien; January 2nd, 2012 at 09:47 PM. Reason: clarify comment about factory reset within CWM
The Following 10 Users Say Thank You to scary alien For This Useful Post:
DoctorEyeSight (February 26th, 2012), GalaxyNexus (January 21st, 2012), jmar (July 14th, 2012), NSutherl (November 8th, 2012), shaddyyy (June 30th, 2012), Snazzytime (January 25th, 2013), TexDaddy57 (March 30th, 2012), trophynuts (January 4th, 2012), veccster (July 27th, 2012), WormDoes (February 5th, 2012)
sponsored links
Old December 30th, 2011, 01:35 PM   #11 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default How to install / update a kernel or radio

.
- note: for kernels, you need to make sure that the ROM that you will be flashing the kernel for is compatible with the version of Android that is installed (i.e., 4.0.2 kernel goes with a 4.0.2 compatible ROM; 4.0.3 with 4.0.3, etc.)

- note: for kernels, be sure to read the developer's compatibility and installation instructions / details that you may need to consider

- download your kernel or radio .zip package to your PC or phone (do NOT unzip it!)

- be sure to verify the MD5 checksum of the .zip file you will be flashing (see MD5 Verification); you certainly don't want to be flashing a bad kernel or radio

- if you downloaded the .zip file to your PC, copy / place the .zip file to the root / top-level directory or folder of your phone (the top-level folder should show-up as "Internal Storage" under the "Galaxy Nexus" drive when you've connected your phone to your PC via the USB cable

- boot your phone into ClockworkMod custom recovery

- select install zip from sdcard

- next, select choose zip from sdcard

- you'll next be presented with a list of files and folders in the /sdcard mount point, use the volume rocker to scroll to the downloaded .zip file that you wish to flash

- at the Confirm install? / THIS CANNOT BE UNDONE. screen, scroll down to the Yes - Install <zip filename> entry and press the power button to select and start the flash

- pay attention to the results of the flashing status to see if any errors / issuses were encountered

- when the flashing has completed, scroll to the +++++Go Back+++++ option at each screen until you return to the main screen

- on the main screen, select the reboot system now option to reboot your phone and see the result of your flashing operation
scary alien is online now  
Last edited by scary alien; December 30th, 2011 at 01:43 PM.
The Following 10 Users Say Thank You to scary alien For This Useful Post:
apjans (March 22nd, 2012), chiph411 (January 28th, 2012), El Presidente (February 12th, 2012), GalaxyNexus (January 21st, 2012), jmar (July 14th, 2012), NSutherl (December 14th, 2012), shaddyyy (June 30th, 2012), trophynuts (January 4th, 2012), VoidedSaint (February 18th, 2012), WormDoes (February 5th, 2012)
Old December 30th, 2011, 01:35 PM   #12 (permalink)
not really so scary
Thread Author (OP)
 
scary alien's Avatar
 
Join Date: Mar 2010
Location: Indy
Posts: 17,468
 
Device(s): LG Nexus 5, Samsung Galaxy Nexus, Asus Nexus 7, Moto Droid X, HTC Droid Eris
Carrier: T-Mobile

Thanks: 33,032
Thanked 15,044 Times in 7,385 Posts
Default Miscellaneous items

..
Q: how to enter into fastboot / bootloader mode?

A: three ways:

  1. from a powered-off state, press (and hold!) volume-UP and volume-DOWN and power (keep holding all three until you see the little green Android laying down with his chest plate open)

  2. if you are already in fastboot / bootloader mode, you can issue the "fastboot reboot-bootloader" command to re-launch

  3. if you are in an adb mode (i.e., USB debugging is enabled while Android is running or you have custom recovery (ClockworkMod) running), you can issue an "adb reboot bootloader" or "adb reboot-bootloader" command to put your phone in fastboot / bootloader mode

----------------------------------------------------------------------------
.
Q: how to enter into recovery (custom or stock)?

A: several ways:

  1. put your phone in fastboot / bootloader mode (see above) and use the volume up/down keys to toggle the mode (displayed at the top of the screen) to "Recovery" and select that mode by pressing the power button

  2. use the (free) Market app Quick Boot (Reboot) and select "Recovery" (or my app, Android Root Toolkit under reboot options)

  3. via the ROM Manager app's "Reboot into Recovery" option on the main menu

  4. via an adb reboot recovery command (only when you are in adb mode)

  5. many custom rooted ROMs also support a boot-into-recovery option in the same menu that you get when you long-press the power button to shut down
scary alien is online now  
Last edited by scary alien; July 22nd, 2012 at 10:00 AM.
The Following 7 Users Say Thank You to scary alien For This Useful Post:
chiph411 (January 28th, 2012), GalaxyNexus (January 21st, 2012), jmar (July 14th, 2012), NSutherl (November 8th, 2012), Snazzytime (January 25th, 2013), trophynuts (January 4th, 2012), WormDoes (February 5th, 2012)
Old February 17th, 2012, 09:32 PM   #13 (permalink)
Resident Ninja
 
VoidedSaint's Avatar
 
Join Date: Feb 2010
Posts: 8,193
 
Device(s): LG G3
Carrier: Verizon

Thanks: 1,291
Thanked 2,166 Times in 1,377 Posts
Default How to UNBRICK the Galaxy Nexus

.
This will UNBRICK the Galaxy Nexus by returning the stock Verizon image 4.2.2
which will also reflash the stock recovery image.


1- Download the Android 4.2.2 factory images to your pc
4.2.2 JDQ39

2- Unzip the file and its contents into your SDK/Tools folder (wherever your adb.exe and fastboot.exe files are).
(*make sure you unzip, either with winrar, or 7zip the file that is inside the initial zip)

Make sure they are not in their own folder, but have all been extracted to Tools.

3- From within your Tools folder, open a command prompt (SHIFT + right click – “open command prompt here”)

4- Type the following commands, allowing each to finish before moving onto the next:

adb reboot bootloader
fastboot flash bootloader bootloader-toro-primelc03.img
fastboot reboot-bootloader
fastboot flash radio radio-toro-i515.fk02.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-toro-i515.fk01.img
fastboot reboot-bootloader
fastboot -w update image-mysid-jdq39.zip
fastboot reboot-bootloader
fastboot oem lock

5- Reboot your phone by highlighting “Start” and pressing the lock switch.

6- It really is as simple as that. Your phone is now back to a 100% stock, unrooted and locked state.


To keep the phone unlocked, just bypass the fastboot oem lock, and it will not relock
tomato88 and jbdan like this.
VoidedSaint is online now  
Last edited by VoidedSaint; April 1st, 2013 at 03:44 PM. Reason: updated to add 4.2.2 image
The Following 15 Users Say Thank You to VoidedSaint For This Useful Post:
anayamani (July 14th, 2013), GalaxyNexus (April 10th, 2012), jbdan (August 2nd, 2012), Jeffery (July 4th, 2012), jhawkkw (April 4th, 2013), jmar (July 14th, 2012), NSutherl (November 8th, 2012), scary alien (February 17th, 2012), shaddyyy (June 30th, 2012), sk1ppur (May 20th, 2014), Snazzytime (January 25th, 2013), Steven58 (July 6th, 2012), TexDaddy57 (March 30th, 2012), tomato88 (June 16th, 2013), ymDroid (February 24th, 2012)
Closed Thread


Go Back   Android Forums > Android Phones > Samsung Galaxy Nexus > (Verizon) Galaxy Nexus - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:50 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.