3.5mm Audio/Mic/Video out pinout - compilation of info - Captivate General

3.5mm Audio/Mic/Video out pin out - compilation of info​
After searching on here, XDA and other sites, this is a compilation of accurate data I have found Please comment with known good info and I will update this post so it can be used as a single source rather then having 20 different post with hijacked conversations.
Information desired to be compiled into this thread consists of technical pin out of the 3.5MM jack on the Samsung Galaxy S: Captivate i897 and Vibrant T959 (let me know which others and I will add them as compatible).
3.5mm pin out:
1.LEFT EARPHONE
2.RIGHT EARPHONE
3.GROUND
4.MIC
***Note: I have not hacked up a factory earphone/mic/button to confirm this, I will once I get a spare set. This is the only sure fire way I know to be certain as to the OEM wiring and button configuration, NO/NC (Normally Open/Normally Closed) switch, what wires are made (connected/shorted) by the switch to achieve the pause, answer call/terminate call when pressed. This pin out makes sense because a standard headphones without a mic operate normally and the only other way that would be possible would be to have ground and mic switched, and I don't believe that is the case due to info I have found, but not yet tested concerning Video Output.
Audio/Mic compatibility
I have found that the Galaxy S audio output and mic input are wired the same as a.....are you ready for this???? Same as the old trusty Sharp Sidekick... I was shocked to find this but shouldn't be soo since there are only so many options possible to achieve this functionality with a limited number of connectors. Let me know what others are fully compatible and tested. I will add them to this post so it will remain easy to refer to.
So here the list starts: (full OEM functionality only)
Sharp SideKick earphones/mic/button
Audio/Video compatibility
Speculated pin out (will update once tested). This makes sense because it offers the simplest way to share an connector using an electronic switching mechanism triggered by the TV Out switch in the OS settings.
3.5mm pin out:
1.LEFT EARPHONE
2.RIGHT EARPHONE
3.GROUND
4.Video
I have none yet as I have not purchased any to test. I did test with a set of A/V cables for a digital camcorder I have but they were not compatible. I am not listing or mentioning the brands that do not work correctly. If plugs need to be switched (yellow/Red, or white/yellow) I do not want to add to this until I am able to test correct pin out for A/V. Once the pin out is confirmed, I will add A/V cables that work with plug switching.
The goal is to create a "Master List" if you will of compatible/fully function earphones/mic (with or without button), and A/V cables. If button is inline with the earphones it should work the same as OEM, if it does not then please note and I will note that in the list also.
I will consider making another "Master List" for the USB/Charging/HDMI once i have completed testing and a clear understanding of the usb charging pins/voltages etc. There is much info on other posts concerning USB charging, jumping pins 2 and 3, etc. I can say at this time I have only been successful charging in (charger mode) with the OEM cable and charger and with the AT&T MicroUSB charging (only) cable and and most USB port wall warts and car changers. AT&T charging cable is available Here. (Will add link when my account is verified (been a member since 2009 and had a HTC 8125.
I have also confirmed charging loads, current draw in both USB mode and Charging mode.
More to come. Please feel free to offer good tested and proven compatible I/O.
Barry
Search terms: Audio Video Mic Samsung "Galaxy s"

Nice thread, although it is totally going to get buried lol.
Once you verify that information I recommend putting [REF] in the title and posting in the dev section... it's not Q&A so I think it's appropriate there... plus it looks like you've done a lot of research
Sent from my SAMSUNG-SGH-I897 using XDA App

bleerii said:
3.5mm Audio/Mic/Video out pin out - compilation of info​
After searching on here, XDA and other sites, this is a compilation of accurate data I have found Please comment with known good info and I will update this post so it can be used as a single source rather then having 20 different post with hijacked conversations.
Information desired to be compiled into this thread consists of technical pin out of the 3.5MM jack on the Samsung Galaxy S: Captivate i897 and Vibrant T959 (let me know which others and I will add them as compatible).
3.5mm pin out:
1.LEFT EARPHONE
2.RIGHT EARPHONE
3.GROUND
4.MIC
***Note: I have not hacked up a factory earphone/mic/button to confirm this, I will once I get a spare set. This is the only sure fire way I know to be certain as to the OEM wiring and button configuration, NO/NC (Normally Open/Normally Closed) switch, what wires are made (connected/shorted) by the switch to achieve the pause, answer call/terminate call when pressed. This pin out makes sense because a standard headphones without a mic operate normally and the only other way that would be possible would be to have ground and mic switched, and I don't believe that is the case due to info I have found, but not yet tested concerning Video Output.
Audio/Mic compatibility
I have found that the Galaxy S audio output and mic input are wired the same as a.....are you ready for this???? Same as the old trusty Sharp Sidekick... I was shocked to find this but shouldn't be soo since there are only so many options possible to achieve this functionality with a limited number of connectors. Let me know what others are fully compatible and tested. I will add them to this post so it will remain easy to refer to.
So here the list starts: (full OEM functionality only)
Sharp SideKick earphones/mic/button
Audio/Video compatibility
Speculated pin out (will update once tested). This makes sense because it offers the simplest way to share an connector using an electronic switching mechanism triggered by the TV Out switch in the OS settings.
3.5mm pin out:
1.LEFT EARPHONE
2.RIGHT EARPHONE
3.GROUND
4.Video
I have none yet as I have not purchased any to test. I did test with a set of A/V cables for a digital camcorder I have but they were not compatible. I am not listing or mentioning the brands that do not work correctly. If plugs need to be switched (yellow/Red, or white/yellow) I do not want to add to this until I am able to test correct pin out for A/V. Once the pin out is confirmed, I will add A/V cables that work with plug switching.
The goal is to create a "Master List" if you will of compatible/fully function earphones/mic (with or without button), and A/V cables. If button is inline with the earphones it should work the same as OEM, if it does not then please note and I will note that in the list also.
I will consider making another "Master List" for the USB/Charging/HDMI once i have completed testing and a clear understanding of the usb charging pins/voltages etc. There is much info on other posts concerning USB charging, jumping pins 2 and 3, etc. I can say at this time I have only been successful charging in (charger mode) with the OEM cable and charger and with the AT&T MicroUSB charging (only) cable and and most USB port wall warts and car changers. AT&T charging cable is available Here. (Will add link when my account is verified (been a member since 2009 and had a HTC 8125.
I have also confirmed charging loads, current draw in both USB mode and Charging mode.
More to come. Please feel free to offer good tested and proven compatible I/O.
Barry
Search terms: Audio Video Mic Samsung "Galaxy s"
Click to expand...
Click to collapse
I posted a similar link a while back on this over in the accessory forum..http://forum.xda-developers.com/showpost.php?p=9033585&postcount=1
I waiting for a oem set being sent to take apart me by Samsung to verify it..This was for the I9000 not the Captivate though
Mac

Related

Serial Communication

Hey Guys,
I was reading the Forkknife robot thread, and in the last paragraph or so, he mentioned that the android kernel could be modified to allow serial communication through the audio-out plugs in the USB cable.
He said that the audio plug could be used as Ground (Ground), Left (TX), and Right (RX).
I'm trying to find a way to output the sensor data from the HTC Dream to my arduino board, and not have to buy $100+ in sensors i already have.
I imagine it would not be hard to write a program to output the sensors data, but I have not begun Android coding yet, so if anyone could help, it would be greatly appreciated
-Brian
See this new thread...
http://forum.xda-developers.com/showthread.php?t=559380&page=2

[Q] [REQ] improve Video Player + BT performance in Benq E72

Hi!
I own a Benq E72. Unfortunately my headphones broke, and they are not sold in my country. I tried making an adapter but it did not work.
So my only choice is to use a BT headset.
The problem is that BT+Movie player is too much for this phone.
I tried reencoding movies in all sorts of presets, using different codecs but I can not get a smooth play with BT.
I tried (and tweaked) TCPMP, CorePlayer, Divxplayer and Mplayer with no success.
I also tried overclocking the phone, but did not found any app that will work with OMAP v1030 (tried omapclock, XCpu Scalar and the like)
So, all that said, I am looking for any solution to this problem. So if you:
-Know a lightweight video player
-Have successfully solder an audio adapter
-Know an overclocking tool for OMAP v1030
-Know where to buy a headphone in Argentina
Please Reply
Thanks in advance!
Look at my old blog about E72 in my signature. The cabling for an adapter is there - when I had the device the adapter worked ok.
tobbbie said:
Look at my old blog about E72 in my signature. The cabling for an adapter is there - when I had the device the adapter worked ok.
Click to expand...
Click to collapse
Tobbie!
Yes I read your blog, it was very helpful!.
I followed the instructions but the adapter did not work.
I used a Moto V3 adapter and modified it. It had a 100k resistance if I recall correctly.
I did not have a chance to get a 10k (All the stores are across town and closed when I go back home).
I even fooled around with the pinout but all I got was a CLICK! in one of the headphones. The phone did not recognize them.
Thank you very much for replying!
Did you notice that the headset needs also to be connected to the adapter - otherwise the device will not switch to headset mode. Pin 3 needs to be connected to grounds with less than 250 Ohms - usual headsets are in the range from 16 - 60 Ohms, so it should work. It did for me, so why not for you as well? And of course the headset must not contain a capacitor (which is very unusual btw.) but a straight connection.
tobbbie said:
Did you notice that the headset needs also to be connected to the adapter - otherwise the device will not switch to headset mode. Pin 3 needs to be connected to grounds with less than 250 Ohms - usual headsets are in the range from 16 - 60 Ohms, so it should work. It did for me, so why not for you as well? And of course the headset must not contain a capacitor (which is very unusual btw.) but a straight connection.
Click to expand...
Click to collapse
The headset was connected. I will review the adapter, maybe the resistance was not right (I bought the V3 adapter on the street).
Unfortunately I do not know the headphone's Ohm-age, but I tried a few.
I really appreciate your interest and help
You have to remove all the crap that is connected to the USB for the Motorola handling.
Then you can start to use the naked parts that are left:
- USB
- MIC (not needed)
- 3.5mm headphones connector.
You must not keep the electronics for the Motorola handling!

Emulate an Iphone USB interface to a car radio?

I recently purchased a car that has a USB interface for the radio. My wife's Iphone fully integrates with it, of course, and via the radio's interface but the Samsung only mounts as a connected drive.
I have read other thread where people were able to force their Samsung into car dock mode by modifying a USB cable. Is there anyway to just do that in software?
you misunderstand what car mode is.
Good luck! I switched back to my iPhone for this reason alone. I listen to a lot of podcasts and I couldn't get this to work via the USB interface and I don't have bluetooth on my head unit. I can't seem to get the newest update to see if that works either. Would love to know if someone has a solution that doesn't require making your own cable.
yo sleze..what model car if i may ask?
i made my own auxiliary input for my car(i know its not a big feat) with an old dsl filter a soldering gun and some resistors and capacitors.. i might be interested in creating a usb interface for my car and then maybe i can give you some insight .. big maybe
well you will never get the headunit to command the phone, android simply doesn't support anything like that. but you can get audio over USB which is triggered by shorting a couple pins through a resistor. ill have to look up that thread but there may already be a dongle or cable out there to do this. it may not be say "android carmode" but if you find the name of the USB standard that they use to trigger it you can find the appropriate cable or dongle.
isnt there a usb headset available that can stop/start music and next track functionality ..if so you could (in theory) make a usb interface that would allow the head unit or in my case steering wheel control to work similarly?
no it wont command the phone. the framework and apps don't have an interface for that. plus the headunit would need special drivers if the phone had that capability. the issue with android is too many manufacturers do things different so unless google comes out with that on a nexus and tells maunfacturers the way it needs to be implimented I don't see any hope.
there might be a way to echo the commands through adb if you have a computer in your car. but I guess you'd have to know how the music app works for that.
we All know apple has the accessories market down pretty good. even though some older accessories don't work with the newest hardware. that's the one thing apple is good for, a wide accessory market.
now if you have a Bluetooth controler and it uses the right protocol to work with thw samaung bluetooth stack then you might be able to map keys to certain functions with an app or simple configuration file editing. but as far as USB goes I don't think android is designed to host USB input devices. there is limited otg usb support on certain special galaxy s and nexus 1 and nexus s kernels but nothing native.
maybe some 3rd party root app could eventually be developed but I haven't heard of one yet.
besides all that, who knows if the head unit will know to go into audio over USB mode in the first place, even if you get the phone in that mode, will the headunit be looking for USB storage and an iPhone interface only? was it designed to accept USB audio other than an iPod interface?
well with my car BMW mad a usb interface for ipod/iphone.. i hate mac so scratch that.. i also have a usb interface(i can control radio/nav functions via carputer) that is designed to work with I-BUS (intelligent input bus) which is what some BMW's used for audio/nav integration. some newer models actually come with a usb input that was designed to work with most media players..so i thought maybe with some time/frustration/rum..i might be able to make it work..
mejori said:
well with my car BMW mad a usb interface for ipod/iphone.. i hate mac so scratch that.. i also have a usb interface(i can control radio/nav functions via carputer) that is designed to work with I-BUS (intelligent input bus) which is what some BMW's used for audio/nav integration. some newer models actually come with a usb input that was designed to work with most media players..so i thought maybe with some time/frustration/rum..i might be able to make it work..
Click to expand...
Click to collapse
It still to my understanding that on BMW iDrive system will have full integration with iOS. We had a 2010 5 series at home with all the bell and whistles on it, and even then it would only display song names. With my iPod we got full library options, podcast too. Android will only be able to be used as a mounted devices.
Sent from my SAMSUNG-SGH-I997 using xda premium
I used to have an iPhone and installed this kit http://usaspec.com/product.php?ProductID=18. After switching to android I just use a 2.5mm to RCA cable to plug in to the same unit. Not worried too much about integrating with car controls - I also use a phone mount. Does your head unit have any AUX IN connectivity? Maybe on the rear? If so just play audio through the headphone jack. There's always the lighter socket RF adapter option too, but audio quality with those things can be lame.
Samsung-SGH-I997 Infused 2.3.3
yeah the headphone amp on the infuse has pretty good fidelity too. the headphone Jack might not be as convenient as a single USB that also charges the phone but I'd you want to use the playlists and 3rd party apps like Pandora or Google music its the best way. audio over USB needs the dock or special cable to trigger but I don't know which headunits will support that.

[APP][3.0] PodEmu - connect Android to 30pin iPod docking station or car

About
PodEmu is Android application that allows you to connect your Android device to iPod docking station or your car audio system. PodEmu supports both AiR (Advanced) and Simple modes so you can control your Android music app directly from docking station or from your cars steering wheel. PodEmu uses serial protocol to communicate with iPod docking station so it will work only with "old" 30-pin iPod connectors. Lightning interface is not supported.
PodEmu in action:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features
No root required
Display track/time information for currently playing song on your car audio system or docking station display.
Control your favourite Android music app (eg. Spotify, YouTube, Amazon Prime Music, Apple Music) directly from car's steering wheel or docking station remote control
Download docking station color image to android device. Car audios usually have this feature.
Support for Bluetooth serial devices. You can assemble the dongle and connect your android completely wirelessly.
Entirely Open Source You can modify and redistribute as long as you comply with GPLv3.
Screenshots
​
Requirements
- Android device with USB host support (USB host support not required if you are using FT311D or FT312D dongles, or Bluetooth)
- DIY cable or DIY bluetooth dongle. Unfortunately there is no ready-to-use cables available on the market so you need some basic soldering skills to assemble your own cable. Read further for details.
Supported Music Application List
PodEmu will support any music application out of the box if this application properly declares notification in notification/status bar. The table below summarises the behaviour of the applications with which PodMode was tested.
Additionally, please remember, that in order support track/album/artist/playlist/genre navigation fully PodEmu need to have this information provided. Unfortunately there is no way to retrieve this information through the notification bar. In the best case PodEmu is only able to gather information about currently played track, total playlist size and current track position. Therefore PodEmu is trying to mimic the rest of the information for the docking station to be able to operate. Please also note, that each docking station behaves differently and therefore final behaviour will be also different. Feel free to provide feedback with your experience on XDA thread or raise an issue through GitHub issue tracker.
ListSize and ListPosition information is very important to be able to see the total amount of songs in the playlist from the docking station and to be able to select random song from list and jump to it. Whenever this information is missing PodEmu will not know how many songs are in the the current playlist and will not support "jump to" command. In such case you will see one album, that contains 11 songs. Also remember, that even if ListSize information is provided, PodEmu don't know track names "a priori". Therefore, first time you browse them from docking station, you will see titles like "Track XYZ" for all of them. However, once the song is played, its' title is remembered at given position. This list is flushed when total count of song is changed or application is restarted.
For more details about supported apps please visit GitHub project page.
How it works
To work properly PodEmu requires to be connected to your car using two separate channels:
- audio channel (obvious)
- data channel (for control and metadata information)
Audio is transmitted through "classic" analog lines. For metadata serial interface is used. PodEmu will not work with usb/lightning cable, because with such cables all information (including audio) is transmitted digitally and PodEmu is not able to interpret it (plus due to Android architecture it might not be possible to properly recognise the external device and talk to it).
Both channels mentioned above could be connected directly using wires, or bluetooth modules. Below you can find multiple options available to connect your Android device with iPod 30-pins interface.
Audio channel can be connected directly, by wires, or with use of BT module that supports A2DP profile, for example XS3868, RN52, BK8000L.
Data channel could be connected by wires. In this case you will need any USB-to-serial interface like FT232R, FT231X, FT311D, FT312D, PL2303, CP2102, CP2105, CP2108 or CP2110. Alternatively, you can also connect it with any BT module that supports SPP profile (except BLE devices which are too slow). For BT you can use modules like HC05, HC06, RN52.
Obviously you will also need to power all the modules up. There are multiple ways to do it. Below is an example of wiring diagram for XS3868 and HC05 modules that are powered up by LM2596, but you can use any power supply that can provide appropriate voltage and current.
Note for all diagrams below: R1/D1 elements are only required for those cars/docking stations where car or docking station expects the pin 18 to be pulled up to 3.3V by iPod. Otherwise it will not recognise iPod connection. R1 is required to limit the current and D1 is added to protect the dongle (could be omitted to be honest). If you are not sure if you car needs it, it is safe to start without R1/D1 and if car does not recognise connection, then just add it.
Connection diagram: Wired
This is the simplest and the most reliable version of connection.
Supported serial interfaces:
FTDI: FT232R, FT231X, FT311D, FT312D
Prolific: PL2303
SiLabs: CP2102, CP2105, CP2108, CP2110
PodEmu was tested with FT312D, PL2303, FT232R, CP2102. Other chips should also work (as claimed by driver developer), but were never tested with PodEmu.
Connection diagram: Bluetooth with HC-05 and XS3868
Bluetooth setup was tested with HC-05 as serial interface device and XS3868 to stream audio. Connection diagram that was used is the following:
Important notes:
- do not short audio ground (pin 2) with power ground (pins 15 and 16). If you do it, significant noise will appear.
- voltage is set to 3,55V and not to 3,3V. 3.3V is normal operating voltage for HC-05, 3.6V is maximum for HC-05. However 3.6V should be minimum voltage for XS3868. When voltage drops below 3.5V, XS3868 will produce audible warnings. To avoid it, but to stay within HC-05 voltage limits it is recommended to set voltage between 3.5V and 3.6V. There are known cases when slight exceeding 3.6V burned HC-05.
- before using HC-05 it need to be configured. You need to change Baud Rate to 57600 (or whatever rate is required by your car/dock station)
AT+UART=57600,0,0
For details about configuring HC-05 please refer to this manual)
- changing device name is not required, because you can choose the device from paired devices list from the application
- after BT module is configured, you need to manually pair with it. Once paired, start PodEmu, go to settings and select your device from the list of paired devices. Then PodEmu will connect automatically.
- serial interface cable has higher priority to connect, so if it is attached, BT will not connect. Detach the cable first and then restart the app.
Connection diagram: Bluetooth with RN52 (basic)
Setup with RN-52 module is shown below. The big advantage of this module is that it supports both audio and serial profiles, so you don't need to pair your phone with 2 bluetooth modules. Disadvantage is high price (~25 USD).
Note: if you use SparkFun breakout board as depictured above, for some reason they didn't made the pad for AudioGND pin, so you'll need to solder to pin 39 of the module (AGND). This is 6th pin from the topmost right side on the picture above. Luckily there is thick copper area below "SPK_L-" that you can use.
There is minor issue with such connection. Due to the fact that RN-52 is using differential output and we are using only audio positive lines, there are electrical spikes few seconds after audio goes mute. It can be heard as single "clicks" few seconds after going on mute.
Before using RN-52 module you need to program it. It is done by connection GPIO9 pin to ground. Then you can connect module to you computer to standard COM port using UART_TX and UART_RX and program it. Commands you will need:
Code:
su,04 - set baud rate 57600
sd,06 - enable only A2DP and SPP discovery profiles
sk,06 - enable only A2DP and SPP connection profiles
sn,PodEmu - set device name to RN52-PodEmu
ss,0F - set default gain level to maximum
Connection diagram: Bluetooth with RN52 (advanced)
For those who has pcb production skills I recommend to use this schematics. In comparison to previous RN-52 schematics, this implementation uses TPA6112 audio amplifier with differential input. Using this amplifier eliminates "single clicks on mute" issue described in previous section.
Note: Don't forget to setup RN-52 module as described in previous section.
My personal implementation of this dongle looks like this:
Reporting issues and requesting enhancements
Please use "Issues" tab on GitHub to report a problem or request an enhancement. You can also report a problem directly from application. For this, just enable "Enable debug collecting" option in settings, then reproduce the issue, and then use option "Send debug to developer". This will send debug file with all logs from application. Don't worry, it will not collect your personal data. However, while sending, please don't forget to describe the problem you are encounting - otherwise your email will be ignored.
Credits
USB Serial For Android: https://github.com/mik3y/usb-serial-for-android
ByteFIFO class: http://www.java2s.com/Code/Java/Threads/ByteFIFO.htm
Android Developer Icons: http://www.androidicons.com/
Question mark icon: http://www.clipartpanda.com/categories/animated-question-mark-for-powerpoint
Subscribed
If I can help you test out things, just let me now. Still have to build the cable tho.
Also if it would be possible to build a Bluetooth-only adapter (like Tune2Air), I would be really interested in!
BTW, I'm owning a 2009 BMW 3-series, with iDrive and USB/iPod-Connection (Serial+Analog).
iCstyle said:
Subscribed
If I can help you test out things, just let me now. Still have to build the cable tho.
Also if it would be possible to build a Bluetooth-only adapter (like Tune2Air), I would be really interested in!
BTW, I'm owning a 2009 BMW 3-series, with iDrive and USB/iPod-Connection (Serial+Analog).
Click to expand...
Click to collapse
Great! As soon as you have the cable and do the first tests, please let me know the result. Any help with testing is appreciated!
About BT adapter - this should not be a problem, but BT sound quality sucks so I didn't consider it. However, there are ready to use adapters on the market like this one: http://www.iphonejd.com/iphone_jd/2013/10/review-dockboss-air.html. Before starting this project I ordered one of them (not dockBoss but some other chineese copy) and it didn't work with my car. Maybe you will have more luck.
I will
I don't think BT audio is that bad. I almost don't hear any difference between Tune2Air and AUX (if source media is good quality). And I'm really into good sound quality. Then there's still the option of using a BT module with apt-x codec, which should be good enough
Does dockboss air support AVRCP with id3tags? But even if it does, it will never support browsing playlists I think? And it's boring to use a device which already exists to buy
I know a lot of people who would be interested in such a (Bluetooth) solution, and if it would support of browsing playlists/songs from apps like Google Music, Spotify, etc., that would be so awesome!!! I don't know of any other App which does this...
iCstyle said:
And it's boring to use a device which already exists to buy
Click to expand...
Click to collapse
Haha, I liked this part of your post the best!
iCstyle said:
Does dockboss air support AVRCP with id3tags? But even if it does, it will never support browsing playlists I think? And it's boring to use a device which already exists to buy
Click to expand...
Click to collapse
As far as I remember - yes, it supports AVRCP.
iCstyle said:
I know a lot of people who would be interested in such a (Bluetooth) solution, and if it would support of browsing playlists/songs from apps like Google Music, Spotify, etc., that would be so awesome!!! I don't know of any other App which does this...
Click to expand...
Click to collapse
We can consider building such BT solution as the next step. For now I would like to focus on polishing PodEmu .
I DL'd from the market a few days ago. PodMode didn't quite work for me either, but in all fairness I didn't troubleshoot.
Besides the one problem I posted in the other thread, the display doesn't often update.
If I change the song on the tablet the display continues showing whatever song was playing previously. Changing the track with the car buttons changes the display as it should.
My car is a cheap POS electronic wise so I'm only looking to utilize the display as only the track buttons works.
fr4nk1yn said:
I DL'd from the market a few days ago. PodMode didn't quite work for me either, but in all fairness I didn't troubleshoot.
Click to expand...
Click to collapse
Now I am confused. Are you talking about PodMode or PodEmu?
rp9 said:
Now I am confused. Are you talking about PodMode or PodEmu?
Click to expand...
Click to collapse
PodEmu* is the one not always displaying the correct track.
*Just stating I tried both apps.
fr4nk1yn said:
PodEmu* is the one not always displaying the correct track.
*Just stating I tried both apps.
Click to expand...
Click to collapse
Ok. PodEmu is not pushing song info by itself when it is changed. This behavior is consistent with what real iPod do. Whenever real ipod is connected to the car it's screen is blocked and you cannot control music from ipod, only from car. Anyway I noticed that my car detects song change and "asks" about song details itself. Your car apparently don't. This is why I need more testing on different cars / docks [emoji2]. I'll try to add this feature in the next build.
I just ordered the parts I need for the cable, hope to get them till saturday, then I can start testing
Btw, where are you from?
Bought one of these :http://goo.gl/RNoQop, soldered on a USB cable, reverse the data cables, the app now works great with no configuration.
One note is on my tablet when the serial adapter is first plugged in the on screen prompt has had to be accepted for PodEmu or it doesn't recognize the adapter.
fr4nk1yn said:
Bought one of these :http://goo.gl/RNoQop, soldered on a USB cable, reverse the data cables, the app now works great with no configuration.
Click to expand...
Click to collapse
Great!
fr4nk1yn said:
One note is on my tablet when the serial adapter is first plugged in the on screen prompt has had to be accepted for PodEmu or it doesn't recognize the adapter.
Click to expand...
Click to collapse
This is normal android behavior: app is asking permissions to use usb device. If you don't grant, app is not allowed to use the device.
Btw, fr4nk1yn, could you post make and model of your car?
30 pin connector only or USB?
Just wanted to clarify, will this app/DIY cable combo only work on devices with a 30 pin male connector on them, or can I use a 30pin male to USB connector to hook this up to my car stereo?
For example:
Android phone --> PodEmu --> DIY Cable --> 30pin connector --> USB --> Car Stereo
or is this only good for car stereos that have the 30 pin connector built in?
Thanks
TheCrut said:
Just wanted to clarify, will this app/DIY cable combo only work on devices with a 30 pin male connector on them, or can I use a 30pin male to USB connector to hook this up to my car stereo?
For example:
Android phone --> PodEmu --> DIY Cable --> 30pin connector --> USB --> Car Stereo
Click to expand...
Click to collapse
TheCrut, short answer is "most probably - no".
Long answer: it all depends on what is your 30pin-usb cable. If you are talking about std cable that you use to connect iPod to PC, then the answer is no. However if you have special cable supplied by your car manufacturer it might work. Eg as you might learn from spadival 's thread Hyundai cars has such dongle.
TheCrut said:
Just wanted to clarify, will this app/DIY cable combo only work on devices with a 30 pin male connector on them, or can I use a 30pin male to USB connector to hook this up to my car stereo?
For example:
Android phone --> PodEmu --> DIY Cable --> 30pin connector --> USB --> Car Stereo
or is this only good for car stereos that have the 30 pin connector built in?
Thanks
Click to expand...
Click to collapse
If your stereo supports an iPod connection by USB you can skip the 30pin connector. You just need to wire the serial wires to the USB data pins.
@rp9 I'm getting weirdness but I'm hoping I solved it.
The app doesn't like when the tablet sleeps and wakes continuously. The track buttons starts changing tracks "randomly". Track forward will cycle between back and forward, switching between the same 2 songs, then it picks a track somewhere in the playlist then operates normally for awhile.
I've started killing PodEmu on suspend which I hope fixes the issue.
-Edit: Hyundais pretty much suck.
I think I've narrowed the issue down to PodEmu being connected to the serial adapter but the "dock" is "disconnected".
fr4nk1yn said:
-Edit: Hyundais pretty much suck.
I think I've narrowed the issue down to PodEmu being connected to the serial adapter but the "dock" is "disconnected".
Click to expand...
Click to collapse
Hi fr4nk1yn. I am not sure if I understood correctly your problem. Can you please describe step by step how to reproduce the issue, expected behaviour, observed behaviour. Also without logs I cannot do too much. Please collect and send them to me.
hey, what about hc-05 support?
and thanks ofcourse!
if you need me as a tester for the hc-05 I can help.
rp9 said:
Hi fr4nk1yn. I am not sure if I understood correctly your problem. Can you please describe step by step how to reproduce the issue, expected behaviour, observed behaviour. Also without logs I cannot do too much. Please collect and send them to me.
Click to expand...
Click to collapse
I'll get some logs to you. I don't actually drive the car too much during the week. I'm afraid the logs will be quite large trying to replicate the issue.
I'm not sure what's causing the disconnects.
I'm using Timur's kernel with a N7'13 so when I shut the key off the tablet goes to sleep. Killing PodEmu before sleep made no difference.
Another oddity, that should not be caused by the app but only happens while in use, is Play Music frequently "not being able to play the song".
@rp9 I sent a log. Unfortunately I didn't look beforehand so it has a lot of previous stuff going back to the 31st.
Hopefully the stuff from tonight is of help.
Thanks for the making the app open source. I drive FIAT Punto in India 2013 Model. I would like to understand how this works? My Car supports direct 30 pin USB connection no special cable is needed. Does the app send the audio over usb? I will be glad to help you to test it out with my car.

LineageOS Sound from Dockingstation 3.5mm audio jack

Hi all,
with the web overflowing ~30 years after it's invention I can't g**gle this...
UPDATE 1: restored the S4 to a stock Android 5.0.1. Settings > My Device > Accessories > enable "Audio Output Mode" => Plays music through the dock's jack allright => Conclude: must be somehting with Lineage. Will try a more recent AOSP-10 based rom later...
/UPDATE1.
UPDATE2: tried with an AOSP 10 based HavocOS version. Doesn't work, Options are the same as in the LOS based ROM. => is there no non-stock rom out there supporting the damn samsung docks!?
/UPDATE2
UPDATE3: now raised this question in the Samsung S4 Q+A forum; please excuse the double-posting; mods may close this here (but please don't delete as I didn't take the full details over)
Audio through "Mulitmedia Dock" 3.5mm jack?
Hi all, tl;dr: how to make a Samsung dock work like in stock 5.0.1 years ago with any more recent custom rom? I can't get my I9506 to route audio through the dock except if I use the old stock rom. (Note: posted this question with a few details...
forum.xda-developers.com
/UPDATE3.
-- original post below --
tl;dr: how to get 3.5mm audio jacks on Samsung docking stations to work?
I have two devices, Samsung Tab 2 and Galaxy S4 (yes, old, but for what I'd like to do still what you want for "no money").
For each I have an original Samsung Docking Station ("Desktop Dock EDD-D1E2BE" and "Multimedia Dock EDD-S20EWE", respectively), each with a 3.5mm audio jack at the back.
EDIT:
- The Tab2's station is "stupid", i.e. it only splits out the (30pin?) connector into the data / power lines (keeping the same plug / connector geometry) and the audio leads. No chips inside that dock.
- The S4's dock contains a usb hub (3 Ports), HDMI connector, and the audio jack and micro-USB port. Several chips inside. Not sure if there's anything like a USB-connected audio chip ("DAC"?) in there, would have to get the glued PCB out to get some understanding (maybe). So here LOS might need some sort of "driver" to talk to the audio DAC and then the jack?
/EDIT.
The Tab 2 runs a dated Lineage 14.1 (Android 7.1.2), and the S4 (ks01ltexx) a more recent LOS 18.1 / Android 11.
Want to use media apps (radio streaming ...) to send audio output through that jack to our living room amp. Yes, I could plug the 3.5mm audio cable into the device's own jack, but that's ugly as hell. Plus, want to be able to take the device (which wouldn't matter in the end, happy to get one combo to work) out of the dock, select the stream etc, and once it plays (then through the crappy device's speakers) set the device back into the cradle and have it re-route through the rear jack - without plugging a cable.
Doesn't work in either, and I can't find any related options in the settings / get it to work.
On the LOS 14.1, there's Settings > Sounds > Other Sounds > Dock-Speaker (?) (translating from my system language here, might not be fully correct) where there's two options "All Audio Sources" and "Only Audio Sources from Media" (wording doesn't really make sense, also not in my native language). Neither does change anything.
Also on the LOS 14.1, in the Developer Options, there is the selection for the "USB Configuration" offering "charging", "MTP", "PTP", "RNDIS", "Audio Source", and "MIDI". None of them does the trick, and "MIDI" can be selected but is never realy "set", i.e. it reverts back to what was set before when entering this option screen again.
In the LOS 18.1, "Audio Source" and "MIDI" aren't there, I have "file transfer" (I think that's MTP in earlier versions), "USB tethering", "PTP", "no data transfer" (which would be "charge only" I think).
On both, another developer option is "disable USB audio routing", which is switched off (so it should allow to route USB audio to the dock I would expect).
All these options in various combinations make no difference on either device. Also, I'd think that making it work should be possible even without any dev options.
Is there's a general issue with docking stations, audio and LOS? Have been through various versions over the years with the Tab 2 and occasionally re-tested the dock/jack thing - never worked, but never really looked into it. Only thing not tried is to go back to a stock samsung FW (which would be an Android 5.0 or so for the galaxy S4, possibly even worse for the Tab2).
Q: is it generally possible to enable the sound via the docks? Anyone using similar combinations with any LOS or other ROM?
Cheers.

Categories

Resources