Have an X3 N52 with a persistent 2A82 vanos inlet code. Have swapped around the cam position sensors, vanos solenoids, replaced the oil filter cap during oil change, eccentric shaft sensor (connector full of oil), pulled and cleaned out the plug on the right hand side of the head, and put in a new cylinder head thinking it was the cam orings that has worn enough of a groove in the head that it was causing issues. Still throwing the code. It will run smooth for about 5-8 seconds after starting then starts idling rough and throws the code