[GUIDE][ROOT] HTC One X9 Android 6.0 ROOT Method

sabpprook

Senior Member
Dec 8, 2011
268
366
0
Kaohsiung
0x00 Preparation

Here are something you will need.
1. HTC Driver
2. adb & fastboot

PC:
Install HTC Driver the decompress ADB-Windows.zip.

Phone:
Go to (Settings -> About -> Software information -> More -> Build number), Tap it 7 times to enable developer options.
Go to (Settings -> Developer options), Check OEM unlocking and USB debugging options.

PC:
Go to ADB-Windows folder and hold Shift + Right Mouse Click the click open command windows here.
Input the command below to test adb function.
Code:
adb devices




0x01 Unlock Bootloader

Input the command to reboot to download mode.
Code:
adb reboot download
Download mode is same as fastboot in bootloader on old devices, so you must to do UNLOCK, FLASH or RUU in download mode.

Go to HTCdev website to unlock bootloader, you can search many guides on Google.

0x02 Flash TWRP Recovery

TWRP 3.0.2-0
Reboot to download mode and flash recovery.
Code:
adb reboot download
fastboot flash recovery twrp-3.0.2-0-e56ml.img
After flash recovery, reboot to bootloader then BOOT TO RECOVERY MODE.



0x03 Format Data

Wipe -> Format Data -> type yes to format data



Please reboot to recovery after formatting.

0x04 Install SuperSU

Please download SuperSU v2.78, i've test this version and work like a charm.

Before flashing su, please ensure that BOOT image is stock.



 
Last edited:

sabpprook

Senior Member
Dec 8, 2011
268
366
0
Kaohsiung
Looks good. Have to questions: Will that also work for the DualSim version?
Is the TWRP not the test version, where need a password?
Thx a lot.

Sent from my LG-H961N using XDA-Developers mobile app
I have tested on dual-sim device (Taiwanese model) but single-sim devices, need volunteer to test it.

In this situation TWRP will request password, stock BOOT and boot into android once, in the meanwhile userdata will be encrypted.
BUT you won't do nothing if you flash TWRP, just format the userdata and install SuperSU, encryption doesn't matter anymore.
 
Last edited:

m3johan

Member
Sep 17, 2013
40
17
0
Säter
Do I have to root before I upgrade to the latest Android? 2.18.401.3
I have tried this and as soon as I install twrp the phone is soft bricked. It does not even start if I reinstall stock recovery.

Edit:
I tried again but this time I skipped this part:
0x03 Format Data

Wipe -> Format Data -> type yes to format data

Rooted and not soft bricked. :)
 
Last edited:

m3johan

Member
Sep 17, 2013
40
17
0
Säter
Now I use magisk.
I downgraded my phone to 2.17.401.1 (with RUU) and then updated via ota to 2.23.401.1.
Then installed TWRP. From there I installed all three files from the links in the magisk section. Booted into recovery and installed the two zip-files, this time I had to format data to be able to install.
When booted I installed magisk manager from my download directory and Phils superuser app from play store.
Checked root with Root checker to confirm. :)
 

gray54

Member
Sep 22, 2016
9
0
0
Hi, when I try fastboot flash recovery part, I get cannot load 'twrp-3.0.2-0-e56ml.img' message. What should I do?
 
Last edited:
Aug 1, 2016
16
1
0
Orlando
thank you so much, it worked greatly on my htc x9 dual sim.

---------- Post added at 05:46 PM ---------- Previous post was at 05:46 PM ----------

thank you so much, it worked greatly on my htc x9 dual sim.
 

kgpp2293

Senior Member
Feb 11, 2010
138
8
0
Melbourne
-.- folllowed instructions on single sim wont boot past htc logo. great job. should have informed us of password or something to actually allow full access so this doesnt happen. how to restore the phone as it wouldnt even let me do a backup in recovery before hand.... and your comments just said do it anyway
edit:
i may have swiped factory reset not format data. this may be my issue. just gotta wait 3 hours to download my original boot image now -.- will post back withupdate

#update:
flashed stock bootimg, recoveryimg and systemimg then flashed decrypted firmware and then the twrp rebooted into recovery instantly it mounted everything fine no password asked. formatted flashed su then booted and seems to be working fine just turning phone on now and says updating apps. thanks :) will post back with or if any issues
 
Last edited:

gray54

Member
Sep 22, 2016
9
0
0
-.- folllowed instructions on single sim wont boot past htc logo. great job. should have informed us of password or something to actually allow full access so this doesnt happen. how to restore the phone as it wouldnt even let me do a backup in recovery before hand.... and your comments just said do it anyway
edit:
i may have swiped factory reset not format data. this may be my issue. just gotta wait 3 hours to download my original boot image now -.- will post back withupdate

#update:
flashed stock bootimg, recoveryimg and systemimg then flashed decrypted firmware and then the twrp rebooted into recovery instantly it mounted everything fine no password asked. formatted flashed su then booted and seems to be working fine just turning phone on now and says updating apps. thanks :) will post back with or if any issues
Hey can u help me? When I try fastboot flash recovery part, I get cannot load 'twrp-3.0.2-0-e56ml.img' message.