[Q] Force Audio out via USB - Galaxy S II Q&A, Help & Troubleshooting

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

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] Any way to get Note 2 to work with Car USB?

I've been researching this for a few days now and I am disappointed that I can not find any way to get my Note 2 to allow music playback over USB through the car's USB port. I am trying to hook it up to a Mitsubishi MMCS system.
I know that Samsung has removed UMS on their new phones and that's what most car stereos are used for. I downloaded SGS3 Easy UMS and it seems to work fine (except for the phone appearing as read-only cd drive when I plug it into my computer), and I can access every folder on the device in this mode - at least on the computer. When I plug it into the USB in the car, it starts charging, but the USB/ipod mode on the NAV says "No connection". And yes, it works fine if I hook it up to my old iphone.
My phone has been rooted and I even unlocked it and installed this custom rom on the device, but I still am at a no go. Unfortunately, using my phone as a media device for my car stereo on my long trips to work is one of the main functions I use my phone for. Right now I am stuck using bluetooth which has horrible quality and doesn't offer near the same amount of features on the stereo as USB does.
Does anyone have any ideas or am I simply hosed?

Looking for USB AUDIO- Dock - able Kernel/rom For a Mini Usb DAC

I tried the pacman 4.4.4 rom.
I have an usb ON to go cable + Go vibe mini U dac (which is usb).
I see the USB- DAC turned - powered on.
However I do my headphones in and music does not play.
The developer doesn't have time I read for android anymore.
I did see in sound settings the option : Dock- Audio. But it was greyed out, either shifted out of the rom, or my device is not recognized?
Does anyone please know a rom that might work with this???
Thanks!

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.

Problems with OTG connected USB devices

Ok, so has anyone else had problems with this..
when you plug in an OTG connected usb device (i have the same problem with usb drives and midi controllers so far) and in the notification bar pull down it will say charging usb device, and when you choose to switch it to something else, like transfer files or connect a midi device, it just goes right back to charging the device after changing it for a few seconds or until you tap the screen or check it again.
This has completely stopped me from being able to connect a midi device, and causes the usb drives to get hot, although I can still transfer files in an 3rd party file manager, but the notification bar will never stay in tranfer mode, and it has never gone into midi mode at all.
This is not an issue with my OTG adapter, as I also have the same problems with borrowed adapters, as well as using DEX. In fact in dex, if I plug in a usb drive and switch to transfer files mode it will crash. Has anyone else experienced these problems? Are any of these apps for OTG management in the play store useful for this? They seem to be useless based on the reviews except for testing a UTG adapter. Thanks!
btw I don't have root, my note 8 is fully updated to BQLA version.
Hi, check the battery! If internal resistance goes up so does noise.
Check the cable and connector on the phone as well.

Categories

Resources