Nexus 7 OTG + charging is here

mvmacd

Senior Member
Nov 2, 2010
868
124
0
Massachusetts
It says it's only been tested with CM10, but might also work with other ROMs. I finally got my Y cable, and I can confirm it works. [Using this cable from ebay, $6]

http://mehrvarz.github.com/otg-power-nexus7.html

This means you can plug in your flash drive or hard drive and use it while on AC power!


Update: for 4.2.x check this dedicated thread over on rootzwiki: http://rootzwiki.com/topic/37755-timurs-kernel-robust-usb-host-power-management/

Big thanks to XDA member t1mur and rootzwiki Timur for making the kernel!
 
Last edited:

faybarn

Senior Member
Oct 19, 2010
169
36
48
This is awesome, just need to find a y-cable to try this out. Just hope its a stable kernel that doesn't cause any issues.
 

mvmacd

Senior Member
Nov 2, 2010
868
124
0
Massachusetts
Hi Guys,

will this also work with a standard otg-cable and an usb-hub?

Cheers,
berkley
I don't think so for 2 reasons. Usually even powered usb hubs don't give out power through the input port [The source port of the hub]. And even if it did, it would be 500 mAh [the N7 charger is 2000 mAh], which [edit:] isn't enough enough to charge the N7 with the screen on. If the screen is off though, it will slowly charge it.

Also, apparently this is already implemented in Faux's beta kernel, you have to use echo to enable it [it's explained on the thread].
 
Last edited:
  • Like
Reactions: berkley

brando56894

Senior Member
Dec 16, 2010
1,881
257
0
Jersey City
Awesome news, even though I just bought a regular OTG cable about a week ago for a $1.50 (still waiting for it to be delivered from China to the USA [NJ]). Since I just got a full-time job I'm going to sell my 8 GB and get one of the 32 GB versions when they become available so I won't have to worry about the extra cable :D
 

NicoGa

Senior Member
Jul 10, 2012
434
139
0
Montreal
Can anybody confirm that it effectively works ?

Also, It would be good to to know:
- which Y-USB-OTG cable is used ?
- which power source, i.e. from a PC (500 mA) or a charger (2 A) ?
 
Last edited:

wizardknight

Senior Member
Nov 1, 2009
1,001
293
113
Seattle WA
I am a little confused. The link says...
When a host mode adapter was recognized, charging of USB slave devices will NOT be activated and instead vbus will be raised in order to accept external charge.

If I want to use something that requires external power like a usb thumb drive, and the charging of usb slave devices is not activated; where does the slave device get the power to function? Is that shared off of the Y cable?
 

Nizda1

Senior Member
Nov 12, 2011
410
84
48
I know exactly what your talking about I have one for my old touchpad, ill try it on my nexus 7 see if it works.

Sent from my SGH-I777 using xda premium
 

Nizda1

Senior Member
Nov 12, 2011
410
84
48
Alright I tried it using stock rooted using motleys kernel and while I could use a powered usb hub with 2 storage devices and a keyboard It wouldn't charge the N7 simultaneously. Although it didn't drain any power from the device either. Now this could be because of what I'm running or even one of the cords since I won't have a chance till the morning to test a couple more scenarios. All in all it definitely should be possible but may require a different kernel/rom etc. Though the OP asked the question regarding doing it w/o cm10 so ill try and stay within those parameters. On the touchpad I used to do it with cm9, as it was necessary especially with that device mostly only working with its 2amp charger. The reason I would only question cords used is I had previous trouble with an older kindle cable and when I tested it on a device I needed 1.5a it was hovering around 1.35a using my multimeter. Which was causing my Touchpad not to charge because it requires alot of power to charge. Ill update you on any progress and see I'f I can find the link foe the Ycable which I got on amazon awhile back.

Sent from my SGH-I777 using xda premium
 

Nizda1

Senior Member
Nov 12, 2011
410
84
48
I just read the code for the patch,its definitely looking like it will rely on the kernel as atleast in cm, USB slave charging mode needs to be suspended when recognized as host adapter. Regardless, I believe another Dev already implemented this and I'm sure others will.

Sent from my SGH-I777 using xda premium
 

daclothe

Senior Member
Jun 21, 2007
101
11
0
Does anybody have this working with their Nexus 7 showing "Charging" on the Battery panel? The best I can get is "Not Charging" which does me no good for my car install. :(
nope, i'm in the same boat as you...wish we could somehow trick the system but alas not yet!
 

dmexs

Senior Member
Aug 15, 2008
51
6
0
nope, i'm in the same boat as you...wish we could somehow trick the system but alas not yet!
Yeah. Now I'm toying with the idea of mounting a network share from a NAS-enabled router and put that in that in the car instead...effectively freeing up the USB port for full normal charging. I don't really like this route though because I suspect waiting for the router to boot every time the car is started will slow things down.