1. Remove the front door unit.
2. Remove the cover, then remove the bolt.
3. For protector-equipped vehicles, pull out the protector tab from the latch and remove the protector.
4. Disconnect the rod.
5. Remove the front outer handle.
6. Turn the key cylinder in the direction indicated by the arrow (1) and move the hook to the notch.
7. Pull the key cylinder towards you (2) to remove it.
8. Install in the reverse order of removal.
Mazda 6 Service Manual: Starting the Engine
WARNING
Radio waves from the key may affect medical devices such as pacemakers:
Before using the key near people who use medical devices, ask the medical device
manufacturer or your physician if radio waves from the key will affect the device.
NOTE
The key must be carried because the key c ...
Mazda 6 Service Manual: Generator removal/installation
Warning
When the battery cables are connected, touching the vehicle body with
generator terminal B will generate sparks. This can cause personal injury, fire,
and damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
...