- dotTech - https://dottech.org -

How to root Nexus 5 on Android 5.1.1 Lollipop (LMY48B) [Guide]

Nexus 5 [1]Once you’ve updated the Nexus 5 to the latest LMY48B factory image on Android 5.1.1 Lollipop, you will have to gain root access on it again since the factory image wipes it away. I’ll show you how you can root the Nexus 5 on Android 5.1.1 Lollipop LMY48B firmware build number.

REQUIREMENTS

BEFORE WE BEGIN

HOW TO ROOT NEXUS 5 ON ANDROID 5.1.1 LOLLIPOP FACTORY IMAGE

  1. Download and install the Android SDK [3] from the official Developers website.
  2. You can set up ADB and Fastboot [4] on Windows following our guide. If you already have it, there’s no need to do it again.
  3. Download the SuperSU [5] you want to have from Chainfire.
  4. Transfer the SuperSU file over to the internal SD card storage on the Nexus 5 device.
  5. Download the ClockworkMod recovery [6] you want. Transfer the CWM file over to the same folder that you have the ADB.
  6. Completely power off the Nexus 5 by holding in the Power button.
  7. Boot the Nexus 5 up in Fastboot mode by pressing the Power and Volume Down buttons together and keeping them firmly held down until you see the menu.
  8. Open the folder where you have ADB and CWM and right-click the mouse while holding down the Shift key and choose to open the command windows here from the new menu.
  9. Now type this command: fastboot flash recovery recovery-clockwork-touch-6.0.4.5-hammerhead.img
  10. Now watch the new menu on the device change and choose the recovery option. Now you are entering the recovery mode.
  11. Choose the “flash zip from SD card” option, followed by choose zip from sdcard”.
  12. Browse for the SuperSU file you transferred earlier to the root of the storage and confirm to upload it.
  13. Once complete, navigate to the main menu in recovery and choose to reboot the system.

Congratulations! Now you have gained root access from inside recovery thanks to the SuperSU and you can flash a custom ROM again.