Warning
1. Disconnect the negative battery cable.
2. Disconnect the trunk lid harness connector, pull the trunk lid harness out from the cabin.

3. Disconnect the hooks, which secure the trunk lid harness to the trunk lid hinge.

4. Pry away the stay damper's band with a screwdriver.
5. Pry out the connecting part of the stay damper and the hinge with a screwdriver to disconnect them. Then remove the stay damper.

6. Remove the nuts, then remove the trunk lid.

7. Remove the bolts, then remove the trunk lid hinge.
8. Install in the reverse order of removal.
9. Adjust the trunk lid. (See TRUNK LID ADJUSTMENT.)
Trunk lid
Trunk lid disassembly/assemblyMazda 6 Service Manual: Glass panel adjustment
1. Fully close the glass panel.
2. Measure the gap and height between the glass panel and body.
3. If not as specified, loosen the glass panel installation screws and
reposition the glass panel.
Clearance
a: -0.8-1.2 mm {-0.032-0.047 in}
b: 0 mm {0 in}
4. Tighten the installation scre ...
Mazda 6 Service Manual: Cruise control switch inspection
1. Disconnect the negative battery cable.
2. Remove the driver-side air bag module. (See DRIVER-SIDE AIR BAG MODULE
REMOVAL/INSTALLATION.)
3. Disconnect the cruise control switch connector.
4. Inspect for resistance and continuity between the cruise control switch
terminals using an ohmmeter. ...