USB OTG + Charging at the same time - Samsung Galaxy S7 Edge Questions and Answers

Hi guys,
I intend to use an old s7 edge in car with a USB DAC (Mini USB DAC signstek audio -- PCM2704). I plug into the car.
Since this DAC requires a power source from the phone, it works and audio comes out, but now I have no way to charge the phone.
I am so confused with all these issues with cables and hubs. I saw Nexus 7 had a special timur usb host kernel rom or something...
What's the bottom line... how can I power the phone and the DAC at the same time and have the DAC plugged to the phone?
Are there roms I can use or special modifications whatever, what cable/hub? Please let me know.
I'm ready to root this phone and install a custom rom, but want to use it for this purpose

Instead just buy a cheap fast wireless charger.

a_ahmed said:
Hi guys,
I intend to use an old s7 edge in car with a USB DAC (Mini USB DAC signstek audio -- PCM2704). I plug into the car.
Since this DAC requires a power source from the phone, it works and audio comes out, but now I have no way to charge the phone.
I am so confused with all these issues with cables and hubs. I saw Nexus 7 had a special timur usb host kernel rom or something...
What's the bottom line... how can I power the phone and the DAC at the same time and have the DAC plugged to the phone?
Are there roms I can use or special modifications whatever, what cable/hub? Please let me know.
I'm ready to root this phone and install a custom rom, but want to use it for this purpose
Click to expand...
Click to collapse
It's either USB-OTG or charging, you can't have both as hardware limitation (and i don't think any phone has that capability), unless you wireless charge

then how do those guys with the nexus 7 charge and have a dac at the same time with a Y cable?

i have nexus 7 with Y cable, but it works on some rons with enabled charging. thats why usb cable had many pins

Related

[Q] Pogo pins and OTG question [simultaneous charge & OTG?]

I'm wondering if anyone knows if it's possible to have simultaneous OTG & charging with the use of a pogo pin charger?
For instance, plug in a usb OTG into the main microUSB charging port, and use a pogo pin charger [either make one or buy when they are available], and have a flash drive, or hard drive plugged in, and charge at the same time with the pogo pin connector?
I used to have a Nexus 7, and via a custom kernel, and a OTG charging cable [basically a regular OTG with additional power wires & connector for charger]. But I think it would be simpler to use the pogo pin approach. The only thing I'm worried of however, the kernel might disable OTG while it charges via pogo, or perhaps disable charging while OTG is enabled. I guess in this case, we would need a modified kernel to achieve simultaneous OTG and charging.
Here is a link to one of the first Nexus 10 pogo charger cables and it makes this claim:
"You still can power Nexus 10 while the USB port is otherwise occupied for data uses. It is fun & convenient to have MagNector to free up the USB port and charge faster."
http://www.ebay.com/itm/MagNector-N...ader_Chargers_Sync_Cables&hash=item20ce4990a6
So if that statement is true than the answer to your question is Yes.
eBay item is no longer available..
However, I know how sellers often make unfounded claims like that. So while it's probably a good sign, I am not convinced it's true. If anyone is fortunate enough to have a pogo charger, could you test it out with a otg cable and let us know the results?
Or if you're a kernel hacker, maybe take a look at the kernel source code and tell me what you think?
Also if anyone has a link where I could read about pogo pins for the N10, I'd like to read it. I'm interested in trying to make one, if they don't make any low-cost ones in the near future.
:bump:
mvmacd said:
eBay item is no longer available..
However, I know how sellers often make unfounded claims like that. So while it's probably a good sign, I am not convinced it's true. If anyone is fortunate enough to have a pogo charger, could you test it out with a otg cable and let us know the results?
Or if you're a kernel hacker, maybe take a look at the kernel source code and tell me what you think?
Also if anyone has a link where I could read about pogo pins for the N10, I'd like to read it. I'm interested in trying to make one, if they don't make any low-cost ones in the near future.
Click to expand...
Click to collapse
The answer to the question is ye, you can charge and use otg. Btw, http://pogocable.com/ 20$ isn't a bad price...
lKBZl said:
The answer to the question is ye, you can charge and use otg. Btw, http://pogocable.com/ 20$ isn't a bad price...
Click to expand...
Click to collapse
Just wondering, have you actually tried it yet? I remember on the n7 it would disable pogo charging when you plugged in otg. I hope n10 is different.
Swiped from my Nexus 10 using xda-developers app
I got the pogo cable in today. I plugged the usb-otg cable into the Nexus 10 with a thumbdrive connected to it. Stickmount recognized the thumbdrive and I can read/write to it. I noticed that the battery runs down while the otg is plugged in though. Running Paranoidandroid 2.99 with whatever kernel comes with that.
bd177 said:
I got the pogo cable in today. I plugged the usb-otg cable into the Nexus 10 with a thumbdrive connected to it. Stickmount recognized the thumbdrive and I can read/write to it. I noticed that the battery runs down while the otg is plugged in though. Running Paranoidandroid 2.99 with whatever kernel comes with that.
Click to expand...
Click to collapse
Does it say "Charging (USB)" or "Charging (AC)" in Settings > Battery?
mvmacd said:
Does it say "Charging (USB)" or "Charging (AC)" in Settings > Battery?
Click to expand...
Click to collapse
It says "Charging (AC)"
I know it's not the original question, but it looks like that would be possible with a modified OTG USB cable. Sounds like you already have something similar.
I was thinking about this for using my n10 for larger video recording when away from wifi. Just need to hook a battery up to the OTG while its plugged into the thumb drive. It takes a charge off my laptop when connected via the otg usb, so it should work as well with the correct setup voltage/wiring .
I would also like to know the pin designation for the pogo plug. If you can do the same setup as the one above, with the pogo... There would be less chance of damage to the tablet on the go......
metaled222 said:
I know it's not the original question, but it looks like that would be possible with a modified OTG USB cable. Sounds like you already have something similar.
I was thinking about this for using my n10 for larger video recording when away from wifi. Just need to hook a battery up to the OTG while its plugged into the thumb drive. It takes a charge off my laptop when connected via the otg usb, so it should work as well with the correct setup voltage/wiring .
I would also like to know the pin designation for the pogo plug. If you can do the same setup as the one above, with the pogo... There would be less chance of damage to the tablet on the go......
Click to expand...
Click to collapse
I know a nonstandard OTG cable [a OTG charging cable, basically the same as a regular one, except it has female USB only connected to the charging pins] and a modded kernel allowed for simultaneous OTG + charge on the Nexus 7, but I'd rather not have to deal with that, as getting a separate pogo charger seems like a better option.
mvmacd said:
I know a nonstandard OTG cable [a OTG charging cable, basically the same as a regular one, except it has female USB only connected to the charging pins] and a modded kernel allowed for simultaneous OTG + charge on the Nexus 7, but I'd rather not have to deal with that, as getting a separate pogo charger seems like a better option.
Click to expand...
Click to collapse
It has to be a moded kernel to access the data in read/write mode? Nothing to do with charging, and correct?
What I was considering is a battery/usb hub combo. One that plugs into the micro usb port and the battery actually has a female usb port for the thumb drive (need root to write to the drive, but not to stream from it). Amazon carries lots of external batteries with micro usb connection and the female usb port.
I agree, the pogo would be much simpler and still allow data through the micro usb.
The pogo would be much better for portability for this type of use especially if it allows for faster charging. If no one has the pin layout, guess I'll wait to get mine and test them myself. 6 pins on the n10 itself so it's not a standard usb pin setup?
metaled222 said:
It has to be a moded kernel to access the data in read/write mode? Nothing to do with charging, and correct?
What I was considering is a battery/usb hub combo. One that plugs into the micro usb port and the battery actually has a female usb port for the thumb drive (need root to write to the drive, but not to stream from it). Amazon carries lots of external batteries with micro usb connection and the female usb port.
I agree, the pogo would be much simpler and still allow data through the micro usb.
The pogo would be much better for portability for this type of use especially if it allows for faster charging. If no one has the pin layout, guess I'll wait to get mine and test them myself. 6 pins on the n10 itself so it's not a standard usb pin setup?
Click to expand...
Click to collapse
No, on the Nexus 7, if you plug in a OTG cable [which basically grounds a certain pin, the only difference between micro OTG and micro to full size USB adapter], it disables charging through power pins, because it needs to send power to OTG device, for example, a flash drive. It needs +5V power.
So the kernel mod was to disable the output of power, so that it could instead receive power and charge, from the charger. [The charger also 100% powering the OTG device]
Even if you have an externally powered hard drive, it needs power to turn on, even if it uses a wall adapter for the actual power to run the device.
Here is the kernel I was talking about: http://mehrvarz.github.com/usb-host-mode-power-management-nexus7/
it was made by a rootzwiki user. some discussion here: http://forum.xda-developers.com/showthread.php?t=1934722
Check the images of the USB hub on the 1st link.
Just for the heck of it I plugged a USB cable connected to my PC into the Nexus 10 while the pogo was also connected. The Nexus 10 showed up on the PC as it normally does in the file explorer and I can transfer files back and forth as usual. I went to Settings -> Battery on the Nexus 10 and it showed "Charging AC". I then unplugged the pogo cable and the status changed to "Charging USB". Plugged the pogo back in and the status switched back to "Charging AC". Then to make sure the pogo was actually doing the charging, I watched 2 hours of Netflix with the screen set to full brightness. The battery went down only 2%, so I'm pretty sure the pogo was doing the charging.
Sv: [Q] Pogo pins and OTG question [simultaneous charge & OTG?]
Thanks for your test. However with Nexus 10 connected to pc it is not in otg/host mode. You need to connect for example an usb memory with a otg cable to test if charging work with host mode enabled. There seems to be some discussions going on claiming pogo charging is disabled in host mode on Nexus 10 as well. It would be really really stupid if that's the case and I can't for the world figure out how they could put this limitation in the kernel.
Skickat från min HTC Desire via Tapatalk 2
Johan1976 said:
Thanks for your test. However with Nexus 10 connected to pc it is not in otg/host mode. You need to connect for example an usb memory with a otg cable to test if charging work with host mode enabled. There seems to be some discussions going on claiming pogo charging is disabled in host mode on Nexus 10 as well. It would be really really stupid if that's the case and I can't for the world figure out how they could put this limitation in the kernel.
Skickat från min HTC Desire via Tapatalk 2
Click to expand...
Click to collapse
Yes I tried that and the pogo would not charge.
EDIT: I bought a couple of OTG Y-cables on ebay (1 male micro usb end, 1 female micro usb end and a female usb end) to play around with when I saw they had a fix for the Nexus 7. I tried one on my Nexus 7 (PA rom and Timur kernel), connecting the female usb to a powered usb hub that has 16gb sdhc card plugged into it. Then connected the female micro usb end to a spare micro usb charging cable and the other end of the charging cable to the usb hub. The male micro usb end gets connected to the Nexus 7. I fired up the Nexus 7 while in the Asus pogo dock I bought for it and it charges the Nexus 7 while also allowing the OTG connection. I tried the same setup with my Nexus 10 (PA Rom, Ktoonez kernel) and pogo cable and it worked. The Nexus 10 charges through the pogo cable while the OTG works also. With the usb hub I'm using with the Nexus 10, I had to plug the charging cable into a charger wall wart. I don't think the old hub was putting out enough power to power the usb device. I let them both run over a day like this. Ran some RomToolBox app backups on both them and they both are charging on the pogo pins while doing so. If you go to system settings -> battery it shows "Charging AC" on both.
The galaxy nexus already has a custom kernel that supports OTG + charging (via a y-cable):
http://forum.xda-developers.com/showthread.php?t=1835720
In that thread (and the link in the OP there) there are discussions about porting that kernel to the nexus 7. Also, this modified kernel is (currently) for 4.1.2. Unfortunately I am not smart enough to do this myself (especially we are now dealing with the pogo cable and the USB); I do hope to let everyone -- especially the developers! -- knows about the possibility in view of the gnex kernel.
Is this an issue only with Disk Media over OTG, or is it with anything (controllers, etc.) over OTG?
If anyone is interested read my edit a couple of posts up.
Sv: [Q] Pogo pins and OTG question [simultaneous charge & OTG?]
It says AC charging even though it's not actually charging. Confirm this with for example battery monitor widget.
Skickat från min HTC Desire via Tapatalk 2

[Q] Nexus 7 car install general questions

Am beginning my project to install a 2012 N7, 32 gig, wifi only, in my 2006 Scion xB double DIN as a replacement for the stock head unit. I am keeping the stock speakers for now. I am adding an external amp.
I've done head unit swaps over the years so I know how to open up the dash, remove the existing unit, and how to wire up a regular head unit.
Here's question #1. I am going to use Timur's kernel (using USB ROM for Nexus 7) so that I can use a USB hub and the OTG cable. The OTG cable micro USB will plug into the N7 micro USB port, but the other end of the OTG cable has two plugs. One is a regular USB (female), which I will need to gender change so I can plug into my powered USB hub. The third plug is a micro USB female. Is that third plug needed to bring power or data back to the N7? And if so, what does it get plugged in to?
To power the hub I plan to use a buck converter connected to a dedicated 12v line. The converter will step the voltage down to 5v 3a to power the USB hub. The only thing coming off the hub will be the N7 and a USB 3.0 thumbdrive that will hold my music library.
The second q concerns heat. I'm in S Texas. Has anyone experimented with leaving the back of the N7 off and adding a heat sink to the battery, or adding some sort of insulation, or diverting AC air from the existing ductwork (for when the car and AC are on)? Just looking for ideas.
Thanks in advance for any and all help.
bob.lehardy said:
Am beginning my project to install a 2012 N7, 32 gig, wifi only, in my 2006 Scion xB double DIN as a replacement for the stock head unit. I am keeping the stock speakers for now. I am adding an external amp.
I've done head unit swaps over the years so I know how to open up the dash, remove the existing unit, and how to wire up a regular head unit.
Here's question #1. I am going to use Timur's kernel (using USB ROM for Nexus 7) so that I can use a USB hub and the OTG cable. The OTG cable micro USB will plug into the N7 micro USB port, but the other end of the OTG cable has two plugs. One is a regular USB (female), which I will need to gender change so I can plug into my powered USB hub. The third plug is a micro USB female. Is that third plug needed to bring power or data back to the N7? And if so, what does it get plugged in to?
To power the hub I plan to use a buck converter connected to a dedicated 12v line. The converter will step the voltage down to 5v 3a to power the USB hub. The only thing coming off the hub will be the N7 and a USB 3.0 thumbdrive that will hold my music library.
The second q concerns heat. I'm in S Texas. Has anyone experimented with leaving the back of the N7 off and adding a heat sink to the battery, or adding some sort of insulation, or diverting AC air from the existing ductwork (for when the car and AC are on)? Just looking for ideas.
Thanks in advance for any and all help.
Click to expand...
Click to collapse
Timurs kernel is old. Use kangaroo rom or any 4.4.2 rom and kangaroo or oxydo kernel in the kangaroo thread there is a power manager app that will allow the tablet to fast charge and turn on and off with ignition. If your worried about heat buy a 12 volt fan and power it up with 12 volt from car. The micro usb female is for power use the cable that came with the n7 Power it with a 2amp or more 5v power car charger(i bought a samsung branded) works great. You dont need a hub if your only gonna power a flash drive. Micro male to tablet, full size female to flash drive ,micro female to nexus charging cable to usb car charger plug.
The GPS WiFi Bluetooth and NFC antennas are all on the back cover so none of them will work without it. So that means no sat nav or internet. I wouldn't worry about cooling it the tablet is meant to function with the back on in a variety of conditions. If you want you could cut a hole in the back there is a copper sheet that is the Nexus's heat sync. Maybe hook up a CPU or graphics card heat sync out a desktop. Or even just stick it to the plastic back its bound to do something.
Sent from one of my 47 iPads running android C3P0

Please help asap nexus 7 car install otg timurs usb not seeing usb power

I installed it in my dash and removing it is a pita it was working perfectly fine but for some reason it wasnt showings charge or turning off or on with the car it just stays on i tried restart nothing happens i tried unplugging usb from powergen and plugging back in no result
Also if i go to usb rom under fixed installation i am able to check box and uncheck also did nothing
I am using nexus 7, timurs usb rom, otg cable, original charging cable and powergen usb charger
Please help thanks
Anyone???
I'm also using Timur's kernel with USB ROM for my car installation. I know that it can be very picky on the order the USB plugs are added (data and power). It may seem simple but remove the the OTG cable from the tablet and remove both the data and power legs from the OTG as well. The follow the order listed by Timur on his website:
To activate charging, you must first connect your external power supply to your OTG Y-adapter - then plug the OTG adapter into your Nexus 7 - and then connect any slave devices.
Click to expand...
Click to collapse
Hopefully that should get you back up and working. I completely understand how frustrating it is to have everything plugged in and see that tablet isn't charging, especially when its difficult to get to the Nexus itself.
does anyone have a easy charging solution these car chargers dont work
and a good otg y cable
You could try using a power inverter which will give you a standard US plug from the cigarette lighter. From here, you could plug in a regular outlet adapter. I found this to work pretty well with my own set up and managed to get one pretty cheap at Walmart. As for a good OTG y cable, your best bet is probably to go on Amazon and find one with a lot of good reviews. They can vary in quality and some of the cheap ones I've gotten from China have flaked out after a short time and little use.
Sent from my Nexus 7 using xda app-developers app
Not seeing usb power
I had the same issue. I was using a 90 degree adapter into an OTG cable and my n7 wouldn't go into fixed install mode. Turns out my adapter cable was stopping the n7 from recognizing power. I removed the 90 degree adapter and plugged straight to otg and it worked as advertised. The issue was found during my bench testing on a 12v powersupply. I still have to find a 90 degree otg cable that will work.
So... try a different cable or if you have an adapter between the otg y cable, that may be the issue.

LG G6 + Portable DAC?

I have a Fiio E17K and I cannot get the device to work via USB OTG. I tried two different cables to no avail. When plugged, it lists the generic USB options, i.e. Power Supply. I confirmed the DAC works on my old LG G3.
Has anyone gotten a portable DAC to work on their phone through USB OTG?
Just select Midi device when prompted then you're good to go.
I'm using Soundblaster E3.
When I select Midi device, it immediately switches back to Power Supply. I tried 3 different cables from different brands to no avail. I can confirm the amp/dac works on the LG G4 with no issues.
I have the Canadian LG G6 and can confirm USB OTG works in general, when I used an adaptor to use a mouse.
Has anyone figured out a solution? I need to select MIDI for Fiio Q1 to be recognized and then it switches back to Power Supply.
Sent from my LG-H872 using Tapatalk
I managed to get my hand on another USB-C phone (Asus ZenFone3) to rule out a cable issue. DAC worked with no issues, so it is definitely a G6 issue. I'm hoping this gets patched or fixed in a future custom rom.
My Zuperdac works fine.
Hei.. just in case you are still checking around. It may take awhile for the LG G6 to register the dac. Therefore, once you plug in. let the song play. and probably wait for up to 30sec or so. O and another thing. You may want to try and select File Transfer. It worked for me also. They did mention for older device.. you can select MTP instead.
DarkReaper90 said:
I have a Fiio E17K and I cannot get the device to work via USB OTG. I tried two different cables to no avail. When plugged, it lists the generic USB options, i.e. Power Supply. I confirmed the DAC works on my old LG G3.
Has anyone gotten a portable DAC to work on their phone through USB OTG?
Click to expand...
Click to collapse
Yes i use lg g5 hifi plus dac/amp modul working well!
Two years later my LG G6 does exactly this...plug in my ifi DSD black label and it pops up to change connection type but it FORCES power supply no matter what you pic. And it drains the hell out of the battery. ANYONE figure this out. I see numerous post on this across LG v30 and the like do it too.
I used a Fiio Q1 (amp & DAC) with my G6. This DAC has a charge/no charge button, setting this to off prevents draining the G6's battery. This week I upgraded to a Fiio Q1 MkII, and this newer model doesn't have the charge/no charge button, and it drains my G6's battery very quickly charging its own battery. I modded a micro USB cable after insctructions online (I can't post links to external sites, but search for "Things that you want to know about FiiO Flagship DAC & Amp Q5", scroll to the bottom of the article), I opened the micro USB connector and soldered pin 4 and 5 together. I use this cable and a regular USB-C OTG adaper, and the DAC no longer drains the G6 battery. The "Power supply" mode still appears active on the G6, but no charge is transfered to the Q1 MkII, verified because its charge LED remains off and because the G6's battery discharges at the usual rate. I don't need to change the USB mode to anything else, just leave it on "Power supply". I then spliced the OTG adapter directly to a micro USB cable, shorting pins 4&5 on the micro USB side, this way I have a short, custom cable to connect G6 & Q1 MkII.
Then I found that Fiio offers a USB-C OTG to micro USB cable for their DACs, and according to them it's built with charge disabled. I purchased one from Amazon (can't post link, search for "Fiio CL06 Type C to Micro USB OTG Cable for Fiio Q1 Mark II Q5 M7 etc"), but I'm still waiting for delivery.
Hope this helps
thanks

Chraging issue with USB devices

Does anyone else have issues where the S8 tries to charge the connected USB device instead of the other way around?
For example I have a FiiO E18 which is a USB based DAC/AMP combo that can be used to charge a phone if need be. The problem is when the FiiO is in Charge out Mode the S8 tries to charge it instead of trying to charge FROM it like it should. The S8 charges from the FiiO when the S8 is completely off tho so it looks like the problem is with Android which is stock and non rooted on my S8. Its fully up to date as well. AKA Android Pie and One UI. I wonder if its becuase of the OTG cable I am using. Its a USB-C to Micro OTG cable I picked up off of Amazon since the FiiO is a Micro device and I have had it since my Note 3/4 days. If I could figure out this charging problem it would be perfect.
Montisaquadeis said:
Does anyone else have issues where the S8 tries to charge the connected USB device instead of the other way around?
For example I have a FiiO E18 which is a USB based DAC/AMP combo that can be used to charge a phone if need be. The problem is when the FiiO is in Charge out Mode the S8 tries to charge it instead of trying to charge FROM it like it should. The S8 charges from the FiiO when the S8 is completely off tho so it looks like the problem is with Android which is stock and non rooted on my S8. Its fully up to date as well. AKA Android Pie and One UI. I wonder if its becuase of the OTG cable I am using. Its a USB-C to Micro OTG cable I picked up off of Amazon since the FiiO is a Micro device and I have had it since my Note 3/4 days. If I could figure out this charging problem it would be perfect.
Click to expand...
Click to collapse
If I'm not mistaken you need to swap the otg the other way. If the otg is in s8 it will try to charge. If it's otg from other end it will push

Categories

Resources