1. Disconnect the negative battery cable.
2. Remove the headliner.
3. Remove the glass panel.
4. Disconnect the front and rear drain hose from the sunroof frame.
5. Remove the bolt A, and then remove the rear set bracket.
6. Remove the bolt B and nuts, and then remove the sunroof unit.

7. Install in the reverse order of removal.
8. Adjust the glass panel. (See GLASS PANEL ADJUSTMENT.)
Rear drain hose installation
Sunroof unit disassembly/assemblyMazda 6 Service Manual: Windshield removal
1. Remove the rearview mirror.
2. Remove the cowl grille.
3. Remove the headliner.
4. Apply protective tape along the edge of the body to protect it from
damage.
5. Apply protective tape to the dashboard to protect it from damage.
6. Cut the lip of the windshield molding using a razor.
War ...
Mazda 6 Service Manual: Variable tumble control system (vtcs) shutter valve actuator inspection
1. Remove the air hose. (See INTAKE-AIR SYSTEM REMOVAL/INSTALLATION.)
2. Disconnect the vacuum hose from the VTCS shutter valve actuator.
3. Connect a vacuum pump to the VTCS shutter valve actuator.
4. Apply vacuum and verify that the rod moves.
If the rod dose not move, replace the intake ...