How To Install Android Marshmallow on Your Nexus

While the final release date of Android Marshmallow is away, Google has released the final preview of Android Marshmallow. If you own a Google Nexus 5, Nexus 6, Nexus 9 or Nexus Player, you can download the preview today and install the build on your gadget.

Note: This is an about complete form of Android Marshmallow and it’s certain to have a few bugs that will be tended to by Google later in the release build. So we advises you to install the Android Marshmallow Final Preview on a gadget which isn’t of your every day utilization. Make sure to make a complete a backup of your devices.

Download & Install Android Marshmallow?

  1. Download and install the latest Android Studio Preview on your Windows machine as it will install Fastboot and ADB tools. You can access them using the command terminal on your computer.
  2. Now you need to add the SDK folder and specify its path using the steps below:
  3. In your PC, right click on My Computer and go to Properties.
  4. Go to Advanced System Settings followed by System Properties > Advanced > Environment Variables.
  5. In the Environment Variables window, select Path and click on Edit. Type the name of directory path where the SDK is installed. Don’t forget to add semicolon separating the entries.
  6. Now enable the USB debugging on your system. Go to Settings > About Phone > Software information. Enable it by tapping the Build Number seven times.
  7. Go to Settings > Developer options and select USB debugging.
  8. Now download the Android Marshmallow factory images for your device from the links given below:
    Android M for Nexus 5
    Android M for Nexus 6
    Android M for Nexus 9
    Android M for Nexus Player
  9. Now it’s time to extract the downloaded Android Marshmallow archive.
  10. Connect the device using the USB connection.
  11. Start your device in fastboot mode. This could be done easily while pressing a key combination while the device powers up. Know about them here.

Another way to fastboot your device is to use ADB tool. With the device connected, execute this command using command terminal: adb reboot bootloader

If there are some issues with device’s bootloader, unlock it using this command in terminal: fastboot oem unlock

Now we’ll install the Android Marshmallow preview on Nexus:

  1. Find the unzipped Android Marshmallow factory image by opening a command terminal.
  2. Now execute flash-all.bat which could be found in the extracted image.
  3. For security purposes, Google advises to lock the bootloader by this command: fastboot oem lock
  4. Now, Android Marshmallow preview is installed on your Nexus device. Your device will regular over-the-air updates.

To uninstall Android Marshmallow preview and go back to the previous Android version, download the factory images from this page and repeat the above steps. Don’t forget to clear the files from Fastboot and ADB that were added earlier.