[HTC One X+] Lucky Thirteen:
HOX+ Tutorial for Unlocking, Rooting & installing a custom ROM [BEGINNERS FRIENDLY ]

[SIZE="+2"]-- Step-by-Step Tutorial for Unlocking, Rooting and Installing a Custom Rom for your HTC ONE X+ --[/SIZE]​

Here is my beginner friendly manual method for Unlocking, installing an alternative Recovery, Rooting and installing a custom ROM for HTC ONE X+

Why should you do it manually?

At first glance, an all in one tool to do the work for us seems a good idea, but what happens if a step fails? Do you know how to use the right tools to recover? Does your computer have the basics prerequisites installed to allow you to recover your device? In performing this task manually all the basic tools will be installed and in the event that some bugs occurs, at least you will have the certainty of having all the tools in hand to fix it. It is an easy task to obtain if you follow this step-by-step tutorial rigorously. All you need is in this thread, no need to search to find that file or that app, all you need is 30-60 minutes of attentive reading and performing the described procedure. If something goes wrong, read again and simply perform the procedure another time. Remember, you decided to root and customize your phone, no one can be held responsible for your action. If something goes wrong we are here to help, but if you have the ability to read, you should be able to perform this without a swear.

Be aware that the HTC ONE X+ comes in two versions, one version called INTERNATIONAL (ENRC2B) that come WHITOUT the so-called LTE technology.

Then the North American version for AT&T and TELUS (EVITARE_UL) version that comes WITH so-called LTE technology.

LTE is an initialism of Long-Term Evolution. To determine which version your phone is you can simply download an application called CID Getter from the Google Play store available HERE Simply open the program once installed and navigate to the line named [ro.aa.project]:[your version model]

ENRC2B is INTERNATIONAL

EVITARE_UL is AT&T / TELUS

Now that you know which version is your phone lets start with the installation of your SDK tool folder. ADB is a versatile command line tool that lets you communicate with your Android device. This tool is MANDATORY and will serve you very often. Let's do this.

-- Screenshots for the visual ones --

____________________________________________

[SIZE="+1"]-- Enabling USB debugging mode --[/SIZE]

On your phone simply follow this path : Settings -> Developer options -> Turn the option ON -> under Debugging -> tick USB debugging option Debug mode when USB is connected

That's it, done!

-- Screenshots for the visual ones --

____________________________________________

[SIZE="+1"]-- Java Installation --[/SIZE]

This is a prerequisite to have a flawlessly working SDK tool installation.

Click on the following link to download it on Java's website : Free Java Download

On the next page, do not click on Agree and Start Download, instead click on See all Java downloads.

Which should you choose? If you have a 64-bit Windows OS you MUST install the two versions (both 32-bit and 64-bit), otherwise the 32-bit is sufficient for a 32-bit Windows OS.

Before installing the latest version of Java, it is recommended to uninstall all previous Java's installation. (How to -> Remove Older Versions)

Complete the required installation depending of the type of Windows installation.

You are all done for Java.

-- Screenshots for the visual ones --

____________________________________________

[SIZE="+1"]-- SDK Tools Installation --[/SIZE]

First step is to download the SDK Manager, to do so click on this link -> Download the SDK

Next locate on the bottom of your screen the USE AN EXISTING IDE, click on it.

On the Get the Android SDK page, tick the I have read and agree with the above terms and conditions box and click on the Download the SDK Tools for Windows button.

Navigate to your Download folder, and locate a file named like this: installer_r21.1-windows.exe (N.B. The r21.1 version was available when I did this how to, your version could be different.)

Double click on the installer_r21.1-windows.exe file to start the installation. Take good note where the file will be installed, generally the default SDK path is : C:\Users\your_session's_name\AppData\Local\Android\android-sdk.

Now, navigate to the path of the SDK installation folder.

Select all (CTRL + A) in this folder and Copy (CTRL +C) them for the next step.

Now you need to create a new folder at the root of your C:\ drive named : AndroidSDK

Open up the newly created folder and Paste (CTRL + V) the previously copied files.

Stay in this folder and double click on the SDK Manager icon.

The SDK Manager will open a new window, click on Deselect All, then tick the following line in Tools : AndroidSDK Platform-tools

Click on Install 1 Package..., accept the license agreement and click on Install let the manager do it's thing.

Click on Done and close the manager's window.

Congrats! You have created successfully your SDK tool!

Wait! Let's clean your computer a bit....

Go back to the previous folder, the one located in this path : C:\Users\your_session's_name\AppData\Local\Android\android-sdk

Click on the Uninstaller, we don't need this one anymore. Don't worry the other AndroidSDK folder won't be deleted.

Voilà! You are done with this part.

-- Screenshots for the visual ones --

____________________________________________

[SIZE="+1"]-- Creating of script file for a fast access --[/SIZE]

Locate the Platform-tools sub-folder in the AndroidSDK folder.

Right click in a empty space of the folder and select in the contextual menu New -> Text Document

Open this new Text Document and Copy/Paste this : c:\windows\system32\cmd.exe

Save this file as : Start SDK.bat

Acknowledge the : If you change file extension... warning.

Right click your new created Start SDK and send a shortcut on your Desktop.

Done! If you try to double click on your Start SDK shortcut, a command window should open with something like these lines :

C:\AndroidSDK\platform-tools>c:\windows\system32\cmd.exe
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\AndroidSDK\platform-tools>

Success!

____________________________________________

[SIZE="+1"]-- Installing HTC's Drivers --[/SIZE]

This one is very easy, simply download and run the installer and let Windows do the rest. Drivers compatbile 32-bit or 64-bit

Download the Self-install HTCDriver_4.0.1.001.exe/

Make sure your phone is not plugged on your computer via the USB cable.

Simply run the installer of the driver you've just downloaded.

Once the installation is completed, simply plug your phone via your USB cable and Windows "wizard manager" will now detect your phone.

If it doesn't work, unplug your phone and reboot your computer. Then plug back your phone once rebooted.

Done!

-- Screenshots for the visual ones --

____________________________________________

[SIZE="+1"]-- Let's try all this! --[/SIZE]

With your phone plugged on your USB cable...

From your Desktop, double click on your Start SDK shortcut.

In the command window, at the command line : C:\AndroidSDK\platform-tools> type this -> adb devices (Enter)

The serial number of your phone should appear in the command window. If it is the case, then try this again : C:\AndroidSDK\platform-tools> type this -> adb reboot (Enter)

Your phone will now Reboot

If all this worked, you have a successful SDK Tools installation!

-- Screenshots for the visual ones --

____________________________________________

[SIZE="+1"]-- Unlocking your Bootloader --[/SIZE]

This step is mandatory since there is no other solution yet to unlock the bootloader on the ONE X+. !! PLEASE BE ADVISED TO BACKUP ALL YOUR DATA FROM YOUR PHONE'S USB MEDIA, THIS PROCEDURE WILL TOTALLY AND FULLY WIPE YOUR PHONE. ALSO, BE ADVISED THAT YOUR WARRANTY IS MOSTLY VOID !!

Before doing this you can visualize what is an unlocking procedure HERE. Or you can watch this video HERE

Ready?

To unlock your bootloader go to HTCDev create your account with a valid email address, then select on the right field : All Others Supported Devices and click on Begin Unlock Bootloader (If you followed this tutorial to the letter, your SDK tool/adb command should work flawlessly for this procedure.)

Follow the on screen instructions to get your Token ID.

To submit your Token ID you need to highlight everything between the two spades ♠< < < < <Identifier Token Start> > > > > ....token ID string.... < < < < <Identifier Token End > > > > >♠

Now simply right click and Copy/Paste in the correspondent field to submit.

You will received your unlocking code in your email account (almost instantly, check in your SPAM folder if it take more than 5 minutes) you registered with on HTCDev.

Complete the unlocking procedure and wait for your phone to reboot.

Congrats! The Unlocking process is successful!

____________________________________________

[SIZE="+1"]-- Recovery installation --[/SIZE]

Let's install your new recovery now. !! Be advised that installing CWM Recovery on this device is NOT RECOMMENDED, this recovery is untested, unreliable, unsupported and outdated. The ONLY recovery you should use on your HTC ONE X+ is TWRP Recovery !!

Download this TWRP Recovery for the International version (ENRC2B) : HERE MD5:0a708f4c27d69d2d1505ce7832d4b3be

Download this TWRP Recovery for the AT&T/TELUS version (EVITARE_UL) : HERE MD5:6e24a6686bc4840043a57cb61b63f22c

Once downloaded to simplify the operation rename your file like this : TWRPrecovery.img

Take this TWRPrecovery.img file and Copy/Paste it in the platform-tool of your SDK folder.

TIP : Since your are in the platform-tool folder you can create a batch file to open a command window right from your Desktop.

Do this directly into the platform-tools folder.

Right click on an empty space and select Create New text document

In the new text paste this : c:\windows\system32\cmd.exe

Save it with this name StartADB.bat (important to save it with .bat extension and overwrite the warning)

Now right click again on your new .bat file, and create a shortcut to your Desktop.

Now try to : adb devices your phone via your new Start ADB batch file directly form your Desktop shortcut with your phone plugged on your USB cable.

If you have a serial number as confimation you have done it right!

This a ONE TIME OPERATION TO DO, IT WILL WORK AS LONG AS THE SHORTCUT WILL BE ON YOUR DESKTOP.

Time to plug your phone on your USB cable if it is not already plugged.

Click on Start SDK, in the command window type at the prompt > adb devices (Enter)

Confirmation of the serial.

At the prompt type >adb reboot-bootloader (Enter)

The phone will reboot in bootloader mode.

Make sure the FASTBOOT USB is highlighted.

At the prompt type >fastboot flash recovery TWRPrecovery.img (Enter)

If Success is achieved, type again at the prompt >fastboot erase cache (Enter)

You now have TWRP Recovery installed.

Unplug your USB cable and hit Power button one time.

Select Recovery with your Volume rocker.

Hit Power button one time.

Your phone should reboot in Recovery

Familiarize yourself with it.

Click on BACKUP and perform a full backup of your actual ROM.

Once done REBOOT System.

-- Screenshots for the visual ones --

____________________________________________

[SIZE="+1"]-- Time to install the root --[/SIZE]

This is fast to obtain, simply download this SuperSU.zip file and transfer this at the root of your USB media (SD card).

You can now click on your Start SDK batch file from your Desktop to start a command window while your phone is still plug on the USB cable.

Type at the prompt > adb devices (Enter)

Then again at the prompt (if serial confirmation is positive) >adb reboot-bootloader (Enter)

Phone will reboot in Bootloader

Unplugged the USB cable

Hit Power button once

Select Recovery in the menu with the Volume rocker

Hit Power once to reboot in Recovery

Select Install

In the Select Zip to Install menu located your SuperSU.zip file

Click on it and in the new menu simply Swipe to Confirm Flash

Reboot system

You are done rooting your phone.

____________________________________________

[SIZE="+1"]-- Custom ROM installation --[/SIZE]

So far all is good and the above instructions were all successful as we expected now you want that wonderful ROM from that thread, right? This procedure is very simple, but one rule applied here : ALWAYS BACKUP YOUR ACTUAL ROM BEFORE FLASHING ANYTHING! Do transfer it on your computer and keep this file in a safe place follow this path to locate the TWRP folder. At the root of your SD card locate TWRP -> Backups -> your_One X+_serial_number -> You should have one file stamped with date and time. This is your backup you can rename it. Copy/Paste it and put it in a safe place in your computer.

Now the fun part begin!

Once you have selected the ROM for your model version INTERNATIONAL

OR

AT&T/TELUS, simply download it.

Take also the correspondent boot.img that need to be flashed just before or just after (doesn't really matter) the ROM installation.

Transfer your ROM.zip at the root of your internal storage of the HTC ONE X+ via your USB cable.

While the ROM is transferring on your phone, simply extract the boot.img that match your ROM, rename it for an easier recognition (i.e. Viperboot.img, Eleganciaboot.img, ARHDboot.img, etc) Copy/Paste it in your platform-tool folder (SDK)

Leave your phone plugged to your USB cable

Click on Start SDK, in the command window type at the prompt > adb devices (Enter)

Confirmation of the serial.

At the prompt type >adb reboot-bootloader (Enter)

The phone will reboot in bootloader mode.

Make sure the FASTBOOT USB is highlighted.

At the prompt type >fastboot flash boot insert_your_boot_image_name_here.img (Enter)

If Success is achieved, type again at the prompt >fastboot erase cache (Enter)

You now have a customized boot.img installed.

Unplug your USB cable and hit Power button one time.

Select Recovery with your Volume rocker.

Hit Power button one time.

Your phone should reboot in Recovery

(!! The following instruction are with TWRP Recovery installed !!)

Select Wipe menu, then select Factory reset (swipe), select System (swipe)

Go back to the Install menu and select it.

Locate your ROM.zip and select it.

Swipe to confirm.

Probably Aroma installer will start, simply follow the on-screen instructions and complete the installation.

!! Confirm the Rebooting option ONLY IF YOU FLASHED THE BOOT.IMG BEFORE ROM INSTALLATION !!

Otherwise select the Reboot Bootloader and perform the 4 to 8 steps

Reboot the phone.

-- Screenshots for the visual ones --

Your phone should Reboot with your new ROM, put your phone aside for ~10 minutes to let the new installation performing all it's task. Then you can customize your phone at your desire. Don't forget to reboot your phone when done.

Enjoy!