I just had to do this recently on my 4mp camera and I can confirm that the wiring above is correct. In my pigtail however there were 2 less wires. There was no green wire, and only a yellow which was connected to both pin 4 & 5. There was no white wire, and only a grey which was connected to...