flash TWRP
Scenario:
- Your custom recovery is gone, and
- You lost root, and
- Bootloader is locked
But, your phone is S-OFF.
Options:
1. Unlock bootloader again from htcdev.com, then flash recovery and the normal stuff
Or
2. Leave the bootloader locked and flash a custom recovery this way. Need to have ADB files on computer and USB Debugging enabled on phone.
a. Download this recovery.zip file (
http://www.mediafire.com/download/t3sqz961tpdgkof/recovery.zip), put it in the ADB folder where fastboot.exe located. The zip file contains TWRP 2.6.3.0 and the needed txt file (swiped from OMJ

).
b. Reboot phone into bootloader
c. Connect USB cable, fastboot will switch to
fastboot usb
d. While holding down the Shift key on your keyboard, right-click on the ADB folder and select Open in Command Prompt
e. In the Command Prompt, type:
fastboot oem rebootRUU then press Enter.
f. Wait for the HTC logo on a black background show up on phone then type:
fastboot flash zip recovery.zip and press Enter
g. Wait for the recovery to finish installing, when it's done, type:
fastboot reboot then press Enter.
Your phone will now have the custom recovery back to flash whatever you want.
