Sounds like my fuel tank breather valve symptoms. Would not stall/varying RPM after every fill up, was sporadic. After a while it happened very occasionally as the tank neared empty before filling. It's an inexpensive fix so worth giving it a shot first to see if that solves the issue.
__________________
2021 X3 M40i
1974 2002tii, Inka, 5 sp manual
BMWCCA # 327475
|