Warning
1. Disconnect the negative battery cable.
2. Remove the liftgate lower upper trim.
3. Press the liftgate harness connector's bracket, which is attached to the liftgate, to the (1) direction shown in the figure, and then detach the fit. Then remove the connector toward the (2) direction shown in the figure.
4. Disconnect the vehicle harness connector and the liftgate connector. Then remove the grommet from the liftgate.

5. Pry away the stay damper's band with a screwdriver.

6. Pry out the connecting part of the stay damper and the hinge with a screwdriver to disconnect them. Then remove the stay damper.
7. Remove the bolts A, then remove the liftgate.
8. To remove the hinge, remove the headliner and the nut.
9. To remove the stay damper, remove the bolt B.

10. Install in the reverse order of removal.
Liftgate
Liftgate disassembly/assemblyMazda 6 Service Manual: Windshield Wipers
Turn the wipers on by pressing the lever up or down.
With intermittent wiper
Variable-speed intermittent wipers
Set the lever to the intermittent position and choose the interval timing by
rotating the ring.
With auto-wiper control
Auto-wiper control
When the wiper lever is in the
...
Mazda 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.
...