below is from pidu
To remove the oem mirror simply pull away from the windscreen the bottom of the fitting and then move the whole part upwards.
To remove overhead console - pull from the windscreen side first, there are 2 clips, then on the sides near lights - another two clips, unplug connector and remove console.
Connect piece of two core wire to wires in console connector - ground is white with black stripe in the corner (pin 15), power - green in the middle (I believe it is pin 7, next to yellow one).
At the back of the mirror we needed to connect pin 1 - power and 2 - ground (honda accord mirror wiring see attached image)