Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Hacking an inexpensive dock to toggle Desktop or Car dock modes

OP ModemJunki

27th November 2012, 07:51 AM   |  #1  
OP Member
Thanks Meter: 12
 
35 posts
Join Date:Joined: Apr 2011
*** Another update ***
The 4.2.2 firmware appears to be missing the desktop dock mode entirely. The phone does not go into landscape mode and no dock launches.

*** Another update ***
The 2.2.1 firmware appears to be missing the desktop dock mode entirely. The phone goes into landscape mode but no dock launches.

Nothing I can fix, sorry.
************************

*** IMPORTANT UPDATE ***
It has been brought to my attention that this may only work for the US version of the HOX, and not for the international (quad core) version.

See this post in the thread: http://forum.xda-developers.com/show...7&postcount=20
*********************************

So, after getting used to my Thunderbolt having a nice HTC dock that triggers Desktop mode, I was very disappointed to find nothing yet on the market for the AT&T One X. instead of returning the inexpensive dock, or messing around with software, I rolled up my sleeves and made it happen.

Originally I started making a breakout connection for the USB thinking I'd build a powered bluetooth speaker into the dock but then I realized I had too many projects going on. That's why the tiny breadboard is in the pictures - its part of the abandoned breakout. It's not needed at all, you could safely tape or heatshrink these 1/4 watt resistors for this application.

Also I realized after I started splicing that I needed to pare back more of the insulation, if I had to do it again I'd give myself more room to work with.

In my particular dock, the cable shield is not connected to port shield but it is used as the ground.

Pin 5 (ground) cable shield / black
Pin 4 (ID) Black wire
Pin 3 (Data +) Yellow
Pin 2 (Data -) White
Pin 1 (+5V DC) Red

The signal to go into dock mode is triggered with a resistor between pins 4 and 5.
10kOhm triggers auto dock mode
68kOhm triggers desk dock mode (also, a 47kOhm triggers desk dock mode)

Starting in Car Dock mode allows a toggle to Desk Dock with the switch, but the phone doesn't toggle back to the Car Dock from Desk Dock when switched back.

Not the point, at any rate - the only reason I did this was because I had the two-pole switch and both resistors handy.

The dock:

The underbelly (pull off the rubber feet gently)..

If you don't pull off the feet, you won't get the hidden screws.

The top will come off easily. Now you can push the bottom out.

The bottom has a steel weight.

Gently pry the cable out of the base. It lifts out.

Now you can unscrew the other end.

This is how I tested the resistors. Be VERY careful if you do this - the pin can break the wire. For such a tiny wire you need to pierce the side of the insulation.

Proof of concept.

I actually only had a 68.1kOhm resistor handy, it works fine.

Tie the ends of the resistors together to the shield. Tie the center of the switch to the ID wire.

Shrink wrap, tape, or otherwise insulate the connections. TEST FIRST, then reassemble - install switch....

Put it all back together....


Fullsize pics here:
https://picasaweb.google.com/ModemJunki/OneXDockHack#

See it in action! (not sure how to embed YouTube properly...)
http://youtu.be/tZ0Mom1wZq4

http://www.youtube.com/watch?v=tZ0Mom1wZq4">http://www.youtube.com/watch?v=tZ0Mom1wZq4" type="application/x-shockwave-flash" width="425" height="350">
Last edited by ModemJunki; 14th March 2014 at 11:20 PM. Reason: Update re: 2.2.1
The Following 7 Users Say Thank You to ModemJunki For This Useful Post: [ View ]
27th November 2012, 10:25 AM   |  #2  
nitrous²'s Avatar
Senior Member
Flag Baltimore
Thanks Meter: 529
 
966 posts
Join Date:Joined: Jun 2010
More
Looks awesome!! But shouldn't this be posted on Hardware Hacking forum?

Sent from my HTC One X using xda premium
27th November 2012, 10:04 PM   |  #3  
OP Member
Thanks Meter: 12
 
35 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by nitrous²

Looks awesome!! But shouldn't this be posted on Hardware Hacking forum?

Sent from my HTC One X using xda premium

Thanks.

You're probably correct. I'm not a hardware hacker by habit, so I didn't know that forum existed.

Perhaps a mod will move the thread eventually.
4th December 2012, 05:18 PM   |  #4  
Skanob's Avatar
Senior Member
Flag Perth
Thanks Meter: 601
 
538 posts
Join Date:Joined: Feb 2011
Donate to Me
More
Just a quick question, on what PINs did you connect the resistors? I couldn't see where through the pictures.

I wonder if this will work for the Desire S..

Edit.
Found the answer on the video. Thanks again.
Last edited by Skanob; 4th December 2012 at 05:49 PM.
4th December 2012, 07:25 PM   |  #5  
Junior Member
Thanks Meter: 2
 
20 posts
Join Date:Joined: Dec 2012
Brilliant, congratulations.

Sent from my HTC One X using xda premium
4th December 2012, 10:36 PM   |  #6  
xSilv85's Avatar
Senior Member
Thanks Meter: 48
 
345 posts
Join Date:Joined: Aug 2008
More
I suppose it will work for the international One X too.

Did you have tested with other values of resistance or it needs to be 1000Ohm and 6812Ohm?
4th December 2012, 10:56 PM   |  #7  
OP Member
Thanks Meter: 12
 
35 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by Skanob

Just a quick question, on what PINs did you connect the resistors? I couldn't see where through the pictures.

I wonder if this will work for the Desire S..

Edit.
Found the answer on the video. Thanks again.

Thanks for catching that. I added the description for which pins to bridge.

No idea about the Desire S, but it seems multiple HTC phones share common triggers.
The Following User Says Thank You to ModemJunki For This Useful Post: [ View ]
4th December 2012, 11:04 PM   |  #8  
OP Member
Thanks Meter: 12
 
35 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by xSilv85

I suppose it will work for the international One X too.

Did you have tested with other values of resistance or it needs to be 1000Ohm and 6812Ohm?

I tested with some other values but only 10k, 47k, and 68.1k (really should be 68k) worked. I can't give more details about other values tested at the moment as I'm on holiday in the Caribbean and I live near Chicago in the USA

But I used the working values based on searches on the forums for other HTC devices.
The Following User Says Thank You to ModemJunki For This Useful Post: [ View ]
5th December 2012, 12:40 AM   |  #9  
Skanob's Avatar
Senior Member
Flag Perth
Thanks Meter: 601
 
538 posts
Join Date:Joined: Feb 2011
Donate to Me
More
Quote:
Originally Posted by ModemJunki

Thanks for catching that. I added the description for which pins to bridge.

No idea about the Desire S, but it seems multiple HTC phones share common triggers.

Thanks man. I'm about to buy this and give it to the GF as she has the one with the One X and I have the Desire S (yeah, go figure ). And thinking about modifying the Dock like as you did to make it easy for her to just dock the phone, rather than docking then opening up the Dock Mode App from the phone.

Anyways, last few questions:

10kOhm triggers auto dock mode = That's the Car Mode App, right?

68kOhm triggers desk dock mode (also, a 47kOhm triggers desk dock mode) = And this is the Dock Mode App, right?

Have you tried syncing on PC while in Dock Mode?

Have you experienced any problem with the dock with the changes?

And also, have you tried connecting a MHL-HDMI and does it work? I heard/saw with an unmodified KiDiGi Charge & Sync Desktop Cradle, it works. You can check out what one member did here.

Thanks again man.
5th December 2012, 12:47 AM   |  #10  
OP Member
Thanks Meter: 12
 
35 posts
Join Date:Joined: Apr 2011
Quote:
Originally Posted by Skanob

Thanks man. I'm about to buy this and give it to the GF as she has the one with the One X and I have the Desire S (yeah, go figure ). And thinking about modifying the Dock like as you did to make it easy for her to just dock the phone, rather than docking then opening up the Dock Mode App from the phone.

Anyways, last few questions:

10kOhm triggers auto dock mode = That's the Car Mode App, right?

68kOhm triggers desk dock mode (also, a 47kOhm triggers desk dock mode) = And this is the Dock Mode App, right?

Have you tried syncing on PC while in Dock Mode?

Have you experienced any problem with the dock with the changes?

And also, have you tried connecting a MHL-HDMI and does it work? I heard/saw with an unmodified KiDiGi Charge & Sync Desktop Cradle, it works. You can check out what one member did here.

Thanks again man.

I don't have an MHL to try. Also did not try sync before going on holiday. No problems but I did go on vacation two days after I made the mod.

You are correct about the modes.

The Following User Says Thank You to ModemJunki For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes