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: Accessory Sockets
Only use genuine Mazda accessories or the equivalent requiring no greater than
120 W (DC 12 V, 10 A).
Front
The ignition must be switched to ACC or ON.
Center
The accessory sockets can be used regardless of whether the ignition is on or
off.
CAUTION
To prevent accessory socket damag ...
Mazda 6 Service Manual: Service cautions
HANDLING INSUFFICIENT REFRIGERANT LEVEL
If an insufficient refrigerant level is detected at troubleshooting,
do not charge (add) the refrigerant. Because an accurate amount of
refrigerant cannot be determined from the pressure indicated on the manifold
gauge, never charge the refrigeran ...