Android 5.1 Lollipop
How to update Nexus 5 and Nexus 6 to Android 5.1 build LMY47I via official factory images YouMobile

Google has just started rolling out the latest build of Android 5.1 Lollipop (LMY47I) update via newly released factory images for its flagship handsets: Nexus 5 and Nexus 6, just a week after the latter received the last updated build of Lollipop.

The new build (LMY47I) of Android 5.1 seems to be a minor bug-fix update aimed at fixing issues related to SIM card handling, given the ill-consequences of adding multiple-carrier support, according to the unofficial changelog created by the folks at Android Police.

However, the new update fails to address more critical issues with Lollipop such as the unexpected battery drain, infamous memory leak issue and an aggressive process killer.

Interested Android users may check the complete list of changes ported to the new Lollipop build in a recent post by Android Police.

Those who cannot wait for the official Android 5.1 OTA release in their country can go ahead and flash the latest Lollipop build (LMY47I) via official factory image, using the step-by-step guide posted below.

Note: All Nexus devices running Android 5.0 Lollipop (stock and custom ROM) can be upgraded to the latest build of Lollipop (LMY47I) via the 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 and Nexus 6 models 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 or Nexus 6 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:
  • Go to Settings > About Phone.
  • Scroll down to the bottom and select Build Number.
  • 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.

Downloads Required

Android 5.1 LMY47I factory image for Nexus 5

Android 5.1 LMY47I factory image for Nexus 6

Steps to Update Nexus 5 and Nexus 6 to Android 5.1 Lollipop Build LMY47I via Factory Image

Step 1 -Download the Android 5.1 Factory Image for your Nexus phone on the computer.

Step 2 – Connect the Nexus device 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 Nexus device 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-LMY47I or Shamu-LMY47I 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 phone. 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 five minutes for the first boot to complete. So, please do not interrupt the process.

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

[Source: Android Central]