Search for:

This tutorial will help you unlock bootloader of HTC phones, the official way. HTC devices always came with a locked bootloader and you need to unlock bootloader manually by the HTCDev website. Why do you need to unlock bootloader? Developers who make custom ROMs and other tweaks for the phone require an unlocked bootloader.

Why unlock bootloader on your HTC device? You will be able to install custom/modified ROMs, flash a custom recovery which would give you tons of features and install other tweaks that require full system access. Let’s get on with the tutorial and unlock bootloader of your HTC phone.

Unlock Bootloader of HTC Phones

Disclaimer: All the tools, mods or ROMs mentioned below belong to their respective owners/developers. We ( or the developers are not to be held responsible if you damage or brick your device. We don’t have you on gun point to try out this tutorial 😉

Here are a few things you need to keep in mind and be careful about before proceeding ahead:

  1. You will need to connect your HTC Android phone with the computer. For that, please make sure you have installed the USB drivers for properly. If not, you can download the latest official drivers from our Android USB Drivers section.
  2. Your phone battery should be 80-85% charged. If your phone goes off suddenly because of battery, during flashing ROMs or installing mods and updates — your phone might go dead permanently.
  3. Backup all your important data that you might need because unlocking your bootloader will delete/wipe all your data.
  4. This tutorial is only for unlocked HTC phones. Carrier / network locked HTC phones are not supported by this tutorial.

Now, let’s proceed with the tutorial below and unlock bootloader of your HTC device.

How to Unlock Bootloader of HTC Phones

We have put together a detailed step-by-step instructions guide on how to unlock bootloader of your HTC device. Please read every line carefully. We suggest, read the tutorial once before actually performing it on your phone.

NOTE: To prevent unauthorized access to your data, unlocking the bootloader will delete all personal data from your device including applications, text messages and personalized settings.

IMPORTANT: Unlocking your device may void all or parts of your warranty by HTC.

Step 1 – Go to website.

How to Unlock Bootloader of HTC Devices

Step 2 – Click on ‘Register’ and create an account at the HTCDev website.

How to Unlock Bootloader of HTC Devices

Step 3 – Activate your account. Login and go to main page of HTCDev.

Step 4 – Click on “Unlock Bootloader” button and click the “Get Started” button.

How to Unlock Bootloader of HTC Devices

Step 5 – Select “All Other Supported Models” from the dropdown list and then click the “Begin Unlock Bootloader” button.

HTC unlock bootloader

Step 6 – Carefully read the warning popup message and then press the ‘Yes’ button.

How to Unlock Bootloader of HTC Devices

Step 7 – Check both the boxes in the Legal Terms popup box. Now press the “Proceed to Unlock Instructions” button.

Unlock bootloader of HTC phones

Step 8 – Download Android SDK Platform-Tools (Fastboot) if you don’t already have and extract it in C:\ drive (or anywhere in your computer).

Step 9 – Hold the Power button on your HTC device for 10 seconds to completely turn it off.

Step 10 – Now go to Bootloader Mode on your device. How? Press Volume Down and Power to start the device into Bootloader mode.

How to Unlock Bootloader of HTC Devices 10

Step 11 – Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button to select.

How to Unlock Bootloader of HTC Devices 11

Step 12 – Connect your HTC device to the computer via a USB cable.

How to Unlock Bootloader of HTC Devices 12

Step 13 – Now open Command Propmpt. How? Click the Start button and type ‘cmd’ (without quotes) and press Enter.

Command Prompt - Windows

Step 14 – In the Command Prompt window, type the following command and press Enter.

cd c:\fastboot
Fastboot mode

Step 15 – Now type the following command and press Enter.

fastboot oem get_identifier_token

Step 16 – You will see a long string of text (identifier token). What to do now? Open this page on HTCDev.

Step 17 – Now follow the instructions as given there to select and copy text from Command Prompt.

Step 18 – Once copied, paste that identifier token into the box at the bottom of that HTCDev page and then click Submit.

How to Unlock Bootloader of HTC Devices 13

Step 19 – You will receive an email by HTC (on the registered email) with a link to the second part of the instructions and your “Unlock_code.bin” file attached.

Step 20 – Download “Unlock_code.bin” and save it in your Fastboot folder (C:\fastbooot in our case).

Step 21 – Now type the following command in Command Prompt and press Enter.

fastboot flash unlocktoken Unlock_code.bin

Step 22 – Check your phone. Read on-screen instructions. Press Volume Up to accept and the Power button to confirm.

That’s it. Your HTC device now has a unlocked bootloader. This means, you can install custom ROMs, flash a custom recovery and perform other system tweaks on your HTC phone now.


Haris lives on everything Android; has countless devices, apps and games to play with everyday. Currently serving as the Chief Editor at Team Android.


  1. Pingback: HOW TO: Root HTC One V with Superboot - Complete How-To Guide / Tutorial for Windows, Mac, Linux [Root One V] | Team Android

  2. Pingback: HOW TO: Root HTC One S with Superboot r3 on Windows, Mac, Linux - Complete How-To Guide / Tutorial [Root One S] | Team Android

  3. Pingback: HOW TO: Install ClockworkMod Touch Recovery on HTC One X - Complete How-To Guide / Tutorial [Install CWM] | Team Android

  4. Pingback: HOW TO: Install TrickDroid Custom ROM on HTC One S - Complete Tutorial / Guide for Custom Firmware | Team Android

  5. Pingback: HOW TO: Install myONEv Custom ROM on HTC One V - Complete Tutorial | Team Android

  6. Pingback: How to Update HTC Desire to ICS Android 4.0.4 Custom ROM - Complete Tutorial / Guide | Team Android

  7. Pingback: HOW TO: Update HTC Amaze 4G to CM10 4.1 Jelly Bean Firmware - Complete Tutorial / Guide | Team Android

  8. Pingback: Update HTC Desire Z to Android 4.1.1 CM10 - Complete Guide / Tutorial for Jelly Bean Update | Team Android

  9. Pingback: Update HTC Evo 4G to Android 4.1.1 CM10 - Complete Guide / Tutorial for Jelly Bean | Team Android

  10. Pingback: Update HTC One X to Domination CM9 (Android 4.0.4 ICS) Custom Firmware - Complete Tutorial / Guide for CyanogenMod 9 | Team Android

  11. Pingback: How to Install ClockworkMod Recovery v5.0.2.8 on HTC ChaCha - Complete Tutorial / Guide | Team Android

  12. Pingback: Root HTC Desire C (Android 4.0) and Install ClockworkMod Custom Recovery [How To] - Complete Tutorial / Guide | Team Android

  13. Pingback: Update Sprint HTC Evo 4G LTE to Viper4G Custom Firmware [How To] | Team Android

  14. Pingback: Root HTC Desire V (Android 4.0.3) and Install ClockworkMod Custom Recovery [How To] - Tutorial / Guide | Team Android

  15. hi after typing fastboot oem get_….., I get this: ” [ERR] COMMAND ERROR !!!”

  16. I get this message ”waiting for device” message what do I do? I have an htc desire z if this can help

    • justsaying Reply

      You need to have the correct drivers, connected the phone to the PC, and you have to boot into fastboot: remove and re-insert battery> volume down+powerbutton>wait till it’s done saying some things with searching for correct .img>press power again

  17. cd c:fastboot wont work
    you will have to find the location of your folder and enter that

  18. htc desire v user Reply

    HELP! when i put in fastboot oem get_identifier_token and press enter it says ‘fastboot’ is not recognized as an internal or external command, operable program or batch file. WHAT DO I DO??

  19. Hello, I am trying to unlock bootloader in my HTC Vision (Z) but at step 15, I am getting an error:

    (bootloader) [ERR] Command error !!!

    OKAY [ 0.008s]

    finished. total time: 0.010s

    I’ve read somewhere than problem is wrong version of h-boot but I have no idea which version I need and where to download ti. Any ideas? Thanks a lot.

  20. cant get unlock_code.bin to work. get to final step and keeps failing. what went wrong?

  21. Hi, is there a way to find out whether my device is already unlocked or not? Thanks

  22. error in step 22))

    checking failed…………..!!!

  23. hello at step 14 my sys cant find the path specified.what should i do?

  24. Daniel Nicolosi Reply

    It failed a the very last step! 🙁
    I received the very last message in my Command Prompt saying “success”:

    :C:UsersDaniel>fastboot flash unlocktoken
    sending ‘unlocktoken’ (0 KB)…
    OKAY [ 0.108s]
    writing ‘unlocktoken’…
    (bootloader) unlock token check successfully
    OKAY [ 0.003s]
    finished. total time: 0.111s

    But instead of it bringing up the “UNLOCK BOOTLOADER” screen on my HTC E8, my screen stayed the same:

    *** UNLOCKED ***
    eMMC-boot 2048MB
    Aug 1 2014,19:40:10.27804

    to preview item
    to next item
    to select item

    Can anyone help??

    • ArtyomIsFlash Reply

      Note the first line: *** UNLOCKED ***
      Probably it didn’t fail.

    • curtis passley Reply


  25. Ahmad Matlabpour Reply

    لطفا یکی بهم ایدی و پسوردشو بده تا بتونم گوشی htc one e8 خودمو روت کنم

    Please give me the ID Psvrdshv phone htc one e8 I myself am Ruth

  26. Michael Cross Reply

    i have a htc evo design , locked s-on bootloader loop. got the unlock bin from htc, fastboot loads to phone fine, but i press volume up to yes but power does nothing, volume down to no ..power press shuts down, any help please to for my kid

  27. Akshay Sugandhe Reply

    I tried to do things exactly as mentioned but after step15 my cmd says waiting for device and its like eternity there is no start or end token. what to do? please help!

  28. (bootloader) [ERR] Command error !!!

    OKAY [ 0.009s]

    finished. total time: 0.009s
    help me

  29. Christoph Schank Reply

    When i use “fastboot oem get_identifier_token” it allways says and nothing happens anymore… what can i do?

  30. all above done correctly but the network is not unlocked what i can do after all steps

  31. Sachin meet Reply

    I have read all your troubleshooting for htc phones,thanks for that.But still i am stuck with HTC log screen even after trying unlocking bootloader.I went up to bootloader unlocking without any issues then instead of factory reset still the htc logo is stuck their.Without unlocking i cant install any custom rom.The only thing i can do is toopen the boot menu by power button+volume down button.Dont know what do next,no one knows.Hope you can help me

Write A Comment