- unlock your bootloader
- download the appropriate (GSM or LTE) CWM .img file for your particular device
- don't forget to verify the MD5 checksum of the download before you flash it!
- put your phone into fastboot mode
- flash the CWM .img file via fastboot
- enjoy your new custom recovery
Instructions
A. unlock your bootloader (see the Unlocking The Bootloader section in the first post (#1) above)
B. download the version of ClockworkMod appropriate / specific to your carrier:
- Verizon / VZW (CDMA) version: Clockwork Recovery for Galaxy Nexus (CDMA)
File name: recovery-clockwork-5.5.0.4-toro.img
MD5: b2d31c29b7ef785f9c0802a12264d322
File size: 5,263,360 (bytes)
- GSM version: Clockwork Recovery for Galaxy Nexus (GSM)
File name: recovery-clockwork-5.5.0.2-maguro.img
MD5: 445887336a863573997ccbaeedddc984
File size: 5,427,200 (bytes)
C. place the selected ClockworkMod recovery .img file in the directory with your fastboot and adb utilities
D. make sure you phone is connected with the USB cable to your PC
E. next, boot your phone into fastboot mode (press and hold both the volume-UP and volume-DOWN buttons and then press the power button)
F. start-up a command prompt (Windows) or Terminal (Mac / Linux) session as outlined in the Unlocking The Bootloader section above and change to the folder / directory where your fastboot utility, adb utility, su.zip, and selected recovery .img file are located
Note for Windows users: we will be using both the adb and the fastboot utility below, so you'll need to make sure you have USB drivers installed that will recognize your device while in both modes. The [ADB/FB Driver] Naked Samsung Driver 1.7 - xda-developers works very well and there are other USB driver options listed at the bottom of the first post above.
G. okay, now we will flash (install) the selected ClockworkMod custom recovery image to your phone's recovery partition:
Code:
For MS/Windows: - command for Verizon / VZW CDMA recovery: fastboot flash recovery recovery-clockwork-5.5.0.4-toro.img - command for GSM recovery: fastboot flash recovery recovery-clockwork-5.5.0.2-maguro.img For Mac/Linux: - command for Verizon / VZW CDMA recovery: ./fastboot flash recovery recovery-clockwork-5.5.0.4-toro.img - command for GSM recovery: ./fastboot flash recovery recovery-clockwork-5.5.0.2-maguro.img - after you've flashed the recovery, use the volume keys to change the green "Start" arrow/banner to the red "Recovery mode" one - select that mode by pressing the power button--that will actually launch the new custom recovery
If you wish to simply soft-boot (load ClockworkMod into your phone's memory from your PC and boot it without flashing / over-writing the currently installed (presumably stock) recovery, you can use this process:
Code:
For MS/Windows: - command for Verizon / VZW CDMA recovery: fastboot boot recovery-clockwork-5.5.0.4-toro.img - command for GSM recovery: fastboot boot recovery-clockwork-5.5.0.2-maguro.img For Mac/Linux: - command for Verizon / VZW CDMA recovery: ./fastboot boot recovery-clockwork-5.5.0.4-toro.img - command for GSM recovery: ./fastboot boot recovery-clockwork-5.5.0.2-maguro.img - your phone should now boot into ClockworkMod custom recovery
- download the su.zip flashable (via CWM) root package and place in same folder with the adb utility
- once ClockworkMod custom recovery is booted-up and showing on your screen, you'll need to push (send) the su.zip (flashable root package) to your phone's internal memory ("SD card") via the adb utility:
Code:
For MS/Windows: adb push su.zip /sdcard/ (notice the trailing forward slash) -- or -- adb push su.zip /data/media/su.zip (I included the second version of this command because the first didn't work for me at times (CWM wasn't always "seeing" the file I just pushed)) For Mac/Linux: ./adb push su.zip /sdcard/ (notice the trailing forward slash) -- or -- ./adb push su.zip /data/media/su.zip (I included the second version of this command because the first didn't work for me at times (CWM wasn't always "seeing" the file I just pushed)) ### here's what the output looks like on my Windows PC: c:gnexsdk-tools> adb push su.zip /sdcard/ 4346 KB/s (1126078 bytes in 0.253s)
navigation tips:
- use the volume key / rocker to navigate
- use the power button to select an entry
what to do:
- select the "install zip from sdcard" entry
- select the "choose zip from sdcard" entry
- navigate to the bottom of the displayed menu options, you should see your "su.zip" entry there; select it
- after you flash the su.zip file, navigate to the "*****Go Back*****" entry; select it to return to the prior menu screen
- navigate back again to the first / main screen
- select the "reboot system now" entry
- when you phone finishes rebooting, you should now have root
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)
- 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
Mini-FAQ
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
- use the power button to select an entry
Q: can I flash the stock recovery back if I no longer want a custom recovery?
A: Yes, for the VZE LTE GNex, you can flash this stock recovery image
(I'll dig-up a link for the GSM stock recovery image and post it here, too)
Q: do you have to install a custom recovery to become rooted?
A: no, but you can root via custom recovery (see above and in the first post above)
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: three ways (so far):
- use the (free) Market app Quick Boot (Reboot) and select "Bootloader"
- 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

0 comments:
Post a Comment