2012 cruze flattens out 3000 RPM and will show code PO171 ( lean bank 1 ) . Also the speedo does not work till doors automattically lock then it works fine. Or I can lock doors and it will work fine. Whats up with that. Code 502.
Welcome to Cruzetalk. The P0171 code is almost always a failed PCV valve, which requires replacing the camshaft cover. The P0502 is a faulty speed sensor or wiring harness. I suspect it's the wiring harness since the automatic door locks are triggered in response to the speed sensor.