yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Ok I can see a couple of problems. First, this line that you entered is incorrect:

C:\AndroidSDK\platform-tools>adb push ownage /data/local/tmp/phasel.sh

It should be:

C:\AndroidSDK\platform-tools>adb push ownage /data/local/tmp/phase1.sh

(You entered phasel when it should be phase1)

You also completely forgot the fourth command, which is:

C:\AndroidSDK\platform-tools>adb shell chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox

That should have come before the adb shell command.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] kevintran.98:
So it should be like this right?

Is this right ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
That looks right to me now.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] kevintran.98:
nvm
[AT&T, Rogers HTC One X, Telstra One XL] devonspector:
Hi all ,

Pulling out my hair with trying to SuperCID and S-off my Rogers HTC One X.

When trying to SuperCID I repeatedly get this error:

shell@android:/ $ ln -s /data/local/tmp/busybox /data/local/tmp/sed

/data/local/tmp/xpwn

ln -s /data/local/tmp/busybox /data/local/tmp/sed

link failed File exists

255|shell@android:/

Any thoughts? I've tried the AIO toolkit, and doing it manually. Tried it many times now. I have been able to Tamper, unlock and SuperSU my phone but can't SuperCID and S-OFF.

Any help would be great.

Thanks!
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
This method won't work, this is only used for at&t phones to get temp root and SuperCID so they can unlock the bootloader. Have you tried the hex edit method?

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] linkinhas:
Hi guys i'm stuck in the shell step with "link failed file exists" when i copy " ln -s /data/local/tmp/busybox /data/local/tmp/sed

/data/local/tmp/xpwn"

what i'm doing wrong ?

HTC One X

Operator : ATT&T

firmware:3.18

Os : Windows 7
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
I got the same error many times. So I just did a factory reset and works. If you can, use Windows XP
[AT&T, Rogers HTC One X, Telstra One XL] cronikman84:
:good: he's right, last night the same happened to me using my Windows 7 pc, so i gave the phone a factory reset i believe from the bootloader, yeah i lost all of my apps but i no longer got the "link failed file exists" and it worked right away with no issues :victory:...i had gotten the error many times also but factory reset will fix the errors...Thanks diecastrofor the FIX :D, you saved me hours of searching on forums...Now my bootloader is unlocked and tempered, now all i have to do is root my phone so i can flash a custom rom...
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
I'm glad to help you
[AT&T, Rogers HTC One X, Telstra One XL] linkinhas:
I did a factory reset but nothing is happening when i tape the last line

i copied pasted this line :

ln -s /data/local/tmp/busybox /data/local/tmp/sed

/data/local/tmp/xpwn

here is my screen capture
[AT&T, Rogers HTC One X, Telstra One XL] diekastro:
http://xdaforums.com/showpost.php?p=41830252&postcount=201

Your error: adb shell chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox

You should use this command with the shell

chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox

ln -s /data/local/tmp/busybox /data/local/tmp/sed

/data/local/tmp/xpwn

So should be like this:

shell@android:/ chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox

shell@android:/ ln -s /data/local/tmp/busybox /data/local/tmp/sed

shell@android:/ /data/local/tmp/xpwn

I think you are using the steps for linux, se the link for windows users.

Good luck
[AT&T, Rogers HTC One X, Telstra One XL] linkinhas:
Thank you very much bro , it works for me :)

i unlocked my bootloader , but then what ?which TWRP do i have to flash in order to root my phone ?
[AT&T, Rogers HTC One X, Telstra One XL] exad:
They will all do it... use the latest.
[AT&T, Rogers HTC One X, Telstra One XL] linkinhas:
i did all the steps but no su after reboot, can i flash the twr without having superuser application ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
You need TWRP recovery to flash Superuser.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] linkinhas:
I unlocked my htc one x , but i dont have superuser after reboot , so what's the next step ?
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Like I said you need TWRP recovery to flash Superuser. So you need to flash the TWRP recovery, then you can flash a custom rooted ROM or flash Superuser to root the stock ROM. You also need to do a lot more research before you continue any further, you lack the most basic understanding of what you're doing. This stuff isn't simple, if you don't know what you're doing you shouldn't be doing it until you do. Without the correct knowledge you're running the risk of bricking your device.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] linkinhas:
Thank you for your advices , i already rooted my android phones before ,but with the at&t its a little more complicated that's why im looking for a tutorial :)
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Rooting another Android phone in the post doesn't give you the knowledge you need to be confident with this device, each device has its own quirks. Like I said though, if you've unlocked the bootloader now you need to install TWRP recovery in order to root the phone.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] linkinhas:
i flashed TWR with the cmd fastboot flash recovery x.img i used the last one ,i installed the superuser :D , which rom do u advice me ? stable & fast ..
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Asking which ROM is best/most stable/fastest/prettiest/favourite isn't allowed here so I can't answer that. The reason is because to say one ROM is better is to infer that the other ROMs are inferior in some way, this isn't fair to the devs who spend a lot of their spare time providing us with these ROMs for free. They're all good for their own reasons, and really it comes down to personal preference anyway. What I might think is great, you might not like. Have a look through the ROMs that are available and find one you think you'll like, if you don't like it you can just flash another one.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] linkinhas:
That's what i'm doeing right now , many thanks for ur time :)
[AT&T, Rogers HTC One X, Telstra One XL] EladLeev:
Work for me!

Pay attention that "adb shell "/data/local/tmp/xpwn" is exec file.

:good:
[AT&T, Rogers HTC One X, Telstra One XL] jnthnbgg:
Any video instruction?

I have done multiple Samsung phones but this is my first HTC which I am quite happy with. It has been a while since i have dabbled with this and as most things go, you don't use em you lose em. Has anybody posted a video of this process yet. I did some videos for my Samsung phones and they are incredibly helpful to those less familiar. I ask also because I am quite less familiar with the HTC and take a bit more security in having a video guide to go along with written instruction. So if there is a video a link would be great or maybe somebody should think about making one and linking it on this post.
[AT&T, Rogers HTC One X, Telstra One XL] pmb1903:
Is there a toolkit out now for the at&t one x? I need some guidence here as this is my first HTC I've done many brands and it looks as this one is a bit tricky. Currently I'm running.

Android 4.1.1

Sense version 4+

Software number 3.18

HTC Sdk 4.63

HTC ext version sense 45_2.

My goal is to flash a stable sense 5 rom after unlocking rooting and custom recovery.

Is there a toolkit out now for windows or is it strictly adv for now. I've done some things on adb but I kinda still struggle a little bit with commands. My computer is currently running xp. Thanks in advance guys...'ll And can someone please confirm if I have an one x or an xl. Because I'm kinda getting tossed between threads by different poeple stating I should be one place and not another.
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
This guide should be really simple. You can't possibly struggle with the commands as it lists them exactly as they need to be entered. If you want to run Sense 5 you'll need to flash a firmware update which requires adb/fastboot anyway, so it's best to get used to it now. This is the only thread you should be looking in to unlock the bootloader on your phone with your current firmware. Once you've unlocked the bootloader you can install TWRP recovery, install root, get s-off, upgrade your firmware, and flash a Sense 5 ROM.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] pmb1903:
Thanks for the fast reply ...So is this method linux only? Or do I have to do this the windows manual way?
[AT&T, Rogers HTC One X, Telstra One XL] myusernam3:
Yup. Connect the phone via USB and run the script. If there's any error at all please do share it so I can fix it.
[AT&T, Rogers HTC One X, Telstra One XL] delacerda:
I get this in Terminal when running pwn.sh:

:~/Desktop/xpwn$ ./pwn.sh
2909 KB/s (1283460 bytes in 0.430s)
3147 KB/s (811432 bytes in 0.251s)
6 KB/s (274 bytes in 0.040s)
link failed File exists
[+] This may take a few minutes.
[+] Success!
2+0 records in
2+0 records out
1024 bytes transferred in 0.006 secs (170666 bytes/sec)
2+0 records in
2+0 records out
1024 bytes transferred in 0.001 secs (1024000 bytes/sec)
/data/local/tmp/phase1.sh[3]: ./sed: not found
0+0 records in
0+0 records out
0 bytes transferred in 0.001 secs (0 bytes/sec)
[AT&T, Rogers HTC One X, Telstra One XL] myusernam3:
does your phone still work? I wrote this at 3 in the morning so I'm very sorry if it broke.

./adb.linux shell ln -s /data/local/tmp/busybox /data/local/tmp/sed

This line should work fine, but apparently it doesn't. Let me go ahead and fix that by removing the need for symlinks entirely.

There will be a new upload in just a few minutes. VERY sorry if that busted your phone.
[AT&T, Rogers HTC One X, Telstra One XL] Arrow44:
root@bt:~/Downloads/xpwn# ./pwn.sh

3749 KB/s (1283460 bytes in 0.334s)

2651 KB/s (811432 bytes in 0.298s)

6 KB/s (274 bytes in 0.040s)

[+] This may take a few minutes.

[+] Success!

2+0 records in

2+0 records out

1024 bytes transferred in 0.001 secs (1024000 bytes/sec)

2+0 records in

2+0 records out

1024 bytes transferred in 0.002 secs (512000 bytes/sec)

/data/local/tmp/phase1.sh[3]: ./sed: not found

0+0 records in

0+0 records out

0 bytes transferred in 0.001 secs (0 bytes/sec)

This is what I got and if im not mistaken there should be a cid number in bootloader? There is nothing about cid there, but it does say TAMPERED at the top.

Edit: Do not mind my stupidity at the cid
[AT&T, Rogers HTC One X, Telstra One XL] delacerda:
Phone still works. Checked CID and it is still CWS__001. Bootloader, however, is now showing "Tampered". Thanks!
[AT&T, Rogers HTC One X, Telstra One XL] myusernam3:
You lucky bastard.

I uploaded the new .tar.gz and this one should work this time.

You might have to restore your backed up CID from /sdcard/backup.cid by replacing /data/local/tmp/phase1.sh with a file that just contains "sh", and then running "dd if=/sdcard/backup.cid of=/dev/mmcblk0p4" as temp-root before trying the exploit again.
[AT&T, Rogers HTC One X, Telstra One XL] nhshah7:
could you write out a guide for doing it manually? I may be a little old school but I like to know what scripts are actually doing. From reading your scripts, it looks like pwn.sh is pushing all the necessary files which then allows oneXchopper to give temproot. From there, it looks like the ownage script is being run and that's doing the actual edits for CID. I don't see, however, where oneXchopper is actually run.
[AT&T, Rogers HTC One X, Telstra One XL] myusernam3:
Yeah. I'll write up a quick guide and have it up in a few minutes.
[AT&T, Rogers HTC One X, Telstra One XL] 18th.abn:
........EATING MY OWN WORDS.........

Your the man! I apologize for jumping the gun here!!:o
[AT&T, Rogers HTC One X, Telstra One XL] myusernam3:
It didn't brick his device. This is why I had it make backups, and I did post a warning in my very first post, ya know.

Here's the manual way, by the way.

adb push oneXchopper /data/local/tmp/xpwn

adb push busybox /data/local/tmp/busybox

adb shell chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox

adb shell ## Start an interactive shell. The rest takes place on the phone.

cd /data/local/tmp

echo "sh" > phase1.sh

./xpwn ## You now have root!

dd if=/dev/block/mmcblk0p4 of=./tmp

./busybox sed 's/CWS__001/11111111/' tmp > new

dd if=./new of=/dev/block/mmcblk0p4

exit ## Exit root shell

exit ## Exit ADB shell, the last command is run on your computer.

adb reboot bootloader

Ingrate.
[AT&T, Rogers HTC One X, Telstra One XL] 18th.abn:
It's only my 2 cents here.

Lastly, root access doesn't give you the ability to write to mmcblk0p4.

I'll move along now.
[AT&T, Rogers HTC One X, Telstra One XL] myusernam3:
Why did it work for me, then? My bootloader was unmodified, locked, and S-ON.
[AT&T, Rogers HTC One X, Telstra One XL] nhshah7:
great, thanks. how does the ownage file come into play?
[AT&T, Rogers HTC One X, Telstra One XL] Scott:
Can you insmod without root access?
[AT&T, Rogers HTC One X, Telstra One XL] myusernam3:
It's copied to phase1.sh, which the exploit runs after getting root. It's just any arbitrary payload. The one I included writes to mmcblk0p4.
[AT&T, Rogers HTC One X, Telstra One XL] nhshah7:
I don't see that in your code, though.

adb push oneXchopper /data/local/tmp/xpwn
adb push busybox /data/local/tmp/busybox
adb shell chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox
adb shell ## Start an interactive shell. The rest takes place on the phone.

cd /data/local/tmp
echo "sh" > phase1.sh
./xpwn ## You now have root!

dd if=/dev/block/mmcblk0p4 of=./tmp
./busybox sed 's/CWS__001/11111111/' tmp > new
dd if=./new of=/dev/block/mmcblk0p4

exit ## Exit root shell
exit ## Exit ADB shell, the last command is run on your computer.

adb reboot bootloader
[AT&T, Rogers HTC One X, Telstra One XL] myusernam3:
We're writing "sh" to that payload instead of using the included one, that's why.
[AT&T, Rogers HTC One X, Telstra One XL] delacerda:
Confirmed! Stock AT&T OneX on 3.18 JB 4.1.1. SuperCID 11111111 , HTC Dev bootloader unlocked, TWRP recovery installed, perm rooted.
[AT&T, Rogers HTC One X, Telstra One XL] myusernam3:
Congratulations, you're the first. Enjoy.

Looks like somebody's wrong. Jerk.
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
You can use the manual method for Windows.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] pmb1903:
Question

ok. thanks again for the reply. where exactly can i get the onexchopper,busybox,and ownage files that i need to put into the platform tools folder?

and i have a question regarding the second step in the manual method about installing twrp. when it says imput the command at the website above,what exactly will i be doing when i do that. sorry for asking but id rather be safe then just go about what i think and could be wrong
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
The files are in the xpwn download at the bottom of the first post. It doesn't say anything about installing TWRP here, right after this you need to go to htcdev and unlock your bootloader. Once you've unlocked your bootloader you can install TWRP. TWRP is a custom recovery which you can use to make backups of your current system, restore backups, wipe your caches, data, and system (in preparation for installing a ROM), installing ROMs/kernels/radios/anything flashable.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] pmb1903:
Trouble with manual method

ok so i have the 3 files needed in the platform tools folder. i opened the command prompt in the platform tools folder. actually i was in program files and right clicked on the folder and selected open command prompt here. win xp wouldnt actually let me do this inthe folder itself but i actually clicked on the folder itself and opened one. ok so i typed in adb devices and check...it sees my device so i type in adb shell. on the first line i typed in the commands given. and adb shell said busybox not found. i double checked and its in the platform tools folder. question... do i have to type all 3 lines together or press enter after each one. there are spaces in the command lines im supposed to be imputing. should i be using spaces like the op has word for word. and if i do have to type in all 3 lines at once how do i go about doing that just hold in space until i reachthe next line and continue? sorry guys im just a little confused. i have everything installed that im supposed to and files where they need to be but i just think im doing something wrong when im imputing the first 3 lines

and i see in the op i do this before i unlock the bootloader right?
[AT&T, Rogers HTC One X, Telstra One XL] pmb1903:
did i do something wron wrong?

im wondering what im doing wrong here guys this is a copy/paste of my cmd.exe prompt from the platform tools folder

C:\Program Files\Android Sdk\adt-bundle-windows-x86-20130917\sdk\platform-tools>

adb devices

List of devices attached

HT288W302725 device

C:\Program Files\Android Sdk\adt-bundle-windows-x86-20130917\sdk\platform-tools>

adb push onexchopper /data/local/tmp/xpwn

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

1098 KB/s (1283460 bytes in 1.140s)

C:\Program Files\Android Sdk\adt-bundle-windows-x86-20130917\sdk\platform-tools>

adb push busybox /data/local/tmp/busybox

357 KB/s (811432 bytes in 2.218s)

C:\Program Files\Android Sdk\adt-bundle-windows-x86-20130917\sdk\platform-tools>

adb push ownage /data/local/tmp/phase1.sh

0 KB/s (301 bytes in 1.000s)

C:\Program Files\Android Sdk\adt-bundle-windows-x86-20130917\sdk\platform-tools>

adb shell chmod 755 /data/local/tmp/xpwn /data/local/tmp/busybox

C:\Program Files\Android Sdk\adt-bundle-windows-x86-20130917\sdk\platform-tools>

adb shell

shell@android:/ $ In -s /data/local/tmp/busybox /data/local/tmp/sed

In -s /data/local/tmp/busybox /data/local/tmp/sed

/system/bin/sh: In: not found

127|shell@android:/ $

If someone could help me out it would be greatly appriciated as it looks i almost made it through lol
[AT&T, Rogers HTC One X, Telstra One XL] pmb1903:
Can someone confirm what I did wrong here please
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
It's possible you made a typo on the last command, did you type it manually or copy and paste from this guide?

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] pmb1903:
I typed it manually in adb while looking at the op. But although I am quite unsure how it's supposed to be typed and I thought it's supposed to look like what's exactly in the op. But I think I'm gonna try this toolkit out now over on android central. Looks pretty legit to me. I'm gonna try it and I'll post my results in both forums. Looks like a windows based toolkit for jelly bean is much needed here in xda for the hox. It could help a lot of poeple out with the whole not having a linux system thing. I really appriciate your help timmaaa.
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Ok but just make sure it's for the HTC One XL / at&t One X and not the HTC One X, other sites don't properly distinguish between the two models so you could do some serious damage. I'd suggest just trying this again and copying the text from this guide into the command prompt. Anyone with any experience will advise you to never follow guides from other sites for the above reason. Nothing against Android Central but they're simply not setup like XDA, they're great as a news site but in terms of modifying phones they leave a lot to be desired. Toolkits only significantly decrease the amount you're actually learning during the whole process, and learning is an absolute must because a certain level of knowledge is required to modify your device.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] pmb1903:
It would be cool if somebody could do like I did in one of my previous posts and copy and paste everything that's done, typing,processes by adb,and what it looks like when completed. Starting with adb devices and ending in adb reboot bootloader. Just copy and paste the whole window. It would probly save the devs and others from answering a crap ton of Q's and A's. Lol But that's probly gonna happen anyway. it would provide an overall clearer view on everything about the manual process though and help anybody out who's like me who hasn't really messed around with adb that much.

I miss my g1 when all I had to do I copy and paste a recovery.img to a file and reboot lol. :D
[AT&T, Rogers HTC One X, Telstra One XL] rassawyer:
Just to confirm... I'm looking into this for a friend, and he had somebody else look into it previously and they told him that it was really complicated to unlock the bootloader because AT&T had it locked down on top of HTC's lock. Just trying to confirm that these are the steps necessary for the AT&T variant of the One X running stock 4.1.1 If someone can verify that for me I would be much delighted. I can't afford to relplace the guys phone because I screwed something up...
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
If the phone is truly completely stock and running Android 4.1 with the 2.14 firmware this is the right method for you. Whoever told him it's complicated was right. At&t had htcdev block phones with the AT&T CID (CWS__001) from getting the bootloader unlocked, this method gains temp root and gives the phone SuperCID (11111111). One you have completed this you can go to htcdev and unlock the bootloader.

Sent from my Evita
[AT&T, Rogers HTC One X, Telstra One XL] theNaz:
I am also getting this link failed File exists error. What does this error mean?

I am using a HTC One X (older model).

Running Android 4.1.1

Sense 4+

Software number 3.18.502.6

HTC SDK API level 4.63

with kernel 3.4.10

I was able to complete the next step even after getting the link failure as shown by this poster

When trying to check the CID it says waiting for device and just idles

Any ideas why this would be happening- my phone works perfectly fine - So I am just going to await on a response. Will this solution work for me? Am i missing a step?

I have the SDK installed on my computer...Thanks in advance!

-Joe
[AT&T, Rogers HTC One X, Telstra One XL] theNaz:
I haven't done anything with my bootloader really. I downloaded WinDroid HTC One X Toolkit 3.0 and tried getting my bootloader key but that didnt work. I tried the X Factor windows solution but that didnt work either. So i was about to give up and saw this thread and think this is the solution i need.

I haven't really unlocked my bootloader successfully. I thought I need to root first...

BOOTLOADER INFO

EVITA PVT SHIP S-ON RL

HBOOT-2.14.0000

RADIO-0.24p.32.09.06

OpenDSP-v34.1.0.45.1219

eMMC-boot

Any advice will be greatly appreciated.

-Joe
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
I'm guessing you have fastboot installed, what do you get returned when you issue the following commands?

fastboot oem readcid

fastboot getvar all

Please post the results. Edit the IMEI out on that second one.

Sent from my Evita.
[AT&T, Rogers HTC One X, Telstra One XL] theNaz:
I will post my results when I get out of work today. Probably in like 6-7 hours.
[AT&T, Rogers HTC One X, Telstra One XL] theNaz:
Ok i am off work...

I did what you said in command prompt and it just says

<waiting for device>

I did this for both commands

when I go to my computer and I can see my htc one x and view all my files so I have no idea why it cannot connect via fastboot or adb now...

any suggestions? uninstall htc sync manager and reinstall???

switching USBs on my computer did not resolve this...
[AT&T, Rogers HTC One X, Telstra One XL] Heisenberg:
Is your phone in fastboot mode when issuing the commands?

Sent from my Evita.