HTC One X Rooting Detailed Guide Part 1: Unlock the Bootloader

Ads by Google

Yesterday I got my long awaited phone delivered to my doorstep – the HTC One X. The device is really some piece of work! If I were to describe the phone in one statement, I would say that the phone is a beauty in looks and a beast in performance. With 1.5 GHz quad core processor and 1 GB of RAM, its equivalent to the processing power of the laptop I had a year back.

HTC-One-X

Using this phone for just calling, texting, updating status and playing games would be so contemptuous. Devices such as HTC One X are meant for a lot more, and it all starts with rooting. So today we are going to show you the first step for rooting your HTC One X, i.e. the unlocking of the bootloader.

Warning: This guide was tested on HTC One X, but still I don’t take responsibility of any damage caused to your phone. If you don’t know what you are doing, I recommend you call up an in-house geek and take his help. Furthermore, unlocking bootloader will void all or parts of your warranty but trust me, it’s worth it!!

Necessary Prerequisites

  • Backup your phone’s contacts, messages and apps as the process will factory reset your HTC One X.
  • Download and install HTC Sync software on your computer.
  • Your device battery should be at-least 70% charged.
  • Download and extract Fastboot files to a folder on your computer. For the sake of simplicity, make a new folder at a drive’s root level and give the folder a simple name without spaces.
  • Register for an account at HTCDev and verify yourself. It’s free of course.
  • Go slow, no need to rush! Read a step twice if you have to but make sure you are doing it the right way.

Let’s begin then

Step 1: On your computer, visit HTCDev homepage and login to your account. After you login, click on the Unlock Bootloader button to get started.

unlock bootloader

Step 2: On the right hand side, under the Supported Devices, you will see a dropdown list. Select All Other Supported Models and click on the button Begin Unlock Bootloader.

begin unlock bootloader for HTC one X

Step 3: You will have to confirm to some terms and condition accepting which you will be redirected to the Unlock Instruction Page.

bootloader terms and condition

Note: Don’t follow the instruction provided on the website. Just follow the ones in the post.

Step 4: Now power off your phone and press Volume Down and Power to start the device into Bootloader mode. Use the device Volume buttons to select up or down to highlight Fastboot (This option is available specifically on HTC bootloader) and then press the Power button. Now connect your phone to the computer using a data cable and rest the phone on your desk.

HTC bootloader

Step 5: We will continue to work on computer now. First connect the phone to the computer and let Windows will  install the necessary drivers. After the drivers are installed, open Windows Device Manager to confirm if the drivers are installed correctly. At the same time, click on the Proceed button that you saw in Step 5 and then skip through the steps until Step 8 on the HTCDev instruction page (Yes you have to skip the steps).

Ads by Google

device manager

Step 6: Open  Command Prompt on your computer with administrative privileges (search for cmd in Start, right-click, click Run as administrator) and navigate to the folder where you have extracted the Fastboot files we asked you in the prerequisites.

Step 7: Now type (copy/paste) fastboot devices on cmd prompt and press enter. If your HTC device shows up, you are good to go. If nothing is returned, there must be some issue with your HTC One X drivers.

command 3

Step 8: Again on the command prompt type (copy/paste) fastboot oem get_identifier_token and press enter. You will see a long block of text. Right-click anywhere on CMD prompt and select mark. Highlight and copy the text (select the text just like the way it’s selected in the screenshot ignoring all the info there).

command 2

Step 9: Switch to the HTCDev page on your browser and paste the text in the text box under the section My Device Identifier Token at the end of the page and press the Submit button.

Step 10: You will now get a mail from HTCDev with a unique Unlock_code bin file. Download and save the file in the folder where you extracted the Fastboot files.

Step 11: Now, copy/paste the command fastboot flash unlocktoken Unlock_code.bin in the command prompt to start the process on your phone.

command 1

The Final Step: On your phone you will see a disclaimer that will say that unlocking the bootloader may void your warranty. Use the Volume buttons to highlight your choice, and the Power button to make your selection. If you select Yes, your phone will be reset to its factory default settings, and your bootloader will be unlocked.

The final Step

Voila! You have done it. You have successfully unlocked HTC One X bootloader, but that’s just the beginning. Stay tuned for when we tell you tomorrow how to root your phone. Before I conclude, I would love to share the official video of HTC One X showing off its capabilities.

So what do you think about the phone? We would love to know. Oh, and let me remind again, the rooting process is not yet done..we’ve just unlocked the bootloader. Come back tomorrow to check out the part 2 of this series.

Get Guiding Tech articles delivered to your inbox.

We will never share your address. Unsubscribe at any time.



Post a Comment or Discuss at Guiding Tech Forums

Show archived comments (51)

Archived Comments

  1. splntr says:

    Great help. why does my bootloader say tampered at the top?

  2. Reinvesnted99 says:

    what is the benefit on unlocking the bootloader?

  3. Giannign1 says:

    Hey … i followed your guide…but now (that i’m tryng to get root permissions) my X doesn’t start in bootloader anymore…..what can i do?
    i tried with:
    power + vol down
    do a normal reboot
    press power for many seconds letting the softbutton litgning
    with and without usb charge attached…what can i also do? :(

  4. Giannign1 says:

    ooook i performed a reboot-bootloader via adb :)

  5. john says:

    what is the purpose of doing this? I mean, what did you just do and what will it change in the phone?

  6. powellkop says:

    ih im getting up to step 8 got the email but java wont open the attachment any help please

  7. Thomas says:

    Im a bit confused about step 5 in this page. It says “…and then skip through the steps until Step 8 on the HTCDev instruction page (Yes you have to skip the steps).” And at the top of the site it says that i should ignore the guide at HTDev page? So step 6 and 7 in this post should be ignored or how am i supposed to understand this? :)

  8. Hessa says:
  9. NinjaImp says:

    How do you resolve driver issues?? I can’t update them any further and I can’t get the oem token bit to work

  10. William says:
  11. William says:
  12. Cassidy says:

    I got error 160 when trying to sudmit it. says MID not allowed.. why???

  13. Stefan says:

    Perfect!thanks!

  14. Impressive Tanweer says:

    I Don’t know whether you are active & will reply me, but I’m asking,

    Every thing goes fine, but when I am stuck at the very last step

    D:Android>fastboot flash unlocktoken Unlock_code.bin
    sending ‘unlocktoken’ (0 KB)…

    Nothing happens then, cellphones hangs also, while I’m at boot loader mode, yes the token file is there in Android Directory.

    • Yes I am active and I will help you the best I can.

      First thing I want you to do is try sending the Unlock_code.bin file again when the phone shows FASTBOOT USB (See step 4). If that didn’t work, try to enter the HBOOT mode and try again.

      I don’t see a reason as to why the phone would fail to respond. Also, if you could try it on a friend’s computer it would be great.

  15. Guest says:

    Has anyone else had trouble actually receiving the email with the unlock code attachment? I have done this whole process for my phone about 4 times and I never get the email. It doesn’t even land in my spam folder. Any suggestions?

  16. how can i do this on mac if i have parallerl please heeeelp !!

    • Yanni says:

      On Mac the procedure is similar… you need adb and fastboot files and use terminal…

  17. iskender mirza says:

    i try it in windows 7 but problem are following, please help me to unlock my onex.

  18. iskender mirza says:

    may screen short dont uplode here, my probleme is

    ””'”Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:Usersuser>fastboot devices
    ‘fastboot’ is not recognized as an internal or external command,
    operable program or batch file.
    C:Usersuser>d:
    D:>cd onex
    D:onex>fastboot devices
    ‘fastboot’ is not recognized as an internal or external command,
    operable program or batch file.
    D:onex>fastboot oem get_identifier_token
    ‘fastboot’ is not recognized as an internal or external command,
    operable program or batch file.
    D:onex>

  19. muroko says:

    Hey hi there i am having an error message when i but this command line

    fastboot oem get_identifier_token

    ‘oem’ is not recognized as an internal or external command,
    operable program or batch file.

    thanks

  20. stefan says:

    Perfect!!thanks a lot!!

  21. BartWillemsen says:

    If you are on Ubuntu, than fastboot will work a lot easier. It is included in the default repositories and can be simply installed with “sudo apt-get install android-tools-fastboot”.

    After that you can just run it anywhere, just like any other command line command. :)

  22. Guest says:

    What if I have no computer and no access to one?

  23. AngelEyez5150 says:

    What if I dont have a computer or access to one?

  24. richie says:

    please my fone cant highlight the fastboot mode

  25. Hari says:

    it is showing like this “error:cannot load ‘Unlock_code.bin'”

    please help me to unlock bootloader

  26. Dhiren Patel says:

    Hi Ashish,
    I face one problem in my XL. Everytime I start any HD games than my phone is hang for 3 or 4 seconds n than restart automatically. Pls help me for this problem.

  27. most says:

    hi there i did all the steps successfully but i did not receive the final disclaimer on my device how can i know if it was unlocked

  28. most says:

    hh

  29. razorhedge says:

    Getting the error message when submitting identifier token

    Error Code: Invalid Bootloader Token Length.
    Error Reason: The submitted Token appears to be the wrong length and won’t work.

    Not sure what’s the issue here, can anybody help? Anybody got the same error and how did you resolved it?

    On several try’s I keep getting this error

    Error Code: 160.
    Error Reason: MID Not Allowed.

  30. sudheer says:

    Hi ashish,

    I am getting error:cannot load ‘Unlock_code.bin, but it’s in same folder

  31. Craig Gilman says:

    Noob question. Does doing this allow me to use the phone on any network – i.e. is this the same as requesting an unlock code ?

  32. Randy Rjd says:

    why do so many of you guys make these and none of it works for 80% of us?
    absolutely none of what you have for the cmd part works at all.

  33. neerjsaini says:

    plz root file

  34. neerjsaini says:

    plz give me link root file plzzzzzzzzzzzzzzzzzzzz

  35. mahdi says:

    the fastboot.exe is not valid on my windows 7 64-bit, when i luanch it, it says dll.missing :( plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help !

  36. amiya says:

    many many thanks. You are really great. i have successfully done it. thanks

  37. Boris says:

    Did not work at all.

  38. Hussain says:

    Hello
    All the steps are working well but i have only one problem, my phone battery is low when i execute the command “fastboot flash unlocktoken Unlock_code.bin ” It gives an error of battery low on cmd. Please reply as soon as possible

  39. Shuab Muhammad Zaber says:
  40. Muhammad says:

    Tomorrow hasn’t come yet?