Apple and other USB charger secrets

Everybody seems to be saying that you can’t charge Apple devices with normal USB power supplies. You need a special power supply from Apple or approved by Apple. I saw this kind of discussion at slashdot some time ago.

Usually, device makers need to sign a confidentially agreement with Apple if they want to say their charger ‘works with iPhone / iPod,’ and they’re not allowed to talk about how the insides work. I hate when manufacturers do crap like this to keep peripherals locked into a more profitable licensing agreement. Apples tendency toward total control is one of the things i don’t like about them. And many other manufacturers are just as bad. I wish companies would back off and be more open and/or use standard micro USB chargers.

The mysteries of Apple device charging article includes a 7-minute video we explore the mysteries of Apple device charging. The secret of Apple chargers is simple: just few resistors. If you don’t put these secret resistors on the data lines too, you get the dreaded Charging is not supported with this accessory. Those resistors like a way to signal to the iPhone that it can go ahead and “fast charge” by pulling 1A, or “slow charge” by pulling 0.5A. The iPhone needs to do a power negotiation to determine if the port is capable of providing 1000ma of power, because the upper-limit of a standard USB port is 500 mA. They just didn’t tell anyone about how to do that. I get why the resistors were initially added but I’m not understanding why it needs to be a trade secret.


There is nothing to stop them just drawing the 500mA if the right sort of charger is not detected. Refusing to charge at all unless the licensed parts are present is pure market control, nothing else. Here is the resistor configuration for 500 mA charging:


Resistance is Futile. The The mysteries of Apple device charging article demonstrates how anyone can make their own chargers that work with iPhone 4, 3Gs, etc. The pictures on this blog posting are from that article.

Apple devices are not the only one USB charged devices that can have some problems with USB chargers. So here are some resources on USB charging in general.

USB As A Power Source article gives an introduction USB Power Form.

European Commission has reached a voluntary agreement with some of the biggest names in the electronics industry to introduce a common charger for cell phones that fits all models. Information on this USB charging connector is available at USB Approved Class Specification Documents document directory. Read also Battery Charging v1.1 Spec and Adopters Agreement document.

Dealextreme USB charger discussion posting says that USB standard has 4 lines (+5V, ground and +/- data lines). Most USB chargers let the data lines float. Technically, the USB standard says that a USB charger should set the two data lines to specific voltages (~ 2V) to indicate how much power it can provide (I have not verified that from standards yet). The recent iPhones will not charge if the data lines are set incorrectly (i.e. not according to the USB standard).

USB Charging Guide comment: I believe having the data pins connected to each other is in the latest USB specification for charging. I had to interconnect the D+ and D- pins inside my USB AC charger to get it working with my Zune. Perfectly according specs but frustrating enough.

Wikipedia USB article: The USB 1.x and 2.0 specifications provide a 5 V supply on a single wire from which connected USB devices may draw power. The specification provides for no more than 5.25 V and no less than 4.75 V (5 V±5%) between the positive and negative bus power lines. For USB 2.0 the voltage supplied by low-powered hub ports is 4.4 V to 5.25 V.

A unit load is defined as 100 mA in USB 2.0, and was raised to 150 mA in USB 3.0. A maximum of 5 unit loads (500 mA) can be drawn from a port in USB 2.0, which was raised to 6 (900 mA) in USB 3.0.
All devices default as low-power but the device’s software may request high-power as long as the power is available on the providing bus.

In Battery Charging Specification, new powering modes are added to the USB specification. A host or hub Charging Downstream Port can supply a maximum of 1.5 A when communicating at low-bandwidth or full-bandwidth, a maximum of 900 mA when communicating at high-bandwidth, and as much current as the connector will safely handle when no communication is taking place (USB 2.0 standard-A connectors are rated at 1500 mA by default).

A Dedicated Charging Port can supply a maximum of 1.8 A of current at 5.25 V. A portable device can draw up to 1.8 A from a Dedicated Charging Port. 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.

Without negotiation, the powered USB device is unable to inquire if it is allowed to draw 100 mA, 500 mA, or 1 A. Some non-standard USB devices use the 5 V power supply without participating in a proper USB network which negotiates power draws with the host interface

In most cases, these items contain no digital circuitry, and thus are not Standard compliant USB devices at all. This can theoretically cause problems with some computers; prior to the Battery Charging Specification, the USB specification required that devices connect in a low-power mode (100 mA maximum) and state how much current they need, before switching, with the host’s permission, into high-power mode.

USB Charging Guide tells some more details on mini-USB plug: the mini-USB plug actually has 5 pins in it. This can be important as the extra pin (Pin 4) USB_ID is usually either connected to ground or left floating. Sometimes a pull up resistor needs to be added to from the USB_ID to Pin 1 (VDD) to select “Device Mode” rather than “Host Mode”. This resistor is in the device side plug as the USB_ID pin is not wired through to the PC side connector. The good news is that quite a few USB cables have this. So sometimes you can get round the not charging problem simply by trying out different leads and one may work rather than buying the manufacturers “special” cable. On some Creative players you can also solve this by pulling down both data lines (with 2x15k resistors) at the source to emulate what the host (PC) does when setting line speed. This is not so common.

So the current state of USB charging is a little bit of mess…


  1. Tomi Engdahl says:

    Jon Porter / The Verge:
    EU’s proposal forces companies to make fast-charging standards interoperable and “unbundles” charger sales; if adopted, companies will have 24 months to comply — With the aim of reducing e-waste — The European Commission, the executive arm of the European Union …

    EU proposes mandatory USB-C on all devices, including iPhones
    With the aim of reducing e-waste

    The European Commission, the executive arm of the European Union, has announced plans to force smartphone and other electronics manufacturers to fit a common USB-C charging port on their devices. The proposal is likely to have the biggest impact on Apple, which continues to use its proprietary Lightning connector rather than the USB-C connector adopted by most of its competitors. The rules are intended to cut down on electronic waste by allowing people to re-use existing chargers and cables when they buy new electronics.

    In addition to phones, the rules will apply to other devices like tablets, headphones, portable speakers, videogame consoles, and cameras. Manufacturers will also be forced to make their fast-charging standards interoperable, and to provide information to customers about what charging standards their device supports. Under the proposal, customers will be able to buy new devices without an included charger.

  2. Tomi Engdahl says:

    Associated Press:
    European Commission proposes legislation mandating USB-C charging for mobile devices, citing electronic waste; Apple is the main USB-C holdout

    One to charge them all: EU demands single plug for phones

    The European Union announced plans Thursday to require the smartphone industry to adopt a uniform charging cord for mobile devices, a push that could eliminate the all-too-familiar experience of rummaging through a drawer full of tangled cables to find the right one.

    The European Commission, the bloc’s executive arm, proposed legislation that would mandate USB-C cables for charging, technology that many device makers have already adopted. The main holdout is Apple

  3. Tomi Engdahl says:

    Commission proposes a common charging solution for electronic devices – Questions and Answers

  4. Tomi Engdahl says:

    Why Wait For Apple? Upgrade Your IPhone With USB-C Today!

    Apple iPhones ship with the company’s Lightning cable, a capable and robust connector, but one that’s not cheap and is only useful for the company’s products. When the competition had only micro-USB it might have made sense, but now that basically all new non-fruity phones ship with USB-C, that’s probably the right way to go.

    [Ken Pilonell] has addressed this by modifying his iPhone to sport a USB connector. The blog post and the first video below the break show us the proof of concept, but an update in the works and a teaser video show that he made it.

  5. Tomi Engdahl says:

    Applelta ensimmäinen GaN-pikalaturi

    Applen uusin tuotejulkistus piti sisällään uudet M1 Pro- ja M1 Max -prosessorit sekä näiden vauhdittamat uudet 14- ja 16-tuumaiset Macbook Pro -läppärit. 16-tuumaisen huippumallin mukana tulee 140-wattinen laturi, joka lupaa hyvää Applen tulevillekin latureille.

    ChargerLab on ottanut tehtäväkseen uutuuslaturin purkamisen ja analysoinnin. Purku osoittaa, että ensimmäistä kertaa missään laitteessa Applen on käyttänyt gallium-nitridipohjaisia tehokomponentteja. Tämän ansiosta on päästy 140 watin huipputehoon.

    Laturi tukee USB-latauksen uutta tehonsyötön PD3.1-standardia. Sen avulla läppäriin voidaan syöttää USB-kaapelia pitkin 28 voltin ja 5 ampeerin virtaa 140 watin teholla. Apple-tyyliin kaapeli liitetään tietokoneeseen toki MagSafe-liittimellä.

    Latest Teardown of Brand New Apple 140W USB-C GaN Charger

  6. Tomi Engdahl says:

    The 7805 is a fixed voltage linear regulator that outputs 5V at up to 1A current. That is about the same current many lower power USB chargers give out. One 7805 works as low speed charger.

    Paralleling multiple linear voltage regulators like 7805 is a bad idea. It does not work well.

    LM78S05 IC. it is a 5v regulator IC with 2A current output.

    For charging to work quickly there are also other tricks that just having high current output regulator


Leave a Comment

Your email address will not be published. Required fields are marked *