[DIY] "Car Dock" Cable - USB audio out + charging - UPDATED! (11-9-11)

LGSilva

Senior Member
May 7, 2007
736
159
0
I just made my own "car dock" cable based on the information over the "Fun with resistors" thread.

Basically I have a cable with a micro-usb connector that switch my phone to "car dock" mode, audio via usb/aux and charging.

CHECK THE 2ND POST FOR UPDATES, PICTURES AND A QUICK VIDEO.

WARNING:
  • This cable can physically damage/destroy your phone if made incorrectly.
  • If you don't have experience soldering electronics and small parts maybe you should not try this.
  • The usb cable will NOT work for sync/data - just charging.
  • I'm not responsible if you damage or destroy your phone/property and/or injury yourself or others.
  • Use this instructions at your own risk.
Parts that I used:


This is the pin-out for the usb connector:


Preparations:

1) Cut one of the aux cable connectors and expose the 3 wires:
  • Yellow = common ground
  • White = right channel
  • Red = left channel
The left/right channel may be inverted, test on your phone before you make the cable.

2) Cut the micro usb connector from the usb cable and expose the 4 wires:
  • Red = +5vcc
  • Black = ground
  • Green = not used
  • White = not used

Soldering:

Start with the audio cable:
  • Solder left channel wire to pin 2
  • Solder right channel wire to pin 3
  • Do NOT solder the ground wire yet

Now with the usb cable:
  • Solder red wire wire to pin 1
  • Do NOT solder the ground (black wire) yet

With the resistor:
  • Solder 1 resistor leg to pin 4
  • Solder the other resistor leg + audio ground (yellow wire) + usb ground (black wire) to pin 5

Almost done...
  • Test all the connections for short-circuit with a digital multimeter
  • Triple check for the right cable on the right place, you don't want to put that +5vcc on the wrong pin, it will fry your phone!
  • Just finish it with some epoxy glue to make sure the cables won't break where you soldered them and some shrink tube for a polished finish.
  • You must go to Settings > Dock Settings > Audio output mode and enable it to have the audio-out working.

I will post pictures next week when I will make a new cable with longer usb and better finish.
The cable I have now works fine, it's just ugly...


I hope this info will be useful for someone :D

Thanks to TheBeano for the info about the resistors :cool:
 
Last edited:

LGSilva

Senior Member
May 7, 2007
736
159
0
* * U P D A T E * *
( a . k . a . v e r s i o n 2 . 0 )

Hello all!
Thank you to all the people who rated this thread and enjoyed the info :D

After building my first cable from two different cables and finishing it up with some epoxy putty I started searching for a better and easier way to build this cable.

While searching on some Chinese accessories website I've found an iPhone USB/aux cable that would make this build easier and nicer.

This is the USB/aux cable from DealExtreme.com (item #34654):


From eBay I got this micro-usb connector with a "housing" (link):


The resistor is the same from the original post:


With this parts in hand I started by taking the iPhone connector apart:


With the soldering iron I removed the connector and with an blade I removed the cable "terminator"(?) so I could expose more wire and use my own "terminator"(?):


Using a multimeter and my "pro-mod" I was able to verify the cables and plugs.
All cables matched so I started soldering:


After checking for short-circuits and fixing the mistake I always make (I invert left and right channels) it was time to squeeze everything inside that tiny housing:


It looks nice but now let's test it:


Pictures are worth 1,000 words but a video is priceless (don't mind the music):
 
Last edited:

CNLiberal

Senior Member
Dec 8, 2008
418
50
0
Centennial, CO
Exactly What I Wanted

This is EXACTLY what I was looking for!! Once I see a picture/video of it in action, I'll get the parts. Question is, are you going to make your own car dock for it? Or are you going to purchase a generic dock? I'd like something that I can slide the phone into easily (and have the phone be horizontal). I am curious about the possibility of getting Digital Audio out instead of Analog. You seem to be the expert, do you think that's possible? Thanks!
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,095
25,085
0
Owego, NY
I'm 95% certain digital audio out is not possible, except maybe for MHL/HDMI audio output via the MHL adapter.

There just aren't any provisions for it.
 

LGSilva

Senior Member
May 7, 2007
736
159
0
Thanks guys for the replies!

I got some PM about selling the cable. Right now I can't do it as I don't have enough time to make a good and durable cable.
The cable I have is kinda put together with epoxy putty and some shrink tubes.

Today I tested the cable and it works fine on my car.

I just found some iPod/iPhone cable that I think can make this build be easier and faster, basically you will change the apple connector for the micro-usb and add the resistor. I still waiting for the parts to arrive to test this new idea.

As Entropy512 said digital audio isn't possible with this setup but I will look in to it in the future to see if it's possible to use the mhl adaptor just for the audio.

Tomorrow I will post the pictures and a small video from it working with my current cable.

Thanks once again for the replies!
 

cbb77

Senior Member
Nov 28, 2010
483
133
73
Massachusetts
This is awesome thanks!! If you can create a few of these I would definitely be in for buying one. I am hoping to replace my itouch in the car with the phone. I already have a nice dock thus just need a cable.
 

CNLiberal

Senior Member
Dec 8, 2008
418
50
0
Centennial, CO
Thanks guys for the replies!

I got some PM about selling the cable. Right now I can't do it as I don't have enough time to make a good and durable cable.
The cable I have is kinda put together with epoxy putty and some shrink tubes.

Today I tested the cable and it works fine on my car.

I just found some iPod/iPhone cable that I think can make this build be easier and faster, basically you will change the apple connector for the micro-usb and add the resistor. I still waiting for the parts to arrive to test this new idea.

As Entropy512 said digital audio isn't possible with this setup but I will look in to it in the future to see if it's possible to use the mhl adaptor just for the audio.

Tomorrow I will post the pictures and a small video from it working with my current cable.

Thanks once again for the replies!
So digital audio out is not possible (that's kinda what I figured). But what about getting a USB->Digital Audio Out? I realize the kernel would have to support a device like this. I'm very new to the Android scene (less than a week). But I'd think that it would be possible. I can't post links yet, but it was a $25 USB->SPDIF device on Amazon. The reason I'm asking is that I'd like a way to eliminate the "road noise" (alternator noise) from my music.

And how are you controlling your music in your car? Do you have a remote for the phone? Bluetooth? Or are you doing it the "old fashioned way". LoL! Thanks again for your efforts!

Jim
 

foxbat121

Senior Member
Apr 27, 2006
2,849
256
0
So digital audio out is not possible (that's kinda what I figured). But what about getting a USB->Digital Audio Out? I realize the kernel would have to support a device like this. I'm very new to the Android scene (less than a week). But I'd think that it would be possible. I can't post links yet, but it was a $25 USB->SPDIF device on Amazon. The reason I'm asking is that I'd like a way to eliminate the "road noise" (alternator noise) from my music.

And how are you controlling your music in your car? Do you have a remote for the phone? Bluetooth? Or are you doing it the "old fashioned way". LoL! Thanks again for your efforts!

Jim
You can use MHL->HDMI adapter then put in a HDMI->Digital audio converter to get the digital audio out without any modification to software. MonoPrice.com has both but I believe the later requires some external AC power.

I have an official Samsung car dock for my Captivate. After reading OP's post, I decided to mod that car dock. I stripe out the part that connects to Captivate USB port and contains microUSB socket for power and 3.5mm audio jack (it already has the required resisitor inside). Now all I need is some 5-wire microUSB male to female extension cable. This kind of cable is hard to come by but do exist.
 
Last edited:

CNLiberal

Senior Member
Dec 8, 2008
418
50
0
Centennial, CO
I did some reading in the 'fun with resistors' thread, and while this mod looks to work, I'm worried about the lack of sufficient charging amperage. It seems that in order to do "high current charging" you need to short pins 4 and 5 on the micro USB plug. Well, those are in use by the audio output. This seems to be a _major_ design flaw in MHL. So basically, you'd have to turn off anything you don't need (WiFi primarily, maybe Bluetooth if you don't want integrated hands-free with your car's head-unit) in order to get an actual charge. So maybe this cable with a Tasker function to turn off those services and activate your Car Home app.

Please take what I say with a grain of salt. Again, I'm very new to Android and I'm probably wrong. :p
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,095
25,085
0
Owego, NY
I did some reading in the 'fun with resistors' thread, and while this mod looks to work, I'm worried about the lack of sufficient charging amperage. It seems that in order to do "high current charging" you need to short pins 4 and 5 on the micro USB plug. Well, those are in use by the audio output. This seems to be a _major_ design flaw in MHL. So basically, you'd have to turn off anything you don't need (WiFi primarily, maybe Bluetooth if you don't want integrated hands-free with your car's head-unit) in order to get an actual charge. So maybe this cable with a Tasker function to turn off those services and activate your Car Home app.

Please take what I say with a grain of salt. Again, I'm very new to Android and I'm probably wrong. :p
The device assumes that a proper high-current supply is present when a dock or MHL ID resistor is detected.

---------- Post added at 01:02 PM ---------- Previous post was at 01:01 PM ----------

So digital audio out is not possible (that's kinda what I figured). But what about getting a USB->Digital Audio Out? I realize the kernel would have to support a device like this. I'm very new to the Android scene (less than a week). But I'd think that it would be possible. I can't post links yet, but it was a $25 USB->SPDIF device on Amazon. The reason I'm asking is that I'd like a way to eliminate the "road noise" (alternator noise) from my music.

And how are you controlling your music in your car? Do you have a remote for the phone? Bluetooth? Or are you doing it the "old fashioned way". LoL! Thanks again for your efforts!

Jim
In theory, I believe the device has USB Host/USB OTG support - but I know very little about enabling it. It MIGHT be possible to get USB sound cart to sort-of work - but getting the phone to route audio to the "new" interface would be extremely difficult.
 

LGSilva

Senior Member
May 7, 2007
736
159
0
The items that I've listed you can buy just 1.
They have other items where the minimum order is 5000.

Sent from my SAMSUNG-SGH-I777 using xda premium
 

Entropy512

Senior Recognized Developer
Aug 31, 2007
14,095
25,085
0
Owego, NY
Mouser is usually a bit better about minimum order quantity though - I think digikey improved over the years in that regard.

Usually Mouser has their quantity price breaks earlier.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone