Download official TWRP Recovery for LG Nexus 5X code name”Bullhead”
.As it is official one so there will be no space for Bugs in it at all.You can download TWRP.img for nexus 5X from link given below in the download section.As we know that Google released two new Nexus Device Nexus 6P and Nexus 5X
running on android Marshmallow 6.0
and for rooting and flashing Custom Roms
in it like Cyanogenmod 13 [CM13]
and other roms we need to Flash any custom recovery in it like TWRP recovery.
So lets Start the step by step tutorial on How to Install TWRP recovery in Nexus X.Before starting make sure you read the requirements carefully.
1.You nexus 5X bootloader bust be Unlocked.
3.Download Mfastboot.zip and extract in on Desktop
#How to flash TWRP recovery in Nexus 5X
Download TWRP recovery for Nexus 5X and place it in the Mfastboot folder that your exacted earlier.
2.Now Enable USB debugging on your device:
Open Settings >About phone and tap seven times on Build number, this will enable Developer options.
3.Now go back to Settings and you’ll see “Developer options” there, open it.Tick the USB Debugging checkbox.
4.Connect your device with your PC using USB cable.
5.Now open Mfastboot folder and press “Shift + Right click” on any empty white space inside the folder and then select “Open command window here” from the context menu.
6.You will see command prompt window on your screen now type follow command in Command window.
adb reboot bootloader
7.Your device will reboot into bootloader.Now Enter Following command in the command window.
fastboot flash recovery twrp-22.214.171.124-bullhead.img
8.Once TWRP is successfully flashed on your device, issue the following command to reboot
Done! If you face any problem comment below we will try to solve it as soon as possible.
Important Note: Sometimes, your phone will replace the
TWRP recovery automatically during the first boot. To prevent this,
after typing fastboot reboot, press and hold Power + Vol down the keys
to TWRP. Once TWRP is booted, TWRP will patch the stock ROM to prevent
the stock ROM from replacing TWRP