How to Install Official Android 6.0 Marshmallow on Nexus (Windows, OS X, Linux)
The official Android 6.0 Marshmallow images have been released to the Android Developer site which means every Nexus owner is getting super excited to flash them at the soonest. While you can choose to wait for the OTA updates to arrive, if you have previous experience of flashing images on your devices and are comfortable with the process, you can very well try the new Marshmallow right now using the images made live by Google. Following is a quick guide to help you get a glimpse at the steps you need to follow to flash Android 6.0 Marshmallow on Nexus devices using Windows, Mac or Linux computers.
Prerequisites to install Android 6 Marshmallow on Nexus 5, 6, 7 (2013), 9, and Player:
- Create a backup of all important data on your Nexus device.
- Download and install USB drivers for Google Nexus in your computer.
- Enable USB debugging option by pressing Menu > Settings > Applications. Navigate and tap on Developer Options to ensure that USB Debugging is enabled.
- Make sure that Fastboot and ADB are installed on your system and you have experience working with them.
How to install Android 6 Marshmallow on Nexus devices:
While we recommend you to go through our guides for detailed steps and prerequisites, here are some steps to help you install Android 6 Marshmallow on your Nexus 5, 6, 7 (2013), 9 and Nexus Player.
Required files: download Android 6 Marshmallow factory images from here.
Unzip the downloaded factory images for your device to a folder for later access. Make sure the terminal is running inside the unzipped folder if you're operating on a Mac.
Connect your Nexus device using a USB cable. Now, start the device in Fastboot mode using the following method (assuming that you have Fastboot and ADB already set up and ready to use):
adb reboot bootloader
Next, unlock the Fastboot. Type this:
fastboot oem unlock
Hit Enter and follow the on screen instructions on your Nexus and choose to erase all the data on the device. This will remove everything on the Nexus; might take a while.
This step will involve flashing the desired factory image to your Nexus device. Open the folder containing the Android Marshmallow factory image downloaded and extracted in step 1. In the address bar, type cmd and type the command written below and press enter.
All the necessary files will be flashed to your Nexus device to enable complete installation of the Android Marshmallow to your Nexus. Use the command depending on your operating system:
- On Windows: Run flash-all.bat
- On Mac: Run flash-all.sh using Terminal
- On Linux: Run flash-all.sh
Once the script finishes running, your Nexus device will reboot. All you need to do now is to lock the bootloader back for security.
Similar to what we did before, start the device in Fastboot mode using the following method:
adb reboot bootloader
And lock the Fastboot:
fastboot oem lock
Don't forget to let us know what you think of the new operating system. Is it really that fast as the preliminary tests and Google had claimed it would be? More than anything else, we sure hope Marshmallow fixes the Android 5.1.1 battery drain mess.
Once you have updated your Nexus 5, 6, 7 (2013), and Nexus 9 to Android 6.0 Marshmallow MRA58K, you can also root your Nexus devices using the following tutorials:
- Update and Root Nexus 9 on MRA58K Android 6.0 Marshmallow
- Root Nexus 5 on Android MRA58K Marshmallow and Install Custom Recovery
- How to Update & Root Nexus 6 on Android 6.0 MRA58K Marshmallow
Stay in the loop
GET A DAILY DIGEST OF LATEST TECHNOLOGY NEWS
Straight to your inbox
Subscribe to our newsletter