For 2006 and earlier four-cylinder models, start by disconnecting the cable from the negative battery terminal, then raise the front of the vehicle and secure it on jackstands. Locate the knock sensor on the back side of the block near the alternator; for the 2.3L model, remove the intake manifold first. Detach the knock sensor electrical connector from its bracket and disconnect it, followed by removing the retaining nut and the sensor itself. Installation is the reverse of removal, ensuring the retaining nut is tightened to the specified torque. After reconnecting the battery, the Powertrain Control Module (PCM) must relearn its idle and fuel trim strategy for optimal performance. For 2008 and earlier V6 models, the process begins similarly with the negative battery terminal disconnection and vehicle elevation. The knock sensor is located on the rear side of the block near the transaxle; trace the electrical lead to the connector, disconnect it, and then remove the retaining bolt and sensor. Again, installation is the reverse, with attention to torque specifications. After reconnecting the battery, the PCM must relearn its idle and fuel trim strategy. For 2007 and later four-cylinder models, disconnect the negative battery terminal, remove the intake manifold, disconnect the wiring harness from the sensor, and then remove the mounting bolt and sensor, with installation being the reverse. For 2009 and later V6 models, note that there are two knock sensors; one is on the left end of the rear cylinder head and the other is under the lower intake manifold. Disconnect the negative battery terminal, remove the lower intake manifold if working on the engine block-mounted sensor, disconnect the wiring harness, and remove the mounting bolt and sensor, with installation following the reverse order.