I. Before You Begin
This will only work on Windows as it requires a toolkit to make it a lot easier that requires Windows.
This will wipe your device so please back it up before beginning.
II. Download & Install the Toolkit
- Head to the toolkit developer’s site here and download the latest version of the toolkit and save it to your desktop (donate to him if, after all of this, you find this toolkit helpful).
- Right-click the exe that you just downloaded and select Run As Administrator and install it.
- When it opens select your model and build number and click Apply (you can find this info in the Settings > About section of your device).
III. Enable USB Debugging
- On the phone, head to Settings > About and then continuously tap on Build Number until it says you are a developer.
- Tap Back then tap the new Developer Options menu that appeared and scroll down to USB Debugging and enable that, then enable OEM Unlock as well.
- Plug the Nexus in via the USB cable to your computer.
- A dialog should pop up on your phone at this point saying “Allow USB Debugging?”. When it does check Always Allow and tap OK.
If that dialog didn’t pop up, head to my How To Setup ADB tutorial and follow those instructions to get the drivers working, then return here when that’s done to continue.
After that, the toolkit will tell you need to download some files, click “Download + Update All File Dependencies” and wait for that.
IV. Unroot the Nexus 6P
- Click Flash Stock + Unroot in the toolkit and follow the prompts for it to download the appropriate stock firmware and then it’ll flash it to the device.
- Once done, the device will reboot and you’ll be back to the stock firmware, but if you want to also relock the bootloader, you can do so below.
V. Relock the Bootloader
- Click OEM Lock in the toolkit and follow the prompts. It’ll reboot the phone into bootloader mode and relock the bootloader.
- After that, it should reboot the phone and you’re all set.