First you must be HTCDEV unlocked. This will wipe data. You need ADB installed personally I use minimal adb fastboot
Step 1: Go to htcdev.com/bootloader, make sure youre registered with HTC. Once the process of signing up is complete, log into HTC Dev. Also, make sure HTC Sync Manager is installed on your PC.
Step 2: Select your device from the Unlock Bootloader page. Select the All Other Supported Models as shown in the screenshot below. Click Begin Unlock Bootloader and confirm all dialogue boxes on screen that are presented to you.
Step 3: Now, youre going to be presented with a series of four steps to put your device in bootloader mode: Disconnect the device from PC, turn it off completely, press and hold Volume Down button and the Power button to start the device in Bootloader mode.
Step 4: Once youre into the bootloader mode, use the devices volume keys to select the download mode option and press power button to confirm. At this point, youll need to connect your HTC One M9 to your computer via USB cable.
Step 5: Now on your PC, go to fastboot folder, hold down your keyboards shift key and click on any empty space and then click on Open command window here.
Step 6: Type in fastboot devices in the command prompt window and press enter. If your drivers are installed correctly, then your HTC One M9 should show up in the command prompt.
Note: if you dont see your device, dont panic, reinstall HTC Sync Manager, restart your computer and try again.
Step 7: On page 3 of HTC Devs website, click on Proceed to Step 8. Follow the listed steps all the way to Step 10 and click on Submit. HTC will mail you your unlock token for your device. Download the token, it should be named Unlock_code.bin and then should be placed in your fastboot folder.
Step 8: Now back to the command prompt window, type the following: fastboot flash unlocktoken Unlock_code.bin
Step 9: On your device youll get a message saying if you want to unlock your bootloader. Use the volume keys to select your choice, and hit the power button to confirm. Once youre done, your device will restart and youll have an unlocked bootloader.
From there you need to install a custom recovery (TWRP)
Follow instructions in this thread http://forum.xda-developers.com/one-...overy-t3066720
Then you will need to install Chainfires superuser beta 2.45 http://forum.xda-developers.com/apps...v2-05-t2868133
These are not my threads just pointing you in the right direction. If someone wants to make a more detailed version I would not oppose.
Step 1: Go to htcdev.com/bootloader, make sure youre registered with HTC. Once the process of signing up is complete, log into HTC Dev. Also, make sure HTC Sync Manager is installed on your PC.
Step 2: Select your device from the Unlock Bootloader page. Select the All Other Supported Models as shown in the screenshot below. Click Begin Unlock Bootloader and confirm all dialogue boxes on screen that are presented to you.
Step 3: Now, youre going to be presented with a series of four steps to put your device in bootloader mode: Disconnect the device from PC, turn it off completely, press and hold Volume Down button and the Power button to start the device in Bootloader mode.
Step 4: Once youre into the bootloader mode, use the devices volume keys to select the download mode option and press power button to confirm. At this point, youll need to connect your HTC One M9 to your computer via USB cable.
Step 5: Now on your PC, go to fastboot folder, hold down your keyboards shift key and click on any empty space and then click on Open command window here.
Step 6: Type in fastboot devices in the command prompt window and press enter. If your drivers are installed correctly, then your HTC One M9 should show up in the command prompt.
Note: if you dont see your device, dont panic, reinstall HTC Sync Manager, restart your computer and try again.
Step 7: On page 3 of HTC Devs website, click on Proceed to Step 8. Follow the listed steps all the way to Step 10 and click on Submit. HTC will mail you your unlock token for your device. Download the token, it should be named Unlock_code.bin and then should be placed in your fastboot folder.
Step 8: Now back to the command prompt window, type the following: fastboot flash unlocktoken Unlock_code.bin
Step 9: On your device youll get a message saying if you want to unlock your bootloader. Use the volume keys to select your choice, and hit the power button to confirm. Once youre done, your device will restart and youll have an unlocked bootloader.
From there you need to install a custom recovery (TWRP)
Follow instructions in this thread http://forum.xda-developers.com/one-...overy-t3066720
Then you will need to install Chainfires superuser beta 2.45 http://forum.xda-developers.com/apps...v2-05-t2868133
These are not my threads just pointing you in the right direction. If someone wants to make a more detailed version I would not oppose.
xda-developers