Shorting the USB Port? - Hardware Hacking General

I bought a Nexus One with the infamous broken power button issue, and I am curious what would the effect be if I short the VCC and GND line in the charging port? Has anyone tried that? I am thinking that it will either fry the board or trick the phone to think that it is charging.
The reason I want to do this is because I travel a lot and I might not have access to USB charging if I want to swap the SIM card. I am familiar with the other tricks regarding remapping the trackball_center and I am going to install a version of CWM that doesn't support charging (that way the phone boots when I plug a charging cable).
So long story short... what do you think about attempting to short the micro USB charging/data port?

dcalpha said:
what do you think about attempting to short the micro USB charging/data port?
Click to expand...
Click to collapse
Not much.
Unless the unit is in USB host mode there will be no voltage on the Vcc line.
Even in USB host mode it should be current limited and do no damage.
Still, I wouldn't do it.
I don't know why you think that shorting it will do something useful.

Renate NST said:
Not much.
Unless the unit is in USB host mode there will be no voltage on the Vcc line.
Even in USB host mode it should be current limited and do no damage.
Still, I wouldn't do it.
I don't know why you think that shorting it will do something useful.
Click to expand...
Click to collapse
I actually do not know, thus I asked... just trying to think outside the box about a way to trick the phone to think it is charging short of carrying a portable battery charger with me (which can be problematic on carry-on luggage).

Another idea I am thinking about is building a small flex cable using a conductive ink pen that permanently connect to the phone's battery on one side and a cut down male micro-usb on the other side (to slim it down). Such cable would be small enough to fold under the battery cover and allow it to close.
My question is: Will the ~3.7v be enough to get the phone to start charging? and do you foresee any issues with feeding power from the battery right back into the phone's charge port?

dcalpha said:
Another idea I am thinking about is building a small flex cable using a conductive ink pen that permanently connect to the phone's battery on one side and a cut down male micro-usb on the other side (to slim it down). Such cable would be small enough to fold under the battery cover and allow it to close.
My question is: Will the ~3.7v be enough to get the phone to start charging? and do you foresee any issues with feeding power from the battery right back into the phone's charge port?
Click to expand...
Click to collapse
I think 3.7 won't be enough. Coz usb giving ~5V. So phone won't charge at smaller voltage.

Related

Faster USB charging?

Just got a new motheboard which has high output USB charging for iPhones, pads etc.
Can this work on N1 ?
http://gigabyte.com/MicroSite/185/on-off-charge.htm
edit: driver link is at the bottom for all the hackers. Hopefully its just changing string from apple to android hehe
kazprotos said:
Just got a new motheboard which has high output USB charging for iPhones, pads etc.
Can this work on N1 ?
http://gigabyte.com/MicroSite/185/on-off-charge.htm
edit: driver link is at the bottom for all the hackers. Hopefully its just changing string from apple to android hehe
Click to expand...
Click to collapse
Hopefully not, I dont want my nexus one to be iphone.
But as you know nexus one is using qualcomm motherboard.
But aslong cyanogen and fm transmitter is working there is no problem wiith your phone.
Dear lord what a crappy reply. Stick to disney mate.
It should, it basically just converts the USB port from .5 amps to 1 amp, like a wall charger.
elkyur said:
Hopefully not, I dont want my nexus one to be iphone.
But as you know nexus one is using qualcomm motherboard.
But aslong cyanogen and fm transmitter is working there is no problem wiith your phone.
Click to expand...
Click to collapse
WTF??? May want to lay off the halucinogenics
elkyur said:
Hopefully not, I dont want my nexus one to be iphone.
But as you know nexus one is using qualcomm motherboard.
But aslong cyanogen and fm transmitter is working there is no problem wiith your phone.
Click to expand...
Click to collapse
lol I seriously hope this is a joke!
I agree with JCopernicus, it should definitely work.
I installed the software in the first post but it still charges very slow compared to wall outlet
Slightly OT, but I've got a USB adapter that plugs into the wall that came with my iphone and when I plug the N1 USB cable into this to charge the N1, it still charges very slowly compared to using the proper wall adapter, why is this? Does this iphone adapter restrict the voltage or something?
Generally, "charger detected" is a circuit that has USB data pins shorted together. So when the phone's USB device probes the lines and detects them shorted, it knows it's connected to a power supply.
But since USB max current spec is 500mA, the current draw is restricted - either by the phone or by the supply.
There might be some other connectivity trick that allows the phone to know it can draw x2 current from the socket and won't damage anything. Most phones probably don't limit the current draw and count on the board to do it. Some boards don't limit the current output, or limit it higher. And the fast chargers provide pulsing voltage - which isn't like USB.
So for the board to be able to charge the device, it needs to detect a device that can use pulsing voltage, and enable such voltage on the socket. It doesn't detect Nexus as such a device, I believe, and that's why the charging is slow.
Faster charging with USB
Building on Jack_R1's response, I believe that the phone is limiting the charge rate. You can make the phone "realize" it is connected to a charger rather than a data connection by shorting the 2 middle USB pins together. I have done this in several car chargers, and the N1 About/Status shows charging (AC), which is the faster charge mode. While you can short the pins in the larger end of a dedicated USB cable, if you can disassemble the connector, I found it much easier to open the charger itself to short the pins.
i also have a gigabyte mobo that has this feature but i havent gotten around to test it out yet. I dont think it would work because the feature is software based and will only bump up the voltage if the program detects an iphone connecting to your computer. Gigabyte doesnt want to be liable if they bump up voltage on every device you plug in and fry something.
btw I have tried charging my n1 from my computer and its extremely slow. started charging at around 5pm on sunday and at 11pm it went from about 23%-97% lol.
Yes, USB charging is very slow. It's actually good for the battery, though.
Maybe someone with some know how can look at the driver files for this 3x tech and see how it checks if its an Apple device. Then fool the check and presto!
Shame I don't know how to do any of this
There is a simple hardware (don't worry, it's on the cable) mod for faster charging; however, make sure the phone has good air vent (it means NO CASE when charging).
1. modify your microUSB cable, disconnect the data connector the A (host) plug, then shorten the data connector to the B plug. (This can charge N900 properly, and speed up n1 charging).
2. modify your powered (with AC adapter plugged) USB hub. Simply shorten the #2 and 3 connectors on USB jack. Make sure you cut the copper strip going to the chip or malfunction may occur.
These modification can greatly speed up the charging, but phone will produce a lot of heat (that's why you must have the phone "naked").
I don't understand this. If the phone + battery are capable of being charged at 1000 mAh from the wall charger then why need extra cooling when asking for 1000 mAh from a PC USB socket?
Mine's still defo getting only 500 mAh from the PC USB despite it being able to give up to 2700 mAh for iPad!!! All I want is my 100 mAh charge.
Because what he suggests isn't a proper charging but rather removal of slot power control, and will damage the battery / phone, if succeeds.
Proper charging at 1000mAh requires pulsing voltage - his hack doesn't provide that. Your MB does, but it requires SW intervention to turn it on.
So can someone brew the intervention ?
martinl1030 said:
i also have a gigabyte mobo that has this feature but i havent gotten around to test it out yet. I dont think it would work because the feature is software based and will only bump up the voltage if the program detects an iphone connecting to your computer. Gigabyte doesnt want to be liable if they bump up voltage on every device you plug in and fry something.
btw I have tried charging my n1 from my computer and its extremely slow. started charging at around 5pm on sunday and at 11pm it went from about 23%-97% lol.
Click to expand...
Click to collapse
They are not doing anything to the voltage, simply allowing more current to pass.
And as said in this thread, any typical data USB cable will charge very slowly. And most standard USB ports charge well less than the max specced 500mAh, in fact my subnote at work I found charged my old phone at around 150mah one time when I was dead and needed to top off and it's all I had available.
i'm not sure of the pinout on the micro USB port but i'm pretty sure that that the Mini USB-B port that was used on phones like the G1 used shorting the -Data pin to the unused 5th pin (actually pin 4 on the connector pinout) to activate AC charge mode. some devices actually require a resister of a certain value to be placed across them to work(i know older motorola phones did like IDEN's)
one thing people often forget but should not forget is that current is drawn from the device using power. its not forced on the device. voltage is forced on a device and while a variance is usually ok for devices depending on how they were designed generally its not a good idea to exceed +1.5v on any low power DC device. 120V AC devices are designed to actually work in a much wider range like 100-130V but thats because of the power supply/nature of AC power. it always varies and in japan they use 100v 60hz AC so many electronics power supplies are designed to work in the full range to save costs and only have to make 1 unit for all (same deal with 220-240 switches on PC power supplies)
the reason why you don't want to do this mod is you could damage you PC's motherboard by pulling too much current from its circuits. USB spec is 500ma. performing this type of mod on a power adapter (car or AC) that does not get recognized as an AC charger by the phone is a safer way to go. worst case senario is you break the charger (unless you mess up on the pinout then you could damage you phone too though)

"Data only" usb cable possibility?

Would a usb cable work for the HD2 if there was only the data+ and data- connection? (no power goes through it, meaning the vcc and gnd pins are unused.
Thanks in advance.
It should be theoritically possible. I mean its just like if you disable power charging on your phone when it's connected to the computer.
Ok thanks for the quick reply
Going to solder a cable now.
noup, i think it won't work since the phone's usb controller is brought online only by applying +5v via usb connector. Without that, the data pins will be inactive.
oh.. bummer
Yeah it doesn't work
Sorry. I was convinced that it will work since i thought the battery will supply the energy required.
No, it do not work! I try it out with a peace of paper inside the plug to cover the outboard pins.
@Abdul9 It doesn't work because even if you disable usb charging in the phone's menu..although the battery isn't charged, power is still being supplied to hd2's motherboard. Based on the usb specifications&standards, usb clients are supposed to have some sort of +5 volt sense circuitry in order to register when voltage is applied and start their internal controller. That also consumes power, actually some 30mA are being drawn from the usb bus in order to power hd2's usb controller (or whatever part of that qualcomm snapdragon chip that is doing that).
This is also valid for any standard usb client/slave device, be it phone or something else.
motoi_bogdan said:
@Abdul9 It doesn't work because even if you disable usb charging in the phone's menu..although the battery isn't charged, power is still being supplied to hd2's motherboard. Based on the usb specifications&standards, usb clients are supposed to have some sort of +5 volt sense circuitry in order to register when voltage is applied and start their internal controller. That also consumes power, actually some 30mA are being drawn from the usb bus in order to power hd2's usb controller (or whatever part of that qualcomm snapdragon chip that is doing that).
This is also valid for any standard usb client/slave device, be it phone or something else.
Click to expand...
Click to collapse
Old thread, but new and hot for me. I want to use my cellphone as a wifi-hotspot for my laptop on the road, but I don't want to drain my laptop's battery since it is just powerful enough for only the laptop itself during my time on the road: the extra powerconsumption by charging my cellphone-battery would be just too much. And "charging throug usb" can't be switched off in my phone. So I was thinking about cutting the +5V wire in the cable, but that appears to be a bad idea.
But what if I would build a small electronic circuit in the datacable which would limit the current through the +5Vlead to about 50mA? That would be enough to feed the USB-controller in the phone, but it would save my laptopbattery from overconsumption.
What do you think?

[Q] Battery Connection Voltage/Amperage

ok here's what I want to do.
Permanently integrate a nexus 7 in my car dashboard in the double din radio opening
Remove the battery from the nexus 7 and hardwire to always on power from the car battery
Hardwire the power button to a button installed in the dash
Dashmount a usb port connected via otg for hotswapping media
Hardwire a potentiometer into the dash for volume control
all of the above is fairly simple except for power supply, otg+charging is a possible solution but a car battery wired solution is far better so what i need is information on what the battery pins supply in terms voltage/amperage so i can create a 12v to direct power converter or a device that already does this. any help is appreciated TIA
bump, if someone knows i could really use this info
b22ri22an said:
ok here's what I want to do.
Permanently integrate a nexus 7 in my car dashboard in the double din radio opening
Remove the battery from the nexus 7 and hardwire to always on power from the car battery
Hardwire the power button to a button installed in the dash
Dashmount a usb port connected via otg for hotswapping media
Hardwire a potentiometer into the dash for volume control
all of the above is fairly simple except for power supply, otg+charging is a possible solution but a car battery wired solution is far better so what i need is information on what the battery pins supply in terms voltage/amperage so i can create a 12v to direct power converter or a device that already does this. any help is appreciated TIA
Click to expand...
Click to collapse
Can't you just use the USB port to charge it? it takes 5V, and 2A. With a car battery it should have enough amps, the voltage is what you'd need to regulate.
But if you really want to take out the battery instead...can't you just use a volt meter to see what the N7 draws from the battery? I'd guess it's 3.7v lithium ion but I'm not positive. I couldn't find the specs on google either..
As far as I have read there are some major difficulties getting otg+charging to work at the same time and I need the storage space provided by external storage. Having the car power source replacing the nexus 7 battery would eliminate that problem altogether.
I was hoping that someone here had known the voltages since I don't currently own or have access to a multimeter to test for myself. Knowing the voltages in advance would give me the opportunity to see what would be entailed financially to build the project and determine if its its financially acceptable to me, if the project isn't viable the money spent on the multimeter to do the tests would be wasted as it's not something I need for anything other than this particular project. So in the interest of trying to save $20 I figured I would ask here first and that there was a good chance that someone might have the information I needed.
b22ri22an said:
As far as I have read there are some major difficulties getting otg+charging to work at the same time and I need the storage space provided by external storage. Having the car power source replacing the nexus 7 battery would eliminate that problem altogether.
I was hoping that someone here had known the voltages since I don't currently own or have access to a multimeter to test for myself. Knowing the voltages in advance would give me the opportunity to see what would be entailed financially to build the project and determine if its its financially acceptable to me, if the project isn't viable the money spent on the multimeter to do the tests would be wasted as it's not something I need for anything other than this particular project. So in the interest of trying to save $20 I figured I would ask here first and that there was a good chance that someone might have the information I needed.
Click to expand...
Click to collapse
oh ok..well have you taken a look at the battery? It should just be 3.7v, I don't think it would be too hard to find which pins it is. Maybe take a LED and test it across the pins?
Also, I have heard reports OTG + charging is working fine on CM10 with a patched kernel. you might want to check this thread: http://forum.xda-developers.com/showthread.php?t=1934722
mvmacd said:
oh ok..well have you taken a look at the battery? It should just be 3.7v, I don't think it would be too hard to find which pins it is. Maybe take a LED and test it across the pins?
Also, I have heard reports OTG + charging is working fine on CM10 with a patched kernel. you might want to check this thread: http://forum.xda-developers.com/showthread.php?t=1934722
Click to expand...
Click to collapse
I've been participating heavily in the arena of OTG + charging simultaneously, as well as using USB audio.
To answer the OP's question directly: I have demonstrated (to myself) that I can power down my Nexus 7, disconnect the battery connector, plug in my y-splitting OTG cable with power in one plug, and an unpowered USB hub in the other plug. [Plugged into the USB hub is a flash drive, USB DAC, and I'm sure a keyboard would also be an option.] Then I turn on my Nexus 7, and in the OS it shows the battery at 0%, but charging (obviously it's not actually charging without the battery present...).
I even booted up the Nexus 7 normally, with all the same stuff connected to USB, and then disconnected the battery connector... and the Nexus 7 remained on!
I've thought about integrating some sort of tactile switch that essentially disconnects the battery whenever the switch is depressed. So then part of the car mount could be a little protrusion that presses this switch whenever the tablet is inserted into the car mount. That way whenever the tablet is removed from the car mount, the battery will take over without removing power from the motherboard.
MetalMan2 said:
I've been participating heavily in the arena of OTG + charging simultaneously, as well as using USB audio.
To answer the OP's question directly: I have demonstrated (to myself) that I can power down my Nexus 7, disconnect the battery connector, plug in my y-splitting OTG cable with power in one plug, and an unpowered USB hub in the other plug. [Plugged into the USB hub is a flash drive, USB DAC, and I'm sure a keyboard would also be an option.] Then I turn on my Nexus 7, and in the OS it shows the battery at 0%, but charging (obviously it's not actually charging without the battery present...).
I even booted up the Nexus 7 normally, with all the same stuff connected to USB, and then disconnected the battery connector... and the Nexus 7 remained on!
I've thought about integrating some sort of tactile switch that essentially disconnects the battery whenever the switch is depressed. So then part of the car mount could be a little protrusion that presses this switch whenever the tablet is inserted into the car mount. That way whenever the tablet is removed from the car mount, the battery will take over without removing power from the motherboard.
Click to expand...
Click to collapse
Lol, yes, I think I had you in mind when I said that.. I'm still waiting for my Y cable. I won't get it till at least 1.5 weeks..
MetalMan2 said:
I've been participating heavily in the arena of OTG + charging simultaneously, as well as using USB audio.
To answer the OP's question directly: I have demonstrated (to myself) that I can power down my Nexus 7, disconnect the battery connector, plug in my y-splitting OTG cable with power in one plug, and an unpowered USB hub in the other plug. [Plugged into the USB hub is a flash drive, USB DAC, and I'm sure a keyboard would also be an option.] Then I turn on my Nexus 7, and in the OS it shows the battery at 0%, but charging (obviously it's not actually charging without the battery present...).
I even booted up the Nexus 7 normally, with all the same stuff connected to USB, and then disconnected the battery connector... and the Nexus 7 remained on!
I've thought about integrating some sort of tactile switch that essentially disconnects the battery whenever the switch is depressed. So then part of the car mount could be a little protrusion that presses this switch whenever the tablet is inserted into the car mount. That way whenever the tablet is removed from the car mount, the battery will take over without removing power from the motherboard.
Click to expand...
Click to collapse
Am i understanding you correctly? If i unplug the battery, and just have the OTG cable plug into the charger, it would be able to power on and off and run just fine?
ho9984 said:
Am i understanding you correctly? If i unplug the battery, and just have the OTG cable plug into the charger, it would be able to power on and off and run just fine?
Click to expand...
Click to collapse
This was how it worked while the N7 was running Jelly Bean 4.1.2. I can't guarantee it would operate the same on 4.2.2.
MetalMan2 said:
This was how it worked while the N7 was running Jelly Bean 4.1.2. I can't guarantee it would operate the same on 4.2.2.
Click to expand...
Click to collapse
Someone tried it on Reddit. Removed the battery and tried powering it on with only OEM charger. The screen just flickered. They were on 4.2.2
I am curious about removing the battery and hardwiring as well as I am gathering parts to put my Nexus 7 in my car dash. The problem w/ the OTG route - it gets pretty hot down here and I'm afraid the battery will have some long term issues (ie...could leak/explode). So, hardwiring it would be preferred.
Any ideas for hardwiring?
with the new nexus 7 coming out I am just going to mount the wireless charger behind the tablet dock, now I just hope otg is supported with the slimport on the new nexus 7

Rewiring Power On Impression I10A

I got in a really nice and sleek Impression I10A Tablet.
The Connector for the USB/Power has broke and, unfortunately, it's the only connector available for power..
http://sjfm.us/temp/i10aConnector.jpg
Now, my first thought was to replace the motherboard. No such luck. Finding ANY kind of Impression parts is difficult... Second choice was to replace the power connector itself. Tedious and a pain in the arse, but doable. But I have had bad luck IDing power connectors for tablets (most notably Kindle Fires and the MicroUSB) so if anyone can help identify the above connector...
"I am all ears"
-Ross Perot, 1992 Presidential Debates
Anyways, so then I got creative and, just to confirm "Proof Of Life" (so to speak), I hooked up a 12v 2a power adapter directly to the battery connector (Red Box) to bypass the damaged power port (Blue Box).....
http://sjfm.us/temp/i10aPower.jpg
.....on the PCB and viola'..
We have a heartbeat!!
OK.. So now I am thinking that, if I am lucky, the 12v power will power that tablet AND charge the battery.. But then I am thinking that there is likely more to charging a battery than simply applying a power adapter directly to a battery and getting a charge..
Sure enough... When the battery AND the 12v power is hooked up, the tablet boots up under the battery and then dies before it can get to the dashboard..
When the 12v power alone is hooked in, the tablet boots up fine and shows a full "charge"..
So, here's my question..
Is there a way to kludge a power connector to bypass the damaged port and power the tablet and charge the battery..
In the alternative, can anyone point me to a knowledgeable source that might be able to ID that type of power connector??
Thanx in advance..
Michale
Never connect a power supply directly to a battery.
That's a recipe for fire and explosion.
12V? Why do you think that anything is 12V?
Does the stock AC adapter say that?
If you want to get this thing working properly you'll have to figure out on the circuit board where the AC adapter hooked in.
If you are sure of what the total battery voltage is (how many cells) then you could also hook a power supply in with the battery disconnected.
Thanx for the reply. Apologies for the delay in responding. Was out of the country for a week... In the middle of the Atlantic Ocean. No web access!!!
Renate NST said:
Never connect a power supply directly to a battery.
That's a recipe for fire and explosion.
Click to expand...
Click to collapse
Yea, as I soon found out. I was tinkering with it longer than normal and a small little component near the power connector released the blue smoke.. So, I think that MB is borked..
Renate NST said:
12V? Why do you think that anything is 12V?
Does the stock AC adapter say that?
Click to expand...
Click to collapse
Yea, the stock power adapter for the unit is a 12v/1.5A power pack.
Renate NST said:
If you want to get this thing working properly you'll have to figure out on the circuit board where the AC adapter hooked in.
If you are sure of what the total battery voltage is (how many cells) then you could also hook a power supply in with the battery disconnected.
Click to expand...
Click to collapse
I do plan on repairing that component. Eventually. Once I do, I'll put your advice into practice..
Thanx again for the response...
Michale

Usb c Charging Port loose

I am using the cable provided and an Anker cable. When I put the cable In the phone it stays just fine but defiantly wiggles from side to side. I am worried it will damage stuff inside. Anyone else have this issue.
photodude56 said:
I am using the cable provided and an Anker cable. When I put the cable In the phone it stays just fine but defiantly wiggles from side to side. I am worried it will damage stuff inside. Anyone else have this issue.
Click to expand...
Click to collapse
it's normal, I can confirm because I have usb-c ports on pc and they are same as on phone - wiggly. as long as you cant pull it out with no effort it's ok.
trasheris said:
it's normal, I can confirm because I have usb-c ports on pc and they are same as on phone - wiggly. as long as you cant pull it out with no effort it's ok.
Click to expand...
Click to collapse
I was concerned when i was charging the phone and the cable came out at a small angle and not straight out?
photodude56 said:
I was concerned when i was charging the phone and the cable came out at a small angle and not straight out?
Click to expand...
Click to collapse
how small? it moves ~1mm total in both directions. it looks almost straight, I think. if you can move it more then it might not be normal.
I posted about this a few weeks back with this problem. The type c port on the phone is loose but if you can move it left and right and don't feel comfortable I would exchange it. I had this problem and had to exchange mine, Also note not all USB type c cables are the same. Cheap manufacturers will not adhere to the groveless type c male design ( like the weird zig zag on the older USB cables) that will damage the port.
However,The Anker cable you have is probably the Anker power line USB type c to 3.0 and from experience it's a decent cable but no quick charge 3.0 due to the cable adhering to official type c specs which do not allow it to pump so much amps to the phone.
Hope this helps sorry if my grammar is horrible it's like 5 am
Yeah, I have the same thing. I just think ZTE left the port "loose". It fits way tighter on my oneplus 3..
Axon 7 usb type c charging
Hi, I 've bought a new Axon 7 (128gb 4gd Rom or A2017 model). When I shut the phone down and insert usb type c in the port(in one fell swoop and in one push)it starts charging and it shows a battery shape that above it is written "quick charging" in chinese language, but again when the phone is shut down and this time first I insert half of the usb type c in the phone's port and wait until the phone vibrates then I push the other half of the usb type c in the port and this time it also shows a battery shape but above it is not written quick charging in chinese language and also it is actually not charging at all and is stuck at a certain battery percent. I just wanna know if your Axon 7 is and acts the same as mine so please try it and tell me?(I think this issue is because of usb type c cables and nothing is wrong with the phone cause I've seen Lg g5 acts the same when I tried it)

Categories

Resources