yashsingh1/xdaforums huggingface dataset:
[HTC One X] artymarty:
I will be following this thread, Sorry I don't have the technical know how to figure out how it works, but if you can get the wiring I do have the tech ability to build one... I am going to buy some pogo pins off ebay and make a dock for my bedside table... :)
[HTC One X] j4n87:
..this could be interesting?

On the HTC rezound they achieved s-off by pulling off the back cover, taking a wire and short out to pins.
[HTC One X] xmoo:
Trying to find good pictures of the One X with back cover off to see if there is a PIN1.
[HTC One X] pehkblui:
Just probed 2,34 with a scope.

4 constant 1.8V.

2 & 3, there are little spikes +/-200mV at regular intervals when music or radio is playing. Maybe some form of audio output. Don't look like audio waveform to me though.
[HTC One X] JamesBarnes:
Sounds to me like its polling for status, looking to see if its docked to an audio output.Try applying a load to it to see if it starts chucking out analogue audio :)

Edit: Forgot to say thanks :)
[HTC One X] Htc_One_X:
Looking promising aye, being that the one x is a sealed unit I assumed the pins where also to be doubled up for other tasks....
[HTC One X] anko184:
I can't see any pins like those on the rezound in these fotos..

Edit: But then again i see some pins on the left of the micro sim and some more around the headphone jack...
[HTC One X] pehkblui:
Maybe it's a bit like Apple's accessory where it is trying to communication with whatever is touching the pin and will only dump out the analogue audio once authenticated. :D

The probe itself is at least 10pF (or 50p?). That should be a load by itself. Or maybe should try connecting a small or active speaker to it. :p
[HTC One X] xmoo:
Check on the right midle of the battery. You see some small pins,three which has some kind of connection with the back cover.
[HTC One X] angusc:
It took them around 20 days from talking about it to actually achieving S-off! I hope we can see something for the One-X coming along like this....
[HTC One X] xmoo:
Yes but there is also a ENG SPL foe that device. I havn't seen one for the HOX.
[HTC One X] anko184:
Aren't those pins for the speaker?
[HTC One X] kholk:
PIN4 may be an UART/SERIAL TX. UART can operate at 1.8V or 3.3V.

About the PINs 2 and 3, is it a sine or square wave?

The EternityProject Team Manager & Main Developer,

--kholk
[HTC One X] shuflie:
It's unlikely that any of the pins will be outputing analogue audio. The design and price of the Dock and Car dock look very similar to the Nexus One style which made bluetooth connection to the phone. The pins are most likely for charging and possibly a device ID function to let the phone know its been placed into a car or desk cradle. With a bit of luck though these may also be multipurpose and allow some sort of direct serial or jtag type connection to the processor.
[HTC One X] rizevnarastek:
yes but nexus has only three pins right?
[HTC One X] blubbers:
why on earth would htc put any kind of debug interface (jtag or uart) on a retail device?! the phone can "easily" be opened. the phone has a usb-otg cappable interface.

there is absolutly no reason for these pins to be part of any kind of debug-interface
[HTC One X] Gibeon:
Sure, but not before friday when I'm back home...
[HTC One X] pehkblui:
They are more like "+/-impulses" at regular intervals
[HTC One X] drloakes:
Hi, just reading all your comments on the POGO pins and IMHO if the pin 2/3 pulses r mirror'd then it more than likely USB, i will get my oscilloscope out and have a dig.

Also as pin 4 has a voltage on it then it may require a simple resistor probably connected to ground to trigger the cradle mode..

Slightly off topic - do any of the cradles actually use this connector??? as i've just found some pictures of the D110 car dock and this simply uses the micro-usb connector.
[HTC One X] kholk:
Why on earth all the Motorola devices I've got they all have both UART and JTAG? :)

And why on earth an OEM should redesign the board and spend more money to eliminate the functionality, making them unable to debug a device you send back for repair?

--- Even if they aren't doing that in the repair centers, why should they thrash a mainboard that can be recovered?

A lot of questions here! :P

@drloakes

About the USB thing on POGO... yeah, that's highly possible. They can be D+/D-.

Also, yeah, there's a cradle using those pins, go on expansys and have a look at the One X accessories: there's a 60 euros HTC dock that is using those ones!
[HTC One X] blubbers:
the reason it doesn't make any sense for the pins to be part of a debug interface is because of the way the pins are placed. it takes a trained person less then 30 seconds to open the case (took me around 5 minutes).

these pins actually raises the manufacturing costs (take a look at the photos from another thread, the pins are connected to a seperate platine which is wired to the main board).

there surely is a jtag/uart interface on the board, but it does not make sense to make it easily accessible to retail customers for extra cost
[HTC One X] Goldy:
Just to confirm, charging through of pin 1 -GND (bottom) and pin 5 - V+ works, have not tried the usb bridging to make it charge from AC, but usb power is working fine
[HTC One X] tids2k:
thats good news !

---------- Post added at 11:14 AM ---------- Previous post was at 11:08 AM ----------

also on doing cat /proc/devices/tty

we get this ..

ttyS0

ttyS1

ttyS2

ttyS3

ttyACM0

ttyACMX0

if we have a diag driver, we can send AT commands to the modem and debug some info from there..

byt i have tried

busybox microcom -d 1 -s 5000 ttyS0

but it just freezes in terminal !

also i am not sure which is the right serial to use / to send AT commands
[HTC One X] xmoo:
Don't know, that why I was asking it.
[HTC One X] artymarty:
I have been looking around for some info on the data pins to force AC charging, some threads say short them, some say leave them open, and some say short via a resistor. Which is it?

I have a usb wall charger, 1amp,but the phone thinks it's a usb charge. Internally the data pins have resistors on them. Should I just short them?

As for a logical look at the other things in this thread, my views (educated guesses) are:

POGO PINS. I would imagine they are just USB - anything else would be a waste as it would limit their usefulness.

Gaining control of the device : I'm sure it's possible through the pogo/usb. To those that say it's easy for a trained person to pull it apart - yeah it is, but every time you do, it risks damage, and the unit would need testing every time after that too. That adds expense to servicing, re flashing etc... Highly unlikely.

Just plug it in a usb or drop it on a pogo pad and the process happens. That is the smart way.

My 2c worth...

Sent from the future using tipi-tapa-talk 37
[HTC One X] angusc:
Here is a link to the expansys HTC media dock: i guess their investment in the additional cost of the Pogo pins is planned to be offset by the sales of such a dock costing roughly 12% of the original phone price.

http://m.expansys.com/mp.aspx?i=230289

Synchronises and charges the HTC One X simultaneously The HTC CR C650 Desktop Cradle is the perfect partner for the One X smartphone. It is designed to allow you to quickly and easily place your phone in the dock, whereby it will allow you to synchronise your files with your PC and fully charge your device. It also holds your phone at convenient angle for viewing the web, playing games and watching movies.

Sent witH desire from OneX
[HTC One X] pehkblui:
This sounds like pins 2&3 are really USB DP/DM.
[HTC One X] ashak:
Mini and Micro USB contain 5 pins afaik?

Where:

Pin 1	is +5V

Pin 2 is Data -

Pin 3 is Data +

Pin 4 is usually some sort of identifier

Pin 5 is GND

Considering we already know that if you give the top pin +5V and the bottom pin GND the phone charges.

People have already suggested that the second pad down and the middle pad look like USB data.

I wonder if the pins are just connected to the same place as the pins of the USB port? If so, if anyone has a cut up micro usb cable and a multimeter it would be quite easy to test for continuity between the pins of the USB port and the pads on the back

I unfortunately don't have a spare micro usb cable to cut up right now.. I also have no multimeter at work :)

A question I have.. as anyone tried an MHL adapter? Does the phone charge when an MHL adapter (plus charger) is plugged into the phone?

If it does AND the pads happen to connect to the same pins that make up the usb port, then it could be fairly simple to DIY a dock with pins by ripping apart an MHL adapter and soldering the wires to the pins. Then you'd just need to case it/make the caddy for the phone to lay in. It would give you a charging dock with the ability to connect up to HDMI display :) I wonder if anyone I know has one of those 3d printers.... *ponder*
[HTC One X] artymarty:
Pin 1	is +5V VCC

Pin 2 is Data -

Pin 3 is Data +

Pin 4 is usually Connected to ground on "Micro A" (with corners type plug)

Pin 4 is usually Open on "Micro B" (with corners cut off type plug like we use)

Pin 5 is GND

On a side note:

Pin 4 my be connected to VCC with a resistor for some uses too... basically apart from the VCC pin 1 and GND Pin 5, it is fairly open as to what goes on in the middle! That's why just because a plug looks like it fits, it might not be a good idea to plug it in to your device if you don't know what it does....

Also, generally 'stick out' (male) type pins usually RECEIVE power, and 'stick in' (female) type pins and sockets usually GIVE power. That way you are less likley to short something out or stick your fingers where its going to hurt or melt sh*t like your fingers or heart muscle :)

Also watch out on the net as I have seen the pin numbering starting from the wrong end, and/or diagrams for plugs used when it's a socket etc ...

I've made that mistake when I was younger.... look at a 60 pin plug from the business end and figure it all out, then turn it around and look at the solder end and proceed to solder the whole 60 pins on back to front. - And its always the 'neatest job you have ever done' just before you realise you just F***ed it all up.

And looks like a moron job by the time you have unsoldered them all and put them on the right way.

Marty
[HTC One X] pehkblui:
Pin4 could be the ID pin for USB OTG.
[HTC One X] angusc:
Has anyone tried asking HTC for a pin drawing? W really need a contract in the HTC service centre.... :D

Sent witH desire from OneX
[HTC One X] shuflie:
Let's say HTC get orders in for 50k One Xs for O2, 70k for Vodafone and 30k for Three; all to be carrier branded. Do they order the factory to build 150k to order from scratch, plug in 150k USB cables to reprogram or drop 150k One Xs into cradles to reprogram. I'm not saying its what actually happens, but it seems to be a reasonable enough scenario for them to reuse pins that were going to be there anyway at little or no cost to themselves.
[HTC One X] biggdaniell:
If someone would post some pictures with an dissected CR S650 cradle, would that help?

I don't have one but if in a month or so I can't find a cheaper one (without the sync/sound features) and you guys can't figure out a way to build a DIY one, I might buy one of those EXPENSIVE official ones...
[HTC One X] tids2k:
you will have to wait like a week or two until it becomes available in australis, then will do a happy dissect for u '-)
[HTC One X] jires:
They are not connected physically with micro usb (checked), and also pins 2 and 3 are not behave like usb D+ and D- ,very low (39 Ohms) resistance to phone's GND.
[HTC One X] k0rner:
I can confirm that pins 2,3 are not USB D(+,-).

Connecting pins 1,2,3,5 to USB port does not work as expected, even if pins 2,3 are swapped or pin 4 is pulled up to 5v or down to the ground.

Yes, battery can be charged by applying 5V to pins 1and 5.

However, this is low-current charge (the one you get by connecting to USB with 500mA limited current), and not the full-current charge initiated by plugging into AC charger.
[HTC One X] f4flake:
K0rner, have you tried switching the phone off and seeing if then connecting, either with pogo pins to data, or usb to data with pogo providing charge, if you can get any response from nvflash?

I wonder if the pins are to do with apx mode.

Turn off device. Hold vol+ vol- , then attach micro-usb to pc with pogo getting current.

Or do attach pogo to usb to pc?

See if device manager then produces unknown "APX" connection?
[HTC One X] k0rner:
That's interesting, and can be done. But can you point me into the right direction on what is APX mode and nvflash?
[HTC One X] f4flake:
ok, apx mode is essentially a low level bios flashing mode for Tegra devices.

It's been used succesfully to unbrick some tablets.

There is a thread on XDA...

http://xdaforums.com/showthread.php?t=1426502

which contains a universal driver, however the problem with the One-x is geting it into apx mode.

I have tried for a couple of days to get key combinations, but have variously ended up either in hboot, safe mode, or getting nothing but what looks like the external "SD" card type drive, and the internal "DVD" style drive loading, without any associated "APX" device appearing in windows device manager.

If you can attach via the pogo pins (which I'm theorizing are related simply because no other key combinations appear to work) I suspect this "APX" mode might be started.

If we can get apx mode, then we should be able to flash (via nvfash) onto the drives on the machine (but without reference to HTC's bootloader).

Hope this makes sense.

It's all only guess work, but it stands to reason.

1. Bricked devices sent back would be simply whacked on a cradle and flashed.

2. It's a sealed unit, which then doesn't need to be opened

3. A combo of usb + pogo helps keep APX out of general population

Guess work though. :D
[HTC One X] kholk:
Absolutely correct: Motorola is using VCC to PIN4 for their "Factory Cable", needed for booting the phone without a battery, or for skipping the battery at all and that doesn't mean that using a Motorola Factory Cable on an HTC phone won't fry it.

I think that will SURELY fry it.

If anyone was wondering to try something like that on the One X, I

totally discourage

you to try to connect VCC to PIN4.

Absolutely good point. Also a smart thing.

There could also be the UART TX pin.
[HTC One X] jires:
It's sounds crazy, but what if pins 2,3 are analog audio out and pin 4 is some kind of 1-wire data developed by HTC??
[HTC One X] angusc:
That's kind of what i was thinking that the pins are for a TV Media dock to link the phone to the TV to play video and audio to the TV from One-X.

Lets hope that there is also the double feature of Development/engineering support when the phone is in the powered OFF status.....I hear that ADB only works when the phone is powered off......
[HTC One X] k0rner:
Actually, I've tried that already, and connection pin 4 to VCC or GND is totally safe.

Other thing I've discovered: pins 1,5 are electrically connected (~0 Ohm resistance) to GND and VCC on the USB port.

So it does not matter if phone is charged via USB or via POGO pins - that's the same circuit.

Also, if we connect D+ to D- on the USB, charging via POGO pins becomes full-current charging (with 600-700 mA current), and phone detects that as AC adapter.
[HTC One X] jires:
There is a way to push thread forward. I ordered this:

awaiting to put fingers on it and split it apart...:D:D:D
[HTC One X] angusc:
Deleted.
[HTC One X] biggdaniell:
That would be a real deal-breaker for me...I mean waiting for some 4-5h for a full charge is way to much. I hope there is a way to charge the phone via pogo pins with at least 1000mah.

I don't think 500mah is enough to keep the phone charged when docked with screen on (like watching a movie while docked) so there has to be a way for more power...
[HTC One X] tids2k:
hello jires, if you have the phone opened up can u do this process and see if u can get into the APX mode.

http://android.modaco.com/topic/335416-nvflash-setup-instructions-drivers-links-active/
[HTC One X] jires:
No, I do not have phone opened, and I will not do that in short future. This is my second HOX, first one was faulty (flickering, batt, strobo etc.) and that I have now is perfect. No screen issue, battery ok, no problems at all, and I'll let it be a such... :):):)
[HTC One X] Supaiku:
Could you tell us what you've already tried?
[HTC One X] alantsay:
this is good interesting read.

just a thought, had anyone tried to put the Nexus one dock's data pin on the OneX's data pin?

as far as what i remember from reading posts, in N1, the dock transmits some data, and lunches bluetooth and pairs with the dock and let BT do all the data transmitting.

any hopes for htc to reuse those PCBs in the desktop/car dock from N1 ?
[HTC One X] hotshot646:
Imagine a case with an external battery in it and a micro sd slot connected through the pogo pins.

Now that would be something everyone would be interested in I believe

something like this (http://www.zeromartz.com/1900mah-external-battery-cover-for-iphone-4-p-1211.html) but using the pogo pins plus since the official htc dock syncs data a micro sd card could theoretically be used as an external usb device.

Am I just dreaming or could this be ?
[HTC One X] jires:
You're not dreaming, it's possible. Only problem is to find manufacturer who will do that. HTC doesn't really care about accessories. Iphone has that advantage that almost everything you can imagine it's available in most of accessory shops.
[HTC One X] KrisPerry:
Anymore progress here
[HTC One X] tids2k:
here is someone interested ...
[HTC One X] Supaiku:
I like the way you think. The questions are: Can we get USB OTG working? And will it wprk with the ppgo pins?
[HTC One X] tids2k:
Yes.

http://www.ulpi.org/documents.html

Read here
[HTC One X] tids2k:
If you are planning to build one.

Here is the reference guide

http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00201527.pdf
[HTC One X] Supaiku:
Lol... I wish I could say I was going to... The best I'd pull together would be a DIY jig.

I do live in China and speak Chinese though... Not really near the manufacturing centers... and dont know much about materials engineering or EE.

But looks like its certainly possible... Beforw I bust out my soldering iron and hot glue gotta get the software end running first... Unfortunately, I'm leaving that to the kernel coders, so its twittle the thumbs for now...

The potential for an add-on sleeve with this phone is great though.
[HTC One X] tids2k:
Add-on sleeve ?
[HTC One X] artymarty:
A close fitting case with extra functionality & electronics that uses internal contacts to pogo pin points.

Wireless charging case for example...

Sent from the future using tipi-tapa-talk 37
[HTC One X] tids2k:
aah ok .. i was thinking about an extended battery case :) makes sense.
[HTC One X] artymarty:
That too... :)
[HTC One X] Kickasskev:
Would probably be handy if we could get our hands on the service manual, might show the layout
[HTC One X] tids2k:
we will never have the service manual, until someone has very close link in HTC repair or service centers, or else some {security professionals} who can get into htc servers especially the RMA III portal.
[HTC One X] ingFu:
When I connect PIN 4 to GND (over 1k Ohm) there happen different things depending on wether the phone is on or off.

When its on and USB disconnected: nothing ;)

When its off: All phone related USB device get kicked from my device manager.

Might it be, that the USB port gets routet to the pogo pins then?

AND: when its connected via USB and on it enters the dock mode, wehen pin4 is pulled down to GND.
[HTC One X] KrisPerry:
Could be disconnecting all power from the battery. May be useful
[HTC One X] biggdaniell:
I read the whole thread a few times already but I'm not sure I get it right:

1. All I need is to apply 5v to pin1&5?

2. This will charge the phone just like an wall charger or it will be limited to 500mah (like pc usb charging)?

3. If 2 is true, is there a way to trigger full current charging (using pogo pins only)?

4. Is there a way to trigger docking mode?

10x
[HTC One X] lawrence750:
or even an extended battery case that could charge wirelessly :D
[HTC One X] angusc:
.....and have an external micro card slot that works in OTG mode ;)

Sent witH desire from OneX
[HTC One X] AJerman:
Stop it. It's too early for a hard on!
[HTC One X] twe69:
So far:

Extra battery,

SD Slot,

External louder Speaker possibly stereo, powered by own battery,

Wireless Charging,

Micro HDMI port,

Kickstand......

Anything else? Lol.....
[HTC One X] biggdaniell:
Anyone?
[HTC One X] ingFu:
All answers in this thread.

4:

http://xdaforums.com/showpost.php?p=27059751&postcount=68
[HTC One X] biggdaniell:
So in order to charge the phone and trigger dock mode all I need to do is to tie together pin 1&4 and provide 5v+ to pin 5? If dock mode is triggered I believe this will enable full charging as well (answering to points 2 and 3).
[HTC One X] shashankhr:
Anybody tried shorting pins 2 and 3?
[HTC One X] neovius:
This is an image from the service manual from HTC One X

The umts connector is on the bottom of the phone.
[HTC One X] johncore:
Do you have a copy of the service manual?
[HTC One X] f4flake:
Dock id?
[HTC One X] Candy-men:
What are the differences between Audi Dock and Audio Dock Output?

Seems that Audio Dock is an audio Input for voice dial and handsfree Profile?

Re-charge is the +5V supply pin? Has somebody tried to figure out with a scope if there are data pulses at the Dock-ID pins?
[HTC One X] xmoo:
Different docks ;)

Car dock, desktop dock, multimedia dock...

This way the phone knows what to show.

Car mode, Sense rotated, HDMI outputed Sense...
[HTC One X] f4flake:
Apx...
[HTC One X] shuflie:
The official HTC car dock doesn't use the pogo pins, it only makes connection with the USB port. Bit strange considering HTC made the nexus one and It's car dock which used the pogo pins.
[HTC One X] ingFu:
Does it enter dock mode automatically on the USB only dock?
[HTC One X] shuflie:
Yes, don't forget it's not just a USB port, It's also MHL capable. Probably pulls one of the video lines high or low to identify as the car dock. This is getting a bit off topic though.
[HTC One X] jires:
Hi everyone. I didn't had so much free time in last weeks to play with HOX, but I'm back now. I can see that thread is growing pretty much, so I have to put something more.

Pins spectrums:

- Pin4 - Dock ID:

On standby:

Voltage cirka 1.65V and there is some kind of digital signal (or noise) in it. Voltage differential is about 15mV and triangles length is about 8ns.

Then every few seconds (5-10sec) Voltage falling to 0.66V for 25ms.

While playing music:

Very rare signal, similiar to that from first picture.

- Pins 2 and 3- Audio Dock, Audio dock output

On standby:

Pretty nothing

While playing music:

Very interesting spectrum.

There is three kind of signals. One is a sinus wave modulated with some other digital signal, then just that digital signal. It looks like depending on music, when sinus appearing or not. There is also some kind of impuls, also depending of music, I think.

Modulated sinus:

Impuls:

Spectrum of pins 2 and 3 are pretty the same, but they are combined somehow (duplex?)

Both signals at the same time, pin 2 is blue, pin 3 is red:

Any ideas??

I can make some more measurments (Hz,V,ms etc.) Maybe can we figured out what kind of things HOX trying to send through....
[HTC One X] tids2k:
Where did u get that service manual .. Do you have the link to the manual. If so just PM me !
[HTC One X] ingFu:
Could you trigger dock mode (pull pin 4 down to GND via 1kOhm) and probe the Audio pins? Especially with audio playing.
[HTC One X] neovius:
I work in a official HTC Repair Center. but i can`t release the service manual because of company regulations.

But this is all of the info in the service manual for the pogo plugs
[HTC One X] Polarfuchs:
Is there anything mentioned about APX mode in a service manual?

(having the S-off thread still in mind)
[HTC One X] KrisPerry:
So do it anonymously then