yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
If it's unbranded, you can just go to htcdev and unlock your bootloader, then flash TWRP 2.6 recovery, then flash the ROM of your choice.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
Well, it's my first post on here, i've been reading about rooting/custom roms etc. for a few months now and i couldn't seem to find a nice method to root my htc one xl. I just read here that all i need to do is to to unlock the bootloader, is that correct ? can i directly flash a recovery and a custom rom after that ? (i'd like to try cyanogenmod 11)

thanks in advance, and by the way i love this forum it's very enlightning.
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Yes. Unlock your bootloader, then you can install TWRP recovery, then you can install a custom ROM. You might need a firmware upgrade first though, what are your bootloader details?

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
It says :

Locked

EVITA PVT SHIP S-ON RL

HBoot 2.15.0000

radio-1.31a.32.45.16_2

Opendsp-v33.1.0.45.1128

Jul 18 2013, 13:16:10:-1
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Ok, that's fine. As long as the phone isn't an at&t model you can just go ahead and unlock at htcdev.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
And I guess it's best if i backup before the unlocking process ? and can i use twrp 2.6 for htc one x (att/evita) ? cause i don't find the one xl version...
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
The HTC One XL and the at&t One X are the same phone, they're both Evita. Yes you should make a backup first.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
thanks a lot man :) i'll try that this weekend and let you know if it worked :) i hope i'll be running cyanogenmod soon :)
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
Two more questions (i'm a little nervous it's gonna be my first time trying to do that...) : don't I need that superuser thing to flash a custom Rom ? Can I install the recovery from an app like goomanager or do I need to do it from the bootloader ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Superuser is a root app, it gives root, it actually has nothing to do with the ability to install custom ROMs. What you need to install a custom ROM is a custom recovery (TWRP), and to have a custom recovery you need an unlocked bootloader. It's possible to install TWRP via an app like Goo Manager but only once you already have root, so the first time you must do it via fastboot commands. Once your bootloader is unlocked I'll walk you through it.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
ok, so i'm trying to unlock the bootloader and everytime i proceed the step 9 which is the cmd "fastboot flash unlocktoken Unlock_code.bin" it tells me : "error : cannot open unlock_code.bin"...what shoud i do ? :s
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Can you copy and paste the text from the command prompt here?

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
C:\Users\Nicolas>fastboot flash unlocktoken Unlock_code.bin

error: cannot open 'Unlock_code.bin'

C:\Users\Nicolas>fastboot devices

HT25GW305804 fastboot

C:\Users\Nicolas>fastboot flash unlocktoken Unlock_code.bin

error: cannot open 'Unlock_code.bin'

C:\Users\Nicolas>fastboot flash unlocktoken Unlock_code

error: cannot open 'Unlock_code'

C:\Users\Nicolas>fastboot flash unlocktoken Unlock_code.bin

error: cannot open 'Unlock_code.bin'

---------- Post added at 04:05 PM ---------- Previous post was at 03:57 PM ----------

nevermind, it worked :) the unlock_code.bin was in the wrong folder :)
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Lol. That's what I thought.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
so now, i wanna install cm10.2 (i'll start with that one cause it's a stable version, i'll pass to 11 when it's stable), so i need to install twrp right ? can i do it straight from goo manager ? Or even rom manager ? Which one is best ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
You can't install TWRP from either of those apps the first time because they require root which you don't have until you've installed TWRP. So you need to do it manually. Download TWRP 2.6 from here. Put the file in your fastboot folder. Connect phone in fastboot mode, open command prompt from within fastboot folder, issue the following commands:

fastboot flash recovery "filename.img"

(the exact filename, minus the talking marks)

fastboot erase cache

fastboot reboot-bootloader

Now you have TWRP recovery on your phone. The next step is to make a backup of your current system to use as a failsafe. Enter TWRP from the bootloader by selecting recovery and it'll reboot into TWRP. Select backup from the main menu, check system/data/boot and swipe to backup.

Now you can install CM. Download cm10.2 (make sure it's for Evita or you'll brick), check the md5 matches, download the correct gapps package to go with cm10.2 also. Copy the boot.img from the root of the ROM zip and place it in your fastboot folder (we'll come back to this later).

Copy the ROM and gapps across to your phone. Enter TWRP, select wipe, select advanced wipe, check cache/dalvik cache/factory reset (data)/system and swipe to wipe. Once the wipe is complete go back to the main menu and select install, navigate to the ROM zip and select it, swipe to install, repeat this process with the gapps files. Wipe cache/dalvik cache again. Return to the main menu and select reboot, and then bootloader.

Once the phone has booted back to the bootloader connect it to your PC. Open a command prompt from within your fastboot folder (shift + right click anywhere within the folder and select open command prompt here), issue this command:

fastboot flash boot boot.img

This step is necessary every time you flash a new ROM or kernel for a phone that is s-on. If you get s-off you no longer need to do this, I strongly suggest you get s-off once you've booted the ROM up. Once the boot.img has finished flashing your can issue this command:

fastboot reboot

The phone should now boot up into your new ROM.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
Thanks man, my fastboot folder is the same as the one with the unlock_code.bin right ? Why is a s-off recommended ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Yes, the same folder, where you have fastboot.exe located. S-off is pretty much essential these days. It means no more flashing the boot.img manually when installing a ROM or kernel. It also means you can flash radios, remove the red warning text from your boot screen, flash firmware updates, change your CID as many times as you want, and run a jb RUU while having SuperCID without bricking, among other things.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
ok, backup done but now twrp asks me if i want to root my phone and install super user, do i have to do this ? isn't it easier if it's rooted or is it gonna mess the unlocked bootloader up ? or can i proceed directly the next step ? and also, how do i check if the md5 matches ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
You can install Superuser if you want to root the stock ROM but if you're going to flash a custom ROM there's no point. Use an md5 checking app to check the md5 of the downloaded file matches the md5 listed on the download page of the ROM.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
thanks again :) i'll try that tomorrow, i don't have enough battery right now, and i'll let you know if it worked :)
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
thanks man it worked :D i'm so happy and excited, feel like i have a new phone :)just wondering about all my old apps, when i unlocked bootloader and it deleted everything, when i signed in my google accounts again, they came back on their own :) if it's impossible i'll do it myself but it'd be pretty neat :) and also i can't find the developper options in the settings, so i can't set the debug mode again :s and last thing : if i want to flash another rom, let's say shoredroid 4.4 (i see you're using it, is it any good ? where did you get it ?) (or cm11 as soon as it's stable) do i have to follow the same steps ? transfer the zip into my phone, with the gapps (are the gapps the same for shoredroid 4.4 as for cm11 ?) and then go to recovery and flash it ? or can i do it with a rom manager app ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
So you installed Superuser and rooted your stock ROM? If so you can use an app called Titanium Backup to backup all your apps (including app data) to your internal storage (sd card). Then whenever you flash a new ROM you just install Titanium again and restore your apps using that instead of downloading them all.

To enable Developer Options go into Settings/About Phone/Software and click Build Number about eight times, this unhides it.

Shoredroid is actually pretty good, most of the 4.4 ROMs are. You shouldn't really worry about waiting for a stable release, nightlies are usually pretty solid. And put it this way, cm10.2 has only just gotten the stable release so you could be waiting a year for a stable of the cm11 ROM.

Our two development sections are here:

http://xdaforums.com/forumdisplay.php?f=1541

(mainly Sense ROMs)

http://xdaforums.com/forumdisplay.php?f=1726

(aosp ROMs)

Don't ever stray from our device forum, if you flash a ROM not meant for our device you could brick your phone. Many people accidentally wander into the international HTC One X forum. Here's our forum main page:

http://xdaforums.com/forumdisplay.php?f=1538

There are currently a few versions of KitKat (4.4, 4.4.2, and 4.4.2) and you need to make sure you use the correct gapps to correspond with the Android version number. The Banks gapps are what I use and I've never had an issue. So for example just Google search "Banks 4.4.2 gapps" if you're flashing a 4.4.2 ROM.

I don't suggest ever using an app to flash a ROM, always do it through recovery.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
Again, thank you very much :) i'm really glad you helped me though this i've been wanting to do it for a while but i never dared...i think i'm gonna play a little with cm 10.2 before changing :) thanks again for your help :)
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
No problems, any time.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
can i flash another gapps ? And if i do, do i need to uninstall the other one a way or another ?:
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
I'm not sure why you'd want to flash another gapps, but yes you can. You need to do a full wipe and flash the ROM and gapps though.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
because the first one i found was a minimal one (only a few apps) and i found a full one (with photosphere etc...) and i'd like to have this one :)
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
now that it's installed (cm 10.2 and gapps) can i delete the zips from my sdcard or do i need to keep them ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
I always keep at least one ROM and gapps on my sd card. That way if something ever goes wrong you have something on the phone to flash without relying on a connection to a PC.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
good idea :) last question (well, probably) why did you choose shoredroid over cm 11 ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
It's a personal choice for me. I flash pretty much every ROM available. I'm actually back on CFX 4.3 now, I just haven't updated my signature.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
My Telstra branded One XL is running software 5.08.841.3

Just wondering if the method described in the first post is still applicable? Or is there a different method for installing CM? Thanks!
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
This method is outdated now. You just need to unlock your bootloader at htcdev, install custom recovery, install ROM. From there you can get s-off and SuperCID after you have the ROM installed.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
deleted

---------- Post added at 10:50 AM ---------- Previous post was at 10:39 AM ----------

Thanks for the prompt reply. Just wondering is there a specific guide for the steps required now? Or is it the same as in the first post, but only need to look at the relevant steps?

Also, I thought s-off and SuperCID is required to write to NAND in order to flash custom ROMs, has that being changed as well?

Thanks!
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
S-off and SuperCID aren't required to flash ROMs, they never have been for this device. All that's required is an unlocked bootloader and custom recovery. S-off/SuperCID are required to flash some upgrades such are needed to flash certain ROMS or make certain ROMs work properly. Here's the steps you need.

Step 1. Go to htcdev and follow instructions there to unlock your bootloader.

Step 2. Install TWRP recovery. Download the modified version of TWRP 2.6.3.0 from here. Put the file in your fastboot folder. Connect phone in fastboot mode, open command prompt from within fastboot folder, issue the following commands:

fastboot flash recovery "filename.img"

(the exact filename, minus the talking marks)

fastboot erase cache

fastboot reboot-bootloader

Now you can select recovery from your bootloader to enter TWRP recovery.

Step 3. Install custom ROM to gain root.

Step 4. Get s-off.

Step 5. Get SuperCID by issuing this fastboot command:

fastboot oem writecid

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
Really appreciate the guidance and response

Sorry for another stupid question, this is my first HTC phone. When exactly is S-off/SuperCID required? From your reply, it seems that they are not needed for flashing CM ROMs, so I'm curious if I even need S-off/SuperCID
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
S-off and SuperCID aren't needed to flash any ROM. There's not a single ROM here that requires s-off for it to flash.

S-off is needed in order to flash radios, it's needed to run a jb RUU without bricking, it's needed so you won't have to flash the boot.img from a ROM/kernel with fastboot every time you change ROM/kernel, among other things. While these things might not seem important now, inevitably the time will come when you need s-off, without doubt.

SuperCID is only necessary for a couple of specific things but it certainly wouldn't hurt to do it for the 30 seconds it takes to write the fastboot command.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
Thanks for the clarification on S-off/SuperCID. The only non Nexus device I have had is a Samsung device, and that was pretty straight forward using Odin

I was a bit daunted by seeing a lot of new terminologies, and the talk of downgrade/upgrade touchscreen firmware and hboot, hence I have been putting off flashing CM for so long. Now I have nothing to do over xmas, thought I'll finally get around to trying out CM on my One XL

I will read a bit more before going ahead with it, but hopefully it'll all go smoothly

Thanks again!

---------- Post added at 11:56 AM ---------- Previous post was at 11:47 AM ----------

Hi, hopefully this will be my last question :silly:

Not completely sure on what you mean by open command prompt from within fastboot folder. Is that a folder on my PC that I should create and call it fastboot?

Also, what does it mean by open command prompt from within fastboot folder? Is that different from just going to start and running cmd.exe?

Thanks!
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Adb and fastboot are programs you install on Windows in order to communicate with your phone via usb cable. Google "minimal adb and fastboot" and you'll find a thread that explains how to install them easily.

You'll also need HTC drivers installed, you'll find a thread for those in our general section.

To open the command prompt from your fastboot folder you navigate to where fastboot is located on your PC, shift + right click anywhere within that folder, and select open command prompt here.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
Umm, bit of help please! Managed to unlock the bootloader, installed TWRP, then tried to flash CM10.2, and got an error message

Rebooted the device, and was back into the standard Sense ROM. Powered down to try and get back into recovery again, and now the phone won't boot

When I press the power button, the front capacitive buttons flashes, and then nothing helps. Tried to get into bootloader by holding down vol down button, got the same thing

Any ideas? Thanks
[AT&T, Rogers HTC One X, Telstra One XL] Madcat8686:
I've had this before. I hold the power key and volume down (while the buttons flash and stop flashing) until the splash screen comes on and the phone goes into bootloader. It is usually about 15-20 seconds after the buttons stop flashing. I'm assuming the phone is plugged into the charger.

Before trying this, let the phone sit on the charger for and hour or so.
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
I ended up solving it by doing what you described, I left the phone on the charger for awhile and managed to get into recovery, luckily I did a backup before wipe, and restored the backup

I just tried again and I keep on getting this message "error executing updater binary in zip"

I have checked the file and the MD5 is fine correct, not sure how to proceed now
[AT&T, Rogers HTC One X, Telstra One XL] Madcat8686:
Which rom are you attempting to flash?

(the reason I ask is that error is common for an attempt to flash 4.4 KK without a custom version of the current TWRP)
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
CM10.2 Stable
[AT&T, Rogers HTC One X, Telstra One XL] Madcat8686:
ok. Well it was worth a shot.

At this point, it's information time. In order to help you we need (I say "we" because somebody else will probably chime in and that's ok.):

1. the top five lines of your bootloader

2. Which version of TWRP do you have?
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
So I flashed TWRP 2.6.3 from TWRPs official site, then tried flashing cm10.2 again and it said success, now the phone won't go pass the boot screen

Just went into TWRP again, now my sdcard directory is empty and I can't flash either the back up or the CM file

The top five lines of bootloader is

EVITA PVT SHIP S-ON RL

HBOOT-2.15.0000

RADIO-1.31a.32.45.16_2

OpenDSP-v33.1.0.45.1128

eMMC-boot
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
You need to extract the boot.img from the ROM zip and flash it with fastboot because you're s-on.

fastboot flash boot boot.img

Sent from my Evita.

---------- Post added at 06:16 PM ---------- Previous post was at 06:15 PM ----------

Did you initially have the specific version of TWRP I gave you the link to?

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] Madcat8686:
Ok. You are S-On. That makes a difference when you flash roms. Not sure why your SD card was wiped but here's what we can do to sort this out:

1. mount the SD card in TWRP and copy the Rom file and GAPPS (4.3 GAPPS) over.

2. ON YOUR COMPUTER, unzip the Rom file and get the boot.img file out

3. ON THE PHONE, flash the Rom and the GAPPS.

4. Go into bootloader mode using the TWRP menu

5. In boot loader mode flash the boot.img file you puled out of the Rom zip. type "fastboot flash boot boot.img" without quotes.

That should get it.
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
I think I made the mistake of doing a factory reset in boot loader, just read about it in another thread. Looks like I'll have to connect it to a PC and format the partition, then load cm10.2 and try again. I didn't do the step with boot.IMG

Yes, I had the specific TWRP version in the link you provided, and that didn't allow me to flash cm10.2
[AT&T, Rogers HTC One X, Telstra One XL] Madcat8686:
From what I understand you never want to format the SD card in bootloader mode, always in TWRP or CWM (if you deliberately want to do so.) Apparently it can corrupt the memory.
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Yeah, that's something you never want to do. A factory reset performed in the bootloader corrupts your sd card. Only ever do that in TWRP.

Until you have s-off, every time you flash a ROM you need to also flash the boot.img from the ROM zip using fastboot. So once you've got the ROM booted up I'd suggest quickly getting s-off using the Rumrunner method.

It's interesting that the modified version of TWRP wouldn't flash that cm ROM, I've flashed 4.3 ROMs without any hassle before with it. Oh well, something learned, I'll have to adjust my instructions in future.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] Madcat8686:
I saw this mentioned today in the PAC ROM thread. Apparently not all previous roms are flashable with the new TWRP. I was going to experiment a little during my next wipe cycle. (Yes, I have the flashbug pretty bad....)

edit-- http://xdaforums.com/showthread.php?t=2520954&page=14 last post by OP. He recommends removing lines from script or flashing non custom 2.6.3.0
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
I'd never recommend altering an installer script, using the other recovery is probably the way to go.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] Madcat8686:
I was thinking the exact same thing. Maybe I'll find something more concrete testing a few roms.
[AT&T, Rogers HTC One X, Telstra One XL] aalin13:
Hey guys, thank you so much for helping me today. Just tried again after dinner, connected my phone to my PC, formatted the drive, copied across the CM10.2 file, then did the boot.img step as well, it is all up and running now!!!

Now waiting for all the apps to finish downloading, then going to do the S-off and SuperCID as the two last steps
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Good news.

Please press the thanks button on any posts you find helpful on XDA, it's how we show our appreciation around here.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] hfreire:
downgrade touchscreen

i can´t do Step 4, the post was deleted.

How can i downgrade touchscreen? is a new solution?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
This is really outdated now. You don't need to downgrade your ts drivers anymore unless you're planning on running an obsolete build of an aosp ROM.

Transmitted via Bacon
[AT&T, Rogers HTC One X, Telstra One XL] hfreire:
yes, i know but was the only workd for me, if i try with the last twrp or rom alway i get error.

i am nooby. please tell me some steps.:(

in hboot i have this,

------------------------------

UNLOCKED

Evita pvt ship s-off rl

cid- 11111111

hboot 2.18.0000

radio 0.24p 32.09.06

opendsp - v34.1.0.45.1219

eMMC boot

Dec 3 2013, 17:10:01 18952

--------------------------------------

this phone was bricked with

RUU_EVITA_UL_JB_45_S_Cingular_US_3.18.502.6_Radio_0.24p.32.09.06_10.130.32.34_release_signed_With_Partial

and repaired with riff box, now is working but without signal.

i can´t install the last openrecovery-twrp-2.8.0.1-evita, Error, autorestart,

i am using, openrecovery-twrp-2.6.3.0-evita - this is ok and old cm10 rom.

how can i update to the last recovery and rom?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Installing any version of TWRP that actually requires the ts drivers to be downgraded will result in not being able to install any recent ROM at all.

I'm guessing you bricked by running that RUU because you were s-on + SuperCID?

Now that you're s-off you can run any Evita RUU, so I'd do that as the next step to see if you can resolve your signal issue.

Transmitted via Bacon