Install the rearview mirror onto the base.

Rearview mirror removal
Base removalMazda 6 Service Manual: Center panel module removal/installation
1. Cancel the anti-theft operation. (with anti-theft system) (See ANTI-THEFT
SYSTEM.)
2. Disconnect the negative battery cable.
3. Remove the glove compartment.
4. Remove the rear console.
5. Remove in the order indicated in the table.
6. Install in the reverse order of removal.
Caution
...
Mazda 6 Service Manual: Brake pedal removal/installation
1. For ATX model, remove the lock unit with brake switch (R.H.D. only).
2. Remove in the order indicated in the table.
3. Install in the reverse order of removal.
Brake switch Installation Note
1. Fix the brake switch on a bracket with pressing down at 50 N {5.1 kgf·m,
37 ft·lbf}.
2. Ro ...