Skip the auto shop - Our mechanics make house calls

Q: i have a check engine light on

asked by on

i took my car to get the check engine checked and they gave me codes p0012 and p0171. i took my car to my mechanic because i recently got my engine fixed and i took it to fix the air leak. but now idk about the camshaft if i need to replace it or something else

My car has 121000 miles.
My car has an automatic transmission.

Hello there, thank you for asking about your 2004 Toyota Camry. Code P0012 relates to the camshaft position sensor which monitors the speed of the camshaft and relays this information to your car’s computer, which helps to control ignition timing and fuel injection pulse. Code P0171 relates to a lean air/fuel mixture which can be caused by a number of things such as:

  • Intake air leaks
  • Faulty front heated oxygen sensor
  • Ignition misfiring
  • Faulty fuel injectors
  • Exhaust gas leaks
  • Incorrect fuel pressure
  • Lack of fuel
  • Faulty Mass Air Flow (MAF) sensor
  • Incorrect Positive Crankcase Ventilation (PCV) hose connection

I would recommend having an expert from YourMechanic come to your home to diagnose your codes](https://www.yourmechanic.com/services/check-engine-light-is-on-inspection) and replace the camshaft position sensor if needed.

Was this answer helpful?

Need advice from certified mechanic? Get help now!

Over 1000 mechanics are ready to answer your question.
The statements expressed above are only for informational purposes and should be independently verified. Please see our terms of service for more details

Ask a Mechanic
(100% Free)

Have a car question? Get free advice from our top-rated mechanics.

Ask A Mechanic
Over 10,000 questions answered!

Get an instant quote for your car

Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing

Get a quote

What others are asking

Q: Can I fix it myself

Hi there. I would have to say that one could perform the repair, however that does not mean that one should. There are several components inside the door and nothing worse than creating an additional concern while repairing a current...

Q: No 3x signal from ICM connector

You may have replaced the wrong sensor. Try replacing the camshaft sensor. The sensor is below the water pump behind the water pump pulley. You have to remove the serpentine belt and water pump pulley for access to the sensor....

Q: Car has sat for 5 years and will not start.

Hello. When a vehicle sits for this long there can be a number of issues keeping it from starting and running right. You do need to replace the battery,and you should replace all of the fluids before starting it and...

Related articles

What Causes Hoses to Leak?
While the largest part of your engine is mechanical, hydraulics plays a significant role. You’ll find fluids at work in a number of different areas. Your car's fluids include: Engine oil Transmission...
P0052 OBD-II Trouble Code: HO2S Heater Control Circuit High (Bank 2 Sensor 1)
P0052 code definition HO2S Heater Control Circuit High (Bank 2 Sensor 1) What the...
What are the Car Pool Rules in Hawaii?
Hawaii is widely regarded as a land of vacation and relaxation, and as such, its scenic roads and routes are far better known than the state’s freeways. But, as with all...