Pin ID Colour Description
1 VCC Red +5DC
2 D- White Data-
3 D+ Green Data+
4 GND Black Ground
5     Attached Device Presence Indicator (Micro only)

Fast Charge: Short pins 2 and 3

Android Cable Mode

Connect a resistor between pins 4 and 5 of the micro-usb:

Desk Dock: 365K or 1K

Car Dock: 619K