1. Disconnect the negative battery cable..
2. Remove the rain sensor cover. (Vehicles with auto light/wiper system).
3. Remove the following parts:
a. Sunroof seaming welt (vehicles with sunroof)
b. A-pillar trim.
c. Front scuff plate.
d. Rear scuff plate.
e. B-pillar lower trim.
f. Upper anchor of the front seat belt.
g. B-pillar upper trim.
h. Rear seat cushion.
i. Tire house trim.
j. Trunk side upper trim (5HB).
k. C-pillar trim.
l. Map light.
m. Sunvisor.
n. Assist handle.
o. Headliner.
4. Pull in the direction of the arrows and detach the tabs.

5. Disconnect the connector.
6. Remove the interior light.
7. Install in the reverse order of removal.
NOTE:
After installing the wiring harness, reinforce the urethane that was cut when removing the valve housing with vinyl tape.
Interior Light Bulb Removal/Installation
Map Light Bulb Removal/InstallationBrake Fluid Pressure Sensor Inspection
1. Switch the ignition to off.
2. Install the SSTs to the master cylinder (secondary side) as shown in
the figure.
NOTE:
When installing the SST (49 D043 0A0) to the master cylinder, use
a commercially available flare nut wrench (flare nut across flat 12 mm {0.47
in}).
...
Afs (Adaptive Front Lighting System) Off Switch Inspection
1. Disconnect the negative battery cable..
2. Remove the AFS OFF switch..
3. Verify that the continuity between the AFS OFF switch terminals is as indicated
in the table.
If the continuity is not as indicated in the table, replace the AFS OFF switch.
4. Apply battery po ...
Stop Vehicle in Safe Place Immediately
If any of the following warning lights turns on, the system may have a
malfunction. Stop the
vehicle in a safe place immediately and contact an Authorized Mazda Dealer.
...