With the release of Android 6.0 on Nexus devices, there are a lot of people who are looking to root their devices as soon as possible after the update. The first step to do that is to flash a custom TWRP recovery onto their Nexus devices, followed by flashing a custom kernel and SuperSU via the flashed recovery. Today, we will be teaching you how to flash a custom recovery onto their Nexus devices.
Disclaimer: We take no responsibility for any damages that might be done to your device either during or after the process, please proceed at your own risk. We also recommend that you read the guide thoroughly at least once before doing anything.
Prerequisites: You will require ADB & Fastboot devices on their computer as well as having the USB drivers for the Nexus devices installed.
- Open a CMD window in the folder containing ADB & Fastboot binaries
- Type: “adb reboot bootloader” to boot into the device’s bootloader.
- Once in the device’s bootloader, type: “fastboot oem unlock” to unlock the bootloader. Remember doing so will cause a full data wipe, so we recommend that you make a backup of your data beforehand.
- Type: “fastboot getvar all” and note down your device’s product name
- Go here, search and download a TWRP custom recovery for your device.
- Once done, place the downloaded image in the folder containing fastboot and adb binaries and rename it to recovery.img
- Type: “fastboot flash recovery recovery.img”
- The recovery will be flashed, now you can either reboot back to home screen, or you can simply boot into the newly flashed TWRP by using volume keys and selecting it from the fastboot menu. To reboot, you can use the command: “fastboot reboot”
That’s it, you will now have a custom TWRP recovery on your Nexus device. Do remember that the first boot after unlocking the bootloader will take a long time, so don’t worry. Also, it is highly recommended that after flashing the TWRP, you should relock your device’s bootloader by using the command: “fastboot oem lock” while in fastboot mode.