1. Fully open the glass panel.
2. Remove the headliner.
3. Remove the screws.
4. Disengage the hooks.
(1) Press the rear end of each hook.
(2) After sliding the hooks rearward, press them upward.
5. Remove the deflector.

6. Install in the reverse order of removal.
Sliding sunroof
Glass panel removal/installationMazda 6 Service Manual: No.4 air intake mode does not change
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while performing the inspection to discover
whether poor contact points are the cause of any intermittent malfunctions.
If there is a problem, check to make sure connectors, terminal ...
Mazda 6 Service Manual: Foreword
When the customer reports a vehicle malfunction, check the malfunction
indicator lamp (MIL) indication and diagnostic trouble code (DTC), then
diagnose the malfunction according to following flowchart.
- If a DTC exists, diagnose the applicable DTC inspection. (See DTC
TABLE.)
- ...