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: Mass air flow (maf) sensor inspection
Voltage Inspection
Note
Perform the following inspection only when directed.
1. Visually inspect for the following on the MAF sensor.
Damage
Cracks
Terminal bends
Terminal rust
- If any of the above are found, replace the MAF sensor.
- If the MAF PID value is out of specifi ...
Mazda 6 Service Manual: Expansion valve removal/installation
1. Disconnect the negative battery cable.
2. Discharge the refrigerant from the system. (See RECOVERY.) (See CHARGING.)
Caution
If moisture or foreign material enters the refrigeration cycle,
cooling ability will be lowered and abnormal noise will occur. Always
immediately plug open fitt ...