[HTC One X] Alex240188:
There seems to be a lot of confusion in the air around either how to unlock your bootloader or how to install a new recovery.

I am writing this as a very easy step by step guide to do all the things necessary to get your new HTC One X ready to accept some custom fun so here goes nothing

Unlocking Your Bootloader

Words of warning - unlocking your boot loader will wipe your data partition

Things you have put on your internal memory will be fine but all of your apps etc will be gone.

Before we can even think about doing anything the first port of call is unlocking your bootloader.

As of the time of writing this there is currently no S-OFF method available so this is the only method of flashing a new recovery or boot image.

I'm going to keep this as simple as possible

1. Go Here "http://www.htcdev.com/" and create yourself an account on HTCDEV.

2. Download These Fastboot Files

3. Make a new folder on your C: drive called fastboot.

4. Extract The Zip downloaded in step 2 to the new folder

5. Go Here http://www.htcdev.com/bootloader/ and select "All Other Supported Models" and "then begin unlock bootloader"

6. Yes, Tick both Boxes, Proceed

7. Skip up to step 8 as we have all we need for the first 7 steps

8. Power off your phone by holding the power button down for 10 seconds

9. Power your phone on by holding power and volume down

8. Highlight Fastboot With Volume+or- then press Power

9. plug your phone into your PC and open a Command Prompt.

(windows XP - Click Start > Run > type CMD in box then press OK

(Windows 7 - Click Start > type CMD in search box then press Enter)

10. cd to your folder where we put fastboot files cd c:\fastboot

11. type this into your command prompt window fastboot oem get_identifier_token

12. select & copy the text as per step 9 on the HTCDev website

13. paste your identifier token into the box at the bottom and submit

You Will Very Shortly Receive an email from HTCDev with a link to the second part of the instructions and your "Unlock_code.bin" attached

14. download the "Unlock_code.bin" from the email and save it to the same folder that we extracted fastboot files to in step 2

15. type this into your command prompt window fastboot flash unlocktoken Unlock_code.bin

16. The Display Will change on your phone, press Vol + to accept and power to confirm.

Note you may get an error on screen or on your cmd window (cant remember which now) that says something about too many links. It is nothing to worry about and your bootloader will still unlock

Congratulations You Have Successfully Unlocked Your Bootloader

Now to the good stuff

Installing A Recovery

This one is very simple to do once you have your bootloader unlocked.

A thing to note; at present there is no USB-Mass Storage in recovery so if you are planning to install a custom rom i would get it put on the internal memory of your phone now rather than messing things up later and been unable to install it

(if you have follwed my unlocking guide skip to step 4)

1. Download These Fastboot Files

2. Make a new folder on your C: drive called fastboot.

3. Extract The Zip downloaded in step 1 to the new folder

4. The Official Version of CWM has been released and is now capable of flashing all roms, you can grab it HERE

5. download the custom recovery and save it in the same folder as you did the fastboot files

6. Power Phone Off by Holding power button for 10 secs

7. select Fastboot with volume + or - then press power

8. plug your phone into your PC and open a Command Prompt.

(windows XP - Click Start > Run > type CMD in box then press OK

(Windows 7 - Click Start > type CMD in search box then press Enter)

9. cd to your fastboot files folder cd c:\fastboot

10. type in your command prompt fastboot flash recovery name_of_recovery_image.img

in my case it was fastboot flash recovery recovery-clockwork-touch-5.8.2.7-endeavoru.img

Congratulations you now have a custom recovery

power off the phone by holding power for 10 seconds

power on the phone holding power+volumer down

choose recovery with volume +/- then power to select

You are now on your custom recovery

First Thing - Do A Nandroid Backup Of Your Current Rom In Case anything bad happens

Make sure you already have your new rom on your internal memory as you cannot enable mass storage in the current recovery builds.

Wipe then Flash your new Custom Rom

Or you can download the latest SuperSU binaries from HERE and install them Via Recovery to just root the stock rom

Hope this helps some of you