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: Crash zone sensor removal/installation
Warning
Handling the crash zone sensor improperly can accidentally deploy the air bag
module and pre-tensioner seat belt, which may seriously injure you. Read AIR BAG
SYSTEM SERVICE WARNINGS before handling the crash zone sensor. (See SERVICE
WARNINGS.)
1. Turn the ignition switch to LO ...
Mazda 6 Service Manual: Rear window glass installation
Caution
To prevent the sealant from cracking or the glass from being
pushed out by air pressure if a door is closed, open all of the windows and
leave them open until the sealant has hardened.
1. Cut away the old sealant using a razor so that 1-2 mm {0.04-0.07 in}
thickness of sealant ...