The folks out of the Googleplex are rolling out the new Android 5.1 over the air (OTA) software update for all three main Nexus devices. The Google Nexus 5 fits that list. If you are already running the latest software update on your phone and wish to open up the ports with root access again, you can do that by following the step-by-step guide below.
- You should already have the Nexus 5 updated to the aforementioned firmware build, namely LMY47D by accepting the official OTA signals.
- You should only flash the files below for the Google Nexus 5 and no other Nexus device in the range of smartphones and tablets. Installing the files on any other device in the range can cause bricking.
- We do not guarantee this method will work for any future over the air update. So, if you are reading this in the future and you know of a fresher software release, it’s best to search for a guide on that firmware. Google often patch earlier known exploits and that causes them to fail.
BEFORE WE BEGIN
- Backup the smartphone before going ahead. Use the built-in backup feature to store the contacts and other sensitive data. There’s also many third-party applications available from the Google Play Store that’ll help you make copies of just about everything you need.
- Download the Google nexus USB drivers so you are up to date. You want to restart the computer so the drivers take effect before starting the guide.
- Enable the USB Debugging Mode from the Developer Options menu.
- Make sure you have around 60% battery power before starting so it doesn’t shut off before the guide finishes.
HOW TO ROOT THE GOOGLE NEXUS 5 RUNNING ANDROID 5.1 LOLLIPOP LMY47D FIRMWARE
- Download the SuperSU file you need from here .
- Download the Android SDK for Windows here .
- Download the fastboot file for Windows here  and extract the folder in the android-sdk-windows\platform-tools directory.
- Connect the Nexus 5 to the computer with the USB cable.
- Transfer the SuperSU zip file over to the internal SD card of the phone (without unzipping the file).
- Power down the phone.
- Download the ClockworkMod recovery  file.
– save it to the same /platform-tools directory.
- Boot the Nexus 5 in fastboot/bootloader mode by holding down the Volume Down and Power buttons.
- Navigate over to the /platform-tools directory and right-click any blank white space and hold down the Shift key. Now choose to open the Command prompt.
- Type the following command:
fastboot flash recovery recovery-clockwork-touch-184.108.40.206-hammerhead.img
- Now select the Recovery options from the fastboot menu.
- You should now be in the custom recovery mode.
- Scroll down the list until you see “flash zip from SD card” and select the option.
- Now select the “choose zip from SD card”.
- Search for the SuperSU file in your internal memory.
- Confirm you wish to install the SuperSU file.
- Wait for the installation to complete before going back to the main recovery menu and selecting the “reboot system now” option.