Google has just released the Android 6.0 Marshmallow factory images with build number MRA58K for a spate of Nexus devices including Nexus 5, Nexus 6, Nexus 7, Nexus 9 and Nexus Player. Nexus 4, Nexus 10 and the 2012 Nexus 7 are yet to receive Google's latest Android update.

Here is a checklist of prerequisites that need to be taken care of, before you proceed to upgrade your Nexus device to Google's newest operating system:


  • This guide involves the use of ADB tools and hence it is imperative that you make sure that ADB tools are installed on your computer (download Android SDK).
  • Ensure that your Nexus device is visible on your computer. Launch Terminal app and type the command "adb devices" and hit Enter. If the device is listed there, you are all set. Otherwise, just ensure your device has USB debugging option enabled in the Settings app:
  • Go to Settings > About Phone > tap the build number a few times and then hit the back button > Developer Options. The USB debugging option should now be accessible.
  • Backup your important data and settings on the Nexus phone or tablet.
  • Verify that your device's bootloader is unlocked by navigating to Settings > Developer Options > About page and tap the Android build number several times on your Nexus smartphone or tablet. Then make sure OEM unlocking is checked. Enter the command "adb reboot bootloader" to go to device's bootloader and check if it is in locked state. If the device is locked, return to the bootloader screen and enter the "fastboot oem unlock" command.
  • Accept the various confirmation-prompts to unlock your device and hit OK when a prompt suggests that all data will be wiped on your device.

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

Downloads required

Steps to install Android 6.0 Marshmallow MRA58K factory images on Nexus 5, 6, 7, 9 and Player

Step 1: Ensure the correct ADB and Fastboot drivers are installed (Windows and Mac)

Step 2: Verify that ADB drivers are working correctly by following the guide posted here.

Step 3: Unlock your Nexus device's bootloader using the guide posted here.

Step 4: Extract the MRA58K update file you downloaded earlier, using free software extraction tool like 7-zip to your computer's desktop.

Step 5: Disconnect your Nexus device from the computer if it is still connected.

Step 6: Let your Nexus device boot into fastboot mode:

  • Turn off the device.
  • Press and hold both Volume Down and Power buttons together until the screen turns on and Fastboot logo appears on it.

Step 7: Connect your Nexus device to PC via original USB cable.

Step 8: Double-click the flash-all.bat file, which should be located in a folder on the desktop with all extracted contents in it.

  • Linux and Mac users should enter the following command in terminal: sh ./

That's it. Once all the files are installed, your Nexus device should be running Android 6.0 Marshmallow update with build MRA58K. Those who have already installed the new Marshmallow update can go ahead and root the same with SuperSU, using our guide posted here.


In case you are stuck with installing the Marshmallow factory image due to unexpected script errors like "missing boot.img" or "missing system.img" or "cannot load system.img: not enough space" then follow our troubleshooting guide posted here.

[Source: The Android Soul]