1. Remove the trunk lid trim. (4SD)
2. Remove the liftgate lower trim. (5HB)
3. Remove the bolts.
4. Disconnect the high-mount brake light connector. (4SD)
5. Remove the rear spoiler.

6. Install in the reverse order of removal.
Rear finisher removal/installation
Roof carrier bracket removal/installationMazda 6 Service Manual: Immobilizer system reprogram procedure
Note
When an error occurs during the reprogram procedures, except when
the PCM is replaced, repeat the procedure from Step 1. If you still cannot
reprogram, confirm how many keys can start the engine. Then, perform the key
replacement or addition reprogram procedure according to the val ...
Mazda 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 ...