Nexus 6
Nexus 6Screenshot from YouTube Video

T-Mobile has started rolling out the latest Android OS edition 5.1 Lollipop to its Motorola Nexus 6 smartphones. If you own the same smartphone, the update will arrive in due time. But what if the update doesn't work? Here is the solution for you.

The latest Android 5.1 Lollipop with a build number of LMY47M can also be downloaded and updated manually on the Motorola Nexus 6, credit goes to 'nxt', a XDA developer member. Go through the steps below to update the firmware on the phone. 

Pre-requisites

  • Backup all vital data and settings on your Nexus 6 via recovery mode.
  • Make sure that your Nexus Smartphone has above 80% battery charge.
  • The bootloader of the smartphone should be unlocked; disable all security lock including pattern lock, pin, etc.
  • The Android 5.1 OTA update is only for said Nexus devices. Installing the firmware on any other Smartphone could brick the device. Hence verify the model number of the device before installing OTA update.
  • The mentioned edition is stock Android 5.1 build LMY47M released by T-Mobile, not a leaked firmware.
  • Your Nexus 6 should be running Android 5.0.1 LRX22C Lollipop stock firmware.

Downloads

Steps to Update

Step 1: Once the above mentioned files get downloaded, create a new folder on your system called n6ota51.

Step 2: Extract the adb_and_fastboot_files.zip file and transfer all files to the folder you've just created.

Step 3: Extract the Android 5.0.1 System Image files to the same floder mentioned above. Make sure the system image file name is shamu-lrx22c-factory-ff173fc6.tgz,

Step 4: Boot your Nexus 6 smartphone into bootloader mode or recovery mode by entering the following command: adb reboot bootloader.

You can also do it by holding the Power and Volume Down buttons together while your Nexus phone is turned off.

Step 5: Open the n6ota51 folder, left click anywhere on the empty area inside the folder. Hold Shift key, right-click on empty space, choose Open command window here option. This will open up command prompt with location set as n6ota51 by default, where the fastboot and adb files are located along with the extracted Android 5.0.1 files and the OTA update.

Step 6: Type adb devices and then hit enter key. You would see a serial number, with the text device right to it. If not, it means the USB drivers for the Nexus 6 aren't installed or not working properly on your PC.

Step 7: If you see the serial no., move forward, type fastboot reboot bootloader and then hit enter key. Wait until the device reboots to bootloader mode, where you can use fastboot commands. These commands can be used to flash Android 5.0.1 on your Nexus 6.

Step 8: Flash the Android 5.0.1 build LRX22C using the commands below and hit enter key after each command:

fastboot flash boot boot.img

fastboot flash cache cache.img

fastboot flash recovery recovery.img

fastboot flash radio radio.img

fastboot flash system system.img

Now without closing the command window, proceed to the next step.

Step 9: Reboot to recovery by restarting the bootloader. Type fastboot reboot bootloader and hit enter. Once you enter into the bootloader mode, use volume buttons to scroll to recovery option, and then select it using the Power button to boot into recovery mode.

Step 10: Use volume down and up buttons to browse between options and then browse and select the option, apply update from ADB.

Step 11: [Optional] Rename the OTA update file to ota-tmo-n6-51.zip

Step 12: Type adb sideload ota-tmo-n6-51.zip, and then hit enter key; Or if you didn't rename the OTA update file, then type adb sideload 9504426dab3969b9b7da4e825ed91d4fc496cb25.signed-shamu-ota-LMY47M-from-LRX22C-fullradio.zip and then enter key.

Now the OTA update file will be copied to your Nexus 6 and then installed automatically. Once the installation process gets over, restart the device using reboot system. 

Source: AndroidSoul