Google has started releasing the fourth developer preview of Android N. If you are looking for steps to help you update your supported Nexus devices to the latest DP of Android N, you will find all the details here. We have already shared with you the complete changelog and download links for the factory images for all the Nexus devices. Using those download links, follow the steps in this guide to flash Android N NPD56N on your Nexus 6P, Nexus 5X, 6 and other devices.
Prerequisites to flash Android N NPD56N on Nexus devices
- Create a backup of all important data on your Nexus phone.
- Download and install USB drivers for Nexus in your computer.
- The Nexus bootloader should be unlocked.
- You should have Android SDK installed on your PC.
- Enable USB debugging option by pressing Menu > Settings > Applications. Navigate and tap on Developer Options to ensure that USB Debugging is enabled.
- Ensure that your Nexus device carries more than 70% of charge.
Steps to flash Android N NPD56N on Nexus 6P, 5X, and other Nexus devices
Required files: Download NPD56N Android N factory images for your Nexus devices from here.
Step 1: Connect your Nexus device using a USB cable and turn it off.
Step 2: Now, start the device in Fastboot mode: turn on the phone while pressing and holding the Volume Up + Volume Down + Power keys until you see the Fastboot menu and the START text on top.
Step 3: Extract the downloaded Android N file anywhere in your PC. Go to _NPD56N_ folder and copy/paste all the files to your Fastboot directory (which often is the platform-tools folder inside the Android SDK directory).
Step 4: This step involves flashing the factory image to your Nexus device. Open the folder containing the Android N factory image downloaded and extracted. In the address bar, type cmd and type the command written below and press enter.
- On Windows: Run flash-all.bat
- On Mac: Run flash-all.sh using Terminal
- On Linux: Run flash-all.sh
Once the script finishes running, your Nexus will reboot. First boot may take up to 5 minutes, so don't be worried if it takes your device longer than usual to boot up. Once it's back up, your Nexus device will be running Android N Developer Preview 4.
- For more details and to learn how to remove an image from your device, visit the official developer site.