Related
Just want to know for something like, connect a external storage and the other usb to charge the phone or something else and still have the other one to charge the phone.
Thanks
EDIT:
Well since this is getting into a project. I will be adding the info here.
New thread: http://forum.xda-developers.com/showthread.php?p=32618626#post32618626
New info
highvista said:
It looks like it works! Both the phone and my 64GB flash drive are being powered via a USB charger connected to a Y-cable. As far as I can tell, the phone battery isn't being charged and may still be draining a bit--this may depend on the current delivered by the USB charger. But I've been playing music for hours from an attached USB flash drive with my screen on and the battery level is still sitting at 98%.
I've attached ZIP files with a boot image containing the kernel. The yakju boot image was created by replacing the stock kernel in a Nandroid boot image obtained from the Galaxy Nexus described in my sig. The other boot images were created from the boot image included with the Google factory ROM. I can't test these, so use with caution. NOTE!!! Make sure you do a Nandroid backup of your phone before trying out the attached boot images. Things can go wrong and you want to be able to recover.
This was posted earlier in the thread, but credits for the kernel code tweak, along with details, go to the contributor to this thread
http://rootzwiki.com/topic/30615-can-you-charge-usb-host-mode-simultaneously/
Have fun!
10/09/12:
I've added two more ZIP files. These contain boot images with the code modded such that the phone battery is charged when using the Y-cable. NOTE: The phone will think it is being charged any time a USB OTG cable is connected. I haven't figured out a way around this yet. This doesn't really hurt anything, except if you have your phone set to stay on when charging, you could end up running down your battery! Important safety tip.
10/15/12:
I've replaced the previous ZIP files with two new ones. These contain boot images for takju and yakju JRO03C/4.1.1 that provide USB OTG+charging, with the added benefit that you can still use a standard USB OTG cable to connect an external device. As in the stock kernel, the phone will provide power for the external device. In other words, the new kernel in the ZIP archives auto-detects if there is a charger attached via a y-cable and uses it to power the external device and charge the phone, if it's found.
I've also fixed the problem where the phone would show a charging icon in the notification bar if a USB OTG cable was attached without any external device connected to it.
NOTE: THESE ZIP FILES ARE NOT MEANT TO BE FLASHED TO YOUR PHONE. These files contain a file called boot.img that can be flashed to your rooted phone from your computer via ADB with the commands
fastboot flash boot /path/to/<boot>.img
fastboot reboot
You can learn more about using fastboot at http://wiki.cyanogenmod.org/wiki/Fastboot.
12/28/12:
Version V4 is replacing V3. This new version fixes the bug where detaching external power from the USB OTG y-cable or USB hub wasn't detected by the phone. Now, when power is detached, the phone switches to battery power, including supplying battery power to any attached USB devices.
Note that the reverse is not true. If you connect external power when the phone and external USB devices are being powered by battery, the phone will continue to use battery power. The external power is not detected. When in doubt, disconnect and reconnect the USB OTG cable to cause the phone to recognize what's attached.
-----------------------------
12/28/12:
Version V4 is replacing V3. This new version fixes the bug where detaching external power from the USB OTG y-cable or USB hub wasn't detected by the phone. Now, when power is detached, the phone switches to battery power, including supplying battery power to any attached USB devices.
Note that the reverse is not true. If you connect external power when the phone and external USB devices are being powered by battery, the phone will continue to use battery power. The external power is not detected. When in doubt, disconnect and reconnect the USB OTG cable to cause the phone to recognize what's attached.
Click to expand...
Click to collapse
Rotary Heart said:
Just want to know for something like, connect a external storage and the other usb to charge the phone or something else and still have the other one to charge the phone.
Thanks
Click to expand...
Click to collapse
No one knows? what about a usb hub?
Its, like something else.
Sent from my Galaxy Nexus using Tapatalk 2
android01 said:
Its, like something else.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
What does that means?
Rotary Heart said:
Just want to know for something like, connect a external storage and the other usb to charge the phone or something else and still have the other one to charge the phone.
Thanks
Click to expand...
Click to collapse
I believe he is making a reference to your op
I don't understand what op is asking.
Sent from my Galaxy Nexus using xda app-developers app
I think he is wanting to somehow daisy chain the devices having power from the first one provide enough charge current for the last one. Least that is what im thinking he said i dunno though
Ok let me explain it a bit better. Lets say I have a flash drive (external storage, external hard drive, whatever you want to call it) I connect it to my phone with a usb to micro usb adapter. Now I have my ONLY micro usb connector in use, but after a while I'm running out of battery so I want to charge my phone BUT I can't since I can't remove my flash drive (because I'm using it).
Now I'm asking for an adapter or something that can let me connect my flash drive and still be able to charge my phone. like a 2 usb to 1 usb adapter for PC. Or like the adapter to connect 2 headphones in one headphone port.
I hope it's clear enough now. :laugh:
http://www.monoprice.com/mobile/Pro...Id=103&categoryId=10303&subCategoryId=1030303
Connect that to a powered hub, plug flash drive into one of the hub ports. That should work, though i don't use usb otg, so i couldn't say for sure.
Rotary Heart said:
Ok let me explain it a bit better. Lets say I have a flash drive (external storage, external hard drive, whatever you want to call it) I connect it to my phone with a usb to micro usb adapter. Now I have my ONLY micro usb connector in use, but after a while I'm running out of battery so I want to charge my phone BUT I can't since I can't remove my flash drive (because I'm using it).
Now I'm asking for an adapter or something that can let me connect my flash drive and still be able to charge my phone. like a 2 usb to 1 usb adapter for PC. Or like the adapter to connect 2 headphones in one headphone port.
I hope it's clear enough now. :laugh:
Click to expand...
Click to collapse
This is the closest thing i could find.
ttabbal said:
http://www.monoprice.com/mobile/Pro...Id=103&categoryId=10303&subCategoryId=1030303
Connect that to a powered hub, plug flash drive into one of the hub ports. That should work, though i don't use usb otg, so i couldn't say for sure.
Click to expand...
Click to collapse
I thought about this one, maybe I will give it a try. I hope it works.
Thanks
Rotary Heart said:
Ok let me explain it a bit better. Lets say I have a flash drive (external storage, external hard drive, whatever you want to call it) I connect it to my phone with a usb to micro usb adapter. Now I have my ONLY micro usb connector in use, but after a while I'm running out of battery so I want to charge my phone BUT I can't since I can't remove my flash drive (because I'm using it).
Now I'm asking for an adapter or something that can let me connect my flash drive and still be able to charge my phone. like a 2 usb to 1 usb adapter for PC. Or like the adapter to connect 2 headphones in one headphone port.
Click to expand...
Click to collapse
Unfortunately, the answer is no. I've tried several ways to get this to work, with no success. I routinely mount a flash drive using a USB OTG cable and the Stickmount app in order to listen to my music collection. It works great, but USB OTG drains the phone battery rather quickly.
I even cut out a notch on my desktop dock so I could attach the flash drive while trying to charge the phone via the dock's pogo pins. Here's a thread discussing this:
http://forum.xda-developers.com/showthread.php?t=1651757
The USB standard does provide for a method of charging while using USB OTG via a device called an Accessory Charger Adapter. But I haven't found such a device available anywhere.
Sorry to be the bearer of bad news. If you do happen to find another solution, do let us know.
I don't think I have the bits needed to try it, but looking through the spec, I think you can simulate the requirements for the ACA.
Connect a 124K resistor from ID to GND on the micro side. That should tell the OTG host (the phone) to go to Charge/Host mode allowing the B device (memory stick etc) to work AND allowing the phone to charge... You will need to provide a decent 5V power connection. You need to power both the phone and the accessory device from this.
ttabbal said:
I don't think I have the bits needed to try it, but looking through the spec, I think you can simulate the requirements for the ACA.
Connect a 124K resistor from ID to GND on the micro side. That should tell the OTG host (the phone) to go to Charge/Host mode allowing the B device (memory stick etc) to work AND allowing the phone to charge... You will need to provide a decent 5V power connection. You need to power both the phone and the accessory device from this.
Click to expand...
Click to collapse
Ok I understand the resistor and where to connect it, but where I will connect the power source? if the memory stick is using the micro usb port?
Rotary Heart said:
Ok I understand the resistor and where to connect it, but where I will connect the power source? if the memory stick is using the micro usb port?
Click to expand...
Click to collapse
Powered hub. Or otherwise connect to the power lines..
ttabbal said:
Powered hub. Or otherwise connect to the power lines..
Click to expand...
Click to collapse
Ok thanks I will try this one and when I have it done will update the thread.
Rotary Heart said:
Ok thanks I will try this one and when I have it done will update the thread.
Click to expand...
Click to collapse
So? You tried that out? it worked?
caioketo said:
So? You tried that out? it worked?
Click to expand...
Click to collapse
I'm waiting to receive my powered hub... So will let you know.
I'm about to do this too, so if I got mine first, i update here. =D
And it should work, couse it will be the same in specification, so teorically it will work!
caioketo said:
I'm about to do this too, so if I got mine first, i update here. =D
And it should work, couse it will be the same in specification, so teorically it will work!
Click to expand...
Click to collapse
If you got it to work I will love to see it . Mine still on its way home...
Hi,
I saw a plug (green colored) quiet some time ago on xda that would attach to MicroUSB on the phone and on the back end was another MicroUSB for charging along with USB slot, card reader. It used to be under or around $10.
Does anyone have a plug like that, i am thinking of using it with my GNex.
Thanks,
It's called usb OTG.
063_XOBX said:
It's called usb OTG.
Click to expand...
Click to collapse
I know about the OTG. I have one of those simple ones. I am looking for one with all the ports I mentioned above.
063_XOBX said:
It's called usb OTG.
Click to expand...
Click to collapse
This is the one i was looking for.
http://www.tinydeal.com/micro-card-reader-px3nsv-p-63342.html
I don't believe that the phone can charge while performing the OTG function. Correct me if I'm wrong.
sparkdroid said:
I don't believe that the phone can charge while performing the OTG function. Correct me if I'm wrong.
Click to expand...
Click to collapse
thanks.
I hope we can get some clarification on that....anyone??
http://forum.xda-developers.com/showthread.php?t=1835720
http://forum.xda-developers.com/showthread.php?p=32618626#post32618626
I was wrong. I ordered an OTG Y-cable and it arrived today. I plugged it into power first. Then I plugged it into the phone and it started charging. Third, I plugged in a USB stick and it mounted (using the help of the Stickmount app).
I then watched a movie from the USB stick and watch the charge level go up 4 percent while watching.
Awesome!
I am on Franco's kernel but I don't think that matters as long as you are rooted and have Stickmount installed.
Edit: This is the cable:
http://www.ebay.com/itm/Micro-USB-H.../190710044655?ssPageName=ADME:L:eek:C:CA:3160
Hello there,
I've got myself an OTG cable, and if I connect a mouse, it works.
If I connect a keyboard it works.
And now I connect them both with a usb hub, doesn't work?
How can I solve this?
I've got already an OTG helper app.
Usb hub is a sitecom cn-060 and I'm on the galaxy note n7000
Anyone?
dwdw1998 said:
Anyone?
Click to expand...
Click to collapse
I've been diggin in the USB OTG feature as well.
Idk if you're question's been answered, but My best guess is that you're gonna need either an MHL with external USB port to provide power, which you can keep the pin arrangement standard, but it'll only work if powered by an A/C charger, or if you splice it and isolate the data +/- pins, then it'll still work if plugged into a computer or something of the sort...
There's some guides here on XDA that I've read, and ended up making my own, which seems to work better than the one I've gotten in the mail.
ANOTHER Solution, however... Use a POWERED USB hub, sourcing from your OTG cable..?
Cause I'm assuming that your device is capable of powering EITHER the Keyboard, OR the mouse, not both...
So providing power via powered usb hub should render them both active, and usable by your device...?
Idk, just figured I'd put it out there to ya.
If it helps, hit the thanks button!
M1k3Carson1369 said:
I've been diggin in the USB OTG feature as well.
Idk if you're question's been answered, but My best guess is that you're gonna need either an MHL with external USB port to provide power, which you can keep the pin arrangement standard, but it'll only work if powered by an A/C charger, or if you splice it and isolate the data +/- pins, then it'll still work if plugged into a computer or something of the sort...
There's some guides here on XDA that I've read, and ended up making my own, which seems to work better than the one I've gotten in the mail.
ANOTHER Solution, however... Use a POWERED USB hub, sourcing from your OTG cable..?
Cause I'm assuming that your device is capable of powering EITHER the Keyboard, OR the mouse, not both...
So providing power via powered usb hub should render them both active, and usable by your device...?
Idk, just figured I'd put it out there to ya.
If it helps, hit the thanks button!
Click to expand...
Click to collapse
Ah thanks!
But my usb hub is already powered? And the first solution, I don't get it haha xD
Here, this should help....
dwdw1998 said:
Ah thanks!
But my usb hub is already powered? And the first solution, I don't get it haha xD
Click to expand...
Click to collapse
Here's a pic of my OTG+PWRD-HUB setup...
And I took it to paint.exe and tried to outline it / highlight the important parts in the pic...
My paint skills are far from honed... =/
Also, sometimes you have to
plug/unplug OTG from phone,
and sometimes you
gotta switch the
order of the
2nd+3rd steps...
It Varies...
And if you have ROOT, which I'm gonna assume you do, KERNEL TUNER is a GREAT app, and in this scenario it helps me out too... if you don't know about it [forgive me if you do] it has a "MISC" section, where you can actually enable OTG over a regular USB Cable [My guess is it grounds the bus for the ID-Pin on the microUSB plug] which can be helpful in determining certain issues with OTG [make sure Fast Charge is disabled, for good measure, both in app and in ROM]...
Using that feature of Kernel Tuner in conjunction with ChainFire's "USB Host Diagnostics" app can REALLY help you narrow down and pinpoint the finer details of your scenarios. =]
That's mainly just for the sake of verification.
At one point in time I thought my old HUB was powered too, just cause when I used it with my laptop, the thumbdrives I plugged into lit up, lol.
But if your setup is similar, then the only thing I can think of that might be holding you down is the order in which you connect everything?
Idk, I'm no Dev [FAR from it], but I figured I'd put that out there, since this thread was up.
Didn't look like it was being deleted, and noone directed you to the USB OTG Help Threads in this Forum.
[I would have directed you, but as mentioned, Idk where they are, Haha]
M1k3Carson1369 said:
That's mainly just for the sake of verification.
At one point in time I thought my old HUB was powered too, just cause when I used it with my laptop, the thumbdrives I plugged into lit up, lol.
But if your setup is similar, then the only thing I can think of that might be holding you down is the order in which you connect everything?
Idk, I'm no Dev [FAR from it], but I figured I'd put that out there, since this thread was up.
Didn't look like it was being deleted, and noone directed you to the USB OTG Help Threads in this Forum.
[I would have directed you, but as mentioned, Idk where they are, Haha]
Click to expand...
Click to collapse
hey thanks a lot...
aaronlee1979 said:
hey thanks a lot...
Click to expand...
Click to collapse
Anytime, gladly. Remember to hit the thanks button!
tried everything you guys said. but still not working ;s
Hi, anyone buyed an otg cable with male/female micro usb-usb 2.0 to connect external flash drive and keep charging the phone at same time?
I have bought that but only works the usb 2.0, i cant charge the phone. Sorry but i cant post the link of the product, here is a picture of them.
Sry for my english.
Make sure you have a 'charge only' lead to the charger (Shows as 'AC connected' not 'USB Connected') or you'll find you won't have enough power to do everything.
techguyone said:
Make sure you have a 'charge only' lead to the charger (Shows as 'AC connected' not 'USB Connected') or you'll find you won't have enough power to do everything.
Click to expand...
Click to collapse
Yes, i tried but i cant charge. I tried with other phone and works but dont have otg support.
The problem with OTG and simultanous charging is that you'll probably need a custom kernel supporting this.
Because if you use OTG (or a data cable respectively), the phone will only charge with 500 mA max. - this might not be enough to charge your phone while using power-consuming apps (navigation, games,...). If you want the phone to charge faster/draw more current, you'll need to short-circuit the data leads - but then you can't use OTG/data. Tricky...
dwarf77 said:
The problem with OTG and simultanous charging is that you'll probably need a custom kernel supporting this.
Because if you use OTG (or a data cable respectively), the phone will only charge with 500 mA max. - this might not be enough to charge your phone while using power-consuming apps (navigation, games,...). If you want the phone to charge faster/draw more current, you'll need to short-circuit the data leads - but then you can't use OTG/data. Tricky...
Click to expand...
Click to collapse
I think that is not the reason because if i try to charge only didn't work, i think the charging cable is not compatible with moto g like some chargers specific for some patents.
If someone knows a cable like that to charge and use usb stick or something compatible with moto g I would appreciate.
The cable is probably working, but the kernel is not supporting it. If you use a USB y-cable, it will power a plugged-in USB stick / device, but not your Moto G. You will need a kernel or tomorrow supporting simultaneous data & charging. Have a look in the Nexus 7 sections, there you'll find more information about this.
dwarf77 said:
The cable is probably working, but the kernel is not supporting it. If you use a USB y-cable, it will power a plugged-in USB stick / device, but not your Moto G. You will need a kernel or tomorrow supporting simultaneous data & charging. Have a look in the Nexus 7 sections, there you'll find more information about this.
Click to expand...
Click to collapse
Yes, just as I responded you I made a search on the subject and e found a kernel for it but still no one has made for moto motorola g ....
I hope someone does it soon!!!
javiko_bcn said:
Hi, anyone buyed an otg cable with male/female micro usb-usb 2.0 to connect external flash drive and keep charging the phone at same time?
I have bought that but only works the usb 2.0, i cant charge the phone. Sorry but i cant post the link of the product, here is a picture of them.
Sry for my english.
Click to expand...
Click to collapse
wow i never knew a cable like this existed. i have the normal usb otg cable.
javiko_bcn said:
Hi, anyone buyed an otg cable with male/female micro usb-usb 2.0 to connect external flash drive and keep charging the phone at same time?
I have bought that but only works the usb 2.0, i cant charge the phone. Sorry but i cant post the link of the product, here is a picture of them.
Sry for my english.
Click to expand...
Click to collapse
This is interesting but did you check this out:
The jack of all trades
https://www.youtube.com/watch?v=cZ0ScWa9idk&feature=youtube_gdata_player
Its :
1. Wireless SD Card reader
2. 3000mAh Portable USB charger
3. USB flash disk reader
4. USB external HDD
5. SDD
6. NAS File reader
7. WiFi hotspot
Sent from my XT1033 using xda app-developers app
Does anyone know if the Pixel will support OTG without root?
ShaunWinSC said:
Does anyone know if the Pixel will support OTG without root?
Click to expand...
Click to collapse
I think I saw an unpacking video and the OTG adapter was included in the box.
just whacked a mouse into the adapter in the box. works fine.
Also tried with a mem stick, and works fine
What is the use of the USB to USB-C adapter that comes with the cable ?
AstroDigital said:
What is the use of the USB to USB-C adapter that comes with the cable ?
Click to expand...
Click to collapse
I think it was intended to facilitate moving files from an older phone. Mine is due to arrive any moment. I think we will all have some real answers soon.
Except most old phones do not have USB-C
AstroDigital said:
Except most old phones do not have USB-C
Click to expand...
Click to collapse
You plug the USB C end into the Pixel and then use another cable to connect an older phone (presumably one you're already using with the older phone). Micro USB/Lightning into the older phone, USB into the adapter. The adapter can also be utilized for OTG - USB C into the Pixel, flash drive/other USB device into the USB port.
AstroDigital said:
What is the use of the USB to USB-C adapter that comes with the cable ?
Click to expand...
Click to collapse
Also to use OTG. Plug that in, and you can hook up a keyboard, mouse, removable drive, someone elses phone, whatever.
Could someone clarify. I plugged the adapter in how I was directed by a thread at the "pixel community". The thread referenced a way to use the adapter to transfer files however I plugged it in set the settings to xfer files and nothing. Does the adapter go into the pixel or the (in my case) Note 7? The thread listed a way to make these transfers upon start up but I'm way past start up. I need to transfer a couple apps and a big phone log and a truck load of texts. Any help out there?