1. Cut away all of the original sealant using a razor.
2. Clean and degrease the ceramic coating on the glass and the base.
3. Apply primer to the bonding area of the glass and the base.
Caution
4. Apply a height of 3.0 mm {0.12 in}
sealant to the base.

Note
5. Center the base in the ceramic coating and press it onto the glass.

6. Use isopropyl alcohol to remove any excess repair sealant.
Hardening time of sealant

7. Install the rearview mirror.
Base removalMazda 6 Service Manual: Sas unit configuration
1. Connect the SST (WDS or equivalent) to the DLC-2.
2. Input vehicle information following the directions on the screen.
3. Select Module programming.
4. Select Programmable module installation.
5. Select the following items and perform procedures according to directions
on the screen.
...
Mazda 6 Service Manual: Locking, Unlocking the Doors
NOTE
The system may not operate if you are too close to the windows or door
handles.
If the key is left in the following areas and you leave the vehicle,
the doors may be locked depending on the radio wave conditions even if the key
is left in the vehicle.
Around the dashboard
...