In this tutorial you will learn how to root your HTC Desire X running Jelly Bean 4.1.1. You will also be unlocking the Bootloader and installing a Custom Recovery on HTC Desire X. The process is fairly simple but does involve the risk of bricking your device, Hence I suggest you proceed with caution and at your own risk.
Before you do anything else, First Backup your important files like Contacts, SMS, Applications, Notes etc. This will come in handy once you wipe clean your device. You can find my guide explaining how to backup your android.
Once you have finished Backing up your essential files, Lets get started with rooting your HTC Desire X. I will be dividing the article into parts based on different tasks such as Unlocking bootloader, installing custom recovery etc. I suggest you create a New Folder on your Desktop or on any Drive where you can download all your HTC files and work on rooting.
Install HTC Desire X Drivers.
Before you start the rooting process, You need to have all the drivers setup on your computer so that the process finishes smoothly else you might need to pause in between and keep installing new drivers that it finds. So why not have it all setup in the beginning itself?
Step 1. Download the latest HTC Driver Installer.
Step 2. Install the package you just downloaded.
Step 3. Enable USB Debugging in your Android, To do that visit Settings > Scroll down to Developer Options (turn it ON) > Tick the USB Debugging option.
Step 4. Turn OFF your HTC, Connect your Phone to PC via USB > Turn ON the phone. Let Windows install any other drivers it might find.
Setup Android SDK.
This part is essential and will prove highly useful in future. So atleast have the SDK downloaded.
Step 1. Download Android SDK.
Step 2. Extract the ZIP to a folder.
Now the most useful part in this SDK for you at the moment will be the \sdk\platform-tools folder because it contains the ADB and Fastboot files.
Unlock HTC Desire X Bootloader.
Unlocking bootloader gives you access to certain partitions of the system that are inaccessible to normal users. These include the Boot partition, System partition and recovery. After you unlock bootloader, You can make changes to these partitions which in short lets you flash custom recovery, ROM and other custom mods. Hence this forms the base of Rooting your HTC Desire X.
Unlocking Bootloader Factory Resets your Device, So once I again I urge you to take backups.
Step 1. Register an Account on HTC Developer Site and verify your Email.
Step 2. Download this WinDroid HTC Desire X Toolkit.
Step 3. Extract the Zip and Run WinDroid HTC Desire X Toolkit.exe as Administrator.
Step 4. Click on Get Token ID, Your device will boot into Bootloader and a Command Prompt will appear which you need to close.
Step 5. After you close that window, Another Command Prompt will appear with a long series of strings. From that command prompt, Copy everything from <<<<Identifier Token Start>>>> to <<<<Identifier Token End>>>>.
- To copy, Right click on the black window > Select All. Then press Ctrl+C > Open a new Notepad and paste it there.
- Erase everything above the <<<< Identifier Token Start >>>> and below the <<<<< Identifier Token End >>>>> lines. Also use Search and Replace to remove the INFO word from every line.
Step 6. Re-login to your HTC Dev account in case the session expired, Then Click on Submit Token ID button > Scroll to the bottom of the page that opened and paste in your Identifier Token and click Submit as shown in the image below.
Step 7. Login to your Email Account with which you registered on HTC Dev, Look for an Email from HTC Dev which contains your Bootloader Unlock Binary File, Download it.
Step 8. In case you are still in the Bootloader mode, Use the Volume Buttons to choose REBOOT option and press Power Button to reboot your device, Now Click the Unlock Bootloader button on WinDroid and follow the onscreen instructions to unlock your Bootloader successfully.
Step 9. To check if you have successfully unlocked your bootloader or not, Go to the sdk/platform-tools/ folder and open a Command Prompt in this folder (Tip : Press Shift and Right click anywhere in the folder > Open command window here).
Connect your Phone via USB.
Type this command into command prompt.
Step 10. Once you are in the Bootloader, Check if you see a *** UNLOCKED *** text on the top of the screen. If so you have unlocked your HTC Desire X Bootloader else redo the steps.
Install TWRP Custom Recovery on HTC Desire X.
Custom Recovery is essential to flash ROMs and other Mods, Also you can take Nandroid backup of your HTC Desire X with a Custom Recovery installed. You can either use the One Click option in WinDroid to install the Custom Recovery or follow this manual method.
Step 1. Download TWRP Custom Recovery for Jelly Bean HBOOT.
Step 2. Copy the recovery.img file to your sdk/platform-tools/ folder.
Step 3. Open command prompt there and enter the following commands.
To reboot your phone to bootloader.
adb reboot bootloader
To Flash the custom recovery.
fastboot flash recovery recovery.img
fastboot erase cache
To Reboot your phone.
Step 4. Now you have installed a custom recovery on your HTC Desire X. To boot into Custom Recovery, Either turn OFF your phone then press and hold the Volume Down button and Power button or else enter the following command in platform-tools folder.
adb reboot recovery
Root HTC Desire X
Now you have completed 90% of the tasks, Now you just need to install the Super User binary in order to gain root privileges on your HTC Desire X.
Step 1. Download the latest SuperSU Flashable Zip.
Step 2. Copy it to your SD Card.
Step 3. Boot to Custom Recovery (method shown above).
Step 4. Select Install > Browse to your SD Card and Select the SuperSU Zip and Swipe to Confirm Flash.
Step 5. Go Back and Reboot > System.
Now you have successfully Rooted your HTC Desire X.
To check if you are rooted or not, Install Terminal Emulator app from Play Store and Open it. Type in ‘su’ without quotes and press enter, If a popup appears asking you to Grant or Deny root access then your device is rooted.
WinDroid HTC Desire X Toolkit Thanks to WindyCityRockr.
TWRP Custom Recovery Thanks to neXus PRIME.
SuperSU Thanks to Chainfire.
Now that you are rooted, Endless possibilities to increase your device’s performance and appearance has been unlocked. I will be writing a tutorial to install custom kernel on HTC Desire X and many more related guides.
If this article helped you, Share it with your friends on Facebook, Twitter and Google Plus.