How-to-Install-Android-N-Developer-Preview

Google already announced the upcoming Androidย N OS versionย and now the tech giant surprised us with the Developer Preview for the same. According to the Googleโ€™s Developer blog, many new tools and features have been incorporated into the first preview of the Android Nย source code. It featuresย Multi-window, Direct reply notifications, Bundled notifications, Bundled notifications, Efficiency, Improved Java 8 language support and more. Moreover, a new Android N SDK is also available to developers to try out new Applications for the same. Also check out latestย Nexus 6P And Nexus 5X To MHC19I, MHC19J Firmware update.

The Android N Developer Preview for Nexus devices like Nexus 5X, Nexus 6, Nexus 6P, Nexus 9, Nexus 9 LTE, Nexus Player, Pixel C is now available and we will keep updating the files here as we get it. If you happen to possess a link for the first developer preview for a device not listed here, then kindly leave it in the comments and the Android community will thank you for it. ย So if you are looking forward to getting the latest AOSP source code running on your Android device, then grab the factory images from below and flash the it using the instructions listed. The workaround for Linux, Mac and Windows OS users have been listed below. Update: Android N Developer Preview 2 Factory Images are now available to download.

Download Android N Developer Preview

Here are the Android N Preview 1 Factory Images NPC56P

Android N Preview 2 Factory Imagesย build NPC91K

Android N OTA:ย Install Android N Developer Preview With OTA Update Easily

Method 1: How toย Install Android N Developer Preview on Nexus Devices

This procedure will flash factory image on the Nexus device. It will perform a clean firmware installation and hence all your data and apps will be lost. So make sure you backup everything on your PC. Go through the prerequisites mentioned and then proceed with the instructions from below. There are 2 methods to flash the developer preview

Prerequisites

1. Verify your device for compatibility. The Developer Preview isย compatible with the listed Nexus devices only.

2.ย Enable USB Debugging on your device. To do so, go to Settings>About Phone> Tap on the Build Number several times until you get a newย Developer Options in theSettings.ย Openย Developer Options and enable USB Debugging from there. Trust the connection by allowing it when you connect it to your PC for the first time.

3. Make sure you have latest device drivers setup on your PC for a better connection. Get it from the official pageย of your device manufacturer.

4.ย For ADB and Fastbootย download the quick ADB and Fastboot Installer fromย hereย for Windows PC or get the easy installer tool for iOS, Linux, and Chrome OS. You may also like Universal ADB drivers, Naked ADB drivers.

Installation Instructions

Step 1: Download the Developer Preview image from above and transfer it to your PC.

Step 2:ย Make sure you have setup ADB and Fastboot on your PC. Also, accept Always allow from this computer when you plug in the device for the first time to enable USB Debugging. Itโ€™s better to use the quick ADB installer for Windows.

Step 3: Now keep your device plugged in and reboot your device into bootloader or Fastboot mode. To do so, you can issue the following code while connected to the PC. Make sure your device is turned on and connected to PC. Open command promptย or terminal and issue the command.

adb reboot-bootloader

Alternatively, try the button combinations while the phone is turned off-ย press and hold volume down and the power button simultaneously for a few seconds. When you see the bootloader screen, connect your device to the PC using a USB cable.(Choose fastboot if such an option is available)

Step 4: Now you may need to unlock the bootloader on your Nexus device before you flash the developer preview. It will wipe all the user data. Issue theย following command for that.

fastboot oem unlock

For newer devices like Nexus 6P, the code has changed for the Android 6.0.1 Marshmallow firmware. To unlock bootloader, issue:

fastboot flashing unlock

Step 5: Once done, navigate to the location where you have placed the factory image file on PC and extract it to get all the files like system, bootloader, etc along with the flashall.bat file as shown. (The image is just for correspondence. So the Dev Preview files may not look like the image.)

Nexus factory image flash

Step 6:ย While the folder with the extracted factory image is open, run the flash-all.bat file on Windows PC and confirm the flashing process. Wait for the process to complete. If you use Linux or Mac OS, run then run the flash-all.sh file and follow the instructions. But first open the flash-all.sh file and verify if the files start with โ€œ./โ€ prefix for Mac and โ€œsudoโ€ for Linux. If not then add a prefix to every file name.

Step 7:ย Once done, reboot the device into systemย either manually or using the command:

fastboot reboot

Once you see the new boot logo, that means the system has successfully been installed. First boot may take a while, so be patient. If necessary, you may need to unlock theย bootloader on your Nexus device if the method fails.

Method 2:ย Install Android N Developer Preview on Nexus Devices

Alternatively, if you donโ€™t find theย flash-all.bat file or theย flash-all.sh file, then you will need to flash each file manually by rebooting into bootloader or fastboot mode and issue the followingย commands through the terminal while the device is still connected. Check out the Method 1 before you proceed to know the proper setting and commands for the Windows, Mac and Linux users. To open the command prompt on Windows, install ADB quick installer and hold the shift key on the keyboard and right-click on the mouse and select Open cmd here. Open the cmd or terminal where you have extracted the package.

fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash userdata userdata.img

(Note: this command will wipe your device (including \sdcard), EVEN if your bootloader is already unlocked.)

fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot erase cache
fastboot flash cache cache.img

Now the trick is to find all the files available in your firmware and flash them with the proper extension following the same pattern as above. The files or their names may change according to device or firmware. So verify it.ย Follow and like us on social platforms. If you come across any error, comment below. You may also like OTA for all Nexus devices.


Sarang Avatar

5 responses


  1. [Download and Install] Android N Developer Preview for Nexus 6P – user's Blog!

    […] Download & Install (function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id))return;js=d.createElement(s);js.id=id;js.src="//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";fjs.parentNode.insertBefore(js,fjs);}(document,'script','facebook-jssdk')); […]

  2. [Download and Install] Android N Developer Preview for Nexus 6P

    […] Download & Install android development phone programming rom root tablet unlock XDA 2016-03-10 TnT Share ! window.___gcfg = {lang: 'en-US'}; (function(w, d, s) { function go(){ var js, fjs = d.getElementsByTagName(s)[0], load = function(url, id) { if (d.getElementById(id)) {return;} js = d.createElement(s); js.src = url; js.id = id; fjs.parentNode.insertBefore(js, fjs); }; load('//connect.facebook.net/en/all.js#xfbml=1', 'fbjssdk'); load('https://apis.google.com/js/plusone.js', 'gplus1js'); load('//platform.twitter.com/widgets.js', 'tweetjs'); } if (w.addEventListener) { w.addEventListener("load", go, false); } else if (w.attachEvent) { w.attachEvent("onload",go); } }(window, document, 'script')); […]

  3. [Download and Install] Android N Developer Preview for pixel C – user's Blog!

    […] Download & Install google_ad_client="ca-pub-9837201190038963";google_ad_slot="9321301935";google_ad_width=300;google_ad_height=600; Author userPosted on March 10, 2016Categories FeedTags Android, Developer, download, install, pixel, Preview […]

  4. Install Android N Developer Preview With OTA Update Easily

    […] already have the developer preview factory images for the Nexus devices. However, there is a relatively easy method to get the update installed […]

  5. Install Android N Developer Preview On Sony Xperia Z3

    […] Google deploying the latest Android N Developer Preview for a range of nexus devices like nexus 6P the Nexus 5X, Nexus 6, Nexus 9, and much more, the new […]

Leave a Reply