Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install Android Nougat on Nexus Device

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can install Android Nougat on a compatible Nexus device by unlocking the bootloader and flashing the factory image manually. This process gives you the latest official Android version supported for your model, improves performance, and restores the device to a clean system state. Before starting, ensure your Nexus model is supported and you understand this will erase all data.

What You'll Need

  • A Nexus device officially supported for Android 7.0 or 7.1 (e.g., Nexus 5X, 6P, 9, Player)
  • A computer running Windows, macOS, or Linux with USB ports
  • USB debugging enabled on your Nexus device
  • USB cable to connect the device to the computer
  • At least 60% battery on the Nexus device
  • Android SDK Platform Tools (includes adb and fastboot) installed on your computer
  • The correct factory image for your device model from Google’s developer site

Step-by-Step

  1. Back up all important data from your Nexus device—photos, messages, app data—using Google Backup or a third-party tool. Flashing the factory image erases everything.
  2. Download the Android SDK Platform Tools from the official Android developer website. Extract the contents to a folder on your computer (e.g., C:\platform-tools or ~/platform-tools).
  3. Download the correct factory image for your Nexus model from Google’s Factory Images page. Ensure the version is Android 7.0 (NPD90G) or 7.1 (NPD26F, NPF26C, etc.) and matches your device’s codename (e.g., bullhead for Nexus 5X).
  4. Connect your Nexus device to the computer using the USB cable. On the device, go to Settings > About Phone and tap Build Number seven times to enable Developer Options.
  5. Go to Settings > System > Developer Options and enable USB Debugging and OEM Unlocking. Confirm any prompts on the device screen.
  6. Open a command prompt or terminal window in the folder where you extracted SDK Platform Tools. On Windows, hold Shift and right-click in the folder, then select "Open PowerShell window here." On macOS or Linux, use Terminal and navigate to the folder.
  7. Enter the command adb devices to verify your device is detected. If it’s the first time connecting, authorize the computer on the device when prompted.
  8. Reboot the device into bootloader mode by entering adb reboot bootloader. The device will show the bootloader screen with a robot and text options.
  9. In the bootloader, use the volume keys to navigate and the power button to select. Ensure the device is listed as detected in the command window using fastboot devices to confirm connection.
  10. Unlock the bootloader by entering fastboot oem unlock. This wipes all data. Confirm on the device screen using the power button. Wait for the process to complete.
  11. Once unlocked, reboot to bootloader again with fastboot reboot-bootloader.
  12. Extract the downloaded factory image ZIP file into a folder. Open a command window in that folder.
  13. Run the flash-all script: on Windows, execute flash-all.bat; on macOS or Linux, run ./flash-all.sh. This script automatically flashes the bootloader, baseband, system image, and wipes the data partition.
  14. Wait for the process to complete. The device will flash several components and reboot multiple times. This may take 10–15 minutes. Do not disconnect the device during flashing.
  15. After the final reboot, the device will boot into Android Nougat. Follow the setup wizard to configure your device.

Common Mistakes

Using the wrong factory image for your device model is the most frequent error—always verify the codename. Skipping the OEM Unlocking step prevents bootloader access. Not enabling USB Debugging stops adb from recognizing the device. Interrupting the flash-all process can brick the device. Running the script from outside the extracted folder causes file-not-found errors. Avoid using third-party tools or unofficial images—only use Google’s official factory releases.

Tips

Label your device’s codename and current Android version before starting. Keep the USB cable connected securely throughout. Use a high-quality cable that supports data transfer. If the device doesn’t boot after flashing, hold the power button for 15 seconds to force a restart. After installation, relock the bootloader with fastboot oem lock for security, though this will wipe data again.

Troubleshooting

If adb devices shows no output, reinstall USB drivers or try a different USB port. On macOS, ensure udev rules aren’t blocking access. If fastboot fails with 'waiting for device,' restart the computer and device, then re-enter bootloader mode. If the flash-all script stops with an error, verify the image matches your model and that all files are fully extracted. If the device boots to a black screen or loops, reflash the image. If the bootloader won’t unlock, ensure OEM Unlocking is enabled and the device isn’t carrier-locked. Never skip the backup—data loss is guaranteed during flashing.

Frequently Asked Questions

Can I install Nougat on any Nexus device?

No, only Nexus models officially updated to Android 7.0 or 7.1 by Google are supported. Check the Factory Images page for your device’s codename.

Will this void my warranty?

Unlocking the bootloader may void the warranty, though Google typically allows it for developer purposes. Relocking the bootloader restores some protections.

Do I need root to install Nougat?

No, this method uses official factory images and does not require root. Root access is removed during the process.

What if my device isn’t recognized in fastboot?

Ensure USB Debugging and OEM Unlocking are enabled. Try a different USB cable or port. On Windows, install proper USB drivers from the Android developer site.

Can I go back to an older Android version?

Yes, by flashing an older factory image, as long as it’s still hosted by Google. Newer bootloader versions may block downgrades.

Is this the same as a regular system update?

No, this is a full factory reset and reinstall. Over-the-air updates are safer but may not be available for older devices.