[Q] USB otg + charger. - Nexus 5 Accessories

Is it possible to use a USB otg cable, adapter that can also charge our nexus 5 as is the case with the following link please http://forum.xda-developers.com/showthread.php?t=1934722

Seems like you gotta ask a kernel dev to bake it into their kernel.

Thanks so am I right to assume that no current nexus 5 kernel supports this?

You'd have to go through the kernel threads to be sure.

Related

[Q] USB OTG *AND* charging at the same time.

Hello,
Can you have USB OTG and phone charging at the same time? Or even better: HDMI + USB OTG + charging? Without power the phone discharges fast, not to mention - with HDMI out connected I won't be able to connect external HD with movies... Oh, bother...
Or is there some magic do-it-all dongle?
I need it too .
I hate some cable in my bag. One Cable for all is great
USB OTG does not support charging as it has to supply current to the external device.
MHL (HDMI output) does.
Dude, I really hope I'm not misunderstanding, but what is the problem to which 'USB OTG and charging at the same time' is the solution?
Surely you pop your USB stick in, transfer the file and then... stick the charger/HDMI cable back in... and stream wirelessly/over your network?
What were you hoping to achieve? There are several options...
Just taking a guess... maybe he wants to use keyboard and mouse etc with his phone, desktop style
Sent from my GT-I9100 using XDA App
Or maybe I just want to play anything from my 1TB HD WITHOUT deciding what should I copy to my phone (which is a waste of time...)
ssuukk said:
Or maybe I just want to play anything from my 1TB HD WITHOUT deciding what should I copy to my phone (which is a waste of time...)
Click to expand...
Click to collapse
I wanted to do the same thing but it isn't possible . I do however stream from my nas if I don't want to copy stuff to the phone.
Technically, the USB-OTG standard includes provisions for handling this.
There are several occasions where you would want to plug an accessory into a USB-OTG port and still be able to hold the state-of-charge in the host device.
The specific document: Battery Charging Specification, rev 1.2
ACA subsection (Accessory Charger Adapter)
The ID_OTG pin acts as an input in this mode of operating, indicating whether or not the host is allowed to charge.
Figure 6-6 shows the typical architecture.
Sounds promising. I will look into that! Thanx.
Any news on this?? :fingers-crossed:
so can we use otg and mhl at the same time without charging
Yes, this is pretty much possible. I have implemented the aforementioned OTG ACA support and got it to CyanogenMod9 upstream. Anything which uses the same kernel (or, if you can cherry-pick changes and compile your own kernels), could use that too. Changeset URL: _ttp://review.cyanogenmod.com/#/c/15850/
You need to use a regular USB OTG cable, but place a 36 KOhm resistor between ID pin and GND, then you should connect GND and Vdd to some power source. I used an MHL adapter which I had no use for, as it had two of three connectors I needed. This setup allows me to watch movies from 2.5" notebook hard drive while simultaneously charging my phone if I plug in a 2A-rated adapter. Note that it's impossible to use 650mA charging rate due to chip restrictions (USB HC is too stupid to understand the direction of current flow, and it reports an over-current condition); you have to settle on 450mA.
If you don't know how to solder, or if you use something else than CyanogenMod9 and cannot compile your own kernels, you are out of luck.
I have tried to find an existing USB OTG ACA dongle, but I was not able to find any. If you will be more lucky than me, you can just use it--my patch is compliant with USB specification and will support any compatible dongle.
It's possible.
You need cable y usb. I did it myself.
http://a2.sphotos.ak.fbcdn.net/hphotos-ak-snc6/s720x720/206110_371488136240210_1887794367_n.jpg
watch icon battery
What parts do I need?
wojtaz131 said:
It's possible.
You need cable y usb. I did it myself.
http://a2.sphotos.ak.fbcdn.net/hphotos-ak-snc6/s720x720/206110_371488136240210_1887794367_n.jpg
watch icon battery
Click to expand...
Click to collapse
What specific parts did you use for your OTG / Power Y
The ability to charge my device while playing video off a usb flashdrive is my goal for this.
ZedZardoz said:
What specific parts did you use for your OTG / Power Y
The ability to charge my device while playing video off a usb flashdrive is my goal for this.
Click to expand...
Click to collapse
A few wires. See my post above for the details.
whitequark said:
Yes, this is pretty much possible. I have implemented the aforementioned OTG ACA support and got it to CyanogenMod9 upstream. Anything which uses the same kernel (or, if you can cherry-pick changes and compile your own kernels), could use that too. Changeset URL: _ttp://review.cyanogenmod.com/#/c/15850/
You need to use a regular USB OTG cable, but place a 36 KOhm resistor between ID pin and GND, then you should connect GND and Vdd to some power source. I used an MHL adapter which I had no use for, as it had two of three connectors I needed. This setup allows me to watch movies from 2.5" notebook hard drive while simultaneously charging my phone if I plug in a 2A-rated adapter. Note that it's impossible to use 650mA charging rate due to chip restrictions (USB HC is too stupid to understand the direction of current flow, and it reports an over-current condition); you have to settle on 450mA.
If you don't know how to solder, or if you use something else than CyanogenMod9 and cannot compile your own kernels, you are out of luck.
I have tried to find an existing USB OTG ACA dongle, but I was not able to find any. If you will be more lucky than me, you can just use it--my patch is compliant with USB specification and will support any compatible dongle.
Click to expand...
Click to collapse
Duh, I read right past this post... 36KOhm on ID <<< got it, now to experiment!
wow!
it would be amazing if such a device existed!
Hello,
I'm new to this forum as i didn't need it yet but now I have a question.
I know this thread is kind of old and I'm not sure if there are still (m)any people using a GT-I9100... though it would be interesting if anyone found a solution on this topic.
I read several threads where people were discussion if charging and OTG is possible at the same time but no one could verify a specific resistor. Actually i tried a resistor valued 124k between GND and ID but it didn't work. I also read about 36k and other values but nothing verified. Could take a while to try several resistors but i really no one knows a solution i'd try this
So just so sum up, i don't need "MHL and charging" or "audio out and charging". The mode i'm looking for is "OTG and charging".
My Goal: a Docking Station with mouse, keyboard, flash drive(s) and charging to remote control my computer with a software like splashtop.
Hopefully anyone has useful information on this, thanks a lot for any kind of support
burnsn said:
So just so sum up, i don't need "MHL and charging" or "audio out and charging". The mode i'm looking for is "OTG and charging".
Click to expand...
Click to collapse
You need a kernel patch to make it work. See http://forum.xda-developers.com/showpost.php?p=30141914&postcount=12
whitequark said:
You need a kernel patch to make it work. See http://forum.xda-developers.com/showpost.php?p=30141914&postcount=12
Click to expand...
Click to collapse
Thanks for your answer!
Today i made my 36k cable, this weekend i should have some time for the kernel patch - hopefully
I still have some questions about the kernel as i didn't use any custom ROMs etc on my phone. All I have is a "standard" root kernel without any further changes but root. Need some hours to read into this. What i didn't understand: Do I have to use a specific CM9 or can i use any CM9 (or maybe CM10 or any other CM past 9)?
I wasn't able to get the link working "_ttp://review.cyanogenmod.com/#/c/15850/" when replacing "_" with "h". What can I find on that page?

[Q] 11 Pin MHL + USB OTG

Hey folks, im crossposting this, as i believe it didnt get the attention it'd have had i posted this in the accessories forum in the first place
http://forum.xda-developers.com/newreply.php?do=newreply&p=30249692
dennisfisch said:
Hey there, i have tried gathering information about this subject and it seems all threads always lead to this announcement:
http://www.gottabemobile.com/2012/06/29/galaxy-s-iii-new-mhl-connector-also-enables-usb-on-go/
Short: Samsung have changed to an 11 Pin-out to enable USB OTG and MHL Hdmi out at the same time. I purchased an original HDTV Adapter (EPL-3FHUBEGSTD) which as far as i can reliably count indeed has about 11 connectors inside the USB connector that goes into the phone.
Now, i can get HDMI out just fine, but ONLY when i also connect the MHL adapter to a power source (a PC USB Port will do fine), however i have also read, that the phone is able to power the MHL adapter itself but obviously would not be charged then (no surprises there). This does not work however.
Further, connecting a USB OTG cable to the micro usb port on the MHL adapter does nothing. No notification and no devices connecting. No power either, since the LED on my USB Hub does not light up as it should. Connecting any devices to the hub does nothing to change that situation. If i leave out the MHL adapter and connect the USB OTG cable directly to the phone, everything works perfectly. I have tried this with 2 different OTG cables so they are not the problem.
This is an original genuine HDTV Adapter for our phones, which according to that post should be working fine with USB OTG.
AFAIK, this topic --does-- come up more frequently now as i can find a few more discussions about it, albeit none really helpful:
http://android.stackexchange.com/qu...-of-11-pin-mhl-connector-in-samsung-galaxy-s3
http://forum.xda-developers.com/showthread.php?t=1743128
http://forum.xda-developers.com/showthread.php?t=1803079
http://en.wikipedia.org/wiki/Mobile_High-Definition_Link#11-pin_MHL-USB_Connector
http://forum.xda-developers.com/showthread.php?t=1811435
That wiki entry is the most interesting link as it definitely states that using MHL and USB OTG simultaneously is possible and is also the reason why the 5 pin layout was changed to an 11 Pin layout.
Looking forward to reading your replies!
Click to expand...
Click to collapse
Still waiting for USB OTG and MHL at same time. And while I'm thinking about it, I want it all in a dock compatible with my seidio active case. How's that for wishful thinking?
Sent from my SPH-L710 using xda app-developers app
nightwinn said:
Still waiting for USB OTG and MHL at same time. And while I'm thinking about it, I want it all in a dock compatible with my seidio active case. How's that for wishful thinking?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I don't see why you would feel the need to ridicule me for bringing up this thread. it's not wishful thinking, seeing as even the wikipedia entry on MHL clearly states it should be possible. There is also a blog entry on the exact same topic and even the movement to boycott samsung accessories have stopped because of this: http://www.galaxymhl.com/
I don't really understand why people aren't looking into this more.
I'm not ridiculing you. I want the same thing. What I said was my legitimate wish list. I haven't bought the mhl adapter because I'm holding out for an all in one solution. I'm still waiting on Samsung to give us a product that does mhl and otg simultaneously.
nightwinn said:
I'm not ridiculing you. I want the same thing. What I said was my legitimate wish list. I haven't bought the mhl adapter because I'm holding out for an all in one solution. I'm still waiting on Samsung to give us a product that does mhl and otg simultaneously.
Click to expand...
Click to collapse
I'm sorry, i must have gotten that wrong. I find it very confusing Samsung do no release enough information on this in order to make it work. Neither the phone documentation, nor the official 11-Pin HDTV Adapter manual mention this in any way.
I'm waiting also for a dock with MHL+USB OTG at the same time by Samsung, I dont understand why the official MHL adapter does not support this already but I've been searching and I have not found yet any example of both working together. It clearly seems that the MHL 11 pins cable we can buy right now does not support this since nobody has tested it succesfully but what I don't know is if that is related to Hardware or it also has something to do with software. I read a couple of weeks ago that Google was thinking about using the phone as a PC via docking, I think the idea comes from Motorola? So maybe the availability of both connections at the same time is also related with android, who knows, maybe in JB it will be possible...Has somebody tested MHL+USB OTG in JB with the official adapter?
Tularis said:
I'm waiting also for a dock with MHL+USB OTG at the same time by Samsung, I dont understand why the official MHL adapter does not support this already but I've been searching and I have not found yet any example of both working together. It clearly seems that the MHL 11 pins cable we can buy right now does not support this since nobody has tested it succesfully but what I don't know is if that is related to Hardware or it also has something to do with software. I read a couple of weeks ago that Google was thinking about using the phone as a PC via docking, I think the idea comes from Motorola? So maybe the availability of both connections at the same time is also related with android, who knows, maybe in JB it will be possible...Has somebody tested MHL+USB OTG in JB with the official adapter?
Click to expand...
Click to collapse
As soon as i get home, i will try flashing this rom: http://forum.xda-developers.com/showthread.php?t=1695562
It comes with the latest stock kernel and appearently won't boot with anything else so Samsung must have made some changes to it. In a few hours time I'll be back with information on how that worked out.
I can confirm it NOT working on Jelly Bean. The MHL adapter does provide video HDMI output, but only as long as it is plugged into an external power source. When connecting an OTG usb cable, there is no reaction at all. There has to be some way of getting the phone to power the HDMI adapter. Do any of you folks have a good link to a kernel dev who can have a look into this? There has to be a MHL modul for the USB driver. Ghokanmoral probably has more insight into this...
Summary: USB OTG and MHL work fine separately, but not simultanously on JB using a standard genuine Samsung EPL-3FHUBEGSTD adaptor.
dennisfisch said:
I can confirm it NOT working on Jelly Bean. The MHL adapter does provide video HDMI output, but only as long as it is plugged into an external power source. When connecting an OTG usb cable, there is no reaction at all. There has to be some way of getting the phone to power the HDMI adapter. Do any of you folks have a good link to a kernel dev who can have a look into this? There has to be a MHL modul for the USB driver. Ghokanmoral probably has more insight into this...
Summary: USB OTG and MHL work fine separately, but not simultanously on JB using a standard genuine Samsung EPL-3FHUBEGSTD adaptor.
Click to expand...
Click to collapse
Thank you for trying, well I dont know what to think now...very bad samsung fot not giving information about it...
Enviado desde mi GT-I9300 usando Tapatalk 2
I have already contacted Ghokanmoral on this and am hoping to gain new insight into this as he is a very active kernel dev.
I'm also crosslinking another thread on this subject: http://forum.xda-developers.com/showthread.php?p=30469240
The final result of this is that USB OTG work with the Samsung dock, but not otherwise...and that is why they changed the pins to 11. For the dock to allow for OTG at the same time as HDMI out. Does everyone agree?
ZenInsight said:
The final result of this is that USB OTG work with the Samsung dock, but not otherwise...and that is why they changed the pins to 11. For the dock to allow for OTG at the same time as HDMI out. Does everyone agree?
Click to expand...
Click to collapse
I don't really know how this is accomplished with the dock, but if it works with the dock, I have to think that the same technique could be used to make it work with other adapters, too. If it's a matter of putting a voltage or a resistance across two pins, that would not be a big deal to do.
It was figured out in the thread that this was split off of.
we already found the resistor value to do it, the wiring.. everything.
Anyone try...
Anyone try a usb Y cable which will inject power over a USB and still allow for a separate device to be attached? I would post a link but i'm noob here. You can find it as "UTStarcom USB Adapter Y Cable"
The HDMI part of the split HAS to be powered...but the USB OTG does not. So...if there was such thing as an 11 pin micro usb Y splitter, then the OTG side would work while the powered MHL adapter was on. Essentially this is what the dock does.
Is it possible to create an 11 pin Y splitter? Someone needs to get one of those docks and tear it apart to see how the leads are split...lol
ZenInsight said:
The HDMI part of the split HAS to be powered...but the USB OTG does not. So...if there was such thing as an 11 pin micro usb Y splitter, then the OTG side would work while the powered MHL adapter was on. Essentially this is what the dock does.
Is it possible to create an 11 pin Y splitter? Someone needs to get one of those docks and tear it apart to see how the leads are split...lol
Click to expand...
Click to collapse
You can also power the dock with a laptop dock from motorola: http://forum.xda-developers.com/showthread.php?p=33825819
scarrmrcc said:
It was figured out in the thread that this was split off of.
we already found the resistor value to do it, the wiring.. everything.
Click to expand...
Click to collapse
Can we have a link?
surferpr said:
Can we have a link?
Click to expand...
Click to collapse
I think it's this one (at least the potential resistor values are on page 3 or 4)
http://forum.xda-developers.com/showthread.php?t=1811435
Sent from my SPH-L710 using Tapatalk 2
hi guys. i was able to make usb otg and mhl work together just like smart dock.
full description is here
http://forum.xda-developers.com/showthread.php?t=2142357

Need OTG Advice/Information

Hello,
Long time lurker. First time poster.
I have a 10.1 Note Model # SM-P600 that I have set up in my car. Currently, the charging works fine via micro USB to engine/ignition accessory. Now that I have the initial steps completed, I am looking to add more stuff to the setup. I purchased a USB hub in order to connect a few different devices (USB DAC, External HDD, Camera, etc) along with a few different OTG cables. So far, I have not had any luck charging the device (although, I am able to access devices connected to the hub via the OTG cable). I understand that this is a common problem, and it seems that it has been solved on some devices (Nexus 7) by installing different kernel's and USB ROMs (not sure what this is?). However, I have only seen one bit of information in regards to the SM-P600, and that is the BinDroid kernel that I have found here:
http://forum.xda-developers.com/showthread.php?t=2615959&highlight=otg
I flashed the kernel correctly (I believe, I see the kernel information showing up in my device information), but I am still not having any luck getting the device to charge while having the other pieces of equipment attached. Can anyone give me some good solid info on this problem? I thought I'd be able to install the kernel and that would fix my issue, but maybe I'm missing a few steps? Do I need to install something else? I am currently on the stock ROM, version 4.3. I was thinking about putting CM10.x on the tablet, but I don't think that it's supported...? I need a bit of clarity on that as well.
Please help if you can. Thanks!
P600 needs 2A current. I think when you attach other equipment to the USB hub, it may not be able to provide enough current to note so it will not charge. I am not an electrical engineer so someone with more knowledge can of course prove me wrong :laugh:
Generally when your device is connected with an OTG cable, your device is working in as a USB host supplying power to the devices. In your case, your Note will try to supply power to the USB hub. Even if your USB hub is powered by a separate adapter, your Note will not attempt to charge as it is in USB host mode.
You might wanna take a look at this mod.
http://forum.xda-developers.com/galaxy-s3/general/hw-mod-usb-otg-charging-galaxy-s3-t1953061

OTG Hub with Simultaneous Power to Nexus 7

Hello,
As explained in title, I am looking for a 3-4 usb hub that supports otg and can charge the Nexus 7 at the same time at full voltage, without drain.
Any ideas? thanks
Deeco7 said:
Hello,
As explained in title, I am looking for a 3-4 usb hub that supports otg and can charge the Nexus 7 at the same time at full voltage, without drain.
Any ideas? thanks
Click to expand...
Click to collapse
Yes http://www.ebay.com/itm/201372917160
but I'd prefer http://www.ebay.com/itm/191859127277
You will also need a kernel
What are you trying to accomplish
k23m said:
Yes http://www.ebay.com/itm/201372917160
but I'd prefer http://www.ebay.com/itm/191859127277
Click to expand...
Click to collapse
I have both, but it didn't output enough maH, wouldn't go above 300
deadgiveaway said:
You will also need a kernel
What are you trying to accomplish
Click to expand...
Click to collapse
Forgot to mention, I'm doing a car install. I'm currently using Elementalx Kernel with Otg charge enabled.
hi there, im crazy with this
i got a nexu 7 2013 wifi, as like you I use CM 13 with elementalx installed and otg and charge enable.
i use a Y cable, a hub cable too and any works.
if someone can explain or tell me why.....i need it for my car
rhipone said:
hi there, im crazy with this
i got a nexu 7 2013 wifi, as like you I use CM 13 with elementalx installed and otg and charge enable.
i use a Y cable, a hub cable too and any works.
if someone can explain or tell me why.....i need it for my car
Click to expand...
Click to collapse
Otg splitter and hub is so you can power your tablet and any devices that are connected to the hub .. Ex. Joycon , video grabber , dac ...ect
Timurs kernel is the most reliable but you have to donate to get it ... Elemental is free but sometimes has issues with otg/charge bugs upon wake
You need the ability to enable Fast Charging for the kernel.
Simple USB-OTG won't get you full charge speed.
I know Timur's kernel for 2012 model has a Fast Charge option that is probably also available on the 2013.
And ElementalX kernel *might* be getting that option soon too, if not already.
deadgiveaway said:
Otg splitter and hub is so you can power your tablet and any devices that are connected to the hub .. Ex. Joycon , video grabber , dac ...ect
Timurs kernel is the most reliable but you have to donate to get it ... Elemental is free but sometimes has issues with otg/charge bugs upon wake
Click to expand...
Click to collapse
i got a micro usb with female USB, i connect a male USB to USB male from the female of the micro usb to the hub, and the USB of the hub to de car charger, and tablet wont charge.
so...
nexus 7-micro usb male to usb female-usb male to usb male- hub-usb hub to power supply
in the hub i got one pendrive
rhipone said:
i got a micro usb with female USB, i connect a male USB to USB male from the female of the micro usb to the hub, and the USB of the hub to de car charger, and tablet wont charge.
so...
nexus 7-micro usb male to usb female-usb male to usb male- hub-usb hub to power supply
in the hub i got one pendrive
Click to expand...
Click to collapse
You need to install a kernel for otg and charging ....
Two options
Elemental kernel ....slightly buggy loses charge on boot
Timurs kernel ...works flawless ... But you have to donate ...
deadgiveaway said:
You need to install a kernel for otg and charging ....
Two options
Elemental kernel ....slightly buggy loses charge on boot
Timurs kernel ...works flawless ... But you have to donate ...
Click to expand...
Click to collapse
i got elemental X, with Y cable and wireless charge, doesnt work, if I plug something on USB port, the tablet stop charging, I use CM firmware so I suppouse to install elementalX CM kernel, right?
Not sure what roms are compatible with elemental x.... I use stock android with timurs ...xposed can do everything i need as far as custom ...

wireless charge + otg ??

is there a kernel or ROM that allows the nexus 7 (WiFi) to be charged wireless while OTG is in use? I'm trying to install it in my car and need my phone plugged into it via OTG. but I would like to charge wirelessly. I think I can get OTGy cable to work if it comes down to it.
Thats not possible
itm/Micro-USB-Host-OTG-Cable-with-Micro-USB-Power-for-Nexus-4-5-7-10-U0-/282515294952?epid=1654504794&hash=item41c7394ae8:g:14IAAOSwEzxYO9Zt.
Why no use one of these? Elemental x kernel supports usb org + charging.
Elemental-X for the N7 2013

Categories

Resources