1. Remove the screws.
2. Remove the rear flap.

3. Install in the reverse order of removal.
Front flap removal/installation
Rear door garnish removalMazda 6 Service Manual: Sunroof relay inspection
Note
Sunroof relay is built in the sunroof motor.
1. Remove the headliner. (See HEADLINER REMOVAL/INSTALLATION.)
2. Connect the sunroof switch connector.
3. Measure the voltage at the sunroof relay terminals as indicated below.
4. Disconnect the sunroof relay connector before inspecting fo ...
Mazda 6 Service Manual: No.9 tcs off light stays on more than 4 seconds with ignition switch on
When performing an asterisked (*) troubleshooting inspection, shake the
wiring harness and connectors while
doing the inspection to discover whether poor contact points are the cause
of any intermittent malfunction. If
there is a problem, check to make sure connectors, terminals and ...