Hi thanks for using our new Q&A section.
about yours 2009 BMW E90 best way come in by to our shop to be diagnosed , but from our experience it may be several issues: like vacuum leak , faulty throttle body , or eccentric shaft position sensor fault.
hope my answer will be helpful
have a good day !