Friday, April 26, 2013

Beranda » , , » Root, Install Custom Recovery, Unlock Bootloader, and ROMs on Galaxy Nexus

Root, Install Custom Recovery, Unlock Bootloader, and ROMs on Galaxy Nexus

Have you owned this device yet? Cause its brilliant in both cases; software and hardware. Galaxy Nexus was first showcased during the year 2011 and was released in the same duration. It was the first device supporting the latest Android version Ice Cream Sandwich 4.0+  with the hardware configuration of a lifetime viz Dual-core 1.2 GHz Cortex-A9 processor, 1GB RAM, PowerVR SGX540 GPU and a pretty decent 16 GB Internal storage. But this is not yet enough for people in the Custom Android world and to lurk out the most of this device, we certainly need to go far from its limits which could be only done by going custom.

Recommended for you!

  • How To Flash Jelly Bean 4.2.1 Factory Image On Galaxy Nexus
  • Samsung Galaxy Nexus I9250 Customization Tips And Tricks
  • Best Android 4.2 Jelly Bean Custom ROMs For GSM Galaxy Nexus I9250

Warning!

  • The Instructions are meant only for Sprint Galaxy Nexus and Verizon Galaxy Nexus only. Do not attempt to try this on any other device
  • Remember! Sprint and Verizon editions are two different variants, so please do not cross over the files or steps
  • Read and Understand the Instructions carefully before performing any actions
  • DroidViews Community or any of its members are not responsible for any damage to your device

Terminology

  • Rooting: Rooting is a process that allows any Android smartphone/ tablet user to gain root privileges over the android subsystem. Rooting not only helps in removing carrier limitations but also serves a purpose to change, remove or install operating system.
  • ClockworkMod (CWM): A linux/ unix operating system employs a recovery and since Android being based on linux also has recovery. Clockworkmod is a secondary recovery system created by Koush, which adds enormous features like wiping partitions, flashing flash able .zip files like ROMs, kernels, patches etc to the stock device recovery.
  • Custom ROMs: These are the aftermarket Android firmware which are not official supported by the device manufacturer. They are made available to the world by Android developers around several Android Communities including XDA-Developers, RootzWiki etc. Custom ROMs are either built from Google’s source code i.e AOSP (Android Open Source Project) or are modified versions of the device manufacturer’s ROM (Stock ROMs or Factory ROMs) with additional tweaks and extended functions which are not delivered with the Stock ROMs. Some of the popular Custom ROMs include CyanogenMod (CM), Android Open Kang Project (AOKP), MIUI, ParanoidAndroid, Xylon and many more.

Prerequisites

  • Compatible USB Data cable
  • Appropriate USB Drivers installed [LINK]
  • Android SDK Installed [LINK]
  • USB Debugging enabled (Go to Settings > Developer Settings > tick “USB Debugging“)
  • Backup your complete device storage, SMS, Contacts and Calenders before proceeding
  • At least 60% of battery, to avoid any uncertain shutdowns during the process. If possible charge full (Not compulsory, but much safe)
  • Essential files for Sprint Galaxy Nexus users [GN-Sprint.zip]
  • Extract the download GN-Sprint.zip to the desktop, so now you have GN-Sprint folder containing all the necessary files for a Sprint Galaxy Nexus user.
  • Essential files for Verizon Galaxy Nexus users [GN-Verizon.zip]
  • Extract the download GN-Verizon.zip to the desktop, so now you have GN-Verizon folder containing all the necessary files for a Verizon Galaxy Nexus user.
Now, if you have cross checked that you’ve all the prerequisites, then you may proceed further. In case, you’re stuck somewhere while setting up/performing any of the above mentioned points, feel free and comment down.

Unlock Bootloader

  • Unlocking your device’s bootloader is a very short and easy part, which is same for all the Nexus devices. So, no matter if you’ve Verizon or Sprint Gnex, the same procedure is withheld. Make sure you have your storage and everything backed up b’cause this process will erase every bit of it.
  • Connect the device to the PC via USB data cable.
  • Open the GN-Sprint/GN-Verizon folder, which you can find on your desktop (or another location, where you’ve extracted it).
  • Press the SHIFT key and RIGHT CLICK, anywhere on an empty space inside the respective folder. A new menu shall pop-up.
  • Select Open Command Prompt Here. It will open a new CMD window which is already cd’ed to the location of your files.
  • Reboot your device into bootloader mode, type the following command in the CMD window:
adb reboot  bootloader
  • Your device will boot itself rightaway to the bootloader mode, look at the image below for reference on how the Bootloader screen looks.
  • To unlock the bootloader, type:
fastboot oem unlock
  • As soon as you type in the mentioned command, your device’s screen shall show a new message, which looks just like the below image.
  • Now, if you’re are very sure of what you are doing and you want to unlock, use the volume keys to highlight Yes and select it using the power button.
  • You have successfully unlocked your bootloader! The process merely takes a minute and your device will reboot itself.  So, now you have your device ready for further enhancements.
Note: Make sure not to close the CMD window yet, cause we will need the same for further processes too. In any case you do exit it, follow step #2, 3 & 4 again and then only proceed further to install the custom recovery.

Install Custom Recovery

In order to flash custom Images and zips, a Custom Recovery is essential. ClockworkMod and TWRP are two such well-known and most frequently used custom recoveries. Lets hit a few simple command-line steps and install one of these.
  • To install TWRP recovery, type in CMD:
fastboot flash recovery TWRP.img
  • To install ClockworkMod Non-Touch recovery, type in CMD:
fastboot flash recovery CWM.img
  • To install ClockworkMod Touch Recovery, type in CMD:
fastboot flash recovery CWM-Touch.img
Okay, so now we have completed flashing a custom recovery; we can now flash any kind of flash-able zips (Recovery, ROMs, Kernels, MODs etc.)

Rooting

Android has evolved a lot since its beginning and so has its impact on the custom world too. Earlier in order to flash a Custom ROM/Kernel, most devices required root permissions. But now, once you have flashed a Custom Recovery, you shall either choose to Root your stock ROM, in order to use Apps or a few MODs or, you can simply install a Custom ROM which not only is pre-rooted but also ensures to provide hundreds of customization features.
  1. Download the flash able SuperSU binaries zip: Download Here
  2. Connect your Galaxy Nexus to the PC via USB data cable & enable mass storage mode.
  3. Copy the downloaded zip to your storage.
  4. Power off your device and now reboot your phone into CWM Recovery by pressing volume up + volume down + power buttons simultaneously until  you see the blue recovery text. (Remember, earlier the combo of the same buttons was used to boot into bootloader/ fastboot mode but now since the CWM has been installed, the same pattern will be used to boot CWM.)
  5. Go to “Install zip from sdcard”, select “choose zip from sdcard”. Now choose the zip file that you placed in the SD card.
  6. It will notify when the flashing process is complete.
  7. Select “Reboot system now”.
Now we have our Galaxy Nexus fully unlocked and rooted. Plus we have also configured the utility to install (flash) custom ROMs i.e the ClockworkMod Recovery. I will now begin to instruct you with the easy steps to install a Custom ROM to your Galaxy Nexus I9250 (GSM).

Install a Custom ROM

  1. The first step of all is to choose a custom ROM which meets all your requirements and fulfill your desires for custom features. You can find all the available Custom ROMs for your Verizon/Sprint Galaxy Nexus Here At XDA-Developers Forum. Once you find the ROM that suits you the best, step 2 is what you should follow.
  2. Download the ROM file which is flash-able file with .zip extension and save it in a secure location on your PC.
  3. Download the Gapps for your ROM (if provided by the ROM developer). If not, download the generic gapps: [Download Here]
  4. Connect your Galaxy Nexus to the PC via USB data cable & enable mass storage.
  5. Copy and paste the download flash able zip files to your device’s storage.
  6. Power off your device.
  7. Boot into CWM Recovery by pressing volume up + volume down + power buttons simultaneously until  you see the blue recovery text.
  8. Wipe data/ factory reset.
  9. Go to “Mounts and Storage” and wipe /system.
  10. Go to “advanced” and wipe dalvik cache.
  11. Go to “Install zip from sdcard”, select “choose zip from sdcard” and choose the ROM zip file. Choose to flash and wait for a while.
  12. When it has done flashing, it will notify  automatically.
  13. In case it takes time, do not pull out the battery. Have patience because everything is going just the way it is meant to, until you follow the steps exactly.
  14. You shall now flash the Gapps the same way you flashed the ROM file.
  15. If you have any ROM add-on provided by the ROM developer, they are to be flashed in exactly the same way as the ROM and Gapps.
  16. Select “Reboot system now” when all the flashing has been done.
  17. Done!  Now you shall sit back and give some time for your new Custom ROM to boot and enjoy the irresistible features that it offers.
Note: If this tutorial worked for you (and it should work), please leave a comment below. Thanks.