Android M the latest Android operating system was announced by Google on it Google I/O developers conference. Now it is reported that the operating system Android M preview in now currently available just four devices Google Nexus 5, Google Nexus 6, Google Nexus 9, and Google Nexus Player.
The following step will guide you to download Android m and install on your Google Nexus Device. But it should be noted that you take a full back up of your devices before starting the installation.
You can start the process by download and install the latest Android Studio Preview on your Windows computer. This installs the ADB and Fastboot programmes, which can be accessed through the command terminal on your PC. Then add the SDK folder to the PATH by following these steps:
Right click My Computer and click on Properties.
Click on Advanced System Settings.
Click on System Properties > Advanced > Environment Variables.
In the Window, select Path, then click on Edit, and then type in the name of the directory where you installed the SDK, and remember that each entry is separated by a semi-colon. Enable USB debugging on your device. First, go to Settings > About Phone > Software information. Tap Build number seven times.
Go to Settings > Developer options. Tick USB debugging.
Download the correct factory image for your device. Extract the image on your computer.
Connect your device to your computer over USB. Start the device in fastboot mode.