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.

Before You Go...

Just wanted to let you know that we've got a special eBook on Google Chrome browser, called The Ultimate Chrome Productivity Guide where we show you how to master Google Chrome to make the most out of it. Make sure you buy it because it is worth much more than the price we're offering it for.

Get Guiding Tech articles delivered to your inbox.

Also get a free ebook when you subscribe.

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



  • splntr

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

  • Reinvesnted99

    what is the benefit on unlocking the bootloader?

  • Giannign1

    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? :(

    • Stefan

      Power button-restart phone-while restarting press vol down button

  • Giannign1

    ooook i performed a reboot-bootloader via adb :)

  • john

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

  • powellkop

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

  • Thomas

    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? :)

  • Hessa

    i want unlock boot loader on my HTC one x by HTCdev but only problem there is no Bootloader on my phone only( HBOOT,REBOOT BOOTLOADER, ,FASTBOOT,RECOVERY,FACTORY RESET,SIMLOCK,SHOW BARCODE AND IMAGE CRC ) BUT THERE IS NO BOOTLOADER please help me may i know why not showing bootloader ??? pls send me e-mail hessa007@gmail.com God bless you

    • osama

      What you need to do was disable fastboot from settings, I guess. :P

  • NinjaImp

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

  • William

    I went into the bootload, but at the top instead of saying unlocked, it said locked. What do I do? Email me a willshiao@gmail.com please. Thanks a lot.

  • William

    It also says Checking SD Card for Updates and it was stuck on that for two hours so I turned it off. What do i do?
    Email me at willshiao@gmail.com please. Thanks a lot.

  • Cassidy

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

  • Stefan

    Perfect!thanks!

  • Impressive Tanweer

    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.

    • http://www.techpanache.com/ Ashish Mundhra

      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.

  • Guest

    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?

  • http://www.facebook.com/albert.kayser.3 Albert Kayser

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

    • Yanni

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

  • iskender mirza

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

  • iskender mirza

    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>

    • iskender mirza

      i have successfully complete unlock bootloder

      • greaet

        how did you do it? I am having the same problem?

      • Guest

        No proof No Truth!

    • Guest

      Worthless!

  • muroko

    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

  • stefan

    Perfect!!thanks a lot!!

  • BartWillemsen

    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. :)

  • Guest

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

    • http://www.techpanache.com/ Ashish Mundhra

      You can ask your friends, who owns a computer, for help.

  • AngelEyez5150

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

  • richie

    please my fone cant highlight the fastboot mode

  • Hari

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

    please help me to unlock bootloader

    • yadu

      copy the Unlock_code.bin file to extracted fastboot folder

  • Dhiren Patel

    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.

  • most

    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

  • most

    hh

  • razorhedge

    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.

  • sudheer

    Hi ashish,

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

  • Craig Gilman

    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 ?

  • Randy Rjd

    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.

  • neerjsaini

    plz root file

  • neerjsaini

    plz give me link root file plzzzzzzzzzzzzzzzzzzzz