yashsingh1/xdaforums huggingface dataset:
[Nexus 7 General] memphian:
Okay. Sorry for my noobness. Was thinking it was implemented the stock cm kernal. I'll try that when I get home.

Not sure if this gets updated when cm kernal gets updated, so I guess I'll set my rig and read up on how to build a cm kernal and try to implement patch in it.

Thank you.
[Nexus 7 General] mvmacd:
Timur said [here] you should be able to use these patches in any kernel. So if anybody who knows how to compile the Nexus 7 CM kernel, and could update it every once in a while, and put it in the dev forum, that'd be really awesome!

Also, my cord finally came, so I flashed the 2nd patched kernel. I have mounted my USB, and it shows charging at the same time. :cowboy:

However everything felt sluggish, maybe it was because it was the 1st reboot with a new kernel.. I'll know more later after I've tested it a bit.

Btw, anybody tried Faux123's beta kernel [with a otg+charge patch also]? I heard about some audio issues on the later betas [b8?], but I've been thinking of perhaps trying b6 [which seemed to be working fine with audio].
[Nexus 7 General] MetalMan2:
Man, I'd love if somebody could put Timur's patch together with one of the available over-clock-able kernels!!!

Congratulations on successful OTG + charge :victory: It shouldn't be sluggish, so definitely try rebooting and what-not.

I've been all over faux123's latest beta kernal. Check out my latest post in his thread:

http://xdaforums.com/showpost.php?p=33940904&postcount=1110

In the end, if you want to use a USB audio DAC (while OTG + charge), faux123's kernel just won't work. It does work just fine with regular OTG + charge (until you reboot).
[Nexus 7 General] mvmacd:
Yeah pretty sure I just need to reboot..

Anyway from what I understand, a skilled kernel dev should have no problem patching their kernel with this hack, but the only thing I see that could prevent them from doing this is that you cannot use an otg device without the y cable and external (2a wall) charger.

One way around this is to provide 2 versions of the kernel, one regular, and one "otg charging" mode kernel with the 2 patches from the link in the OP. I just wish someone would do it.. any +1's?
[Nexus 7 General] MetalMan2:
Certainly a downside, but at this point worth it IMO, at least for people like me who will be using their N7 primarily for car duty.

In other words, have a toggle to switch between OTG + charge and regular OTG (LOL).
[Nexus 7 General] alfeuss:
Works for me. I'm using DIY Y cable. So far it does allow charging with external storage mounted; However it will no longer power a usb thumb drive without power supplied to the Y cable. Nor will USB-otg work with a regular OTG cable, du to no power being supplied.

So it looks like a great idea for car mounting, but not "On the go"

PA 2.53

Edit: USB-otg still works in twrp for making backups and flashing roms. No external power needed
[Nexus 7 General] mvmacd:
yes the reason is this patch disables outgoing power, in order to enable charging. Thus requiring an external power and a y cable.

And twrp works with normal otg because it has a separate unpatched kernel

Yeah that would be ideal. However a toggle would take more coding than just the patch. And unless they enabled it by default, you could not use it for usb dac, due to having to boot with it plugged in.
[Nexus 7 General] Ryan_Mc:
@mvmacd, did you get the sluggishness sorted out? I flashed CM10 and the patch I think the first day I got my N7 and all works as it should so that's good. I haven't really done anything with the N7 except do this and start playing with launcher setups and audio players etc., getting ready for a pending car install. However my N7 feels slower than what I think it should be. The one thing that stands out to me is the isn't quite enough processing power in the N7 (in this configuration) for it to run Angry Birds due to lagginess. There is still enough power to play flacs for the audio just fine and that is all I really need as I won't be playing any games while I'm driving, just thought this tab would have a bit more horse power. Also I get a "CM updater has stopped working" message from time to time. Anyone had anything like this?
[Nexus 7 General] mvmacd:
I think that it ran fine after I rebooted.. but I no longer have it, I lost it in a house fire on Nov 18. :(
[Nexus 7 General] Mechanio:
I'm doing the same, but still using OTG... its uses go way beyond expanding memory. (I'm typing this on an OTG keyboard.)

But even at 32GB I'll still be using OTG for SD cards. I'm often on long flights and trains; being able to access to my entire music & ebook collection without draining the battery makes the device even more useful than it already is.
[Nexus 7 General] sto1911:
Is there a patch for stock 4.1.2 as well?
[Nexus 7 General] mvmacd:
You mean stock rom? I think the kernel dev (Timur on rootzwiki) said it might work on the stock rom, it's like using a CM kernel.

But he has a supported kernel for 4.2.x and cm10.1, check the OP for the rootzwiki thread link.
[Nexus 7 General] elichai2:
power not working

Hi,

I got an Galaxy Nexus and i bought that item.

And the OTG works but the power not,someone know how to fix it?

(I got CM10.1)
[Nexus 7 General] Kodiack99:
The Timur kernel is only for the nexus 7,he has a stock 4.2.1 for fixed install and mobile and the same for cm 10.1.Im running the fixed for stock and it works awesome ,charging and 32 gb extra storage was just what my car install needed.
[Nexus 7 General] davidadavila:
for some reason im going into team win recovery and it cant see the zip and weirdly enuff when i open nexus in my computer it wont let me see the other the initial cm10 zip or the gapps zip that are in there before i flashed but i can see the the kernel
[Nexus 7 General] Kodiack99:
Hmm I just download them directly from his site with the n7,and my twrp finds them.Do you have the latest twrp?
[Nexus 7 General] benoitb85:
Does someone have a link for a usb hub that would be made for being used with a Nexus 7 and Timur kernel ?

It would be powered, letting you plug 4 devices including 2.5 hdds and directly having a microUSB port for the nexus 7 that also lets it charge.
[Nexus 7 General] mvmacd:
I'm 99.9% sure there's no commercial USB Hub made specifically for the Nexus 7 & Timur's kernel.

What you need is a "MicroUSB OTG Charging cable" and a regular powered hub.

The charging OTG cable has a microUSB male to plug into N7, microUSB female to plug in charger, and USB Female for USB device, in this case, powered hub.

hmm.. I tried to search on eBay but I couldn't find the cable. An old listing [the one I bought, $6 on eBay] is referenced in previous pages. :S I dunno where to get it from anymore.
[Nexus 7 General] ksnax:
Never mind.
[Nexus 7 General] zolaisugly:
Why not just look at sellers other items,I have just got a cable from your link in op which matches your original cable, spec etc..... just got to wait 15-25 days to get it.
[Nexus 7 General] KRAZYADROIDMASTER:
What about the online stories of cables frying the tablet. Is their any truth to that???

Is that something to worry about???

DEVICES:

NEXUS 7 32GB STOCK

(NO ROOT)

T-MOBIL LG G2X (LG-P999)

STOCK (ROOTED)
[Nexus 7 General] mvmacd:
Good idea, just didn't think of it. I thought they stopped selling it because I couldn't find it by keyword.

Swiped from my Nexus 10 using xda-developers app
[Nexus 7 General] siviog1:
This looks like the same cable... http://www.ebay.com/itm/Micro-USB-Host-OTG-Cable-W-Micro-USB-power-Sam-sung-i9100-i9300-i9220-9250-/121048894286?_trksid=p2047675.m1850&_trkparms=aid%3D222002%26algo%3DSIC.FIT%26ao%3D1%26asc%3D11%26meid%3D4748387000455904783%26pid%3D100011%26prg%3D1005%26rk%3D1%26sd%3D121008911563%26
[Nexus 7 General] mvmacd:
That is the correct cable. This with a powered hub will work great.

Swiped from my Nexus 10 using xda-developers app
[Nexus 7 General] vorcers:
Did someone tried these kernels with the USB-OTG but powering by the pogo pins?

I received my nexus 7 dock today and I will try that with the mobile kernel tomorrow. Or can these kernel blow up my device if I am using it? :rolleyes:
[Nexus 7 General] mvmacd:
I know the kernel wasn't made for POGO pins, but it was made for the main microUSB port. So I doubt it will work. You should ask Timur on rootzwiki who made the kernel: http://rootzwiki.com/topic/37755-timurs-kernel-robust-usb-host-power-management-nexus-7-like-a-pc/

Actually the kernel turns OFF the power when otg is enabled, so that it can receive power to charge, so I'm positive it will not work. With no power, your OTG device, even though it might not need it [or maybe it definitely needs it, depends on device], it will not turn on without power. Maybe Timur could make a pogo pin charging kernel. I'm not sure, but you should ask on rootzwiki thread. :)
[Nexus 7 General] vorcers:
@mvmacd

Thanks for your advice. Well, in STOCK kernel it says it loads, but my Watt meter drops from 4 W to 0 W when I connect the usb-device. Google is crazy....

I will ask the quys in rootswiki.

Edit: it already drops, when I only connect my usb-otg cable, I did not connect a usb-device to the cable. I think it something to do with the ID-Pin in the micro-usb connector. That's quite strange.
[Nexus 7 General] mvmacd:
yes I remember people talking about that. I'm pretty sure the kernel is disabling charging when it detects OTG cable. :( kinda stupid if you ask me
[Nexus 7 General] XDA-99:
Great news !!

But nexus 7 not in my country yet !!

So what about that ` y ` caple !! :laugh:
[Nexus 7 General] rebel1699:
Does the timur kernel have kexec support? Would be handy if compatible with multirom.
[Nexus 7 General] NetFluke:
Nexus 7 OTG + charging

Please be careful with Timur's kernel (I tested timur-usbhost-2013-01-06-jb42.zip - mobile version). It will freeze and reboot Nexus if it was left to charge through OTG Y-cable and was allowed to enter deep sleep. When Nexus wakes up and OTG cable is disconnected, the reboot is imminent. However, faux123 kernel (013, all versions) works perfectly with manual switch between normal and charging modes (OTG cable must be reconnected to switch modes). Mode switch can be performed through FauxClock (in misc) or by shell scripts using Script Manager with SM Widgets. Stay away from 014b1 due to Bluetooth issues.
[Nexus 7 General] PHiL_G4:
have you ever tested poitees kernel?

thx
[Nexus 7 General] NetFluke:
I'm not sure if it supports JB 4.2.1...
[Nexus 7 General] t1mur:
A new release of Timur's kernel has been released today for stock JB 4.2.x and CM 10.1. The reported stability issue has been resolved. This kernel is 100% stable. See my announcement here:

rootzwiki.com/topic/37755-timurs-kernel-robust-usb-host-power-management-nexus-7-like-a-pc/page__st__240

or download from:

mehrvarz.github.com
[Nexus 7 General] NetFluke:
I agree, running the mobile 01/20 version since the release without a single issue. Great work!
[Nexus 7 General] Ryan_Mc:
Anyone been playing with Timur's new kernels? I'm just trying them out and so far so good except one thing... With the fixed install kernel the nexus doesn't go to sleep mode when charging power is removed. Is there some setting I need to change to make that happen?
[Nexus 7 General] Kodiack99:
Are you using it with tasker?

Thats what I'm using to screen timeout go into airplane mode, force close apps etc.

If you are not going into deep sleep check your battery usage and find out if maybe its an app bringing it out of sleep to update.

Im using the Timur fixed kernel and it is working perfectly with the unpro version of stick mount,the pro caused double mount and unmount issues.
[Nexus 7 General] igerup:
So, flashing this kernel on a JOP40D will let us to use external storage (Micro-SD, USB, etc) even if we don't use a Y-cable? I mean, it will work with a regular OTG-cable?
[Nexus 7 General] t1mur:
When you flash timur-usbhost-2013-01-24-jb42.zip on JOP40D and use a regular OTG-cable, your N7 will behave like a unmodified N7, letting you use all kind of USB devices. The only difference in this case will be, that you can also use USB DAC's. But when you switch to a two-arm OTG cable, you can do all those things *and* charge at the same time.
[Nexus 7 General] igerup:
Neat, I think the Nexus Media Manager interfered when I tried it out yesterday.
[Nexus 7 General] kayaker:
Just got my nexus 7. Good to know it has OTG capabilities!
[Nexus 7 General] t1mur:
OTG means USB host run on battery. Battery operations being the only option, is what makes it restrictive.
[Nexus 7 General] bsoplinger:
Look at the OTG + Charging thread, there are options to both charge and run a device. You can also get an OTG + power cable to let you hook up a device that needs more juice. Another option for high powered devices is to hook up a powered dock via the OTG cable assuming you're not looking for a mobile solution.
[Nexus 7 General] eastside770:
has anyone tryed the otg with a external hard drive with its own power supply?
[Nexus 7 General] t1mur:
If your hard drive consumes more energy, than what the N7 is able to deliver (a rather likely scenario), then being able to power the hard drive will indeed help. And this works with a simple OTG cable. But be aware that your N7 will now draw battery power quicker than it usually does, because it does not "know" the USB slave device is separately powered. Your N7 will try to power the slave device in parallel, doing what it is specified to do in OTG mode. As a result, your internal battery will dry up more quickly.

However, if you are using the replacement kernel, linked to by the OP, together with an OTG Y-cable (two arms), then your N7 will not draw any battery power in this scenario (infact it will switch to being charged). And you can also connect any hard drive and other USB devices as well (using a hub), without a need to power any of these devices separately. (Disclosure: I am the author of this kernel extension. You find me on rootzwiki.)
[Nexus 7 General] jtrue:
Just to make sure I'm understanding correctly, with the new kernel I should be able to use an unpowered USB hub and run a couple different devices? Or does the hub have to be powered? I'm hoping to use an SD card reader along with a 1tb WD hard drive to transfer pictures/videos from the SD card directly to the hard drive while I'm backcountry skiing/camping for 2 weeks on a glacier in Alaska. I have a solar setup with either a USB output or 12 volt car socket output(Goal Zero Sherpa 50). Will a USB output be able to provide the additional power needed?
[Nexus 7 General] jtrue:
Nevermind, figured it out. In the end I needed to power the USB hub with a cheap Powerline Car Universal Car Adapter. But I got it setup like I wanted, all powered through a Goal Zero Sherpa 50 battery pack. Powering the USB hub from the 12 volt out, and running power to the Y OTG cable from the USB out. Can transfer files from my cameras SD card to my WD HDD without any AC power. Sweet!
[Nexus 7 General] t1mur:
Congratulations. Actually, you should be able to have this work also, without separately powering the USB hub. In other words, the hub (and all attached slave devices) should be powered just fine, via the USB host port alone. Did you try this?
[Nexus 7 General] jtrue:
When I hook up a USB cable from the Sherpa 50 battery pack to the host cable and am not powering the USB Hub I am only able to mount the SD Card reader, the HDD just clicks and won't mount.

I changed my setup and just cut the end off the 12 volt adapter that fits the USB Hub power in port and wired it to a USB cable end. When I plug that USB cable into the Sherpa 50 and then into the hub all the slave devices work. I plug another USB cable into one of the USB Hub ports which feeds the OTG Y host cable with power. Not sure why I can't get it to work with just the host cable hooked up to power. Maybe the Hub I have is just crappy? Any ideas? It would be ideal to drop the additional cables if I can.

New Setup:
[Nexus 7 General] t1mur:
This look more manageable already. I'm pretty sure your hub is causing the issue with the other option (power via host port). Just try another $3 hub and it will probably just work.
[Nexus 7 General] jtrue:
Yeah, not too bad with how it's currently setup. I also tried it with my smaller Guide 10 Battery Pack which is charged off a Nomad 7 solar panel and it works as well. Could be a great solution for photographers or videographers out in the field that need to transfer files from their sd card to a hard drive.

Any recommendations out there on cheap unpowered hubs that people have got to work powering more than one slave device just using just using the OTG Y Host Cable?
[Nexus 7 General] :
thx! :victory:
[Nexus 7 General] Nico_60:
For those who want to test another kernel, Metallice has add latest usb host mode charging from mehrvarz's repo, for his great M-Kernel
[Nexus 7 General] Dusky__Nembrotha:
I am using Metallice's kernel with trickster mod but I have not seen any fast charge options. I am not sure that the Nexus 7 is compatible - just the Gnex and others
[Nexus 7 General] FitAmp:
Fast charge has nothing to do with otg+charging.

And ofcourse the n7 doesn't support this...

Press thanks if I helped ~ Nexus7/CyanogenMod/M-Kernel
[Nexus 7 General] jtrue:
Picked up another cheap USB hub from eBay. Still can't mount both slave devices unless I add power to the hub.
[Nexus 7 General] stevey500:
This is awesome. Running the latest OTG rom right now on an n7 about to be installed in a truck for the infotainment system.

I'd like to be set-up with a large external hard drive for media storage, I have noticed that whenever DC power is cut from the input of the n7 (ignition turned off) the USB host disconnects and changes modes and loses the hard drive mount status momentarily. This causes an unexpected device eject and delay in media being populated in the gallery/media libraries in android after each re-wake.

Anyone have any input on how to fix this issue? I know USB has capabilities to sleep on other devices like the Asus transformer models, external drives will shut on/off with devices sleep-state without unmounting from the systems volumes each state change.

No matter what settings are set in USB host menu, it seems to have similar behavior of dropping USB host connections every time DC state changes.
[Nexus 7 General] mvmacd:
Just making sure, you're using the "fixed" kernel, not the mobile one?

Swiped from my Rezound using xda-developers app
[Nexus 7 General] jtrue:
Anyone having issues pairing a Bluetooth device? Can't get my Microsoft notebook 5000 mouse to connect, it just keeps popping up a pairing request asking for a pin. Edit, got it working after a couple more tries.
[Nexus 7 General] promethieus:
http://fixer14.com/me/me/Nexus7/

Have a look here, I am doing a Car install at the moment and needed to make a Dock and had all the usual issues, with power and such, I am using a 7 port usb hub that has switches on each port, this is really handy.

Here is the link to the hub, it does not come with a power adapter, but you can buy your own one

http://www.ebay.co.uk/itm/Black-Laptop-PC-7-Port-USB-2-0-Power-Hub-Splitter-Adapter-with-ON-OFF-Switch-Hub-/121095630262?pt=US_USB_Cables_Hubs_Adapters&hash=item1c31dcadb6
[Nexus 7 General] dsmithhfx:
Using an OTG adaptor hooked up to a powered usb hub and 2 devices (keyboard, wireless mouse dongle) burned through ~50% of the battery charge in about 4-hours, even with none of the devices in use and screen blacked out (wifi on, but no major updates pulled in), except for about 30-minutes of intermittent mouse & kb usage. Without the OTG + hub + devices it might use ~5%. Would bluetooth use less?
[Nexus 7 General] Synomenon:
Having a minor issue. Rooted my N7 and it works with a cheap OTG cable I got from Fry's Electronics and this controller:

http://www.amazon.com/Retro-Nintendo-Controller-Not-Machine-Specific/dp/B0034ZOAO0

I also have the official N7 dock. I place the N7 in the dock and plug the OTG adapter into the N7 then the controller into the adapter.

Once I do this, the N7 stops charging even though it's in the dock.

Is there any way to fix this?
[Nexus 7 General] Synomenon:
Anyone?
[Nexus 7 General] bsoplinger:
Perhaps a search for otg + charging and finding out this is the expected as designed behavior before posting a question would have been helpful. You'd then have even found cabling and alternative kernel solutions to the issue.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[Nexus 7 General] Synomenon:
I did search before posting, but am new at this so wasn't really sure what to ask or look for. Thanks though. That was really helpful.
[Nexus 7 General] bmakk2055:
Try this kernel http://mehrvarz.github.io/nexus-7-kernel-download-page/ it works for me. Here's the op http://rootzwiki.com/topic/37755-timurs-kernel-usb-rom-usb-host-power-management-usb-audio/
[Nexus 7 General] Synomenon:
Thanks bmakk2055! I will try this out as ASAP!
[Nexus 7 General] Synomenon:
Ok, installed it, but now the USB SNES controller doesn't work. Also, this ROM doesn't have the Play Store.
[Nexus 7 General] rydog66:
Just download it from the playstore :sly: lol
[Nexus 7 General] bmakk2055:
I just use the cm10 kernel not the ROM

Sent from my

Nexus 4

or my

Nexus 7

using Tapatalk HD
[Nexus 7 General] Synomenon:
dp.
[Nexus 7 General] Synomenon:
I was happy with the stock ROM. All I needed to do (to get the OTG cable and USB SNES controller working) was use that easy utility from the XDA forums, to unlock and root the stock ROM. Only problem is that the N7 won't charge in its dock while the OTG cable and USB controller are plugged in.

So how do I keep the stock rom (rooted and unlocked) while using the CM10 kernel?

Would using just the CM10 kernel with the stock ROM allow charging in the dock while the OTG cable and USB controller are plugged into the N7?
[Nexus 7 General] htcfan85:
I don't know if I'm just retarded or what, but I can't get the N7 to charge while the OTG is hooked up to a mouse or flash drive. In fact, it's not even charging when nothing else is connected (using the OTG, it charges when I'm using just the charger with the OTG). Is this a problem with my N7 not being able to read the OTG cable or is it an issue with the cable itself?

I've tried both Timur's and Faux123's kernels. They both allow me to use the flash drive and mouse, after rebooting, but neither works with the charger together. Is it the cable if, when I only connect the charger to the female micro usb of the OTG, that it connects and then immediately disconnects? It won't stay charging. But my devices, the HTC One X and the N7, both recognize it, at least for an instant. Is the problem with the kernel, flashing the kernel, or the cable?
[Nexus 7 General] graydiggy:
Plug the cable to your wall. Plug your peripheral into cable, plug cable into nexus 7.should work.
[Nexus 7 General] Destroyav:
Some otg cables don't support charging... mine doesn't
[Nexus 7 General] bsoplinger:
I've used a cable recommended by others and it works for me. Try dx.com and search "otg power cable Samsung" and you will find some. I believe this is the one I bought:

http://dx.com/p/cy-u2-165-le-left-9...le-for-samsung-i9100-i9220-i9300-black-206194

You can also get them via eBay with the same search. A search (otg power cable) in this subforum should yield the older thread I'm remembering.

Sent from my Nexus 7 using Xparent Purple Tapatalk 2
[Nexus 7 General] htcfan85:
Thanks for the advice everyone. I did this and it worked. It's a bit annoying that I have to unplug evening and then plug them back in, but it's better than it not working at all. And it's not like I could make a kernel like this either haha.

The one I have is the one I found on Amazon. It says it's for Samsung, but if you look through the reviews there are people who say it works for their N7s.
[Nexus 7 General] pmauzao:
Hi there,

I'm on last ParanoidAndroid ROM 3.6, anyone knows if the kernel of paranoid is compatible with the Y-OTG cable or do i have to flash the Timur's USB host kernel, and what is the right one for my ROM, Android 4.2.x kernel or CyanogenMod 10.1 kernel, since Paranoid is based on CM...

Thks