shrink tubing, and there was a black insulating cover over the USB connector.
 Snubber circuits can be used to reduce 60 Hz hum generated by the diode bridge in audio power supplies. A detailed reference on R-C snubbers for audio power supply diodes is Calculating Optimum Snubbers, and a sample design is An Audio Amplifier Power Supply Design.
 The power supply is controlled by the L6565 quasi-resonant SMPS (switched-mode power supply) controller chip (datasheet). (To be sure, the chip could be something else, but the circuit exactly matches the L6565 and no other chip I examined.)
To improve efficiency and reduce interference, the chip uses a technique known as quasi-resonance, which was first developed in the 1980s. The output circuit is designed so when the power is switched off, the transformer voltage will oscillate. When the voltage hits zero, the transistor switches back on. This is known as Zero Voltage Switching because the transistor is switched when there is essentially no voltage across it, minimizing wasted power and interference during switching. The circuit remains on for a variable time (depending on the power required), and then switches back off, repeating the process. (See Exploring quasi-resonant converters for power supplies for more information.)
One interesting consequence of quasi-resonance is the switching frequency varies depending on the load (with 70kHz as a typical value). Early power supplies such as the Apple II power supply used simple variable-frequency circuits to regulate the power. But in the 1980s, these circuits were replaced by controller ICs that switched at a fixed frequency, but varied the width of the pulses (known as PWM). Now, advanced controller ICs have gone back to variable frequency controls. But in addition, super-cheap knockoff power supplies use variable frequency circuits almost identical to the Apple II. So both high-end and low-end chargers are now back to variable frequency.
It took me a long time to realize that the "FLEX01" marking on the controller IC indicates Flextronics, and the X on the chip was from the Flextronics logo: . I assume the chip has these markings because it is being manufactured for Flextronics. The "EB936" marking on the chip could be Flextronics' own part number, or a date code.
 I thought Flextronics was just an electronics assembler and I was surprised to learn that Flextronics does a lot of innovative development and has literally thousands of patents. I think Flextronics should get more credit for their designs. (Note that Flextronics is a different company than Foxconn, which manufactures iPads and iPhones and has the controversy over working conditions).
The picture above is from Flextronics Patent 7,978,489: Integrated Power Converters describes an adapter that looks just like the iPhone charger. The patent itself is a grab bag of 63 assorted claims (spring contacts, EMI shields, thermal potting material), most of which are not actually relevant to the iPhone charger.
 Flextronics Patent 7,924,578: Two Terminals Quasi Resonant Tank Circuit describes the resonance circuit used in the iPhone charger, which is shown in the following diagram. Transistor Q2 drives the transformer. Transistor Q1 is the clamp transistor, which directs the voltage spike from the transformer into resonance capacitor C13. The innovative part of this circuit is that Q1 doesn't need special drive circuitry like other active clamp circuits; it is self-powered via the capacitors and diodes. Most charger power supplies, by contrast, use a simple resistor-capacitor-diode clamp which dissipates the energy in the resistor.
 Apple indicates the charger type through a proprietary technique of resistances on the USB D+ and D- pins. For details on USB charging protocols, see my earlier references.
 One puzzling feature of the Apple charger is the second feedback circuit monitoring the temperature and output voltage. This circuit on the secondary board consists of a thermistor, a second 431 regulator, and a few other components to monitor the temperature and voltage. The outp