The new Android M OS is finally available and can be installed on Google’s latest Nexus devices, and the developers and other users will be able to test the new update, although it will be officially released in October or November. In this article, we’ll teach you how to flash the factory image on one of the devices we’ve told you above.
The Android M System Image comes with all the files you need to install a stock version of Android M on the mentioned devices. The new OS was unveiled at the Google IO and all of its new features will be tested by the users who will get their hands on the early developer preview (beta). Below, we will teach you how to install the latest Android M Beta software on your Nexus device, using a computer running on Windows, Mac, Linux or ChromeOS.
Install ADB and Fastboot on your PC
You will need to install ADB and Fastboot to connect to your Nexus device through a USB cable and to flash the Android M software to it. But, to install ADB and Fastboot on a computer running in Windows 8 or 8.1, you will need a 15 second adb installer. After downloading the ADB installer, right-click on it, choose Run as Administrator, to give the app access to run as Administrator. When the app launches, you will have to type a Y and hit the Enter key, to select Yes. This way, you will install ADB & Fastboot to intsll ADB/Fastboot systemwide and you will install Drivers, as well. A window will pop up and you will need to follow some simple steps.
Install ADB on Mac, Linux and ChromeOS
With the Nexus Tools, you will install ADB on Mac, Linux and ChromeOS and this is what you will need to do. Open Terminal from Search, when you will type Terminal and open the program. Then, you will paste in the code from xda. When the script will complete, you will type ADB or Fastboot to run one of the programs, then the final step is to flash the Android M system images onto your device. Go to Settings > Developer options, then enable USB Debugging.
Install the Android M Beta
Search on the internet for the Android M Developer Preview System Image, unzip the files to a folder on the desktop and type cmd into the address bar (Windows) or open Terminal and change the folder to this. Also, on a Mac, Terminal must run inside the unzipped folder.
Your Nexus device must be bootloader unlocked, otherwise you won’t be able to install the Android M System image. We must warn you that this procedure will wipe your device, meaning that all the files will be erased.
In the adb folder open a Terminal, type this command adb reboot bootloader then hit Enter.
In Fastboot type fastboot oem unlock then hit Enter and follow the instructions to erase the device. In one minute, the device will be unlocked and you will finally install Android M Beta.
Flash the Image
Go to the folder where you’ve unzipped Android M System Image file, type cmd in the address bar, then these commands: flash-all.bat (to flash all of the needed files) or sudo ./flash-all.sh (a Mac or other computer), then hit Enter. If you’re using a Mac, open Terminal in the folder and to do that, you’ll enable terminal shortcuts in settings by going to System Preferences>Keyboard>Shortcuts>Services. When you’ll find the “New Terminal at Folder” option, click the box and since you’re in Finder, right-click on a folder to open Terminal.
Android M developer preview beta will start installing and the Nexus device will reboot, so don’t panic. At some point, you will see a moving Android logo. The installation process may take up to 10 minutes, so don’t unplug the device.