OTG / Hi-Fi Plus on H850 - LG G5 Questions & Answers

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.

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

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!

[Q] Use android device as a USB sound card or DAC/amp?

The sound card on my laptop is ageing and was not very good to begin with but the one in my phone is great. Is there a USB (not wireless) solution for my PC to detect my phone as a sound card and have the DAC in my phone process the digital audio signal and for me to listen through my phone's headphone jack?
Basically is there a solution that allows me to use my phone as an external usb headphone DAC/amp?
I've done some googling but not found any viable solution yet.
The first one I found that works is WiFiAudio, which you can get to work over USB by enabling USB Networking.
You have to run software on the PC (I tested from Windows 10). Don't know if there's Mac software but I'll be wanting it as well.
play.google.com /store/apps/details?id=com.vnd.wifi_audio
keithkimster said:
The first one I found that works is WiFiAudio, which you can get to work over USB by enabling USB Networking.
Click to expand...
Click to collapse
it's called USB Tethering in android, which is located in Portable Hotspot section.
We'd like to elaborate here a little as it took us some time to figure out how exactly to use our android as a sound card for a PC.
There's another app out there - SoundWire, which we used and known for some time, we haven't tried WiFiAudio, but found it. Think it's pretty similar.
So what those apps do is they let you connect to your android via LAN (WiFi in most cases unless u got ethernet cable in your phone) and they let you transmit sound to your phone. It's pretty simple and straightforward. The drawback is audio delay, which increases with buffer size. But good video player like MPC let's us change audio delay so we can make it play faster than video to compensate for that, takes a little time to figure out the delay tho.
SO we wanted to try it over usb cable, maybe it'd reduce/eliminate the delay heh. (it doesn't) That's how we found this post and we got kinda stumbled on "enabling USB Networking". Tried to look it up, read wiki and all. Turns out it's called USB Tethering in android, which is located in Portable Hotspot section. After enabling that - it adds a network on the PC, provided it's connected via usb cable ofc. Turned off all networking on android (WiFi, mobile) And it works. Though had to type in IP manually.
So now it can be used as a usb sound card without WiFi or anything. Still has a delay tho.
upd: Using a usb cable allows to reduce buffer size to minimum without getting any stutter leading essentially to no noticeable delay. Which is great.

Categories

Resources