HTC One M7 receives Android 5.0.1 Lollipop via CyanogenMod 12 stable build
Android 5.0.1 Lollipop build LRX22C now available for Nexus 5 via factory image

Google has just started rolling out the Android 5.0.1 Lollipop over-the-air (OTA) update with build number LRX22C for the Nexus 5, while also uploading the full factory image on its developer portal for the same build.

The new Android 5.0.1 build LRX22C can be flashed only with unlocked bootloader on the Nexus 5, and those who missed the OTA update notification or cannot wait for the official OTA release in their country can follow our step-by-step guide (below) to install the official factory image for Android 5.0.1 on the Nexus 5.

Users are advised to perform a full data wipe, especially if they are installing the Android 5.0.1 stock update on a custom ROM.

Note: All Nexus 5 devices running Android 5.0 Lollipop (stock and custom ROM) can be upgraded to the latest build of Lollipop (LRX22C) via official factory image.

IBTimes UK reminds readers that it will not be held liable for any damage to device during or after firmware installation. Users are advised to proceed at their own risk.

Pre-requisites

  • The instructions given in this guide are meant for the Nexus 5 model only. Verify device model number by navigating to Settings > About Phone as installing this firmware on incorrect variants might brick the device.
  • Ensure the phone has at least 80% battery charge to prevent unexpected device shutdown (due to battery drain) while installing the ROM.
  • Back up data and settings using a recommended custom recovery tool, like ClockworkMod (CWM) or TWRP, as it creates a complete image of the existing phone setup. In Recovery, choose Backup and Restore and tap Backup.
  • Verify correct USB drivers for the phone are installed on the computer (download Nexus 5 USB drivers).
  • Enable USB Debugging mode via Settings > Developer Options Note: If Developer Options is not visible then you need to enable it as follows:

a) Go to Settings > About Phone.

b) Scroll down to the bottom and select Build Number.

c) Then tap build number seven times to unlock the Developer Options under Settings and then enable USB Debugging mode.

  • Ensure that the device is rooted with CWM or TWRP recovery installed and its bootloader is unlocked.

Steps to Update Nexus 5 to Android 5.0.1 Lollipop Build LRX22C via Factory Image

Step 1 - Download Android 5.0.1 Factory Image for Nexus 5 (GSM/LTE) on your computer.

Step 2 – Connect the Nexus 5 to your computer via USB cable.

Step 3 - Ensure Fastboot is configured and properly installed on your computer. (click to see guide).

Step 4 – Power off your phone and boot it into Fastboot/Bootloader mode.

Step 5 – To boot into Fastboot mode: turn on the phone while pressing and holding the Volume Up, Volume Down and Power buttons until the Fastboot menu and START icon appear on the screen.

Step 6 - If necessary, unlock the device's bootloader by running the following command: fastboot oem unlock

Step 7 - Then extract the downloaded file to a desired location on your computer (preferably desktop). Go to the folder hammerhead-LRX22C and then copy/paste all the files to the Fastboot directory.

Step 8 - Using factory image files in your Fastboot directory, run the following commands depending on the OS installed on computer:

  • On Windows: Run the file "flash-all.bat".
  • On Mac: Run the file "flash-all.sh" using Terminal.
  • On Linux: Run the file "flash-all.sh".

Step 9 –That is all you need to do for flashing the stock factory image on your Nexus 5. Wait for the installation process to complete or follow the on-screen instructions on your phone if in case you are prompted to unlock the bootloader.

Step 10 - Once the installation completes, your phone will reboot and it may take about 5 minutes for first boot to complete. So, please do not interrupt the process.

Your Nexus 5 is now running the official Android 5.0.1 Lollipop update with build LRX22C via stock factory image from Google. Go to Settings > About phone to verify the firmware installed.

[Source: Google Developers via Android Police]