First thing to repair was side mirrors.
Power function of Mirrors was not working after the doors were changed because they were directly connected to the wires which were cut.
up-down movement of left side mirror was jammed . Bought another set of white mirrors(mine were black) and same problem was occuring with their movement. Two mirrors cannot be malfunctioning at the time so i decided to debug more to the root cause.
For that i had to know the mechanism of switch and how it control movement of mirrors through three wires. Found out that it was rather easy.
There are two motors in the mirror actually. One for left-right and one for up-down. polarity is changed for different type of movement.
i-e when left is pressed, the motor resposible for left-right movement gets powered . One terminal of the motor gets 12v and other terminal ,ground so that it can run ,so our mirror moves to the right. when right side is pressed on the mirror switch, polarity changes and mirrors move to the right lie in the diagram:
There are four wires, two per motors but both share one common wire, so one is branched making 3 in total .
Later found out that one mirror really have a problem in up-down movement and the other is having a broken plastic connecter which is why is jammed