One good news for Google Nexus 4 users they can now easily root their device along with that they can also install the ClockworkMod recovery. In this tutorial we are providing two different methods for you to root your Galaxy Nexus 4.
All thanks to the XDA Senior Member and news writer HQRaja who has come up with this work.
- The foremost thing you need to do is; first unlock the bootloader on your device. After that install the ADB with fastboot on your system.
- Unlock the Bootloader will wipe your data completely so, we strongly advice you to take backup of all your internal data such as Call Logs, Contacts, SMS, MMS, Apps, APNs Settings, etc. with the help of backup applications. Just in case, if you lost your data due to any reason you could easily recover them with the help of backup applications.
- We also advice you to charge your device battery fully in order to apply the update. Minimum 80% is recommended from our side. If you do not consider this there is a chance of your device getting switched off during the middle of the process.
- Next disable all the antivirus suites in your computer as well as mobile so that update process may not get interrupted.
- Make sure USB debugging is enabled in your mobile. If not, you can do it by following the path – “Settings > Applications > Development > USB debugging” and after that USB debugging would be enabled in your phone.
DISCLAIMER : Use the given below procedure at your own risk. Best android Blog will not be held responsible if any thing goes wrong in your device.
ClockworkMod Recovery Method:
1. First download the latest official ClockworkMod recovery from here and rename it to recovery.img
2. Enable android debugging from Settings>Developer Options.(If you can’t find developer options, go to ‘About’ and tap ‘Build number’ seven times).
3. Connect your device to the computer via USB and install the required drivers.
Use this tutorial to install the drivers in Nexus 4 for windows:
- First download the file from here and extract it into a folder.
- Plug your phone in. When prompted, select to browse your computer to manually install the driver.
- Navigate to and select the usb-driver folder to install the drivers
4. Download the recovery flashable SuperSU package with Busybox and transfer it to your phone’s internal SD card.
5. Now, reboot your device into the fastboot/bootloader
adb reboot bootloader
After that power off the phone and then use power+volume down key combination to get into bootloader.
6. Now, unlock the bootloader if you do not perform this step already with the help of below command.
fastboot oem unlock
7. After that enter the below command prompt to flash the ClockworkMod recovery (Just make sure you are in the directory where you downloaded the recovery file).
fastboot flash recovery recovery.img
If you simply want to root without flashing a custom recovery and want to stick to your stock recovery,simply boot this recovery once using this command:
fastboot boot recovery.img
8. If you flashed the recovery in the previous step, you can now boot into recovery by pressing the volume Up or Volume Down buttons twice to select the recovery option, and then the power button to enter it. If you simply booted into the recovery file without flashing it in the previous step, you should already be in recovery now.
9. Flash the downloaded SuperSu and busybox package zip file from recovery.
10. Finally clear the cache and dalvik cache and reboot the device.
ADB and Insecure Boot Image Method:
1. First download the insecure boot image file from here.
2. And also download the root file from here. This package includes the latest SuperSu 0.98, latest su binary hat comes with it, and working busybox (not sure if latest).
3. Once downloaded, extract the contents of the downloaded zip file to your computer.
4. Enable Android Debugging from Settings > Developer Options. (If you can’t find developer options, go to ‘About’ and tap ‘Build number’ seven times.)
5. Connect the device to your computer via USB, and install the required drivers.
6. Reboot into fastboot/bootloader:
adb reboot bootloader
You can also power off the phone and then use power + volume-down key combination to get into bootloader.
7. Now, unlock the bootloader if you do not perform this step already with the help of below command.
fastboot oem unlock
8. Get back into bootloader mode and boot into the downloaded insecure boot image:
fastboot boot boot.img
Don’t worry, this will not replace your existing boot image and will only boot from insecure one once.
NOTE : If it does not work for you and you get stuck in a boot loop, simply reboot your phone into bootloader and use the above command again. Some users had issues with booting from it the first time, but a second attempt worked.
9. Once booted into Android successfully using the insecure boot image, simply enter these commands one by one in command prompt (making sure you are in the directory where you downloaded the files):
adb shell mount -o remount,rw /system
adb push su /system/bin/
adb push Superuser.apk /system/app/
adb push busybox /system/xbin/
chmod 06755 /system/bin/su
chmod 0644 /system/app/Superuser.apk
chmod 04755 /system/xbin/busybox
busybox –install /system/xbin/
10. Finally Reboot your device.
Congrats! now you will have root access.