A couple of days ago, when Google released its new addition to Nexus series and started taking pre-orders on-line at Google Play Store, LG Nexus 4 sold out in less than 24 hours that is quite amazing and shows how many people are looking forward to whenever a Nexus device shows up. LG Google Nexus 4 starts with a reasonable price of $300 for the 8GB version and runs on the latest version of Android 4.2 Jelly Bean. It’s been only a couple of weeks and it has become a center of attraction for developers. Google’s Nexus series is always considered to be a user’s famous Smartphone and the numbers mentioned above speaks for itself. And that figures have indeed attracted developer community to provide as much tweaking as possible for the user favorite devices.
Due to that very reason, LG Google Nexus 4 has hardly gone to user’s hands and the developers have already gained root access. Here’s a step-by-step guide through which you can root your device.
Things that you need before moving on:
First you need to have a Nexus 4 with an unlocked bootloader and attempting on a locked Nexus 4 might end up bricking your device. You can unlock the bootloader by following a simple tutorial here. Other things apart from the unlocked bootloader that are required to root Nexus 4 are:
1. Android Debugging enabled on the Nexus 4
2. ADB configured on your computer with fastboot
3. Insecure boot.img for Nexus 4
4. Required Root files for Nexus 4
Note: Proceed at your own risk; ApplenMicro will not be responsible if something unpleasant happens to your device during the method.
Step 1: Simply boot your Nexus 4 into fastboot.
Step 2: Open the command prompt on your Windows PC, however before moving to try booting using the insecure boot image that was mentioned above. You can do that by simply running the following command in ADB:
“Fastboot boot boot.img”
Well as mentioned above your device will probably start normally and you will be able to proceed, however if that doesn’t work then you can try the alternative method.
Step 4: Now extract the root files and put them in the root folder of your ADB configuration path.
Step 5: No run the commands given below in the sequence as given:
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/
Step 5: Now finally reboot your device and you shall have the root access on your smartphone.
For all the download links, queries and more information about the process you can visit the official thread about the Nexus 4.
Source: XDA Developers