how can I hack a usb charger to work with ALL phones and specifications
If I read your post correctly, you want a charger that will both follow USB specifications and the Apple specs?

The article presents a very convoluted circuit. Only three resistors in series are needed: 430Ω, 150Ω and 360Ω. Together they make 940Ω which yields a current of about 5.15mA. you connect D+ and D- across the 150Ω resistor. The standard USB charge spec needs a resistor of less than 200Ω. So a 150Ω resistor is fine.

NOTE: I don't know if the voltages present on D+ and D- will effect a non apple device. It might work and it might not. If it does not, a double pole single throw (DPST) switch can be put across power (both ground and VCC) and the circuit to isolate it when charging non apple devices which will simply see a 150Ω resistor.







simulate this circuit &ndash; Schematic created using CircuitLab

A volt meter across R3 will yield about 2V and from R2 to ground will yield about 2.77V, close to 2.8. I doubt it's that picky. You could also throw in a 160Ω for R2 which would bring the D+ up a bit without dropping D- that much, about 1.98V.

The circuit will draw 5.15mA and dissipate 25.7mW. 1/8 watt resistors can be used.