HTC 10 Released with the locked bootloader so you need to unlock the bootloader to root and install the custom recovery like twrp so here the guide to Unlock Bootloader of HTC 10.
About HTC 10:- The New Is Powered By 1.6GHz quad-core Qualcomm Snapdragon 820 processor and it comes with 4GB of RAM. The Phone Packs 32/64GB Of Internal Storage Which Can Be Expanded Up To 200GB Via A MicroSD Card. The Phone Comes With A 5.20 inches Super LCD5 capacitive touchscreen, 16M colors Display With A Resolution Of 1440 x 2560 pixels. The HTC 10 Comes With A Back Camera Of 12-Ultrapixel A Font 5-Megapixels Selfie Camera.The HTC 10 Runs Android 6.0 (Marshmallow) And It Is Run By A Non-removable Li-Ion 3000 mAh Battery
The HTC 10 Is A Dual Sim (GSM and GSM) Smartphone Connectivity Options Include WI-FI, GPS, Bluetooth, FM, 3G, 4G. Sensors In The Phone Include Proximity sensor, Ambient light sensor, Accelerometer, and Gyroscope.
- Backup Phone Data (Apps, Sms, Contacts)
- Enable USB Debugging.
Go To Settings On Your Phone. Then Click On About Phone > Now Tap 7 Times On Build No.
This Will Enable Developer Options On Your Phone. Now Go Back To Main Settings Menu.
Click On Developer Settings > Enable Usb Debugging.
- Need Your Device At Least To 60% Charge, As The Process May Take A While.
- Enable Oem Unlock
Go To Settings>Developer Options And Enable Oem Unlock
- Install Htc Driver From Here .
- Register an Account in http://www.htcdev.com/ .
- Download Adb Fastboot Tool From Here .
Guide To Unlock Bootloader Of HTC 10:-
Step 1-> Switch Off Your HTC 10.
2->Now Boot Into HTC Download Mode By Hold The (Volume Down And Power Buttons) Together Until You See HTC Logo.
Select Bootloader from The list
3-> Connect Your Device To PC.
4-> Download and unzip “Latest-Fastboot-Adb-Tool.zip“.
5-> Now Open Cmd in “Latest-Fastboot-Adb-Tool” Folder By Hold (Shift + Mouse Right Click) -> Open Cmd Here .
6-> Now Type or paste this command and hit enter .
fastboot oem get_identifier_token
- you will get a long string of text, copy it to notepad and save it.
7-> Now Visit htcdev.com and log in with your account.
8-> Click on “Unlock Bootloader” and Click on “Get Started”.
9-> Select your model no Accept the terms and conditions.
10->Now Copy the string of text from notepad and submit it on htcdev.com You will get Unlock_code file in your email within 4-5 minutes.
11->Download and copy the “Unlock_code.bin” file from email and copy it to a Latest-Fastboot-Adb-Tool folder.
- Now flash the unlock bin by this command.
fastboot flash unlocktoken Unlock_code.bin
Confirm the unlock in your device by Volume Up This will erase all your phone data and you’re now ready to install twrp and rooting.