Unlocking the bootloader on Nexus 6P and installing TWRP isn’t a challenging process.
If you want to unlock the bootloader and install TWRP on your Nexus 6P, then this article will be helpful to you.
In terms of flexibility and software modification, Nexus 6P is quite flexible as it was the last device in the Google Nexus Lineup.
The bootloader of the phone is easily unlockable because of its flexibility.
Before you begin with the process, make sure you have the ADB and Fastboot package for your device, installed on your PC.
Also, download the Google USB drivers from the official website, and install them on your Windows PC.
In the case of Linux or macOS, you won’t need any drivers.
Make sure your phone is charged to 60% to avoid any interruptions.
Take a backup of your phone before starting with the process, because when unlocking you will eventually lose data of your phone.
Table of Contents
Steps for Unlocking The Bootloader on Nexus 6P
Before starting with the process of installing the TWRP recovery image on your Nexus 6P, you will have to unlock the bootloader of your Nexus 6P. Here’s how you can do that.
- Go to the Settings of your phone, and then head to System. In the system, visit the About Phone section.
- Click on Build Number a few times to enable developer settings. When the developer options are enabled, you will a message appear on your screen ‘You are now a developer.’
- Head back to the settings, and then to the system. You will find developer options there.
- In the developer options, search for OEM unlocking toggle, and enable it. By doing this, you will be able to unlock OEM bootloader on your Nexus 6P.
- In the developer options, turn on USB debugging as well.
- Once done, boot your phone to Fastboot mode. Power Off your phone, and then press the Volume Down + Power Button combo for a few seconds to boot your phone to Fastboot mode.
- Once in Fastboot mode, connect your device to your PC via USB cable.
- Open the command-line window on your PC, and then type the following command fastboot devices in the command-line window. This will return the unique ID of your device. If it doesn’t ensure that USB debugging is turned on and correct drivers are installed.
- Now execute the command mentioned below on the command window.
fastboot flashing unlock
- This will unlock the bootloader.
- You will see a confirmation message on your phone, navigate to the yes option using volume keys and confirm your selection using the Power button.
Installing TWRP Recovery Image On Your Nexus 6P
Once you have unlocked the bootloader on your Nexus 6P, you can get ahead with installing TWRP.
Download the .img file of TWRP and name it to n6ptwrp.img.
- Install ADB and Fastboot package. Copy the TWRP image (n6ptwrp.img) to the folder where ADB Fastboot tools are installed.
- Next, connect your device to your PC with a USB cable while it is in Bootloader mode.
- Then launch the command line window by right-clicking on the blank space in the folder.
- Type the command fastboot devices in the command line window.
- This will ensure that your device and your PC are connected over Fastboot.
- After that enter the command mentioned below to flash the TWRP recovery image on your device.
fastboot flash recovery n6ptwrp.img
- The process will begin. Once it is done, you will have to boot to TWRP recovery mode.
- This can be done by pressing the Volume button till recovery mode shows up.
- Confirm it by pressing the power button, and your phone will be booted to TWRP recovery mode.
- Next, you will be prompted to Unmodified System Partition.
- From here you can allow modifications or keep the system partition read-only.
Read Also: How to install Magisk without TWRP recovery
Now you can decrypt the partition via TWRP recovery. To do this, head to the wipe menu of TWRP and then select Format Data.
To confirm, type yes in the given field to format the data partition and decrypt it.
Once done, go to reboot and then press the recovery button to reboot to TWRP recovery mode.
That’s the complete process of unlocking the bootloader of your Nexus 6P and installing TWRP on your device. Make sure you do not miss any step in the process.