[Desire 626 General] urbanman2004:
Couldn't find a section for the HTC Desire 626S so I decided to go ahead and post it here so if my post is the wrong section, admins please correct it for me. Thanks

1.	First make sure Developer Options is enabled on your device:

a.	Go to 'Settings' head to 'Security' and check "Unknown Sources."

b.	Next enable USB Debugging: Go to 'Settings' and scroll down until you access "About." Go to 'Software Information', and access "More". Rapidly tap on "Build number" until it tells you that you have enabled developer options. Now go back and Developer Options now appears above "About". Go in and check "USB debugging" and "OEM unlocking" (to allow bootloader to be unlocked).

2.	Unlock your bootloader: this flashing procedure will wipe all the data on your device for security reasons - there's no way around that. It’s recommended that you backup what you want manually.

a.	Access HTCDev which will provide the instructions to do so. Sign in first and select your device model [HTC Desire *]. First you will need to update to the latest Java, and download and install the latest Android SDK and latest HTC USB Driver v4.16.0.001.

b.	Power off phone, press and hold Volume Down and then press and hold Power; hold both buttons to start the device into Bootloader mode.

c.	Connect the device to the computer via a USB cable

d.	Now we must get the 'Identifier Token' for unlocking the bootloader.

*	With your device still in the 'Download mode', navigate to "

C:\Program Files (x86)\Android\android-sdk\platform-tools

". With the folder opened in a new window, hold Shift key and right click onto a blank part of the opened window and select "Open command window here" like this:

*	When command window opened, type:

fastboot oem get_identifier_token

You will get the series of strings like this:

*	Now copy the whole string and paste it into your favorite editor like Notepad and delete "(bootloader)," "<<<< Identifier Token Start >>>>" and blank space, so that the resulted string should appear like this:

<<<< Identifier Token Start >>>>
4F83B3A301842037241BA9B4960EFA06
DA5F5E6289DB07DF352BCD93227EC7E7
A96EFBB5B6B78F18EFF3120C3520F05D
B5F64931A881749FE6AE165033FD4412
1A483DD7B01A6BC96D827A80D14A4717
96857FE3C996D56873D231E73F2A23C5
554B6B081EC6589C0AE075D4EBE45B33
0046E3E0CCC5B700E4236EF6896B7D0B
4AE9A6F2DE7F2A4C4B70B5689C698E4A
4382F54F1DD24A5666FC5CC468B23446
0F1ADCBB79D780D52882FA2CF8F0AB6F
7B6572F38E4659250CD78615A4566E00
D3AAFA0DEF9F2DD9873B36B33ACECBDB
349110DD2F646007D442343415DC17DD
E1C4F1D29577B3E05A4BF79FBC25AC85
913512B173065739F0E2B155FB416A86
<<<< Identifier Token Start >>>>

*	Now copy it and go to the HTCDev site (assuming you’re already signed in) and scroll down to find step #7:

*	Now enter the copied string in the box provided and press the "Submit" button.

e.	You will be sent an email with the unlock key as a file attachment.

*	Download the attachment "Unlock_code.bin" and place it in the adb folder.

*	Press Shift key and right click onto a blank part of the opened window and click "Open Command Window here".

*	In the command prompt type: fastboot flash unlocktoken Unlock_code.bin. In the command prompt you will see the following message:

*	You will now see the disclaimer: Use the Volume buttons to highlight your choice, and make your selection with the Power button. Selecting Yes, wil reset your phone to factory settings, and your bootloader will be unlocked and selecting No, will reboot your phone and no changes will be made.

*	To re-lock your bootloader, in the command prompt, type: fastboot oem lock.

Note: This will not restore the factory default lock, but will simply re-lock the bootloader so no further changes can be made

f.	Now it’s completed, your phone will be rebooted and it will start automatically with the unlocked bootloader.