I accidentally yanked out the wiring on the driver side (master) doorlock actuator, it has 5 wires

Black = Black (I'm sure bec it is the only one without any pins)

But the other 4 when I connect it accordingly (color to color) it somehow spoofs the other lock actuators (slave), plus it can't be controlled by the alarm controller.

If I disconnect everything (except black) the alarm controller can control the remaining slave actuators.

the wire's colors are:

Blue =?
Green =?
Brown =?
White =?

Help please!!!