Sometimes we need to install a custom recovery on our smartphones if we are to get root access because the only way to root the device is to upload the SuperSU through the custom recovery. That is a sterling example of what we are about to do with the HTC 10 smartphone. Once we install the updated version of SuperSU from the recovery, we will have a custom recovery and root access installed which enabled us to do things like install root apps from the Google Play Store. Moreover, we can install aftermarket firmware instead of the stock firmware that comes with our devices, as well as take complete backups from the recovery menu — we call thee NANDroid Backups and they are vital to anyone wanting to flash files from the new recovery because most flashing wipes data.
Here is everything you need to install TWRP Recovery on the HTC 10 smartphone so you can do all of the things listed above and more.
- The following guide to install TWRP Recovery is for the HTC 10 smartphone only. Most recovery images are only made with the intention of it being installed on one device only unless advised otherwise by a professional.
- You must unlock the bootloader on the HTC 10 smartphone  before you can use this guide to install a custom recovery on the device.
- You can only follow this guide using a computer that is running a version of the Windows operating systems.
BEFORE WE BEGIN
- Check that you have the Developer Options menu unlocked and that the USB Debugging Mode is enabled from the Developer Options menu before you start with the guide. You can unlock the Developer Options by tapping on the Settings > About Device and then tap the build number at least seven or so times, and it will let you know when you are using the device as a developer. Now tap on the Settings > Developer Options and check the box that is there for the USB Debugging Mode.
- Installing a custom recovery on the HTC 10 smartphone is voiding the warranty on the device.
HOW TO INSTALL TWRP RECOVERY ON HTC 10
- Download the TWRP Recovery on the HTC 10 smartphone from here .
- Set up the ADB and Fastboot on your computer running Windows so you can use some ADB commands to flash the recovery on your device.
- Extract the custom recovery file and copy the contents over to the same folder as the ADB so you have everything available from the same directory.
- Connect the HTC 10 smartphone to the computer with the USB cable.
- From within the ADB and TWRP directory, hold down the Shift key and right-click the background where it shows no files and then choose to open a new command prompt window here from the menu.
- Type the command “adb reboot bootloader” to get the HTC 10 smartphone into the bootloader mode.
- Type the command “fastboot flash recovery twrp-3.0.2-4-pme.img” to flash the TWRP Recovery on your HTC smartphone.
- Type the command “fastboot reboot” and then hold down the hardware key combination for recovery mode on your HTC 10 smartphone so it first-time boots directly into the recovery mode.
In conclusion, that is how to install TWRP Recovery on the HTC 10 smartphone by using ADB and Fastboot from a Windows computer. You can use the custom recovery any time you want for taking complete backups without the help from ADB commands, or you can use the new recovery on your device to learn how to root the HTC 10 smartphone  running on the Android 6.0 Marshmallow software update.