1. Disconnect the negative battery cable.
2. Remove the trunk lid trim.
3. To remove the trunk lid outer handle and trunk lid key cylinder, remove the rear finisher.
4. Disassemble in the order indicated in the table.
5. Assemble in the reverse order of disassembly.
Mazda 6 Service Manual: Instrument cluster removal/installation
Caution
When replacing the instrument cluster, the configuration procedure must be
performed before removing the instrument cluster. If the configuration procedure
is not performed before removing the instrument cluster, it is possible that the
instrument cluster will not operate normally. ...
Mazda 6 Service Manual: Dual proportioning valve replacement (without abs)
1. Remove in the order indicated in the table.
2. Install in the reverse order of removal.
Dual Proportioning Valve Installation Note
Install the dual proportioning valve so that the R mark faces the left side
of the vehicle.
...