I purchased a drivers door wiring loop off eBay which should of been the same part number as the one I already had. I performed a continuity test for each plug and matched this to the socket at the drivers door for both wiring loops, the results were the same for the central locking, speaker and electric window. The only difference was the wiring and pins for the electric mirror, which I do not have.
I numbered the pins as below:
10, 7, 4, 2, 1, 9, 8, 3 & 4
17, 12, 7 & 18
The electric window did not work with the new wiring loom. I put a length of wire from the earth pin in the central locking socket and touched the car door - the electric window now worked.
Both wiring looms DO NOT EARTH.
I matched the master socket from the drivers door wiring loom to the cars wiring loom and found that pin 7 (drivers loom) was connecting to an empty space in the car socket. The earth wire in the socket from the car was pin 20. The auto electrician last week fixed the broken earth wire as a stub of wire and pin was already in pin 20.
Car side wiring photo below:
I tried a few tests by putting wires in various places mainly pin 20 to pin 7 and the central locking did not work but the electric window did.
When all doors are closed, ignition on and the passengers door is locked this is what happens:
View My Video
The auto electrician did advise to fit a new lock mechanism but I haven't got hold of one yet, this might solve the issue?
How can I determine which pin the earth wire should be in the cars side wiring loom?
I also need the part number for the drivers lock mechanism, but I do not want to take this apart without having a new one to put in.