1. To access the glass installation bolt, position the front door glass so that the distance from the top of the front door glass to the upper part of the front beltline molding is approx. 80 mm {3.1 in}
.

2. Disconnect the negative battery cable..
3. Remove the following parts:
a. Inner garnish.
b. Front door trim.
c. Front door speaker.
d. Front door glass.
e. Front door module panel.
f. Front door latch and lock actuator.
4. Move the rod of the door key cylinder switch in the direction of the arrow shown in the figure, and verify that the continuity is as indicated in the table.

If not as indicated in the table, replace the front door latch and lock actuator.

Front Door Key Cylinder Removal/Installation
Front Door Latch And Lock Actuator InspectionTheft Deterrent System Clearing Freeze Frame Data
1. Connect the M-MDS (IDS) to the DLC–2.
2. After the vehicle is identified, select the following items from the initialization
screen of the IDS.
Select “Body”.
Select "Burglar Service Functions".
3. Then, select the following item from the screen menu.
...
Precaution
Intermittent Concern Troubleshooting
Vibration method
If a malfunction occurs or becomes worse while driving on a rough road or
when the engine is vibrating, perform the following steps.
NOTE:
There are several reasons why vehicle or engine vibration could cause an
electr ...
Stop Vehicle in Safe Place Immediately
If any of the following warning lights turns on, the system may have a
malfunction. Stop the
vehicle in a safe place immediately and contact an Authorized Mazda Dealer.
...