How to Unlock Bootloader and Root AT&T HTC One X/HTC One XL!

SO, you want to install custom ROMs on your AT&T HTC One X?

Well, you can now by changing CID on the AT&T HTC One X to 11111111, which will allow you to unlock bootloader using HTCDev.com.

Before we begin, you will need a rooted AT&T HTC One X, please see Root Any HTC One X! (If this root method doesn’t give you root, you might have a newer software version where HTC blocked root, you will have to wait until another root method is out)

NOTE: Unlocking Bootloader will erase all your settings and apps so make sure you make a backup of your apps using Titanium Backup app, backup SMS text using SMS Text Backup app, and I highly recommend using GMail for contacts (make a dummy account just for contacts).  Also make a backup of your storage to your hard disk just in case.

If you have a non-AT&T One XL model, then skip Step 5 through Step 9 and start at Step 9.5.

Step 1. Download OneXRootATT.zip and unzip, you will find a bunch of files.  Copy the file CWM-SuperSU-v0.87.zip to your AT&T HTC One X by connecting as a disk drive.

Sponsored Links


Download OneXRootATT.zip

Sponsored Links

Step 2. Change USB connection type back to “Charge Only”.

Step 3. Next, make sure “USB debugging” is checked ON under Settings->Developer options.

Step 4. For Windows, make sure you have drivers installed, you should see something like “My HTC” or “Android ADB”.  If you see Android 1.0 with exclamation mark, install drivers.

Download HTC One X 32-bit Windows drivers

Download HTC One X 64-bit Windows drivers

 

Step 5. Open a command prompt (or terminal for Mac and Linux) and type:

cd Downloads

cd OneXRootATT

adb shell

su

dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4

exit

exit

adb pull /sdcard/mmcblk0p4

For Linux, change all “adb” with “./adb-linux”.

For Mac, change all “adb” with “./adb-mac”.

Step 6. Open the mmcblk0p4 file (in OneXRootATT folder) with any HEX editor. (You can google for your OS)  Then find the line “CWS__001”.

Step 7. Change “CWS__001” to “11111111”.

Step 8. Save the modified file as “mmcblk0p4MOD“.

Step 9. Next type:

adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD

adb shell

su

dd if=/sdcard/mmcblk0p4MOD of=/dev/block/mmcblk0p4

exit
exit

Step 9.5

adb reboot bootloader

fastboot oem readcid

fastboot oem get_identifier_token

For Linux, change all “adb” with “./adb-linux” and “fastboot” with “./fastboot-linux”.

For Mac, change all “adb” with “./adb-mac” and “fastboot” with “./fastboot-mac”.

Step 10. Copy the token to your clipboard exactly like shown here:

Step 11. Go to HTCDev.com and login, if you don’t have an account already go ahead and register.  Once logged in, choose “All Other Supported Models” and click on “Begin Unlock Bootloader”.

Step 12. Next scroll down to bottom and click on “Proceed to Step 5”.

Step 12. Next scroll down to bottom and click on “Proceed to Step 8”.

Step 13. Next scroll down to bottom and paste your token.

Step 14. If you copied the token correctly, you should get “Token Submitted Successfully!” message.

Step 15. Go to your e-mail inbox and download Unlock_code.bin.

Step 16. Copy the file Unlock_code.bin to the OneXRootATT directory.

Step 17. Go back to command prompt/terminal and type:

fastboot flash unlocktoken Unlock_code.bin

Step 18. Your phone should now ask you if you want to “Unlock bootloader”.  Use Volume Up button to choose “Yes” and hit the Power button.  Your phone will reboot.

Step 19. Once rebooted, make sure “USB Debugging” is checked ON under Settings->Developer Options then type the following in command prompt/terminal:

adb reboot bootloader

Step 20. Next type:

fastboot flash recovery openrecovery-twrp-2.1.7-evita.img (updated with TWRP 2.2)

fastboot flash recovery openrecovery-twrp-2.2.0-evita.img
fastboot erase cache

This will flash a custom TWRP recovery to your AT&T One X.

Step 21. Next choose “RECOVERY” on your phone and Hit the Power button to enter TWRP recovery.

Step 22. Once in TWRP recovery, select “Install” and find the file you copied over in Step 1 CWM-SuperSU-v0.87.zip.

Step 23. Install the file and reboot.

Step 24. Once rebooted, you will find SuperSU app.

 

VN:F [1.9.20_1166]
Rating: 9.3/10 (3 votes cast)
How to Unlock Bootloader and Root AT&T HTC One X/HTC One XL!, 9.3 out of 10 based on 3 ratings

Want to stay updated on latest HTC One X Root news?
Sign up for our One X Root Newsletter here so you don't miss a single tip!
Categories: One X Root.
Check out other custom ROMs!