In this guide, we show you how to fix Android N bootloop issue (startup problem) on Nexus 5X, Nexus 6P, Nexus 6 and Nexus 9. The process does not need unlocked bootloader. Just need to download the Android N OTA update file and sideload it on your Nexus device.
Before starting to sideload the Android N OTA update on Nexus 5X, Nexus 6P, Nexus 6 and Nexus 9, make sure you have a working ADB on your computer (You can use 10 seconds ADB installer for this method) and proper USB drivers installed on the computer (Read this guide to install proper driver for your device).
How to flash Android N OTA Update Manually and Fix Startup Issue
Download Android N OTA update zip file for Nexus 6P [HERE], Nexus 5X [HERE] Nexus 6 [HERE] and Nexus 9 [HERE] and Nexus 9G [HERE] (Source)
Rename the downloaded zip file to ‘update.zip’ and then move the file in the ADB installation directory (usually it will be at C -> Users ->User – ADB).
Power off the Nexus and boot it into Recovery mode (Press and hold Power and Volume down buttons together, then select ‘Recovery mode’ and confirm it by Power button. When an exclamation mark appears, press Power button and then press Volume down or up button)
In recovery, select ‘Wipe data/factory reset’ option (use volume button for selection and use power button to confirm) and perform the action.
Once factory reset is completed, select ‘Apply update from ADB’ in recovery.
Connect your device to PC via USB Cable.
Go to the ADB folder (where you have placed the update zip file) and launch a command prompt window there (Press Shift key, right click and choose ‘open command prompt window here’)
In the command prompt, issue the below command: adb devices [It should list your device in the command prompt. If not, it means fastboot drivers not installed on your computer. Install and proceed) adb-sideload
If your device is listed, continue the next step. Type the below command in the command prompt and press enter key: adb sideload update.zip
Wait for all the files to be installed. Once done, reboot the phone by selecting ‘Reboot system now’ in your phone.
For any extra help, leave them in the comment section below (Source – Google)