Google has just rolled out the highly-anticipated Developer Preview release of Android M for Nexus 5, Nexus 6, Nexus 9 and Nexus Player, following its announcement of the new software at the Google I/O, just a few hours ago.
There is better news for avid Android fans, as Google has also announced that the preview version of Android M will be updated more often than the Android Lollipop as the updates will be rolled out over-the-air.
Interested users can go ahead and download the specific Developer Preview factory images for their Nexus device, from the direct download links posted below:
Steps to install Android M factory image on Nexus 5, 6, 9 and Player
Step 1: Download the device-specific Android M factory image for your device from the links provided above.
Step 2: Then you must setup ADB and Fastboot on your computer.
Step 3: Boot the Nexus device into Bootloader mode, before connecting it to the computer.
Step 4: Once in bootloader mode, extract the Android M factory image you downloaded earlier, which will give you a script file named "flash-all" for both Windows and Linux.
Step 5: Double-click on the flash-all.bat file to run it on Windows PC or run flash-all.sh file if you are using Linux. At this moment, the Android M will begin installing on your Nexus device.
Step 6: Wait until the installation completes and let the device reboot automatically.
Note: If you encounter any errors stating "error: update package missing system.img" then try the fix posted here.
[Source: Android Soul]