How to Install the Android M Preview on Your Nexus Device (Using Windows)
On Thursday morning, May 28th, Google announced an upcoming version of Android—and within a few hours, a preview build of this so-called "Android M" release was made available to select Nexus devices.
If you're one who likes to stay on the cutting edge, this build offers lots of awesome new upgrades like simplified volume controls, increased battery life, and much, much more. Installing the preview build is relatively simple with a Windows computer, and I'll outline the process below.
This new preview build is only available for the Nexus 5, Nexus 6, Nexus 9, and Nexus Player. It doesn't require root to install, but you should be aware that you will lose root and all of your data if you install this build.
The following guide is meant for Windows users only, so if you don't have a Windows PC, check out my easy tutorial on installing the Android M preview on a Mac or Linux machine.
To begin, head to the main Settings menu on your Nexus, then select the "Developer options" entry. (If you don't see this menu option, here is how you unlock it.) From here, tick the box next to "USB debugging," then press "OK" on the popup.
Nexus 6 users will have to enable another option in this same menu. Be sure to tick the box next to "Enable OEM unlock" before you go any further if you own Google's latest phablet.
Next up, go ahead and connect your phone to your PC with a USB data cable. At this point, you should see a message on your Android device asking if you'd like to allow your computer to connect. Tick the box next to "Always allow" on this popup, then press "OK." If you don't see this message right away, just keep an eye out for it, and it will pop up at some point during the process.
With your Nexus all set up, it's time to download the new Android M preview build on your PC. Head to the official site at this link, then choose your device from the list to download the factory images.
While the Android M file is downloading, go ahead and grab a copy of Wugfresh's Nexus Root Toolkit (NRT) program, which we'll be using to install the factory images.
Once the Nexus Root Toolkit has finished downloading, go ahead and launch the EXE file. From here, just follow the prompts to get NRT installed on your computer.
When installation has finished, NRT will ask what device you have and which Android version it's currently running. Select your device from the top menu here, then choose your Android build number from the second list. (If you're not sure which Android version you're currently running, refer to the Build number entry found in "About phone" or "About tablet" in your Settings menu.)
After clicking "Apply," you'll get a message telling you to enable USB debugging on your device. You've already taken care of that part, but if you didn't get that "Allow USB debugging" popup earlier, now would be a good time to check your phone to see if it showed up.
Next, NRT will ask you to download several files. You can skip this part if you want, but I'd recommend letting it download everything it needs.
After that, you'll be taken to NRT's main menu. From here, click the "Full Driver Installation Guide" button at the top of the screen.
Next, skip ahead to the "Step 3" tab, then click the button under the "Driver Solution #1" section. From here, just follow the prompts to get all of the ADB and Fastboot drivers installed on your system.
At this point, you're ready to install the Android M preview build. Click the "Flash Stock + Unroot" button to begin.
On the next screen, tick the box next to "Other/Browse," then make sure that the "I downloaded a factory image myself that I would like to use instead" option is selected and click "OK."
At this point, a file browser window will pop up. Use this menu to select the factory image file that you downloaded earlier.
Next, NRT will prompt you to provide an MD5 number. This can be found at the factory image download page if you want to be on the safe side, but otherwise, you can just click "Skip" to speed things up a bit.
After that, you'll get a confirmation dialog informing you that NRT is about to flash the Android M preview build on your device. Click "OK" on this message if you're ready to begin.
The process will take a good 5 or 10 minutes, but when it's done, your phone should automatically reboot. It will take longer than normal to boot up this first time, but when it does, you'll be ready to try out Android M.
Some of the key features in this release include a new app permissions interface, a system-wide mobile payment service, and automatic app backup. There are plenty more tweaks here and there, so have fun exploring your new OS.