Powered Otg Cable - Moto G Accessories

I got a cable: http://www.ebay.com.au/itm/301291074104?_trksid=p2060353.m2749.l2649&ssPageName=STRK:MEBIDX:IT
It does either charge ("AC charger", not USB) or OTG (tried many USB sticks) but never both. Is that a limitation of Cyanogenmod 12.1 which my phone is running now? I have seen people mentioning that I might want a custom kernel, is that correct? Or the cable is just wrong?

aikhome said:
I got a cable: http://www.ebay.com.au/itm/301291074104?_trksid=p2060353.m2749.l2649&ssPageName=STRK:MEBIDX:IT
It does either charge ("AC charger", not USB) or OTG (tried many USB sticks) but never both. Is that a limitation of Cyanogenmod 12.1 which my phone is running now? I have seen people mentioning that I might want a custom kernel, is that correct? Or the cable is just wrong?
Click to expand...
Click to collapse
The description on ebay says "The USB Typa-A Male plug is used to provide external power for connected devices (instead of mobile phone or Tablet)", so it's not really a Y-cable, just acts as a usb powered hub. Anyways if it was a y-cable, you would still need a custom kernel that has the ability to OTG+charge at the same time.

germanargentina said:
The description on ebay says "The USB Typa-A Male plug is used to provide external power for connected devices (instead of mobile phone or Tablet)", so it's not really a Y-cable, just acts as a usb powered hub. Anyways if it was a y-cable, you would still need a custom kernel that has the ability to OTG+charge at the same time.
Click to expand...
Click to collapse
Ah, right. Thanks for reading the description for me Thanks! However sometime it does charge the phone.
Any idea if CM12.1 has such a custom kernel?

Related

OTG + charge project. Charge phone while using FLASH DRIVE

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...

Looking for a microUSB to sd card reader, usb slot and microUSB charger port??

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

OTG cable male/female

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

Trying to connect USB Wifi Adaptor

Hi all, I have the Nexus 5 and wish to connect the TP-LINK TL-WN722N USB Wifi Adaptor but I am having no success, I purchased a Y Cable to connect it to my phone but when i plug it in nothing happens on screen or no light comes on the Wifi Adaptor, I plugged my charging cable into the other end of the Y Cable but it doesn't charge the phone, I thought my cable must be faulty but i've now used 3 more and all with the same outcome. Is there something i need to do to my phone to get this to work? The port on the phone works fine as it connects to my computer and charges perfectly when i just use a normal cable. If you can help me it would be greatly appreciated.
iRyanBall said:
Hi all, I have the Nexus 5 and wish to connect the TP-LINK TL-WN722N USB Wifi Adaptor but I am having no success, I purchased a Y Cable to connect it to my phone but when i plug it in nothing happens on screen or no light comes on the Wifi Adaptor, I plugged my charging cable into the other end of the Y Cable but it doesn't charge the phone, I thought my cable must be faulty but i've now used 3 more and all with the same outcome. Is there something i need to do to my phone to get this to work? The port on the phone works fine as it connects to my computer and charges perfectly when i just use a normal cable. If you can help me it would be greatly appreciated.
Click to expand...
Click to collapse
from doin this on my nexus 7 to use nethunter kali with the wifi adaptor i would say you need a rom and kernel that support usb-charge and host. stock android doesnt support wifi adaptors . u can access and use the adaptor in a linux kali but you cant use it in stock android to say browse the web instead of using on-board wifi chip/card.
edit : Also most of the y-cables you can buy from e-bay dont actually route power to the phone/tablet and to the attached device, the power only goes to phone, i had to make my own charge/host usb cable with a soldering iron and heatshrink tubing. this cable charges the phone/tablet and provides steady power to the attached devices (wifi adaptor, mouse,keyboard,hard-drive) the ones i mention previously from e-bay dont provide enough juice to power the adaptor.
You need a custom kernel with module loading, root and your wifi adaptor´s module, altough my WN723N and a cheap old ethernet adaptor worked out of the box(chroma rom with elementalx kernel)
opssemnik said:
You need a custom kernel with module loading, root and your wifi adaptor´s module, altough my WN723N and a cheap old ethernet adaptor worked out of the box(chroma rom with elementalx kernel)
Click to expand...
Click to collapse
Many thanks for your reply, I will try these now and see how i get on

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 ...

Categories

Resources