1. Remove the screws.
2. Press clip A in the direction of the arrow, pll the radiator grille outward and remove from the front bumper.

3. Install in the reverse order of removal.
Cowl grille removal/installationMazda 6 Service Manual: Adaptive Front Lighting System (AFS) (Some models)
The adaptive front lighting system (AFS) automatically adjusts the headlight
beams to the left or right in conjunction with the operation of the steering wheel
after the headlights have been turned on and the vehicle speed is about 2 km/h (2
mph) or higher.
A system malfunction or operation c ...
Mazda 6 Service Manual: Bonnet switch inspection
Note
Bonnet switch has a built-in bonnet lock.
1. Open the bonnet.
2. Disconnect the negative battery cable.
3. Remove the radiator grille.
4. Disconnect the bonnet switch connector.
5. Check the continuity between the bonnet switch terminals A and B using an
ohmmeter.
If there is ...