Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,814 Members 43,924 Now Online
XDA Developers Android and Mobile Development Forum

Hacking an inexpensive dock to toggle Desktop or Car dock modes

Tip us?
 
ModemJunki
Old
(Last edited by ModemJunki; 14th March 2014 at 10:20 PM.) Reason: Update re: 2.2.1
#1  
Member - OP
Thanks Meter 12
Posts: 35
Join Date: Apr 2011
Talking Hacking an inexpensive dock to toggle Desktop or Car dock modes

*** 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">
The Following 7 Users Say Thank You to ModemJunki For This Useful Post: [ Click to Expand ]
 
nitrous²
Old
#2  
nitrous²'s Avatar
Senior Member
Thanks Meter 508
Posts: 929
Join Date: Jun 2010
Location: Baltimore
Looks awesome!! But shouldn't this be posted on Hardware Hacking forum?

Sent from my HTC One X using xda premium
 
ModemJunki
Old
#3  
Member - OP
Thanks Meter 12
Posts: 35
Join Date: Apr 2011
Quote:
Originally Posted by nitrous² View Post
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.
 
Skanob
Old
(Last edited by Skanob; 4th December 2012 at 04:49 PM.)
#4  
Skanob's Avatar
Senior Member
Thanks Meter 596
Posts: 536
Join Date: Feb 2011
Location: Perth

 
DONATE TO ME
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.
 
d00dl3
Old
#5  
Junior Member
Thanks Meter 2
Posts: 20
Join Date: Dec 2012
Brilliant, congratulations.

Sent from my HTC One X using xda premium
 
xSilv85
Old
#6  
xSilv85's Avatar
Senior Member
Thanks Meter 48
Posts: 345
Join Date: Aug 2008
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?
HTC One X (International Version - Nvidia Tegra 3 Quad Core 1.5GHz) running on:
SkyDragon v.15 Ultimate - Stock Kernel



Please refer me on Dropbox: link
 
ModemJunki
Old
#7  
Member - OP
Thanks Meter 12
Posts: 35
Join Date: Apr 2011
Quote:
Originally Posted by Skanob View Post
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: [ Click to Expand ]
 
ModemJunki
Old
#8  
Member - OP
Thanks Meter 12
Posts: 35
Join Date: Apr 2011
Quote:
Originally Posted by xSilv85 View Post
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: [ Click to Expand ]
 
Skanob
Old
#9  
Skanob's Avatar
Senior Member
Thanks Meter 596
Posts: 536
Join Date: Feb 2011
Location: Perth

 
DONATE TO ME
Quote:
Originally Posted by ModemJunki View Post
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.
 
ModemJunki
Old
#10  
Member - OP
Thanks Meter 12
Posts: 35
Join Date: Apr 2011
Quote:
Originally Posted by Skanob View Post
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes