Turn the ignition switch OFF and disconnect the battery negative (-) terminal.
Disconnect the knock sensor connector (A).
Remove the mounting bolt (A), and then remove the sensor from the cylinder block.