USB Audio - Galaxy S6 Edge Q&A, Help & Troubleshooting

How can one enable USB audio on the Galaxy S6? I have the Edge model from AT&T, though I'm sure that makes no difference.
I have a USB DAC I would like to use the phone with. I have a USB OTG cable, and should be able to connect my phone to the DAC to send digital audio from the phone to the USB. This has worked fine on previous phones, and has been supported as a native feature of Android since 4.0.
On my Galaxy S6 Edge, it just doesn't work. It must be missing something simple. In developer options, 'Prevent USB audio routing' is set to 'Off.'
Has anyone had success doing this?

Related

Micro usb audio connector

Is it possible to use the micro USB audio connector for audio? After rooting, the audio application of the android does not recognize the mp3 files to play. Why not let it do so?
I think that would require USB host mode like on the Samsung galaxy. I think that means needing extra hardware doesn't it? -otherwise I would expect every phone to be capable of it
edit: It is possible but you can fry stuff. Info on NookColor forum
USB host = great possible enhancement?
I wanted to post to proper thread, however I am new here I was not allowed to post on developers forum. So I hope that this post will still somehow find its way there. It also includes your original question.
Since some USB features are now claimed to be working, I wanted to ask directly poping out questions:
http://forum.xda-developers.com/showthread.php?p=21669750
Is it possible to...
1.) disable on-screen keyboard while using USB one?
2.) connect USB soundcard like: http://www.usbgear.com/computer_cable_details.cfm?sku=USBG-X2X&cats=121&catid=121%2C136%2C134
To allow listening mp3, Skype calls.... ?
3.) connect USB Ethernet card like: http://www.usbgear.com/205528.html
4.) to connect other cool usb stuff like: GSM, printers ... whatever
thanks you developer guys, I hope I'll once manage some time to learn more about the system and developement so that I could contribute too !
thanks to androind and nook simple touch creators!
mrWax said:
Is it possible to...
1.) disable on-screen keyboard while using USB one?
2.) connect USB soundcard like: http://www.usbgear.com/computer_cable_details.cfm?sku=USBG-X2X&cats=121&catid=121%2C136%2C134
To allow listening mp3, Skype calls.... ?
3.) connect USB Ethernet card like: http://www.usbgear.com/205528.html
4.) to connect other cool usb stuff like: GSM, printers ... whatever
thanks you developer guys, I hope I'll once manage some time to learn more about the system and developement so that I could contribute too !
thanks to androind and nook simple touch creators!
Click to expand...
Click to collapse
Currently the answer to all of the above is no
The USB host mode patch was done for a specific project (USB keyboard support) and while I have been spending some time playing around with Bluetooth I'm not aware of any other dev(s) working on expanding this atm.
Stuff like audio, networking and Bluetooth requires _a_lot_ more than just the kernel accepting to communicate with the device.
thats shame. allowed skype calls would be great
Skype calls are working on my nook with OTG + USB audio card on usb host mode. But it is a bit difficult ))).
To update these older posts:
Yes, it is possible to disable the soft keyboard when using a USB keyboard.
See NullKbd in the signature.
Yes, Skype works fine.
litvinov said:
But it is a bit difficult ))).
Click to expand...
Click to collapse
Where is the difficulty?
Do a logcat and look for overruns and errors.
There were a few mods done to make Skype work.
so an external usb sound card is working?
Yes, an external USB audio adapter can work.
As a portable solution it's a bit cumbersome.
I don't know what current they usually draw, but my cheapy one draws 75 mA.
A desktop solution with powered hub (charging the Nook), a USB adapter and speakers works fine.
Would USB headphones work directly on that port? I have USB OTG cable and some USB sound card somewhere so I can check with regular 3.5mm jack headphones without trouble when I find some time to do it but I just wonder if anyone tried USB headphones on it and what they think of it. Is it worth of a hassle to buy one for NST?
Some USB devices use a multiplexor on the USB micro connector and can send actual analog audio down the connector.
Many Androids support USB host mode and can support an audio USB adapter, including the ones that go for < $10.
The NST (earlier Nooks with OMAP processors) don't have complete software support for USB host mode but can be coerced into working.
The Glows (later Nooks with IMX processor) don't have complete software or hardware support for USB host mode but can be coerced into working.
The Glow4 (7.8") has audio.

[Q] Car Stereo Integration?

My car stereo supports USB thumb drives and iPods. My understanding is that this would work with UMS mode on Android (I think). But with ICS, UMS is gone and replaced by MTP and PTP. Is it possible to still connect an ICS android phone to a car stereo via USB?
I've got a Samsung Galaxy S3 and have tried using the "SGS3 Easy UMS" app to connect my phone with no luck. Is this on the right track? Has anyone else gotten this to work?
I've just switched over from an iPhone which worked great in the car for streaming music via USB and would like to do the same with my SGS3, but right now I can't seem to find a solution so I'm leaning towards returning it and going for the iPhone 5.
Anyone have any luck connecting an ICS android device to a car stereo via USB?
TIA!
phlepper
Why don't you buy a 3.5 mm cable and connect it?
s1xkill3r said:
Why don't you buy a 3.5 mm cable and connect it?
Click to expand...
Click to collapse
Unfortunately, this model stereo (Bose) does not have a 3.5mm input, it only has the USB input. The manual states that the USB input supports "various USB memory sticks, USB hard drives, and iPod players". I have been using it without issue with my iPhone 4 (both as a "USB drive" and to play streaming music via spotify and other streaming players). With the Android phone, with MTP, it doesn't look like a USB drive and therefore won't actually connect (I get a "check device" message).
Seems strange to me that with ICS, the OS is no longer compatible with any of these USB-enabled car stereos (and there seem to be only a handful of MTP-compatible head units out there). Since it apparently worked pre-ICS (I can't verify if that would work on my specific car stereo since my phone is ICS), it would seem that they could have at least had an option to enable UMS mode.
Still hoping for a solution...
phlepper
phlepper said:
My car stereo supports USB thumb drives and iPods. My understanding is that this would work with UMS mode on Android (I think). But with ICS, UMS is gone and replaced by MTP and PTP. Is it possible to still connect an ICS android phone to a car stereo via USB?
I've got a Samsung Galaxy S3 and have tried using the "SGS3 Easy UMS" app to connect my phone with no luck. Is this on the right track? Has anyone else gotten this to work?
I've just switched over from an iPhone which worked great in the car for streaming music via USB and would like to do the same with my SGS3, but right now I can't seem to find a solution so I'm leaning towards returning it and going for the iPhone 5.
Anyone have any luck connecting an ICS android device to a car stereo via USB?
TIA!
phlepper
Click to expand...
Click to collapse
I know how you feal i have a AVH-P3300T and it works GREAT with pandora and iPhone...(even an iPhone 2G) pandora detected the stereo as an accessory right away... but for what ever reason when i plug my HTC Sensation in it jsut reads it it as a disk drive..
there has to be some active driver letting the head unit and the device talk... If there was a way to capture that level of logging going on im sure there some people here that could reverse engineer this... and just make it so that its a service runnign in the back ground...
Either that... or soemoen figure out how to REPROGRAM a head unit from its stock image to an android image lol...

[Q] Force Audio out via USB

I'm part way through completing an Audio/Charging cable for my car and was wondering if there was a way to force audio out via the USB instead of relying on the phone checking for the required voltage to put it into dock mode.
Reason being I want to troubleshoot my setup and be sure that the phone is trying to output audio via the USB port, my USB flex is faulty (I think) so I'm not sure if the sound isn't working because the ROM doesn't support audio out, if the cable I made doesn't work, the phone es faulty etc, if I can force audio over the dock then I know the problem is with the phone.
I've tried a few car mode apps but I don't know if they activate the audio out via USB mode or not.
I'm running Supernexus M1 (4.2) as my ROM if that matters.
Thanks,
Auzeras

Honor 7 is not working with my car audio kenwood kmm u11.

Hello folks.
I bought this phone 3weeks ago and I can't use it with my kenwood kmm u11 car audio. When I connect my phone via usb to car audio, files are being read but sound is coming from the phone instead of car's speakers. Also I have tried it with some other car audios and it did not worked. My phone has B370 build and I could not find a solution for this situation. Please help me if anyone has a solution.
It can't work as a USB mass storage device as the radio doesn't have the right protocols.
When you connect it to a windows PC, it install drivers. A radio can't do that.
Sound only through BT or 3,5"mm jack.
zinko_pt said:
It can't work as a USB mass storage device as the radio doesn't have the right protocols.
When you connect it to a windows PC, it install drivers. A radio can't do that.
Sound only through BT or 3,5"mm jack.
Click to expand...
Click to collapse
I have an LG G2 and it works with usb connection. What is the difference? Honor 7 and LG G2 have Android 5.0.2. I can't get the point.
blast4620 said:
I have an LG G2 and it works with usb connection. What is the difference? Honor 7 and LG G2 have Android 5.0.2. I can't get the point.
Click to expand...
Click to collapse
You are mixing things.
blast4620 said:
When I connect my phone via usb to car audio, files are being read but sound is coming from the phone instead of car's speakers.
Click to expand...
Click to collapse
USB works like any other mass storage device. Might be compatible or not. The the device that's accessing the files plays and handles the output.
The car radio could have a protocol to control through USB the android music player. Check if H7's music player is working. There's also a similar protocol for iOS.
Finally, there's only 5 ways of getting audio out from Android, to other than built-in speaker:
1- 3,5" jack audio out (headphones but works with anything)
2- MHL, for compatible devices, but audio is automatically routed
3- HDMI out, audio automatically routed.
4- Bluetooth, audio automatically routed.
5- Wi-Fi cast, audio automatically routed.
You can use USB as an audio output, but you have to fiddle with the OS. And I'm not sure if it's possible with all devices.
@blast4620 some devices have inbuilt Mass Storage mode, but Honor 7 just have MTP protocol and no Mass Storage protocol.
MTP protocol requires some drivers to be installed on the device to which you are connecting your phone, so it can't work on your Kenwood Player.
Whereas Mass Storage mode doesn't require any drivers to be installed, it's just like Plug & Play(A USB Pen-Drive). So, your LG phone must have a Mass Storage mode, but Honor 7 doesn't have it.
I hope this helps.

OTG / Hi-Fi Plus on H850

Hello,
My question is quite specific, but I am currently running RR 5.8.4 (20170914) and I noticed that OTG has never worked for me (although it works when in TWRP)
I never minded so forgot about it, but I recently got hold of the Hi-Fi Plus cheaply only (£35) and wanted to try it out. As it turns out, it doesn't work and I was wondering whether;
Is this a kernel issue - can I flash an appropriate kernel to get OTG (and hopefully Hi-Fi plus support)
Or, is this just due to the Rom - should I flash a stock rom (e.g fulmics?)
Thanks!
*I have edited the Title as some of the information has changed based on my research, see my replies below*
Just as a follow up to this - I just flashed Fulmics and it still doens't work. I wonder if they only work on completely stock Rom. I will flash back to stock and update accordingly.
I also will try out OTG to see if that works.
OTG on Fulmics also doesn't work (if anyone is interested).
I hope I am doing something wrong here because it would be great to get this going
chalima said:
OTG on Fulmics also doesn't work (if anyone is interested).
I hope I am doing something wrong here because it would be great to get this going
Click to expand...
Click to collapse
Can confirm the Hi-Fi module works on Fulmics, both internally and as an OTG device. If you're using it via OTG, I recommend USB Audio Player PRO. Their custom USB device stack works a lot better than Android's default USB audio device support. Arguably works better than using the Hi-Fi module connected directly to the phone via LG's own apps.
-edited to add: If you're using the Hi-Fi module via OTG or even connected to a PC, make sure you have headphones plugged in. For some reason, the device shuts off entirely and is not recognised unless this is the case.
epithetic said:
Can confirm the Hi-Fi module works on Fulmics, both internally and as an OTG device. If you're using it via OTG, I recommend USB Audio Player PRO. Their custom USB device stack works a lot better than Android's default USB audio device support. Arguably works better than using the Hi-Fi module connected directly to the phone via LG's own apps.
-edited to add: If you're using the Hi-Fi module via OTG or even connected to a PC, make sure you have headphones plugged in. For some reason, the device shuts off entirely and is not recognised unless this is the case.
Click to expand...
Click to collapse
Thanks. I am surprised by this - I went right back to stock (20K) and it still doesn't work for me (even with headphones plugged in). I wonder if there is something I have missed - I have no OTG support on any of the ROMs I have tried (Fulmics, RR and Stock (20K)
I thought the process would be easier - I expected to be able to listen to Spotify with the DAC - is this the case?
I have taken my phone completely back to stock, (H85020g_00_VMC_GB_OP_0703) and plugged in the Hi-Fi plus and it still doesnt work:
The "Friends" app detects the the Hi-Fi Plus
the 32 Bit DAC settings item is greyed out
I plugged in two different types of headphones
I am now at a bit of a loss as I still don't understand why OTG doesn't seem to be working either (obviously related), so the wider question is, why?
I tested out OTG on TWRP and it works, and I tested the cable I purchased on a Huawei P9 and it also works so I dont think it is the cable.
For reference, the OTG cable I have is this:
https://www.amazon.co.uk/gp/product/B01COOQIKU/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
Any assistance would be greatly appreciated! Should I just return the phone and get a new one?
chalima said:
Any assistance would be greatly appreciated! Should I just return the phone and get a new one?
Click to expand...
Click to collapse
Does it play music through the Hi-Fi module at all when you plug in earphones? The stock ROM specific things (like the little Hi-Fi symbol in the notification bar) don't work with it attached as a USB device, it is just picked up as an Android USB audio device.
The cable might also be a factor (although yours looks like it should work); I've found the module to be picky with what will and won't work. Attempting to use the short USB C -> micro USB cable included with the Hi-Fi module (with a micro USB -> USB C OTG adapter, of course) for instance did not work for me.
epithetic said:
Does it play music through the Hi-Fi module at all when you plug in earphones? The stock ROM specific things (like the little Hi-Fi symbol in the notification bar) don't work with it attached as a USB device, it is just picked up as an Android USB audio device.
The cable might also be a factor (although yours looks like it should work); I've found the module to be picky with what will and won't work. Attempting to use the short USB C -> micro USB cable included with the Hi-Fi module (with a micro USB -> USB C OTG adapter, of course) for instance did not work for me.
Click to expand...
Click to collapse
Hi,
No it doesn't play music through the module, it just plays out of the speaker. If I put the headphones in the top of the phone, then it plays from there, but not from the bottom.
I think there is some issue with OTG, rather than the Hi-Fi module as it works fine when I plug it into a computer. I don't really know how I can diagnose it further. I have verified that OTG works in TWRP (and with other devices) so the cable seems fine. I'm not really sure how to proceed from there.
Thanks,
Charlie
The same thing happens to me in my g5 h860n. I have tried different firmware versions and the problem remains the same. Does anyone have an idea that I should try?
Hello! I have the same trouble. Lg G5 H850 GBR, V20v-EUR-XX, unlocked bootloader, root Magisk, stock ROM and kernel. HiFi plus recognized when direct plug into the phone (not tested with OTG-cable) , but, as was writed by Chalima, it doesn't play music through the module, it just plays out of the speaker. If I put the headphones in the top of the phone, then it plays from there, but not from the bottom. Does anybody know, this trouble of hardware, software, or a HiFi plus?
You probably checked this, but I say it anyway:
Developer options/media/USB audio routing ??
Don't disable this.....
Yes, I try with enable and disable this - not working. Also in prog Device Info HW in USB tab I see nothing.

Categories

Resources