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: Rear oil seal
REAR OIL SEAL REPLACEMENT
1. Remove the flywheel. (MTX) (See CLUTCH UNIT REMOVAL/INSTALLATION)
2. Remove the drive plate. (ATX) (See DRIVE PLATE REMOVAL/INSTALLATION)
3. Remove in the order indicated in the table.
4. Install in the reverse order of removal.
Rear Oil Seal Installation Note
...
Mazda 6 Service Manual: Electrical troubleshooting tools
Jumper wire
A jumper wire is used to create a temporary circuit. Connect the jumper
wire between the terminals of a circuit to bypass a switch.
Caution
Do not connect a jumper wire from the power source line to a body
ground. This may cause burning or other damage to wiring harnesse ...