AT&T One X: How to unlock your phone’s bootloader

May 31, 2012
20
7 13

Say goodbye to locked HTC bootloaders as the folks at the XDA Developers Forum have once again made the impossible a reality. HTC owners have already witnessed firsthand how hard it is to crack HTC bootloaders, most especially those devices that are coming from mobile carriers. The AT&T One X may be one of the first phones to sport a quad-core processor, but it’s also one of the many HTC devices that sport a locked bootloader.

Having an unlocked bootloader is necessary for users to install custom ROMs and other modified hacks on your device. If you have been addicted to flashing custom ROMs in the past, then certainly a locked bootloader will spoil all your fun. Thanks to the hard work of XDA member grankin01, users of the AT&T One X will never have to worry about locked bootloaders ever again.

The method of unlocking the HTC One X’s bootloader involves using the HTCdev.com website and familiarity of ADB commands. However, the process of unlocking your phone’s bootloader involves a complicated procedure and is recommended only for advanced users who already have experienced modifying their phones.

If you are brave enough to take the risk, then check out our step-by-step guide on how to root your HTC One X.

Warning

  • These instructions require some degree of experience with hex editing and some familiarity with the command line.  If you are willing to take the risk of bricking your phone, go ahead and follow the instructions.  Otherwise, leave now, while you still can.
  • The instructions in this guide are intended for use with the AT&T One X. Applying these instructions on another device or model may produce undesired outcomes.
  • The information in this guide is provided for instructional and educational purposes only.  There is no guarantee that these instructions will work under your specific and unique circumstances.
  • Use these instructions at your own risk.  We shall not hold any responsibility or liability for whatever happens to you or your device arising from your use of the info in this guide.
  • Read and understand the whole guide first before actually performing the instructions.

Requirements

Instructions

  1. Connect your AT&T HTC One X to your PC via USB cable.
  2. On your PC, launch a command prompt and head to the directory where you’ve installed ADB.
  3. At the command prompt, enter the following commands:
    • adb shell
    • su
    • dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p
  4. The last command above will copy the entire partition to your SD card. Type the following commands to head back to the command prompt of your computer.
    • exit
    • exit
  5. Enter the command below at the command prompt.  It will save mmcblk0p4 as a file in your present working directory.
    • adb pull /sdcard/mmcblk0p4
  6. Determine the size of the file that was saved to the directory.  If possible, write it down on paper.
  7. Open the mmcblk0p4 file using HxD.
  8. Inside the hex editor, look for the offset “00000210” (leftmost column in HxD). If you are running RUU version 1.82, the offset number might be “00000214”. On the HxD window and to the right of the hexadecimal values, you should see the string “CWS__001″ followed by the phone’s IMEI number.
  9. Change “CWS__001″ to “11111111” (that’s a row of eight 1’s, and don’t include the quotes).  Doing this will also automatically give you SuperCID.  (Image credit: XDA Developers).

  10. Save the modified file as mmcblk0p4MOD.
  11. Compare the file sizes of mmcblk0p4 and mmcblk0p4MOD.  Their file sizes should be the same.  If their file sizes differ, do not proceed.
  12. Head back to the command prompt and push the modified file to the phone by entering this command:
    • adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD
  13. Go back to the Android shell and gain root privileges by entering the following commands:
    • adb shell
    • su
    • dd if=/sdcard/mmcblk0p4MOD of=/dev/block/mmcblk0p4
  14. Restart your phone into Fastboot. You can do this by entering the following at the command prompt:
    • adb reboot bootloader
  15. When the bootloader screen comes up, enter this command:
    • fastboot oem readcid
  16. You should get a reading of “11111111”.  This means that the previous steps worked successfully.
  17. Enter the command below to get your phone identifier token.  You will need it for unlocking the bootloader using HTC’s bootloader unlock tool.
    • fastboot oem get_identifier_token
  18. Open your web browser and navigate to HTC’s Unlock Bootloader page.
  19. From the drop-down list on the page’s right sidebar, choose “All Other Supported Models.”
  20. Click the Begin Unlock Bootloader button below the drop-down list.
  21. Follow HTC’s official instructions for unlocking the bootloader from here onwards.

Congratulations! You have successfully unlocked your AT&T One X’s bootloader.

Comments

Load More