AT&T HTC One X Receives Unofficial Bootloader Unlock Method


You may remember awhile back when we told you about the extra effort AT&T went through to lock down the HTC One X’s bootloader for their network (vs the international model). Well, it didn’t take long for those wacky devs on XDA to crack it, opening up the device to custom ROMs and modding. They even provided a handy walkthrough and if you’re handy with command lines, shouldn’t be too difficult. The coolest part about this method is when you’re done tinkering around, you can finish unlocking the bootloader the official way using HTCDev’s online tool. Full instructions below.

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 HTCdev.com. Follow the instructions from there.

Keep in mind, that method will erase everything on your device, so backup your personals accordingly. I don’t recommend anyone unlock their bootloaders unless they know full well what they’re getting themselves into. The world of flashing custom ROMs is dark and scary one. Don’t say I didn’t warn you…


Chris Chavez
I've been obsessed with consumer technology for about as long as I can remember, be it video games, photography, or mobile devices. If you can plug it in, I have to own it. Preparing for the day when Android finally becomes self-aware and I get to welcome our new robot overlords.

Week 3 TegraZone Anniversary Contest: Last Chance To Win! Tell Us The Next GTA Title You’d Like To See THD Optimized

Previous article

Samsung’s Galaxy S3 TouchWiz Ported To Galaxy Note, Galaxy S2 and… (Gasp) Galaxy Nexus

Next article

You may also like


  1. or just buy the gs3 in a week lol

    1. Downvotes into oblivion!!!!

      1. nooooooooooooooooo! lol

    2. It wont be on at&t in a week.

    3. this is what i’m doing. really tried to like the HOX but i guess i’m just a Sammy fanboy now.

  2. I like how it says tampered at the top. LOL

    1. If you just flash a RUU right after the tampered disappears

  3. Just a note CWS_001 should be CWS__001.

    1. Not like it would cause too much harm, but good catch. Fixed. :)

      1. I didn’t catch it someone on the forum did. At least one person bricked his phone cuz he did something wrong with that. When I did it I just made sure it said ROGER001 uploaded the file, then closed my eyes and rebooted.

  4. But you still have to go to HTC dev and void your warranty. :/

    Without XDA though, my life would be lost. So it’s still awesome and they deserve praise.

    1. True, this is why I don’t pay for extended warranties and I’m very careful to keep my phones protected in a case, I technically voided the warranty on my Rezound with HTC dev, but from everything I’ve heard they don’t actually check HTC’s database of unlocked phones, as long as you return the phone to stock before bringing it in, they usually honor the warranty, that’s Verizon though, AT&T could be different

  5. The one x is a beast, loving mine so far, I’ll hold off on rooting for a while

  6. hahhah …try juss on your droid…if uh want to change the same.

Leave a reply

Your email address will not be published. Required fields are marked *

More in Handsets