Today Google rolled out 4.4.2 to Nexus 4. It brings a few minor changes such as camera but kills root after upgrade. However we can easily root it back.
Required tools or files:
ADB+Fastboot+Driver
TWRP recovery
SuperSu 1.80
Step 1Â –Â Download required tools
Step 2 –  Extract ADB+Fastboot+Drivers.zip to a folder say “c:\nexus4”
Step 3 –Â Copy TWRP.img (TWRP recovery) to above folder.
Step 4 –Â Copy supersu.zip (SuperSu 1.80) to the root folder of phone
Step 5 –Â Browse to ADB+Fastboot+Driver folder (say c:\nexus4)Â directory and launch Command Prompt (hold Shift with Right-click and then choose Open Command Prompt).
Step 6 – check if everything works fine by typing follow command:
adb devices
and you should get something like below. if not, check if USB driver installed or USB debugging enabled on phone.
List of devices attached
00926993722484 Â device
Step 7 –Â Boot the Nexus 4 into Fastboot Mode. To do so, type in the following command and hit Enter.
adb reboot bootloader
The phone will be rebooted  into bootload mode
Step 8 –Â Type in the following command and hit Enter.
fastboot flash recovery twrp.img
Step 9 – After the command is executed, choose RECOVERY option from the Fastboot menu to boot into Recovery Mode.
Step 10 –Â Click “install” option and select “supersu.zip” on phone, then click “Swipe to Confirm Flash”.
Step 11 –Â Once the installation completes, reboot the phone.
Your Nexus 4 is now rooted.
====================================================================
In case you need revert to stock recovery, please download stock recovery image first,
Step 1 –Â Boot the Nexus 4 into Fastboot Mode. To do so, type in the following command and hit Enter.
adb reboot bootloader
The phone will be rebooted  into bootload mode
Step 2 –Â Type in the following command and hit Enter.
fastboot flash recovery recovery.img
That’s it.







0 Comments.