How to Flash Google Nexus 6P Stock Rom

In this guide I will show you how to restore your Nexus device’s original factory firmware. You will find these files useful if you have used the Android Open-Source Project, flashed custom builds on your device, and wish to return that device to its factory state.

BEFORE YOU BEGIN

HOW TO FLASH GOOGLE NEXUS 6P STOCK ROM

  1. Download and install USB driver.
  2. Download and extract minimal ADB and fastboot.
  3. After extraction, launch “minimal_adb_fastboot_v1.3.1.exe”
  4. Now install minimal adb in C drive, not in C:/Program Files, you will probably get “C:\Minimal ADB and Fastboot”
  5. Download the stock system image for your device, then copy this image file to “C:\Minimal ADB and Fastboot”.
  6. Once the minimal ADB and fastboot is successfully installed, launch it  Go to “C:\Minimal ADB and Fastboot” and launch “MAF32”.
  7. Start the device in fastboot mode with this methods:

    Press and hold Volume Down, then press and hold Power

  8. Connect your device to your computer over USB.
  9. Now in the cmd screen, execute the following command:
    fastboot devices
    this will show you is device is connect with PC successfully.
  10. Unlock the device’s bootloader by running:
    fastboot flashing unlock

    or, for older devices, execute:

    fastboot oem unlock

    The target device will show you a confirmation screen. Use Volume Keys to Scroll and Power Key to Confirm. (This erases all data on the target device.)

  11. Execute the command:
    flash-all.
    This script installs the necessary bootloader, baseband firmware(s), and operating system. If error occurs, it means image file is not present in ADB and fastboot folder.

Once the script finishes, your device reboots. You should now lock the bootloader for security: (However these steps are not very important at all.)

  1. Start the device in fastboot mode again, as described above.
  2. Execute:
    fastboot flashing lock

    or, for older devices, running:

    fastboot oem lock

Locking bootloader will wipe the data on some devices. After locking the bootloader, if you want to flash the device again, you must run
fastboot oem unlock  command again, which will wipe the data.

FLASH A CUSTOM ROM (OPTIONAL).

Thanks! Stay tuned for more updates. Like this post? Use buttons below to share it.