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: Jacking positions ,vehicle lift (2 supports),safety stands (rigid rack)
positions
Jacking Positions
Warning
Improperly jacking a vehicle is dangerous. The vehicle can slip
off the jack and cause serious injury. Use only the correct front and rear
jacking points and block the wheels.
Use safety stands to support the vehicle after it has been lifted.
Fro ...
Mazda 6 Service Manual: Fuel injector inspection
Operation Test
Carry out the Fuel Injector Operation Inspection. (See Fuel Injector
Operation Inspection.)
If not as specified, perform the further inspection for the fuel
injectors.
Resistance Inspection
Note
Perform the following test only when directed.
1. Turn the ignition s ...