1. Detach the clips which secure A and B sections of roof molding, using a screwdriver or equivalent tool.

2. While pulling the roof molding up, detach the fit for the T stat of the A section and the roof molding and then remove the roof molding.
Rear beltline molding installation
Roof molding installationMazda 6 Service Manual: Cruise Control (Some models)
With cruise control, you can set and automatically maintain any speed of more
than about 25 km/h (16 mph).
WARNING
Do not use the cruise control under the following conditions: Using
the cruise control under the following conditions is dangerous and could result
in loss of vehicle control.
...
Mazda 6 Service Manual: Foreword
When the customer reports a vehicle malfunction, check the malfunction
indicator lamp (MIL), HOLD indicator light flashing, and PCM memory for
diagnostic trouble code (DTC), then diagnose the malfunction according to
following flowchart.
- If the DTC exists, diagnose the applicable ...