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.
- 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.
- Rooted AT&T One X (not the HTC One X international variant)
- See our guide on how to root the AT&T One X.
- A Windows PC
- HxD – Freeware Hex Editor and Disk Editor
- ADB and Fastboot installed on your PC
- Enable USB Debugging on your phone. You can do this by heading to Settings > Developer Options > USB Debugging. Make sure that there is check mark beside that option.
- Backup all personal data on your phone to make sure you have a copy of your personal data (e.g., contacts, SMS, MMS, Internet settings, Wi-Fi passwords, and the like) in case the procedure in this guide erases such data.
- Connect your AT&T HTC One X to your PC via USB cable.
- On your PC, launch a command prompt and head to the directory where you’ve installed ADB.
- At the command prompt, enter the following commands:
dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p
- 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.
- Enter the command below at the command prompt. It will save mmcblk0p4 as a file in your present working directory.
adb pull /sdcard/mmcblk0p4
- Determine the size of the file that was saved to the directory. If possible, write it down on paper.
- Open the mmcblk0p4 file using HxD.
- 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.
- 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).
- Save the modified file as mmcblk0p4MOD.
- Compare the file sizes of mmcblk0p4 and mmcblk0p4MOD. Their file sizes should be the same. If their file sizes differ, do not proceed.
- Head back to the command prompt and push the modified file to the phone by entering this command:
adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD
- Go back to the Android shell and gain root privileges by entering the following commands:
dd if=/sdcard/mmcblk0p4MOD of=/dev/block/mmcblk0p4
- Restart your phone into Fastboot. You can do this by entering the following at the command prompt:
adb reboot bootloader
- When the bootloader screen comes up, enter this command:
fastboot oem readcid
- You should get a reading of “11111111″. This means that the previous steps worked successfully.
- 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
- Open your web browser and navigate to HTC’s Unlock Bootloader page.
- From the drop-down list on the page’s right sidebar, choose “All Other Supported Models.”
- Click the Begin Unlock Bootloader button below the drop-down list.
- Follow HTC’s official instructions for unlocking the bootloader from here onwards.
Congratulations! You have successfully unlocked your AT&T One X’s bootloader.