Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
WarlockM
Old
#1  
Junior Member - OP
Thanks Meter 9
Posts: 7
Join Date: Nov 2010
Default Usb charge

Hi. I've solved the problem of using other chargers with GT.
Like Apple, Samsung used a little trick with their chargers.
To charge your GT with any usb charger you have to make a little adapter.

Usb pinout:
gnd d- d+ 5v

To work you must short d+ and d-.
From 5v use a 33k resistor to d+/d-.
From gnd use a 10k resistor to d+/d-.
If you have multimeter you should obtain ~4v between 5v and d+/d-; and ~1v between gnd and d+/d-.
I tested it and it's working.
The Following 8 Users Say Thank You to WarlockM For This Useful Post: [ Click to Expand ]
 
adolfotregosa
Old
(Last edited by adolfotregosa; 20th November 2010 at 12:48 PM.)
#2  
Senior Member
Thanks Meter 58
Posts: 373
Join Date: Apr 2005
Hi, it's not a trick but a standard. You only need to short d+ with d-, the resistors are not needed. Just be sure that the charger outputs closest to 5v possible, around 5.2~3 usually work for everything. About 5.6v and it start not to work on some devices, like apple..
 
WarlockM
Old
#3  
Junior Member - OP
Thanks Meter 9
Posts: 7
Join Date: Nov 2010
Maybe, I have to test that
I know it's not a trick, I should wrote "trick".
For example GT adapter outputs 5.31v.
Apple adapter worked with 1 22k resistor between d- d+.
 
MizGarfield
Old
#4  
Junior Member
Thanks Meter 2
Posts: 27
Join Date: Aug 2007
Quote:
Originally Posted by WarlockM View Post
Hi. I've solved the problem of using other chargers with GT.
Like Apple, Samsung used a little trick with their chargers.
To charge your GT with any usb charger you have to make a little adapter.

Usb pinout:
gnd d- d+ 5v

To work you must short d+ and d-.
From 5v use a 33k resistor to d+/d-.
From gnd use a 10k resistor to d+/d-.
If you have multimeter you should obtain ~4v between 5v and d+/d-; and ~1v between gnd and d+/d-.
I tested it and it's working.
Quote:
Originally Posted by WarlockM View Post
To charge your GT with any usb charger you have to make a little adapter.
How can you do that? You need an extra device adapter? Please explain.
The Following User Says Thank You to MizGarfield For This Useful Post: [ Click to Expand ]
 
WarlockM
Old
#5  
Junior Member - OP
Thanks Meter 9
Posts: 7
Join Date: Nov 2010
I've tested with d-/d+ shorted and it's not working.

@MizGarfield if u have 1 usb extension cable u can cut it on half.
Tie together white and green wires.
Tie black wires and conected to that 1 end of 10kohm resistor, the other end tie it to green/white wire.
Same to red wires but use 33kohm resistor.

See att. Sry for drawing.
Attached Thumbnails
Click image for larger version

Name:	GT.jpg
Views:	4352
Size:	23.1 KB
ID:	445494  
 
SiL3nTKiLL
Old
#6  
Senior Member
Thanks Meter 65
Posts: 1,930
Join Date: Jun 2006
bookmarking this for later use
Phones:
1. Galaxy S2 Skyrocket
2. iPhone 4S
Tabs:
Apple iPad 2
Galaxy Tab 10.1

 
adolfotregosa
Old
(Last edited by adolfotregosa; 20th November 2010 at 10:31 PM.)
#7  
Senior Member
Thanks Meter 58
Posts: 373
Join Date: Apr 2005
Quote:
Originally Posted by WarlockM View Post
I've tested with d-/d+ shorted and it's not working.

@MizGarfield if u have 1 usb extension cable u can cut it on half.
Tie together white and green wires.
Tie black wires and conected to that 1 end of 10kohm resistor, the other end tie it to green/white wire.
Same to red wires but use 33kohm resistor.

See att. Sry for drawing.

You don't need that for modern devices has i told you. It did not work because you did it wrong. I have all my usb chargers working the new way, you even have wikipedia talking about it. You have to cut the data + and - on the power supply from the female usb port and short only the female d+ and d-. Trust me it works and it is alot simpler.

Edit : from wikipedia "The Dedicated Charging Port shorts the D+ and D- pins with a resistance of at most 200 Ω. The short disables data transfer, but allows devices to detect the Dedicated Charging Port and allows very simple, high current chargers to be manufactured. The increased current (faster, 9 W charging) will occur once both the host/hub and devices support the new charging specification."

""As of June 14, 2007, all new mobile phones applying for a license in China are required to use the USB port as a power port.[35][36] This was the first standard to use the convention of shorting D+ and D-.[37]""


http://apple.slashdot.org/story/10/0...harger-Secrets

""We all love to call out Apple when they design deliberate incompatibility into their devices, but there is a perfectly valid technical reason for what Apple is doing here, and, in fact, they are following a USB specification (which LadyAda unfortunaterly didn't even test).

Without data communications or when suspended, devices may legally draw no more than 2.5mA from a host, which is useless for charging. In fact, even if you're generous and pretend they're connected, devices are not allowed to draw more than 100mA without negotiating for a higher current, which requires actually talking to the host, and 100mA is still too little to charge properly. 500mA is the maximum allowed by the USB spec, but devices must negotiate it (there may be too many devices on the bus for negotiation to succeed).

Before there was a spec for "dumb" USB chargers, Apple used the resistors as a sentinel to avoid drawing too much current from undersized chargers in order to avoid damaging the host. This is a hack, but it works, and honestly, we're smart enough to figure out a couple resistors on the data lines. It's not like they're using crypto auth on the charger. They have a perfectly valid reason to do this. Devices which charge from "dumb" chargers aren't following the spec, though this is a common industry practice.

As it turns out, the USB-IF came up with a USB Battery Charging spec [usb.org]. The spec is long and boring, but it boils down to: short together the data lines (no resistors required) and you indicate that you're a dumb charger that can supply anywhere from 0.5A to 1.5A.

Guess what happens when you short the data lines of an iPhone 3G and supply 5V [marcansoft.com]. Did Apple just follow a standard? Incredible!

(Yes, I'm not following the USB spec there by in turn using a USB cable to supply the 5V and not negotiating over its data lines. I didn't feel like grabbing a dedicated 5V PSU for the shot, so sue me.)"""

http://marcansoft.com/transf/iphonechg.jpg

ok ??? no need for resistors, only 5.3V MAX and d+ and d- shorted
Attached Thumbnails
Click image for larger version

Name:	charge.jpg
Views:	4435
Size:	36.3 KB
ID:	445748  
The Following User Says Thank You to adolfotregosa For This Useful Post: [ Click to Expand ]
 
geogetski666
Old
#8  
Member
Thanks Meter 1
Posts: 66
Join Date: Oct 2009
Location: Quezon City
Thnx for the tip gonna try this later on my sanyo eneloop power booster tried it yesterday without this mod and it doesn't charge so gonna look for a AF to AF converter and modify it to gound the D+ and D-
 
WarlockM
Old
#9  
Junior Member - OP
Thanks Meter 9
Posts: 7
Join Date: Nov 2010
@adolfotregosa

I tried again shorting d-d+, with iphone it works but with GT it's not working.
I use BatteryWatch and it is saying Not Charging. It's detecting the connection like usb port but is not. I use some device build by myself with 1 amp capabilities. D- and D+ r free of any connection and i can do with them what i want.
I dont say you r wrong but it's not working with GT.

Sent from my GT-P1000 using XDA App
 
adolfotregosa
Old
(Last edited by adolfotregosa; 21st November 2010 at 02:23 PM.)
#10  
Senior Member
Thanks Meter 58
Posts: 373
Join Date: Apr 2005
but smt is wrong on your custom setup, voltage ??

EDIT: i just measure the original charger and it has no resistance between the data and power pins.

I think i know what could be wrong, when you plug in the Tab and it says not charging, how many volts have you got at that time ?

The original charger is very good because when it not charging the tab it has 5.3x volts but when you plug it in it lowers to 4.8x V Max and that is very good ! most chargers tend to lower much more (bad quality or just not powerful enough) and that is what causes the not charging messages on the tab or other devices.

Well i rest my case on this.
Attached Thumbnails
Click image for larger version

Name:	IMG_2010 (Small).JPG
Views:	3740
Size:	59.7 KB
ID:	446193   Click image for larger version

Name:	IMG_2013 (Small).JPG
Views:	3244
Size:	60.7 KB
ID:	446194   Click image for larger version

Name:	IMG_2014 (Small).JPG
Views:	3083
Size:	66.9 KB
ID:	446195   Click image for larger version

Name:	IMG_2015 (Small).JPG
Views:	3261
Size:	75.9 KB
ID:	446196  

The Following 2 Users Say Thank You to adolfotregosa For This Useful Post: [ Click to Expand ]
 
Post Reply+

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...