AT&T HTC One X Bootloader Unlocked!

Many AT&T customers picked up a new HTC One X in hopes that someday HTC and AT&T would unlock the device’s bootloader. Time went by and the situation hadn’t changed and HTC even went as far as citing “restrictions” (see AT&T) that prevent them from unlocking the One X. As you can imagine people weren’t pleased with this situation and ultimately the Android dev community geared up for work. After a few weeks of hacking one crafty XDA member reached the triumphant goal before anyone else. Thanks to grankin01 we now have a round-about way of unlocking the “restriction” ridden bootloader of the AT&T’s One X.

The way in which this process works is by tricking HTC’s unlock tool into thinking the AT&T version of the One X is actually a Canadian One XL. A simple swap of the hex value now disguises the One X as a Rogers One XL and will now be granted full access to the unlock tool. The process is rather lengthy but is actually quite simple in theory so if you are familiar with adb and a hex editor you may want to give it a go. You must be rooted and if you have already manually upgraded your device to the recent OTA leak this will not work for you. If all this sounds like gibberish then I highly recommend waiting for an easier solution. A more user friendly option is bound to pop up sooner or later now that this method has been established.

Jump past the break for full instructions and be sure to head over to XDA to thank grankin01 for this method. 

As always, proceed at your own risk. No one is at falt for bricking your device other than you and THIS WILL ERASE ALL YOUR DATA!! That being said, good luck and let us know how it goes! :-D

Alright, once again, you do this at your own risk!
You need ADB and an understanding of how to use it and have a rooted device (although I didn’t test this). You will also need a hex editor like HxD.


1. Fire up your command prompt and go to the directory that you have ADB installed to. Type “adb shell” and hit enter.

2. Type “su” and hit enter. You now have root privileges.

3. Next type “dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4” and hit enter. This will dump the partition to your sdcard.

4. Next type “exit”, hit enter, type “exit”, and hit enter again. This should take you back to a command prompt for your computer.

5. type “adb pull /sdcard/mmcblk0p4” and hit enter.

6. Open the file (mmcblk0p4) with your hex editor.

7. Look for offset 00000210 and you should see CWS_001 with your IMEI number attached to it.

8. Change CWS_001 to ROGER001 and save the file as mmcblk0p4MOD.

9. Now go back to your command prompt and type “adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD” and hit enter.

10. Type “adb shell” and hit enter then type “su” and hit enter again. This will put you back into the android shell and give you root privileges.

11. Type “dd if=/sdcard/mmcblk0p4MOD of=/dev/block/mmcblk0p4” and hit enter. To test if it worked restart the phone into fastboot (type “adb reboot bootloader” and hit enter) and once the bootloader screen comes up type “fastboot oem readcid” and hit enter. It should read “ROGER001”.

12. Next type “fastboot oem get_identifier_token” and hit enter. Leave that up on your screen and go to Follow the instructions from there.

source: XDA
via: Android Police

About the Author: Stacy Bruce

Stacy Bruce was born and raised in Spokane Washington. He attended the University of Washington to study pre-med only to change his course study a year later to forensic science. Although currently not a doctor or a scientist, some believe he posseses the knowledge of both. He was a resident of San Diego California for ten years, lived beachside and sometimes wonders why the hell he moved back to Spokane. A multi-talented man, Stacy is a fabricator, an artist, a gear head, a tech junkie and at most, the disciple of Casanova. Growing up, he was always enthralled with electronics, gadgets and gizmos. Throughout his life he has had one, if not two, of every cool and new electronic device available. He began his smartphone experience with the original iPhone. After realizing it was more like theirPhone, he decided he wanted the ability to customize, so Stacy moved to the OG Droid and has been a loyal Android fanatic ever since. Moving through all of the top tier Verizon phones, he recently retired his Droid Charge in favor of the Galaxy Nexus, only to wonder what great device Samsung will come out with next. Stacy is a busy new homeowner in where he lives with his beautiful girlfriend and two dogs.

  • Superduty1985

    Wow to Much 2 do! Sounds like you need to b a total phone PC geek