On my X5 i found the Air Intake Actuator pivot was broken just like on this post, fo rme the quick fix was to remove the back cover and place a #10 x 1.5" wood screw in place of the pivot that had broken, very simple fix of 20 minutes saves >$200/
WOW!!!! cool trick to fix rough idle - bimmerfest - BMW Forums