1. Disconnect the negative battery cable.
2. Turn the seaming welt and weatherstrip over.
3. Remove the sunroof seaming welt. (vehicles with sunroof only)
4. Remove the A-pillar trims.
5. Remove the B-pillar upper trims.
6. Remove the C-pillar trims.
7. Remove the front and rear map light. (See FRONT MAP LIGHT REMOVAL/INSTALLATION.) (See REAR MAP LIGHT REMOVAL/INSTALLATION.)
8. Remove the sunvisors.
9. Remove the assist handle.
10. Disconnect the roof harness connector, remove the clip, and remove the connector.
11. Remove the fasteners.
12. Disconnect the front and rear drain hose.
13. Disconnect the rear washer hose (5HB).
14. Remove the hook holding the roof panel and remove the headliner.

15. Take the headliner off from the passenger-side door opening.
16. Install in the reverse order of removal.
Headliner
Shock absorbing pad removal/installationMazda 6 Service Manual: Advanced Keyless Entry System
WARNING
Radio waves from the key may affect medical devices such as pacemakers:
Before using the key near people who use medical devices, ask the medical device
manufacturer or your physician if radio waves from the key will affect the device.
The advanced keyless function allows you to lock/u ...
Mazda 6 Service Manual: Drive Selection (Some models)
Drive selection is a system to switch the vehicle's drive mode. When the sport
mode is selected, vehicle's response against accelerator operation is enhanced.
This provides additional quick acceleration which may be needed to safely make maneuvers
such as lane changes, merging onto freeways, o ...