1. Disconnect the negative battery cable.
2. Remove the headliner.
3. Disconnect the connector.
4. Remove the screws, and then remove the sunroof motor.

Sunroof unit disassembly/assembly
Sunroof motor installationMazda 6 Service Manual: Glossary of Terms
Tire Placard:
A label indicating the OE tire sizes, recommended inflation pressure, and the maximum weight the vehicle can carry.
Tire Identification Number (TIN):
A number on the sidewall of each tire providing information about the tire brand and manufacturing plant, tire size, and date of m ...
Mazda 6 Service Manual: Front fender panel
FRONT FENDER PANEL REMOVAL/INSTALLATION
1. Disconnect the negative battery cable.
2. Remove the front side turn light.
3. Remove the fender molding. (See COWL GRILLE REMOVAL/INSTALLATION.)
4. Remove the front bumper. (See FRONT BUMPER REMOVAL/INSTALLATION.)
5. Remove the front combination light ...