Had the same problem when I did my VCG. Drove it to BMW(barely made it) And they said I needed new camshaft sensors. I was very skeptical but bought a new sensor and the rough ride and codes went away.Hello can someone please give me some advice. I just did my VCG , Vanos o rings, timing cover gasket, and cam o rings. I followed instructions to connect battery and turn car on without starting ignition for a few minutes. I hear the Valvetronic motors moving then they click and stop but when I turn on it runs rough and I get P0018 and P0012 codes. Any advice would be greatly appreciate.
If it the code is only on 1 bank. Switch the camshaft sensors to see if that helps.