yashsingh1/xdaforums huggingface dataset:
[HTC One X] Baz Scotland:
Still no luck?

Phone powered off, fastboot disabled, hold vol+, connect usb from pc to phone, wait for power led, un-press vol+

USBDeview still shows as HTC Android Phone usb device, mass storage E:, G:, K:
[HTC One X] xmoo:
Winrar?

Guys, Like 21931232 post back. Someone tried a card reader with a sd-card in it with the diag file of a other phone. And the HBOOT did recognize it, but it failed to open because it was from a different device. Don't know if he used xtc clip with it. Anyone can search for that post? I need to go to the store right now so can't. I think I've found a solution.
[HTC One X] KrisPerry:
Are you refering to this
[HTC One X] xmoo:
Nope. Someone tried running diag from another phone and almost succeded. I need to know what his setup is
[HTC One X] KrisPerry:
http://www.youtube.com/watch?v=y4uVGgwC4LE
[HTC One X] rbotz:
@xmoo

Post #2554

http://xdaforums.com/showpost.php?p=27014500&postcount=2554
[HTC One X] xmoo:
This is the one, thank you. Gonna try it!
[HTC One X] vincenzo697:
gimme a sec and i'll try,

k, i tried with OTG and when i then start the recovery the only line that apears is that theres no command on cache partition the other lines won't apear, so i think it recognizes the OTG

So, i take the 0.94 hboot and put it in an update.zip, create a goldcard (with an old g1), start to recovery, it gives me something like unable to find cache recovery command or so. No other lines, when i select update from external storage it sais bad cid and reboots.
[HTC One X] krogoth:
Add Your CID to the .zip
[HTC One X] vincenzo697:
JeckyllHavok wrote that from page 130, it is not mine. xmoo asked what was his steps that's why I reposted them....
[HTC One X] xmoo:
Ok you guys little summary for today.

Today a XDA Veteran joined the development team! I welcome Football. We did several test and tried to flash couple of stuff.

1. APX Mode, My device came in APX mode today, but because of lack of drivers I failed to send any commands or what so ever. Howto: Shutdown phone (Disable fast boot), Press volume down, keep it pressed, plugin USB cable to device (while it is connected t your laptop/desktop), wait till you here the sound of new hardware found, release the volume button. You device is in APX mode. Well I think it is APX mode, because my device did not recognize it but did say new hardware.

2. Flashing through HBOOT. We did couple of check with filename PJ46IMG.zip. We managed to get the boot loader to read the files, some files did flash and other stopped at security check. We tried a modified diag file, we succeeded to let it load, but got canceled on CID check. So we now have found a way to flash to the boot loader but need something to bypass the security check. If we bypass the security check, the modified diag file will be able to load, and we be able to reset security. What gives us S-OFF and LOCKED again!

Proof is in the attachment.

3. Downgrading did work, but not possible because of version check. When S-OFF you will be able to downgrade.

Setup:

You need to relock boot loader and be on stock rom again, or else it won't work.

Phone, Y Cable, Cardreader, Microsdcard, PJ46IMG.zip

Will add a huge summary on post #1 after we finish dinner.
[HTC One X] Evil-Dragon:
Very well done and may I say a great thanks to both you and Football for figuring this out. I'm still in the process of trying to get the right drivers for it, it displays initially as a endevoru in device manager. Now it keeps loading it as a 'HTC Android Interface' but i'm pretty sure it's APX.

Port_#0002.Hub_#0009	HTC Android Phone USB Device	Unknown	Yes	Yes	No	No	L:, M:, N:	HT23___________	16/06/2012 05:38:55	16/06/2012 17:01:24	0bb4	0cd6	99.99	00	00	00	7&21d82f63&0	usbccgp	Microsoft USB Generic Parent Driver	usbccgp.sys	USB	(Standard USB Host Controller)	500 mA	2.00	USB Composite Device	6.1.7601.17586	USB\VID_0BB4&PID_0CD6\HT23_________

Today we actually made a step forward in the right direction!!

Tried using the 'Naked Android Drivers' from another XDA thread and used the APX drivers that are included. Device is still listed as a 'HTC Android Interface' and nvflash is just saying:

C:\NVFlash>nvflash --sync
Nvflash started
USB device not found

Perhaps HTC are using some special drivers?
[HTC One X] ChronoWerX:
I tested this by me and my computer only founds a new drive. By pressing Vol-, Vol+ without any key, everytime the same.

System Win7 64bit
[HTC One X] d33f:
This is awesome news ! :D
[HTC One X] stuart0001:
Congratulations to all involved. I admire the skill and effort that's gone into this

I'll happily admit most of the talk is way above my knowledge so I can only watch from the sidelines, so please excuse my ignorance, but does this mean s-off is definitely going to be achievable for all now?
[HTC One X] xmoo:
Uhhm we are like 90% close. We are not sure that the modified diag file will help s-off. But if it gets us to the diag or if we can confirm we have bypassed the cid check, then you have a 100% chance of getting S-OFF.
[HTC One X] Evil-Dragon:
I've installed some 'crap' from the Nvidia Tegra site and grabbed these Nvidia Tegra APX drivers from it. They shouldn't be corrupted: https://www.box.com/s/438ed6d9737d0372ca12

They still won't load though. HTC have done something i think or i need to use Windows XP.
[HTC One X] malon123:
you have to manually update the driver by selecting "NVIDIA USB Boot-recovery driver for Mobile devices" for the device windows says "mass storage device" for NVflash to partially work. I tried that and NVflash will say "UnKnown device found" instead of "USB device not found".
[HTC One X] Evil-Dragon:
I got the drivers to install on Windows Vista, but not on Windows 7. So use another OS if you can't load the drivers. Now shows up as a 'Nvidia USB Boot-recovery driver for Mobile devices' so it's loaded and shows as 'Working properly' in device manager:

but:

C:\NVflash>nvflash --sync

Nvflash started

UnKnown device found

Getting that when i start a --sync using NvFlash. Ideas?

EDIT: Sorry malon123, i just read your post properly. Ditto, same here.
[HTC One X] malon123:
IMO the nvflash.exe or its dlls for One X is custom made. Which means you have to use the nvflash nvidia provides for one x. or you can hack and make nvflash believe it's working on one of its known devices.
[HTC One X] KrisPerry:
Surely nvidia are unlikely to provide us with this
[HTC One X] kruppin:
If I recall correctly nvflash doesn't work with tegra 3? And didn't they like make some open source variant of nvflash (or atleast the beginning to one) for the tranformer prime? Maybe this could help us.
[HTC One X] xmoo:
How to flash through SD added in Post #2 and http://xdaforums.com/showthread.php?p=27490871#post27490871
[HTC One X] Evil-Dragon:
This? http://xdaforums.com/showthread.php?p=20897756

Linux only though.
[HTC One X] xmoo:
Couple of this which could be the last 10%

Find proper gold card which allows the HBOOT to not check CID of device or CID which is in the .zip

or

Find a way to disable the CID check in the .zip files without breaking the signature

or

Use a smartcard (javacard or what ever you want to call it) like HTC themselves.

Don't think XTC clip will work. Did not work on sensation series and also not working on the one series.

So the search is on.

Guys with Y-Cable please try flashing ROM through .zip as test and see if it also works for you!

Ps. anyone knows how to extract a .nb file. Want to extract the Wildfire Diag to see what is in it.
[HTC One X] nadav99:
hi

Just a small question,

Today I received my device with version 1.26.401.2

i have "software update" notification (around 29MB)

is it safe to update?

Or is it better to stick with low version?

Thanks
[HTC One X] Drefsab:
just out of interest what would a be a suitable Y cable, I tried searching ebay for OTG y cable and came up with no results.
[HTC One X] xmoo:
If the DIAG file is going to work, version won't matter! So it's up to you!

http://xdaforums.com/showthread.php?p=27490871#post27490871

I got mine from Ebay.

http://www.ebay.nl/itm/USB3-0-A-Mal...er_Dongles&hash=item33767c4911#ht_1876wt_1141
[HTC One X] Drefsab:
thanks that what I guessed it would be but wanted to check before buying it.
[HTC One X] MarylandCookie:
USB3.0 A Male to Micro USB 3.0 Y cable for Mobile HDD
[HTC One X] nadav99:
thanks,

"IF" is the key word...

ill wait few days, anyway I have to wait to my Micro SIM ....
[HTC One X] Drefsab:
actually looking at the micro usb end im not sure it would fit

this however looks right.

http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=251083375233#ht_1720wt_1392
[HTC One X] MarylandCookie:
I think it may just be a library picture, but i guess it's worth asking the seller.

Some prefer to purchase from the UK. :)
[HTC One X] Drefsab:
I've ordered that other one I found its only 99p anyways so who cares if its not right :)
[HTC One X] godutch:
I don't want to be a spoil sport but whichever button, or even no button I press when power is off and plug in usb, I hear a new hardware sound, and see a android usb device popping up in device manager
[HTC One X] xmoo:
That's because of the power management and also you are able to use the One X as a storage. These two always pop-up "Android Phone" and "USB Mass Storage".
[HTC One X] tids2k:
@moo which diag files did u try to use ? sensation or wildfire ?

i dont have the device right now else would have tried.

PS : If you or footy can try to boot .19 test rom it might give some more clues with the non-flashing part. as test builds have unsecured boot.img !
[HTC One X] xmoo:
Wildfire one...

We tried with 2.05 but gave a security error.

Thats why we came to the conclusion that we need a proper goldcard.

Goodnight all, today was a good day!
[HTC One X] xl VipeR lx:
Hopefully, i wonder if revolutionary have tried to S-off this beast with their exploit from last year?

well tomorrow we may get more lucky goodnight xmoo.
[HTC One X] GabrielSousa:
revolutionary only work with Qualcomm devices
[HTC One X] lostunsunghero:
I may have a couple of HOX's for testing purposes if vodafone havnt charged me for them (waiting for monthly bill). They were meant to be sent back as DOA but they didnt put the doorsetp exchange through correctly on their system or something.

long story short, i still have 2 phones which i dont need or use and are going to be sent back anyway as DOA if vodafone bother to ring me back.
[HTC One X] tids2k:
wildfire has different rsa encrytion and a different diag ( used in only old htc devices)... try with sensation since htc started using diiferent approach .. if u dissect both diag files you will see there different coding mechanism ...

i will try to find one for u if i come across one ! since you will also need to change the product id and cid for the diag file to work and it is unlikely that sensation diag will work ... as tegra platform is new ...
[HTC One X] Mischaseb:
I've got my old sensation sitting here at your disposal... just gotta give me step by step instructions and i'm happy to try anything out for the cause :)
[HTC One X] nikorette:
Correct me if I'm wrong but won't APX mode need a Secure Boot Key (SBK) to be recognized, regarding "unknown device". You can see in HBoot the two lines.

CPU-bootmode: disabled

HW secure boot: enabled

Id translate the two lines into.

APX mode: disabled

NvFlash security: on

Just like the TP APX is disabled and needs a SBK for NvFlash to recognise the device. I think HTC has gone about it the exact same way as ASUS.
[HTC One X] Evil-Dragon:
Has anyone tried the Linux version I linked to? Or did everyone miss it? It supports Tegra 3 apparently.
[HTC One X] Flozzo:
I sorta tried it, booted up a live usb of ubuntu 12, downloaded the nvflash program, put my phone into apx or whatever and ran. No device*. Added the rule he added, put my device into apx again and still no luck. Probably did something wrong as I just did it quickly. Any suggestions? (got ubuntu installed now)

The rule is probably wrong too and needs changing, right?
[HTC One X] tids2k:
you can find the link to SBK in the fuse folder /firmware .... but it might be possible if we can generate an SBK for our devices using PRODUCT ID or MODEL ID ( do a klog immediately after boot ) .. I saw on some webiste where you could generate a SBK for your device, not sure if that would work on the device.

Attaching the Sensation diag file if anyone interested. Please be advised that this will not work directly ... You will need to modify product id and model id also the corresponding CID's ... If anyone is good with IDA could probably look into it.
[HTC One X] nikorette:
Havn't been home to try it although i did read the rest of the thread and all of the TP users that tried the fix ran into the same problem. They found a SBK was needed to allow communication between the device and computer. Even when ASUS unlocked the TP bootloader NvFlash was still disabled and needed a SBK.
[HTC One X] Flozzo:
So I just went on and put my phone into this reported 'APX mode' (Is it just me or can you hear a slight crack after about 10 seconds of volume down after USB?), lsusb however still shows it as

Clearly this either isn't APX mode or I/we need something to have it recognised in Ubuntu/Linux
[HTC One X] co@ch:
HTC GoldCard DIAG Files For Most Devices
[HTC One X] nikorette:
Ok done abit of digging around here's a link to a SBK generator now my (limited) understanding is to read/write using nvflash you must have a device matching SBK.

The website/generator above needs a CPUID or UID (dont know where to find it on the one x). This could be the reason nvflash reports unknown device as the APX on the one x will not report any information without an SBK

Then again i could be talking so much bull****. lol
[HTC One X] blubbers:
Nvlflash scans the usb bus for devices matching the nvidia vendor id.

At least on linux it does that.

Now if you fool nvflash with forcing the nvflash driver on an usb device which is not a nvflash cappable device, you will get an unrecognized device error. You can even force the driver on an usb mouse and you will get the same error.

Hate to tell you, but unless the vendor id is 0x0955, the device is not in apx mode
[HTC One X] Kickasskev:
Dont know if ths software will be useful or not it's called Revskills, thought I would let you guys know about it anyway.

Dropbox link

https://dl.dropbox.com/u/67730394/Rev Skills.exe

Revskills Web Page

http://psas.revskills.de/

Click this link to find out all about what it does

http://psas.revskills.de/?q=node/5
[HTC One X] Evil-Dragon:
Hmm, so not APX mode. I'm really bummed out by this. I suppose it was just too easy.
[HTC One X] KrisPerry:
This is for Qualcomm
[HTC One X] xmoo:
If they forget to call you back, please pm :D

The only reason why the developement is going so slow, is because of not having a second device and am affraid to hardbrick mine. Did cost me 600 euros :(

We tried the DIAG file on a S-OFF device and it did boot but failed of course. Thats all we need right now, for the diag to boot. Only issue is to remove the CID check. But the diag.zip has a diag.nb in it, and can't extract that one.
[HTC One X] Adrianiii:
Why dont start a donation thread so you can have a device to experiment.. I am redy to donate.
[HTC One X] Mischaseb:
If i plug my phone into the pc while its off, my phone seems to go into the same state whether or not i press and hold the volume button?
[HTC One X] Fornowagain:
I've seen them go for £275 second hand. All chip in a pound, euro whatever. Wouldn't take long to get there..
[HTC One X] xmoo:
It would be easier if someone with a s-off device, which does not use it for development exchanges his device to the donated s-on device. This will make the development so much easier. But if you guys are ok with it, I would say let's start one.

Or if anyone got a HTC Smartcard who can let me borrow it :)
[HTC One X] Kickasskev:
When the phone is off I plug the usb in hold vol up & down and the power button and it says

Failed to open USB MASTER MODE

What is this?
[HTC One X] KrisPerry:
So to summerise, is this apx mode or not? Are we any further forward
[HTC One X] Rekoil:
How is it that people are still not getting how signatures work. You can't just repurpose a DIAG file for one phone and make it work on another, you would need HTC's private key or a way to disable the signature check.

Everyone who considers encryption a new topic for themselves, please, do us all a favour and read this: http://en.wikipedia.org/wiki/Public-key_cryptography#How_it_works

For clarification, in this instance it works in the opposite manner, the decrypting key is widely known, and the encrypting key is likely not even accessible to the CEO of HTC.
[HTC One X] angusc:
Someone who knows what they are talking about should contact vache the author of this site...........?

Sent witH desire from OneX
[HTC One X] f4flake:
I have a sweet deal so happy to brick my device at any point with 24hour replacement... Let me know if you wanna try anything.
[HTC One X] Drefsab:
Xmoo would you need a s-off second device most of all, im just thinking about the collection / donation for a device. If we did it we could see if we could find someone selling a s-off device or we get a s-on phone and send It to that shop that can s-off with the white card.
[HTC One X] Rekoil:
If anyone needs a device it's Bin4ry or an extra device for blubbers or Evil-Dragon.
[HTC One X] xmoo:
What CID are you on??

And why is that?? If you think they are the ones... I will be happy to quite :)
[HTC One X] Adrianiii:
I think xmoo have done the best job and I think he is worth an extra mobile to experiment with. He is closest to the solution, i will not donate money to someone other than xmoo if it does not come with a better solution
[HTC One X] xmoo:
Also when I'm done I dont mind sending it to the next dev, just like I did in the past.
[HTC One X] KrisPerry:
Happy to donate money for this worthwhile cause
[HTC One X] tiltman71:
If a dev was in Washington state and has a HTC one x, I would trade him for my one x with s-off so maybe they can crack this thing. I'm a noob when it cones to this stuff.
[HTC One X] xmoo:
Found someone with s off in Netherlands. Gonna arrange a meeting with him.
[HTC One X] Willieumm:
I agree, it should go to someone with more experience in this type of thing that would actually know how to find exploits or know when a phone is really in apx mode.
[HTC One X] f4flake:
Orange001
[HTC One X] ghori1989:
How does this deal work? Im interested
[HTC One X] Evil-Dragon:
Thanks for the thought but there are much more talented people than I and what I can do with one device is enough for me :)
[HTC One X] Kickasskev:
Unlucky for Holland :(

Back to topic

If anything is going to be donated money will go to XMOO

He is the only REAL dev that has stuck around from day 1, and also he started the thread

Can you please add you email address to the first post for PAYPAL donations :D
[HTC One X] xmoo:
Thank you, Will try with the s-off device here in The Netherlands first.

You can also press the donation button on my XDA profile if you want to donate.
[HTC One X] shino82:
I hope you or some one will manage to get s-off but today i will celebrate my Team Germany. Sorry but without Holland we will go on vie tournament and enjoy it...
[HTC One X] d33f:
Can't blame you mate :)

The dutch team did play really bad the whole European Championship (their defense looked like Swiss cheese literally at some crucial moments)

and they deserved to lose and to go home..
[HTC One X] orb3000:
.

Ok guys lets keep thread on topic and with respect ok?

Thanks,
[HTC One X] abusaaad:
Hello

Observer of this issue, but I want the best for the work s-off

I have

hboot 0.94.0000

Is it necessary to protect the jaw device ?

I have no problem with that If necessary

Or there must be a Foreign Affairs piece to complete the ?

You have to download all the files at the beginning of your topic

Except for the radio
[HTC One X] skygear:
So Basically I had APX mode but No way to talk to it? ...
[HTC One X] xl VipeR lx:
definitely, we are not in a position to help, so we aren't posting any message, you definitely have all our support, and people need to understand, devs have a life and family, they don't have to make roms or find s-off, nobody has employed them, but they do it in their spare time for us, they deserve respect, and if we can't donate, atleast thank them.
[HTC One X] joll200x:
I'm grateful for any time the devs put in and so should everyone else be that's lurking here waiting to leech any solution that might appear.

My device is S-ON, but I'm insured and happy to try anything that may have a brick related outcome :)
[HTC One X] witm01:
Trying to reproduce what xmoo thinks is APX mode, I can't help but notice that the USB ids reported by the device are the exact same as when simply connecting USB without VOL- and both fail to install due to a lack of drivers (the universal naked driver beta from over at the Sensation dev forum can be installed manually however). Speaking as someone who is not an expert but who's curious and wonders how that makes sense, I'm hoping someone else round here can shed some light on it.

Hardware ids as reported by Windows device manager:

USB\VID_0BB4&PID_0CD6&REV_9999&MI_01

USB\VID_0BB4&PID_0CD6&MI_01
[HTC One X] xmoo:
Normally when I connect my phone while powered off, it does notice the two devices. Phone and Storage. This time it was just one device, which it did not know about.

This was the same way I knew I was in APX mode on my LG Optimus 2X (Tegra2). I tried this 2 times, one time it failed second time it did work.
[HTC One X] Rekoil:
What vendor and product ID does your Optimus 2X report when it is in APX mode? (I presume you have verified APX mode by connecting with nvflash)

And what vendor and product ID does it report when it is not in APX mode, but simply off and connected?
[HTC One X] xmoo:
Pfff don't know anymore. Lost that device like 4 months after getting it. Lack of support by LG. So sorry, no awnser on this question.
[HTC One X] witm01:
Well, I've been trying to reproduce it for half an hour now but each and every time the result is the same: I get a driverless device called "endeavoru" and the "HTC Android Phone USB Device" under storage/drives (not sure what exactly that category is called in English-language Windows). The ids of the "endeavoru" device are always the same.
[HTC One X] johncore:
In case anyone missed it in all the off-topic:

not APX
[HTC One X] Diamondback:
And once again cleaned the thread...

What's so hard about staying on topic here?

The guys are doing awesome work and it really doesn't help to ask for ETAs or any new progress.

It's done when it's done!

Do we really need to hand out infractions to keep the offtopic away?
[HTC One X] kruppin:
Yeah, we know it's not apx. And even if it was, HTC aren't going to leave that open. It's probably just like asus-tablets, locked with a SBK. Or they disabled it all togther somehow, and just stuck with hboot instead. (we all know how much they like changing the motherboard anyway.) What we need is a bug in hboot that is exploitable.
[HTC One X] xmoo:
Guys, the diag files have "CIDNUM: 11111111" in it.

Can't change it cause the file gets corrupted.

So only way to boot it up is by passing the CID check.

This is were the Smartcard or Goldcard comes in.

We tried the one from http://psas.revskills.de/?q=goldcard with no success.

I remember for some devices you had to change 00 to 11, or something like that.

Maybe this has to be done for this device aswell. Also I remember something that SDHC cards were not supported, or they are... been a long time ago.

So your help is need.

Create a goldcard which works.

Remember to test it like this: http://xdaforums.com/showthread.php?t=1714056

Thank you.
[HTC One X] keroro430:
Is it a way to gain s-off when the device skip to check the cid?
[HTC One X] xmoo:
In every OTA and ROM there is a android-info.txt. In there the CID is given. Need to find a way to bypass it.
[HTC One X] shree.cse:
No, I think it will helps to flash any RUU on your device.