Nexus 7 battery mod - icons shows charging with unpowered OTG cable connected - Nexus 7 (2013) Q&A

Hy guys. I am trying to make a dashboard install, and eveything went well ( I did the battery mod, installed the Timur's Kernel). All worked good, the tablet went to sleep when i stopped supplying power to the OTG Y cable (only stopped the power, NOT unpluging the OTG cable from the tablet). When I wanted to clean the setup, I once again powered the tablet and expected to shut down when the power was no longer provided, but surprize, it showed that it was still powered, and it kept showing that until I unpluged the OTG cable.
I started a hardware debug, checked the voltages, checked the cables etc. I tryed with a normal usb cable, that one worked ok (the charging status changed to not charging, the tablet stayed awake because it is not an OTG cable, and Timur's kernel needs a OTG cable for the FI function to be enabled). Then I tryed connecting the powered OTG cable, remove the power (still showing that the battery was charging), and then cut the ground wire that goes to pin 4 (SENSE), which made the tablet think it was not charging anymore.
Have any of you encountered this issue before? Have you found any solutions? I am going crazy here.

Related

Forcing GN to charge in pogo pin dock with USB OTG in use

I have the official Samsung desktop dock for the GN with pogo pins for charging. I cut out a notch in the left side of the dock so that I could access the USB port on the phone when it's docked. I'd hoped I could then attach a USB OTG cable and mount a flash drive while the phone charged via the pogo pins.
Unfortunately, the two functions seem to be mutually exclusive. If the phone is in the dock and charging and I attach the cable and flash drive, they are not recognized by the phone. Or, if I attach the cable and flash drive first and mount the flash drive before placing the phone in the dock, charging doesn't initiate when I put the phone in the dock.
Does anyone know if there is some way via software or hardware to force pogo pin charging while a flash drive is attached and mounted via a USB OTG cable?
I will try tomorrow on my self built car pogo charger and usb otg. I have aokp with the fast charge override feature.
subvertz said:
I will try tomorrow on my self built car pogo charger and usb otg. I have aokp with the fast charge override feature.
Click to expand...
Click to collapse
Sounds great! Thanks much. If it works, it'll tempt me to go to AOKP myself.
Any luck on this?
I too want to use OTG functionality while charging phone in the official car dock.
USB OTG + charging
I'm actually trying to get the same get something like this going on a galaxy s2 (the I9100g with the omap processor) or a GN, My goal is to get usb host and charging going through the same cable. By making some changes in the kernel i've got the phone to think its in charging mode while in host mode, but if you check the battery status, it's still draining even though it says "charging" and I've got the a usb "Y" cable connected to a 5v 2amp power source.
I think cyanogenmod (there was a post on this here and a standalone app that eventually rolled into the latest cm7 nightly) has this working on a BN nook color (also TI-OMAP Processor), but I have not been able to verify this.
Does anybody have host+charing working on any device with an OMAP processor?
Sorry for the delay, I had an emergency work trip offshore on an oil rig. I can try it out tonight.
Results. Charging OTG killed pogo charging. I tried mounting in pogo charger with OTG already attached mounted with a basic thumb drive. Charging never started. I tried charging with pogo first, then plugging in OTG, charging stopped. I checked to make sure it was actually discharging by waiting for a few percent decrease.
Sorry, I was hoping it would work too.
subvertz said:
Results. Charging OTG killed pogo charging. I tried mounting in pogo charger with OTG already attached mounted with a basic thumb drive. Charging never started. I tried charging with pogo first, then plugging in OTG, charging stopped. I checked to make sure it was actually discharging by waiting for a few percent decrease.
Sorry, I was hoping it would work too.
Click to expand...
Click to collapse
Thanks for giving it a try. It would be interesting to know if this behavior is built into the hardware or could be modified via software/in the kernel. It's consistent with what happens when using a powered USB hub.
Other than a software mod, I'd sure like to see someone start making and selling an Accessory Charger Adapter as described in Chapter 6 of the USB Battery Charging Specification document from 2010. It's the exact thing needed to use USB OTG and charge at the same time.
Anyone knows if its possible to charge via USB, with a device connected?
I connect an adapter microUSB to USB OTG, than connect USB OTG in a USB HUB and than i connect a device in one USB and force in another, is it possible or not??
It may work, since connecting to the pc works.

[Q] AC Adapter acting as USB

I have noticed that the note 2 sometimes considers AC Adapter as USB.
Thus the charging output reduces.
Is someone else also facing the same issue? Is there a solution?
Nope, it won't act as USB. Basically AC only connect to + and -. And the data is left blank.
Out USB port in PC has 3 connected
Accidentally sent from my Samsung Galaxy Note 2
For me it does acts as USB sometimes.
I plugged the phone to USB port and then again to AC adapter.
The phone this time recognised the AC adapter and the charging output increased.
How are you measuring the charging output?
It happened to me once. Fixed it by unplugging then restarting the phone then it showed it as AC when I plugged it again. Don't know how it happens, but it seems a rare occurrence (for me at least).
i also feel that is why sometimes it keep charging slowly...anything to do with usb debugging enabled?

OTG cable + power

Do i need a custom Kernel to get that capability?? I have a OTG cable that works for connecting a mouse, keyboard, thumbdrive etc and it has a port for power but the tablet does not recharge.
So i'm wondering if i need a custom Kernel or maybe the cable is defective or something.
If you know of one of those cables that work, please let me know.
Thanks in advance.
I have this cable out of China:
treetop777 said:
Do i need a custom Kernel to get that capability?? I have a OTG cable that works for connecting a mouse, keyboard, thumbdrive etc and it has a port for power but the tablet does not recharge.
So i'm wondering if i need a custom Kernel or maybe the cable is defective or something.
If you know of one of those cables that work, please let me know.
Thanks in advance.
I have this cable out of China:
Click to expand...
Click to collapse
I use a Otg Cable with an Usb Stick and a Usb Mouse,works fine with 4.4.2 and 4.2.2 with Stock Kernel
letschky said:
I use a Otg Cable with an Usb Stick and a Usb Mouse,works fine with 4.4.2 and 4.2.2 with Stock Kernel
Click to expand...
Click to collapse
And also charges simultaneously? That's what the OP is asking for.
Slimport adapter outputs HDMI signal and lets you charge the tablet simultaneously, but besides that... nothing else on stock ROM I imagine.
Iknownot said:
And also charges simultaneously? That's what the OP is asking for.
Slimport adapter outputs HDMI signal and lets you charge the tablet simultaneously, but besides that... nothing else on stock ROM I imagine.
Click to expand...
Click to collapse
Bummer! That's what i was afraid off.
Hello I have the same problem! : (
I installed the tablet in my car but you can not use the charger + OTG simultaneously.
You have to wait for someone to change the KERNEL as they did for the Nexus 7.
mannyy said:
Hello I have the same problem! : (
I installed the tablet in my car but you can not use the charger + OTG simultaneously.
You have to wait for someone to change the KERNEL as they did for the Nexus 7.
Click to expand...
Click to collapse
Nice setup! :good: That's exactly what i want to do. I can connect a mouse and thumb drive but no power. I was trying to work-out how to use a switch or relay or something to switch between otg and power but i haven't came up with anything yet.
treetop777 said:
Nice setup! :good: That's exactly what i want to do. I can connect a mouse and thumb drive but no power. I was trying to work-out how to use a switch or relay or something to switch between otg and power but i haven't came up with anything yet.
Click to expand...
Click to collapse
Hi everyone,
I had same problem!
My pad is rooted, 20b, stock kernel, Finally, find out solution.
I bought IBUFFALO usb with AC power around 15USD. 4 Slots for USB 2.0 and 1 double micro usb. Worked with mouse, Bluetooth keyboard, external drive with USB 2.0 only, usb 3.0 not work. Just for your info.
treetop777 said:
... I was trying to work-out how to use a switch or relay or something to switch between otg and power but i haven't came up with anything yet.
Click to expand...
Click to collapse
Difference between normal and OTG USB cable is that OTG has pins 4 (sense) and 5 (ground) shorted and on regular cable pin 4 is not in use. If you put a switch between these two pins you can switch between regular USB cable for charging and OTG for connected devices.
Some apps can be found on Google Play Store that claim to be able to switch between or enable simultaneous OTG and charging, but most are for specific devices or group of devices, none for G Pad 8.3. Most promising is maybe Faux123 Kernel Enhancement Pro (3.77€ and requires Root+Busybox+SuperSU).
Too bad our tablet has no secondary charging port (like Sony has magnetic charging port for example), but least intrusive would be to use powered USB HUB, let it power the connected devices so the battery drain on the tablet will stay low.
Iknownot said:
Difference between normal and OTG USB cable is that OTG has pins 4 (sense) and 5 (ground) shorted and on regular cable pin 4 is not in use. If you put a switch between these two pins you can switch between regular USB cable for charging and OTG for connected devices.
Some apps can be found on Google Play Store that claim to be able to switch between or enable simultaneous OTG and charging, but most are for specific devices or group of devices, none for G Pad 8.3. Most promising is maybe Faux123 Kernel Enhancement Pro (3.77€ and requires Root+Busybox+SuperSU).
Too bad our tablet has no secondary charging port (like Sony has magnetic charging port for example), but least intrusive would be to use powered USB HUB, let it power the connected devices so the battery drain on the tablet will stay low.
Click to expand...
Click to collapse
Thanks for that - Very good info! Allow me to pick your brain a little more: Looking at the cable i have (in the OP), do you think that by just connecting an external power (red and black) to the cable just before going into the tab would work somehow to give it power.
It's intreging what you said about being able to switch from regular USB (that can supply power) to OTG just by jumping those wires. I'm trying to picture something in my mind to accomplish what we want but the "light bulb" haven't came on yet - any suggestions?
I want to use the tab in the car PERMANENTLY so i need a way to charge it while behind the dash. I would want to use a mouse as well so OTG is a must.
In any case, i'm going outside right know to split open that cable and see how it's connected inside, maybe then the light bulb will come on in my head.
treetop777 said:
Thanks for that - Very good info! Allow me to pick your brain a little more: Looking at the cable i have (in the OP), do you think that by just connecting an external power (red and black) to the cable just before going into the tab would work somehow to give it power.
Click to expand...
Click to collapse
Try it out, you got the cables!
When pins 4 & 5 get shorted the tablet may be configured only to output power, not receive it. I have only OTG adapter cable and the supplied USB charging/data cable, so I cannot test this stuff.
treetop777 said:
It's intreging what you said about being able to switch from regular USB (that can supply power) to OTG just by jumping those wires. I'm trying to picture something in my mind to accomplish what we want but the "light bulb" haven't came on yet - any suggestions?
Click to expand...
Click to collapse
I would buy micro USB male plug, some heat-shrink tubing with glue, switch (3A) and split OTG adapter or HUB. Cut off the male plug fom the adapter, solder on the new plug to the adapter cable as normal USB, solder on the switch to pins 4 & 5 of the plug, check it for continuity and shorts, test it on the tablet, if good - secure the new plug to the cable with heat-shrink tubing.
EDIT: Possible solution with resistor described here
Our device, if it can be tricked this way, may require different resistor from the one used in the tutorial (usually in 36KΩ-200KΩ range).
Ok, I'm chopping it up! I spliced-in the red and black wires from a USB cable into the OTG cable (in the OP) and sure enough the tab gets power. However, it no longer detect the mouse or any thing else (kind of expected). Tomorrow i will try bridging pin 4 and 5 and see what happens. If that don't work, i will try the resistor. :fingers-crossed:
I have read that devices on OTG get polled regularly, but charging is not, i.e. if you start charging and after that short the pins 4 & 5, it will continue charging and you can use your OTG devices. Hope this holds true to the G Pad as well.
Isn't micro USB a "standard"....??
Then GEEZZ why do one manufacturer thinks it's ok to eliminate a pin completely! i assume that when i pay for that cable, i will get ALL 5 PINS even if one is not connected - rip-off! :laugh: This manufacturer not only didn't connect pin 4, it was eliminated completely; stopped me in my tracks! Fortunately, i have an extension that have of all things ALL 5 WIRES CONNECTED! Imagine that! But now, i don't have any time to chop-it-up until tomorrow. With the 5 wire cable, i will short the yellow and black wires but I'll check here first to see if I'm warned against it.
More to come..
Hi manny your car kooks awesome. I have one question. How you connect your speakers from the car with the G Pad. iam also interested to built a GPad in the car !
Sent from my GT-I9505 using xda app-developers app
Yep weneed more info on this as i would like to fit my pad in the van,, how did you get fm radio on there.
Nothing good to report. Connecting the power wire to the OTG cable and shorting the 4&5 pins does nothing different. I can have it charging and when i disconnect power, it then detects the mouse (that's a good thing) but when i plug the power back in, nothing happens! Ideally it would disconnect the mouse and start charging again but no-go. Having the 4&5 pins shorted or not makes no difference.
Still have a couple things i will try before i give up, one is the resistor and the other is a more simple OTG cable.
Will report back.
treetop777 said:
Nothing good to report. Connecting the power wire to the OTG cable and shorting the 4&5 pins does nothing different. I can have it charging and when i disconnect power, it then detects the mouse (that's a good thing) but when i plug the power back in, nothing happens! Ideally it would disconnect the mouse and start charging again but no-go. Having the 4&5 pins shorted or not makes no difference.
Click to expand...
Click to collapse
I understand that you would want the cables all hidden behind the dash in a car and can't be connecting and disconnecting plugs all the time, at the most just flip of a switch should make things work. The resistor trick would be ideal, if it works.
What's the exact sequence you did things in?
- Mouse and charger connected to the tablet simultaneously with pins 4 & 5 not shorted, tablet charging - short pins 4 & 5 - what happens?
- Only charger connected, pins not shorted, short pins and then connect mouse...
- Mouse and charger connected to the tablet simultaneously with pins shorted, mouse working - unshort pins...
- Only mouse connected, pins shorted, unshort pins and then connect charger...
Iknownot said:
I understand that you would want the cables all hidden behind the dash in a car and can't be connecting and disconnecting plugs all the time, at the most just flip of a switch should make things work. The resistor trick would be ideal, if it works.
What's the exact sequence you did things in?
- Mouse and charger connected to the tablet simultaneously with pins 4 & 5 not shorted, tablet charging - short pins 4 & 5 - what happens?
- Only charger connected, pins not shorted, short pins and then connect mouse...
- Mouse and charger connected to the tablet simultaneously with pins shorted, mouse working - unshort pins...
- Only mouse connected, pins shorted, unshort pins and then connect charger...
Click to expand...
Click to collapse
I would have to record in what sequence i do things to remember but it seem i have done every combination possible. I do remember doing these sequences after a fresh reboot of the tablet and BTW i made a simple cable out of a know working (single) OTG cable and splicing-in the red and black from the cable that has 5 wires connected, leaving the pin 4 wire disconnected and extending a pigtail from the black wire so i could short the yellow and black to hopefully force OTG:
- Power plugged in and mouse plugged-in then plug the cable into the tablet - it detects the mouse but does not charge.
- in the above state, shorted the yellow and black wire - no change.
- separated 4/5 then disconnected the mouse leaving power connected (expecting that the tab will then switch to charge but) - nothing. The mouse did disapear but the tab did not start to charge.
- shorted 4/5 (for ****s and grins) and as expected - nothing.
Again with a fresh tablet:
- with (ONLY) power connected to the cable, inserted the cable into the tablet - it started charging.
- in that same state, connected mouse - mouse was NOT detected but the tab continued to charge.
- with mouse plugged in, shorted 4/5 - no change (charging but no mouse detected)
THIS IS THE IDEAL SITUATION BUT JUST HALF WAY:
Rebooting the tablet with both power and mouse connected and cable inserted, the tab starts by accepting the charge (no mouse) but get this, plugging-out power makes the tab switch to the mouse right away! That would be good except that plugging the power back in does NOT make the tablet switch back to power, in fact, nothing happens, the mouse just continues to be detected.
If i had 2 cables, one only for power and the other only for OTG, i could pull one out and replace it with the other and both functions would work; i don't understand why that same "switching" can be recreated within one cable??
This is beyond me, the last thing i will try is following your sequences to the letter and with the resistor, if that doesn't work - i give up! :crying:
budalageo said:
Hi manny your car kooks awesome. I have one question. How you connect your speakers from the car with the G Pad. iam also interested to built a GPad in the car !
Sent from my GT-I9505 using xda app-developers app
Click to expand...
Click to collapse
i have buy a Sony mex bt4000U ... http://www.sony.it/support/it/product/MEX-BT4100U
install in rear a Tablet.. http://www.youtube.com/watch?v=5Y1QXAsSUtc
and work whith APP REMOTE http://www.youtube.com/watch?v=AEfG3Zdf7HM
---------- Post added at 11:02 AM ---------- Previous post was at 11:00 AM ----------
I have used this !!
have disassembly and install !!! work whit switch !!
http://www.ebay.it/itm/231182187439?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649

Phone stops charging as soon as PC is turned off

That's something new to me.
Before with my Galaxy S4 I could charge the phone easily when I turned my PC off. I have set in the BIOS the option that allows to power the USB ports while the PC is off for that. It worked perfectly for my S4 as well as my tablet. But somehow it doesn't work for HTC 10. As soon as I turn off the PC the phone stops charging. What's going on? Is the USB-C the reason that happens?
(I am using a xiaomi microUSB to usb-c adapter)
I'd assume that it's not getting enough power to charge the HTC 10 now.
Sent from my HTC 10 using Tapatalk
But is the power given to the USB port any different to when the PC is on? There is a setting in the BIOS to keep the USB ports powered on.
If the power given to the USB ports is the same when the PC is off and on then that shouldn't make any difference. Do you have any source that says the power (amps/volts) given to the usb ports when the computer is off is different?
Ok. I've did a bit of a testing and found out that if I turn off my computer while the htc 10 is connected then as long as the computer powers down the charging stops. But when I disconnect it and reconnect it the charging goes back. It might be that the "USB mode" is breaking the charging because when I attach the cable after the computer is powered down I get the notification that the charging is slower than usually which is fine and I know that will be the case (USB 2.0 gives only 500mA instead of 2A that the wall charger will give).
Boy, I wish I knew a way how to make this break when powering the computer down not occuring as it's a pain in the butt to have to reconnect it again.

Usb board messed up and some interesting behaviour

So.....
I connected +5v to the usb ground pin on my phone and connected real +5v pin to ground.
Now my phone refuses every charger claiming that it is an "invalid charger type" and that I should only use the official charger that came with my phone. (which I do)
There was also some error about "charger suspend detected" (or similar).
The led still lights up when connected to a charger even when not charging.
It turns off ~5sec after disconnecting the charger (as opposed to turning off directly)
Sometimes the led doesn't light up at all and dmesg spews a bunch of errors.
Also when connecting an usb otg cable, it doesn't add the 2 usual devices (usb 2 root hub and usb 3 root hub) to the list of usb devices (aka output of lsusb?).
It adds those 2 devices only after connecting a to a normal charger and then to the usb otg cable.
The usb otg cable is always supplied with voltage even when there is no other usb device connected to it.
However connected devices aren't being recognised anyways except when connecting to a powered hub or using a Y-cable.
MTP, UMS and ADB all don't work.
(fastboot not tested yet)
Charging still works in 3 ways:
Shut down the phone and charge as always.
Connect the phone with an otg to a powered usb dock.
Connect the phone to to Y-usb otg cable and connect that to power.
Any ideas on how to get everything back to normal ?
Or at least how to get adb working (over usb)?
Just in case:
DON'T TRY TO REPRODUCE THIS ERROR JUST TO GET Y-CABLE CHARGING WORKING.

Categories

Resources