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: Front drain hose installation
Caution
If the front drain hose is pinched or bent anywhere, the water in the hose
may not discharge and enter the inside of the vehicle. During and after
installation of the trims and the headliner, always make sure there is no
interference with the front drain hose. Fix any problem if found ...
Mazda 6 Service Manual: Settings
NOTE
Depending on the grade and specification, the screen display may differ.
Select the icon on the home
screen and display the Settings screen.
Switch the tab and select the setting item you want to change.
You can customize settings in the setup display as follows:
...