1. Disconnect the negative battery cable..
2. Insert a tape-wrapped fastener remover into the service hole, and pry it in the direction indicated by the arrow to remove the lens.

3. Remove the vanity mirror illumination bulb.

4. Install in the reverse order of removal.
Rearview Mirror Removal
Vanity Mirror Illumination InspectionTheft Deterrent System Clearing Freeze Frame Data
1. Connect the M-MDS (IDS) to the DLC–2.
2. After the vehicle is identified, select the following items from the initialization
screen of the IDS.
Select “Body”.
Select "Burglar Service Functions".
3. Then, select the following item from the screen menu.
...
Reporting Safety Defects
(U.S.A.)
If you believe that your vehicle has a defect which could cause a crash or
could cause
injury or death, you should immediately inform the National Highway Traffic
Safety
Administration (NHTSA) in addition to notifying Mazda Motor Corporation (Your
Mazda
Importer/Distributor).
If NHTSA re ...
Air Fuel Ratio (A/F) Sensor Inspection [Mzr 2.0, Mzr 2.5]
A/F Sensor Inspection
1. Connect the M-MDS to the DLC-2.
2. Switch the ignition to ON.
3. Warm up the engine to normal operating temperature.
4. Access the following PIDs using the M-MDS..
VSS (Vehicle speed)
RPM (Engine speed)
O2S11 (A/F sensor output current)
...