Nexus 4 shipments are starting to arrive for the very lucky souls that were able to get an order in. If you plan on unlocking your bootloader (and subsequently rooting) you Nexus 4, we recommend doing it first thing since unlocking the bootloader will reset and erase everything on your device. If you’re ready to go, you’ve come to the right place, just hit the break to get started.
**These instructions are straight forward and easy, but things can go wrong so we don’t take any responsibility.
- You must have the sdk installed and be able to access and use adb and fastboot.
- You must have USB debugging enabled on your Nexus 4. If this is the first time going into developer options on your Nexus 4, just go into “About Phone” from your settings and tap the build number seven times. You will now see all developer options from now on.
Unlocking the bootloader
**By unlocking the bootloader you will completely reset your device so make sure to back up anything you want to keep.
- Connect your Nexus 4 to your PC via the USB cable that came with it
- Launch Terminal / Command Prompt
- Navigate to the fastboot/adb folder which will be inside the location where the Android SDK is installed (On Windows, it should be in C:\program files (x86)\android\android-sdk\platform-tools)
- Enter the following command: fastboot devices (You should see your device ID. If you don’t, you don’t have the proper driver installed and you can’t move forward unless you get this resolved. See below for help. If you see the device ID move on to step 5)
- Enter the following command: fastboot oem unlock (If you didn’t get a device ID from step 4 and you moved to this step by mistake, it will be stuck on “Waiting for Device.” If this is the case, just hit CONTROL-C to stop it and see the below driver information)
- It should say Start in the top right. Hit the power button to reboot.
**If you ever want to lock the bootloader you can simply enter fastboot oem lock instead for step 5.
Gain Root Access
- Turn on USB debugging again
- Download the latest CWM recovery file for the Nexus 4 (either non touch or touch) and place it in the fastboot folder (again this location should be C:\program files (x86)\android\android-sdk\platform-tools in Windows)
- Download and place SU_Busybox_Package.zip directly under /sdcard on your device
- Enter the following command: adb reboot bootloader
- Enter the following command: fastboot flash recovery recovery-clockwork-22.214.171.124-mako.img (or whatever is the name of the current file name)
- Tap the volume down so it shows Recovery Mode in the top right, then hit the power button.
- At this point you can perform a backup from the “backup and restore” option in case anything goes wrong. If you need to restore this backup ever, just use the restore option.
- From the main menu, navigate to install zip from sdcard > choose zip from sdcard > SU_Busybox_Package.zip
- From main menu, select reboot system now
- After reboot you should see SuperSU in your apps drawer, open it and tap on continue to make sure your installation is successful.
If you followed these instructions correctly, your Nexus 4 bootloader is now unlocked and you should have permanent root. Congratulations!!!
You might find that even though you can access your Nexus 4 via Windows, you might have a problem with the driver not installed correctly from terminal mode. You will know you have this problem because the device ID didn’t appear in Step 4 or for Step 5. it’s stuck on “Waiting for Device.” You can’t unlock the bootloader until you get this resolved. The following may help…
Make sure the Google USB drivers are installed from the SDK.
Go to your Control Panel then Device Manager. You should see Android Phone with a Yellow ! mark on it. Right click on it and choose update driver, choose browse my computer, then Let me pick from a list. Select Android ADB Interface. You should be good to go. Return to Step 5 under Unlocking the bootloader.
If you’re having any other issues, make a comment below or head to this XDA thread.