Although it took me a year to get started, it was the first time I had to unlock and flash the machine. So let's share some ideas ......
Original link http://www.shuame.com/faq/shuaji-prepare/57-htcs-off.html
=================================================== ============
1). Open HTC official unlock URL: http://www.htcdev.com/
2) Click "register" in the upper-right corner To Go To The registration page. Enter the following information:
Click the "register" button to submit the registration information. A message is displayed, indicating that the registration is successful. You must go to the registration email to receive an activation email to activate registration.
3) Go to your registered email address to view the activation email and click the relevant link to complete registration.
4) log on to the account and select "unlockbootloader" and click "Get started 」
5) Go to the unlock page, select your model, and click begin unlock bootloader 」
In the pop-up dialog box, select "yes" and select two options in the continue pop-up window. (If you select this option, you will be charged for HTC warranty)
Click proceed to unlock instructions 」
6) at this time, a tutorial page will be displayed to teach you how to enter the bootloader. The general method is as follows:
---- Disconnect the battery and discharge it for several seconds. Then re-plug the battery 」
---- Press and hold the volume key + power key to enter the bootloader mode 」
---- Press and hold the volume up and down key to select, press the power key to confirm, and select to enter fastboot 」
---- Connect your phone to your computer using a data cable 」
Click "Proceed to Step 5" on the page to go to the next step.
7) the page to jump to does not need to go to the bottom of the page directly and click "Proceed to Step 8" to jump to the next tutorial page.
Download the attachment (click to download), decompress all the files in it to c: \ windows \ system32, double-click to run the shell. BAT file, and a black running command box is displayed.
Enter the command: fastboot OEM get_identifier_token
Press the Enter key and a text section appears. Copy the text section (right-click the command prompt, choose Mark> highlight text block, and right-click Copy ")
Copy the text (including the beginning and end) to the text box on the tutorial page.
After you click "Submit", HTC will send a new email to your registered mailbox, which will contain an attachment named "unlock_code.bin ".
Download the attachment and place it under c: \ windows \ system32
8). Return to the Black command line window.
Enter fastboot flash unlocktoken unlock_code.bin and press Enter.
In this case, the unlock page is displayed. Press the volume button and select YES. Click the power button to confirm the unlock.