Looking to see if anyone can shed some light on a situation on my Z4MC, 77kmiles
Had a leak coming from the rocker cover so replaced the gasket no issues.
However the following morning when I started it, it revved to 1500 then 500 then 1500 then 0 and cut out
Original thought was an air leak as I removed the maf sensor and it ran fine. Took it for a short run to see if it would possibly clear itself but ended up stuttering in low revs in 3rd and then eventually lost power and I pulled in and turned it off. Restarted it and it was fine then drive home. Had the intake smoke tested which showed no signs of leaking so I replaced the maf sensor but the issue is still there.
Next concern is possibly the idle control valve.
Has anyone had a similar issue and can possibly recommend a solution ?
Added a video once the new maf was replaced.
https://youtube.com/shorts/GKcIV9ZbJNI?feature=share
Had a leak coming from the rocker cover so replaced the gasket no issues.
However the following morning when I started it, it revved to 1500 then 500 then 1500 then 0 and cut out

Original thought was an air leak as I removed the maf sensor and it ran fine. Took it for a short run to see if it would possibly clear itself but ended up stuttering in low revs in 3rd and then eventually lost power and I pulled in and turned it off. Restarted it and it was fine then drive home. Had the intake smoke tested which showed no signs of leaking so I replaced the maf sensor but the issue is still there.
Next concern is possibly the idle control valve.
Has anyone had a similar issue and can possibly recommend a solution ?
Added a video once the new maf was replaced.
https://youtube.com/shorts/GKcIV9ZbJNI?feature=share