Shameless plug:
https://www.e90post.com/forums/showthread.php?t=1656271
Not sure if the components can be used in your pre-LCI mirror. I have only used it for the glass replacement, so I haven't test the folding function. If someone can tell me, which pins operate it, I can hook it up to 12V and test.