Thanks Phil for all the work you put into this project and helping me out and all you other smart people.
Just finished both mirrors and both sides work great , i did forget to land the ground ,in fact i forgot to add pin 5 to the x510 plug,so answering my own questions for 2 posts ago .
1.Having fold/unfold switch does not matter to get signals and puddle lights to work!
2. I did not disconnect power and everything was okay ,but should have ,just for safety.
Next inside mirror and auto dimming.