The much awaited Google I/O had some good announcements. The major one was the Android M. Google revealed that the Android M factory images will be available soon and now they have released it for few devices – Nexus 5, Nexus 6, Nexus 9 and Nexus Player. You can install it on your device right now! A detailed guide is available below.
Disclaimer: Follow the instructions at your own risk. The writer cannot be held responsible for any bricked or unusable devices. Even though the chances of your device getting bricked are negligible, the owner of the device must take full responsibility of it!
Pre-requisites and Backing up your Nexus:
- Make a Backup of the SMSs, Call logs and Contacts using the Super Backup App
- Make a Backup of the data
- Make sure developer options is unlocked
- Enable USB debugging on your device
- Make sure the device has at least 60% charging
- Backup WhatsApp messages on Android and Email
- Bootloader unlocked
- Nexus drivers installed on the computer
- Android SDK installed on the computer
- ADB and Fastboot installed on the computer
- Nexus factory image
- Make sure ADB and fastboot files are placed in the same folder.
- Download the Nexus factory image and extract it to a convenient location.
- Connect the device to the PC.
- Power off your device and boot it into Fastboot/Bootloader mode by pressing and holding the Volume Up, Volume Down and Power buttons until the Fastboot menu and START icon appear on the screen.
- Go to the folder obtained by extracting the files in step 2. Copy and paste all the files to the Fastboot directory.
- Using factory image files in your Fastboot directory, run the following commands depending on the OS installed on computer:
On Windows: Run the file “flash-all.bat”.
On Mac: Run the file “flash-all.sh” using Terminal.
On Linux: Run the file “flash-all.sh”.
- Wait for the process to complete. The phone will reboot automatically.