How to: Root the HTC One X and HTC One S


How to Root the HTC One X and HTC One S

Rooting the HTC One X can be done by following a few simple steps. This method also works on the HTC One S. By rooting your HTC One X or One S you can easily install custom ROM’s and completely take control of your device. Take note that rooting your device will cause a wipe of your personal settings and apps but will keep your images and videos in tact. The instructions to root your HTC One X and One S here are Windows only.

Unlock the HTC One X and HTC One S Bootloader:

  1. Enable USB Debugging Mode “Settings -> Developer Options”
  2. Connect your HTC One X(S) to a PC via USB
  3. Choose “Charge Only” as your connection type
  4. Install the correct driver for your computer:
  5. Download and extract (Download Link)
  6. Open up a command prompt and navigate to the folder you just unzipped
    • Type “adb devices”, press enter
  7. Go to and login (or register if haven’t)(Site Link)
  8. Click “Unlock Bootloader”
  9. Choose either “HTC One X” or “All other supported devices”
  10. Click “Begin Unlock Bootloader”
  11. Click on “yes”
  12. Agree with terms and click “Proceed to Unlock Directions”
  13. Scroll down and click “Proceed to Step 5”
  14. Scroll down and click “Proceed to Step 8”
  15. Now grab your device and hold the volume down and power button
  16. After about 20 seconds your HTC One should be in Bootloader mode
  17. Choose “Fastboot” and power button to select
  18. Go back to your command prompt
    • Type “fastboot oem get_identifier_token”, press enter
  19. You should now see some random code that makes little sense
  20. Right click the code and select “Mark”
  21. now highlight code from the “<<< Now go back to HTCDev and paste that code there and click “Submit”
  22. You should now see “Token Submitted Successfully!”
  23. HTC has now sent you an attachment via email with your unlock code
  24. Download “Unlock_code.bin” from the email to your OneXRoot folder
  25. Go back to your command prompt
    • Type “fastboot flash unlocktoken Unlock_code.bin”, press enter
  26. Go to your Phone and hit volume up and then power to reboot
  27. Your bootloader is now unlocked!

The Root Instructions after the HTC One X (S) Bootloader is unlocked:

  1. Once the above is complete keep your phone connected to PC
  2. Change connection type to “Disk Drive”
  3. Copy “” from your OneXRoot folder
  4. Paste the file in your HTC One storage
  5. Go back to bootloader “hold volume down and power for 20 seconds”
  6. After in bootloader choose “Recovery” and press power to select
  7. Choose “Install zip from SDcard”
  8. Choose “zip from sdcard”
  9. Choose the “” file you placed earlier
  10. Confirm by selecting “Yes”
  11. After it completes choose the “reboot” option
  12. When your phone reboots find and open the SuperSU app
  13. Update the SU binaries
  14. Congrats your HTC One X or HTC One S is Rooted!


  1. I unlock my device succesfully but after the step 6 of the root instructions nothing happens, it is just displayed in my device a warning triangle.

    Do you figure out what is wrong?