4SD
1. Remove the fasteners.
2. Pull the trunk end trim upward, then disengage clips A, pins B, and hooks.

3. Remove the trunk end trim.
4. Install in the reverse order of removal.
5HB
1. Pull the trunk end trim upward, then disengage clips A, pins B, and hooks.

2. Remove the trunk end trim.
3. Install in the reverse order of removal.
Trunk lid trim removal/installation
Liftgate upper trim removal/installationMazda 6 Service Manual: Cargo compartment light switch inspection
1. Remove the liftgate lower trim. (See LIFTGATE LOWER TRIM
REMOVAL/INSTALLATION)
2. Disconnect the cargo compartment light switch connector.
3. Inspect for continuity between the cargo compartment light switch
terminals using an ohmmeter.
If not as specified, replace the liftgate lock.
...
Mazda 6 Service Manual: Refrigerant lines removal/installation
1. Remove the battery.
2. Discharge the refrigerant from the system. (See RECOVERY.) (See CHARGING.)
3. Remove the washer tank. (L.H.D. only) (See WASHER TANK
REMOVAL/INSTALLATION.)
4. Remove the air cleaner cover, air cleaner element and air cleaner case.
(See INTAKE-AIR SYSTEM
REMOVAL/INST ...