on CM 12.1 and I can get SOME flashdrive to work otg, SOME of the time.
I tried stickmount and ex kernel, but it's the same (worst on ex kernel, can't even detect otg)
I tried using a powered usb hub to see if that was the issue (for some reason, the microusb port isn't giving power to the drive. is this normal?)
after several more testing, seems like there are 2 issues that is causing otg not to work all the time.
1. Power. Doesn't seem to be able to provide enough power for self powered usb devices (ie. flash drive, dac, etc..) or enough to maintain connection.
2. Microusb port. might be one of the reason why devices aren't getting enough power and/or not being detected.
I really think it's a power issue cause everything seems to run fine if I connect it to an external powered usb hub. I tried the same setup (flash drive and dac to an usb hub, no power) with my 1st gen Nexus 7 and it had zero issues.
so is there a way to raise or maintain 5v OUTPUT out the microusb port so it doesn't randomly disconnect otg devices?
I've been able to power A pretty heavy duty usb audio interface. I think I may have had that issue A couple times, but it was never A big deal for me.
I don't remember having the problem after enabling "OTG+Charging" in Elemental X kernels' aroma installer. Did you use that?
Also possibly (not likely) A Cyanogenmod issue. I haven't used that on the nexus 7 in A while though.
Wierd that flash drives don't stay on. Does it do that frequently? I've looked into "overvolting" the usb port A long time ago, it seemed to need A kernel change
Related
A friend of mine also tried plugging in his HTC G2 (with Cyanogenmod), which also did not work. And I've been looking for a solution all around the place, and it seems to be a problem with Android phones in general; however, I know it's possible to get it working somehow because not everyone has the issue.
Basically, no matter if I have the USB connected via charge only or mass storage, the car display flashes "UNSUPPORTED". I've tried it with and without USB debugging enabled. And with all those combinations, I've tried having a music application open/no music apps running.
I also tried a solution here, which also did not do anything different.
I've also seen a few responses saying to just use Bluetooth instead. My car does not have Bluetooth capabilities. Using an AUX cable is a possibility, though I'd rather have the USB working.
Thanks!
Seems like the system wants to recognize your phone, but USB mode takes a few seconds to enable and therefore the system just rejects it. Disk mode will DEFINITELY have to be activated at some point, but the question is when. Try these steps:
1. With the car on, turn on the radio but don't have it in USB mode yet. Use radio, aux, cd, whatever. This will likely power the USB port at least.
2. Plug in your phone, make sure to select disk/mass storage mode.
3. Wait like 10-15 seconds for it to settle in, THEN select USB mode.
If that doesn't work, try different combinations. Like start with the radio completely off or something. If you have more than one USB port, try a different one. Other than that... I'm stumped. I got it working in a rental Ford Fiesta, but I don't remember the exact method. But it was something like this.
Try the radio with a USB stick drive to see if the radio even works that way
Sent From My Pocket
Sorry thegregbradley, I tried it but it didn't work.
I tried doing a couple of different things similar to that too, and it didn't work either.
As far as using a regular USB drive with some music files on it, it works fine! My friend used her iPod and that worked fine too. I don't see why it has such a problem with Android though...
In doing some reading, I have discovered information that says you need to turn USB debugging OFF for this to work...
Info comes from this thread:
http://www.hondacivicforum.com/foru...nics-10/2012-usb-android-support-88695/page2/
If not that, then I wonder if it's a problem of file management on your SD card? Just as a test, try putting your songs directly in your root folder. Or at most, one folder deep. The Fiesta I rented had bluetooth functionality, so I ended up doing it that way, as it was faster and less problematic. But I definitely would rather just plug it in if it just worked that way.
Iv found that running a rooted rom with debugging off and in mounted mode works great in my car.... No other combo has worked for me
@pwncloud, did you ever get this to work with USB debugging off? Just curious
I have debugging off in my car too and no mods to my android, it's a G2 and I get the same error on my 2012 Civic LX.
To update, no I never got it to work. I've settled with an aux cable.
Hello all,
I have a nexus 7 2013 and I am looking for a kernel that supports otg plus charge. Now, I know elemental x (by flar2) and a few others have this but the ones I have found do not support hot swap, or unplug and replug without rebooting. I am pretty sure Timurs kernel supports this but he wants $36 to buy it and I would rather not spend the money without trying it out first. Specifically, I have a fixed in-car installation and a febon100 UVC video grabber to display a backup camera. When the car shuts off, the febon will be disconnected from the usb side of the nexus, and the only way to reconnect it is to reboot the tablet with power connected. Anyone have any ideas? Thanks for the help.
Ok so I figured part of it out. After the device looses and regains power, these two commands simulate the usb disconnect and reconnect and seems to work (only tried it a couple times)...
Code:
echo "2-0:1.0" > /sys/bus/usb/drivers/hub/unbind
echo "2-0:1.0" > /sys/bus/usb/drivers/hub/bind
However, I have another issue. I am using the elementalx kernel on android 4.4.4 (currently on Carbon rom but have tried stock and other roms as well with same outcome). When the tablet reboots with the otg cable connected, it does not charge when it first starts up. To charge it, I have to physically unplug and replug the cord in the nexus. Any ideas?
bigc9731 said:
Ok so I figured part of it out. After the device looses and regains power, these two commands simulate the usb disconnect and reconnect and seems to work (only tried it a couple times)...
Code:
echo "2-0:1.0" > /sys/bus/usb/drivers/hub/unbind
echo "2-0:1.0" > /sys/bus/usb/drivers/hub/bind
However, I have another issue. I am using the elementalx kernel on android 4.4.4 (currently on Carbon rom but have tried stock and other roms as well with same outcome). When the tablet reboots with the otg cable connected, it does not charge when it first starts up. To charge it, I have to physically unplug and replug the cord in the nexus. Any ideas?
Click to expand...
Click to collapse
you find a fix for this? i will try that command you posted but i need it to run at startup automatically if it works.
quicksilvr2006 said:
you find a fix for this? i will try that command you posted but i need it to run at startup automatically if it works.
Click to expand...
Click to collapse
Just use tasker to run the commands at startup...
Does this set of command still work with lollipop? I just tried a few times and it seems to have made no difference.
Thanks in advance!
Yeah im in the same boat. Soooooo many problems with this ****ty tablet. Knew i should have installed an iPad. They said this is the 'best' of android. It's ****ing terrible. People who are thinking of installing an android into your car? A word of advise. Dont do it.
-guy who has worked on nexus 7 2012, AND 2013 car install for more than a year.
jimmng said:
Yeah im in the same boat. Soooooo many problems with this ****ty tablet. Knew i should have installed an iPad. They said this is the 'best' of android. It's ****ing terrible. People who are thinking of installing an android into your car? A word of advise. Dont do it.
-guy who has worked on nexus 7 2012, AND 2013 car install for more than a year.
Click to expand...
Click to collapse
Do you feel better now?
Sent from my LG-D850 using XDA Free mobile app
It's been almost a year any way to accomplish charging without having to physically unplug the OTG and plug it back in. Im have timurs kernel but I want to use elemental so I can use marshmallow. Timur accomplished it somehow. Someone has to know how.
Qi Wireless Charging
samt3 said:
It's been almost a year any way to accomplish charging without having to physically unplug the OTG and plug it back in.
Click to expand...
Click to collapse
It is actually trivially easy to accomplish - on any kernel - it is called Qi Wireless Charging.
Android 6.0.1 kernel Quanta-V7-Flo with 'USB Host Mode Charging'
samt3 said:
It's been almost a year any way to accomplish charging without having to physically unplug the OTG and plug it back in. Im have timurs kernel but I want to use elemental so I can use marshmallow. Timur accomplished it somehow. Someone has to know how.
Click to expand...
Click to collapse
Test results for Android 6.0.1 Stock + Kernel 'Quanta-V7-Flo' with active 'USB Host Mode Charging' and inactive 'fast charging' (N7 is only is use when its connected to the USB Power):
Ampere values checked with one of the cheap 'USB Charger Doctor Voltage Current Meter Mobile Battery Tester':
0.45 A for N7 only
0.61 A for N7 + USB Ethernet adapter
I don't use the N7 in a car setup but this should be important for such setups:
-If the USB Y cable is connected before powering on the N7, the USB device was usable in Android after startup without need for reconnecting the USB cable
-If the USB was unplugged and reconnected the device, it was usable in Android
-Important: If the N7 goes to sleep, it can't recover the USB charging and USB devices after waking. You should set the display timeout to always on, which is right for a car setup or am I'm wrong?
I'm happy! :good:
I tried quanta. It does work except for on initial boot. Have to unplug and plug it back in to charge. Then it works fine turning the key on and off for power. However it doesn't mount the OTG devices again without unplugging it and plugging it back in.
Edit: I also have another problem was at work and didn't have time to add it. But my Nexus thinks it's still charging after disconnecting it from power supply through the OTG cable. When I turn the key off it quits charging for about 1 second then switch's back to saying it's charging again and continues to say it's charging even after cycling the key on and off. Only way to fix it is to disconnect the OTG straight from the tablet and plug it back in or boot it into recovery then back to system. Has done this thru multiple roms and kernels. Only kernel it doesn't do it on is Quanta. The thing is it didn't use to do it at all no matter what rom or kernel I was using. I even went as far as to change the charging port board cause I had another one in a old junk Nexus I have and still didn't fix it.
samt3 said:
I tried quanta. It does work except for on initial boot. Have to unplug and plug it back in to charge. Then it works fine turning the key on and off for power. However it doesn't mount the OTG devices again without unplugging it and plugging it back in.
Edit: I also have another problem was at work and didn't have time to add it. But my Nexus thinks it's still charging after disconnecting it from power supply through the OTG cable. When I turn the key off it quits charging for about 1 second then switch's back to saying it's charging again and continues to say it's charging even after cycling the key on and off. Only way to fix it is to disconnect the OTG straight from the tablet and plug it back in or boot it into recovery then back to system. Has done this thru multiple roms and kernels. Only kernel it doesn't do it on is Quanta. The thing is it didn't use to do it at all no matter what rom or kernel I was using. I even went as far as to change the charging port board cause I had another one in a old junk Nexus I have and still didn't fix it.
Click to expand...
Click to collapse
Did you try the glitch kernel?
0xcafebabe said:
Did you try the glitch kernel?
Click to expand...
Click to collapse
I've used it before but not on my current setup.
Assuming one of these kernels provides OTG + Fast Charging, what are the options for the Power-Down + Deep Sleep, then Power-Up + Wake?
Hello,
Would like to thanks in advanced for anyone who replies with any relevant concrete info.
Since i got my tp-24g01 wireless touchpad keyboard in Japan back in 2009ish, i love it. its a 2.4ghz wireless keyboard kick ass keyboard. anyway it works flawlessly on otg with htc m8, pc, ps4 but not on n7.
I have nexus 7 flo 2013 wifi 16gb with cm12 of may 30 2015 with elementalx kernel for cm.
i cant really blame cm12 rom for being worse than stock in this case, let me explain,
out of the box stock rom and then even updating it from android v5 to 5.1 the keyboard would be recognized by the device but after a few seconds it would start to stutter and eventually i would have to plug in and back every FEW seconds. --- why me right --- i guess people like to use bluetooth and i could buy a bluetooth keyboard, however my hands are totally used to the layout and width of this keyboard, plus i like how it looks.
---- thus the reason why i changed to cm12 with elementalx kernel ---
it was worse, the rom would would not even recognize the keyboard. i pretty much downloaded all the usb otg helpers on play store, somehow i end up searching for s3c usb host drivers for android, and with that i was finally able to use the keyboard, it works better, but still it timesout.
ive read on xda that nexus sometimes requires extra electricy current for some things to work. this is where my question comes in..
is there way to stablize, regulat by force the output voltage so that it doesnt time out.
im an afficiando for all this stuff so i cant really be 100% certain,
however, i do believe its some kind fo voltage issue because ive used my m8 with the keyboard i n the same spots and it doesnt time out. when i download something it drops hard.
anyone know of solution for this
is it possible to force regulate or increase the power the nexus give to the otg?
any rom or kernel that has this fixed?
i would even appreciate key terms to search because i have burned out of ideas
Update
Been reading a lot
This device is really bad for hardware
Without using stickmount and otg power lock
Transfer speed to otg USB was 1.3mb/s and times out after 15 minutes ::: hate this device :::
With I get 4mb/s and the file transfered before 15 minutes so I don't know of would have timed out
Not to mention I had to boot it up connected to the otg
Makes Total sense that my wireless keyboard timed out
I'm still hoping for some software solution to this but I know it that will most be unlikely.
Have big expectations for the HTC version as I love that company
Final solution order y otg cable or powered hub and Bluetooth keyboard for when I travel.
MasalaMa
its me again
have some news.
Although it seems tht the nexus otg does not have the same type of support as my htc m8
the initial root cause of my problem
when i flashed elementalx kernel i selected otg usb charge, duh, it was a no brainer why the otg wouldnt mount my keyboard
however the sc3 usb host anroid drivers did help to fix this unnecessary problem
after having freshly flashed cm12 again the keyboard is recoginzed but the same problem persists as it did with stock rom. problem still there after trying to juice it up with the elementalx kernel by boosting cpu clocking and perhaps will start testing other kernels for other i/o scheduling and governors
any tips? recomendations?
i also installed OTG power lock which to some extent may have helped but im still getting the same issues. it seems that with this app helps a bit, however still insignificant.
might have to ge really technical
Hi!
I am planning to repurpose my Galaxy Nexus (Maguro) running CM13 as a media player/rear view camera viewer for my car.
I want to use a USB OTG camera, so I cannot use the micro USB port to charge the phone at the same time (or can I), so I tried ironing the power wires of the USB cable directly to he pins of the battery and it worked
I use a charger which provides power to the phone when the car engine is on, but the problem is that I need to turn on the phone manually every time...
Is there a way to make the phone boot automatically when it gets power?
I saw some threads for other phones which wanted to boot the phone when the charger was connected (not sure if that would be helpful for me but anyway). They achieved that by modifying a file called lpm in system/bin. However my phone doesn't have such file...
Thanks in advance for your help!
I found a file called pm and editted that one but nothing changed...
Help please!!!
I've got a Nexus 7 2013 Rooted (Running 6.0.1) with V4.0 Timur's Kernel, all works fine as it should, so goes into sleep when I turn the ignition off and comes out of sleep when I switch ignition back on.
The issue I'm having is with USB Pen/Flash drives when when it goes into sleep it looks like it's disconnecting the drive, and when I comes out of sleep it mounts it again, but what this is doing is corrupting the drive. So I have to format the drive every time, I've tried 5/6 various USB Flash drives including SD Card readers, same thing. I'm using a USB OTG Y Cable (Charges Nexus Too)
Very very annoying as I have all my music stored on the USB Drive. I've tried a number of OTG cables, adapters, Hubs etc and they all do this.
I cannot believe the Nexus 7 2013 doesn't have Micro SD Card Slot built in, even now after 4 years, there are not many 7 inch tablets that rival the quality of the Nexus 7 2013. I love the screen resolution and Timur's Kernal. Never crashes or freezes, it's flawless in every other way.
Hope someone can help who's had the same issue.
Can anyone help with the above please? I’ve tried everything, each time the Nexus 7 2013 goes into sleep the usb flash drive disconnects and when it reconnects next time it wakes it’s corrupted.
Never been able to get this drives to work at all, ever.
There's a settings in PEM for automout(?) Try toggling that for giggles and test.
I've never heard of that happening and it's never happened to me. I'm using a 64gb USB 2.0 forgot what brand. I have both options checked in PEM under USB automount. There are random times where PEM stops seeing my USB drive but a quick unplug/replug fixes that. I'm also using an old version of SuperSu (2.78), but it's the version Timur recommended. I have auto update disabled for it in the play store.
Shameless bump, I am having the same problem here. The only difference here is I am using a sdcard to otg coverter thingy to connect it to a USB hub. The hub is powered separately from the tablet, the tablet has the battery delete mod done to it. I need to test this further with different USB sticks / sdcards I have, already tried to usb-otg adapters and still no go