|2||D-||White||USB Data -|
|3||D+||Green||USB Data +|
For Nokia mobile data lines ( pins 2 & 3 ) must be shorted in order, and pin 4 must be connected to GND through resistor 200kOhm to detect charger.
For USB On-The-Go detection (connect USB storage/mouse/keyboard/... to N8, C7), Pin 4 must be shorted to GND.
For Nokia 6303i also unconnect data lines in charger (mostly remove the 4 resistors).
Nokia N97 Mini charges from a wall usb charger if both data lines are shortened and connected through a 10KOhm resistor to GND.