car idle up and down on 2001 Nissan Maxima

hi i changed the spark plug and replaced the boot for the spark plug and my car started idling up and down. At first it was calling for the mass air flow sensor so i replaced that but the car still idle up and down so had another diagnostic test and this time it was calling for the crankshaft sensor so i replace that and the car is still idling up and down has anyone had this problem and was able to fix it

by in Florence, SC on March 25, 2011
Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
2 answers 4 comments
ANSWER by , March 25, 2011
Idling up and down is usually the result of a sticking idle control valve...or possibly due to a vacuum leak. What code occurred that suggested to replace the MAF?
COMMENT by , March 26, 2011
The code was p1226 and p0158 for oxygen sensor
COMMENT by , March 26, 2011
I'm not seeing a P1226 in the manual for this car. The P0158 is a catalyst monitor (after cat) oxygen sensor issue. I'm just not seeing where the MAF had to be replaced from your codes or information. The P0158 would not in any way indicate a MAF issue. Just trying to understand your issues fully...
COMMENT by , March 27, 2011
THE CODE IS P1126, P0100, P0158, P0159
COMMENT by , March 28, 2011
P1126 - vehicle has not warmed up enough at time of test; could be normal, could be a thermostat issue. P0100 - Mass Air Flow Sensor circuit issue - could be the sensor, could be a vacuum leak somewhere... P0158 and P0159 are both catalyst monitor related faults. Truly a good diagnosis is in order to narrow down if you have a vacuum or air leak. Good luck!
ANSWER by , March 03, 2016
fuel servicer & body throttle needs to be cleansed