These are the possible things that needs to be looked at and replace to resolve the issue.
1. Code 12A202 - Oxygen sensor replacement. The oxygen sensor of your car measures the amount of oxygen in the exhaust gasses that exit the engine. It sends real-time data about the amount of unburnt oxygen in the exhaust system to the engine's computer to determine the correct air-to-fuel ratio for the car's engine. Below is what it looks like.
2. Code 107001 - These are the things that needs to be checked
- Check wiring harness from DME to boost-pressure sensor and intake-manifold pressure sensor
- Check intake system and crankcase for leakage
- Perform learning routine for throttle-valve travel stops
The fault is recognized when the calculated mass flow rate through the throttle valve is higher than the calculated mass flow rate into the cylinders on Bank 2 by 65 %.
Problem Source (s)
- Measured intake-manifold pressure (absolute) too high
- Vacuum/air leak within induction tract/crankcase
- Incorrect throttle-valve angle
- Pressure sensor defective Terminal condition: Terminal 15 Voltage condition:
- Electrical system voltage > 10 V
Temperature condition: Coolant temperature > -10 °C -
-10°C < intake-air temperature < 90°C
3. Code 102D02 - Mass Air Flow issue. Low mass air flow readings do not mean the sensor is bad. A clogged up air filter or plugged catalytic converter can also cause lower air flow sensor readings. Vacuum leaks affect air flow sensor readings too. That's why mechanics use a known-good sensor to compare the readings
You can start on these issues for the mean time and I believe that there will be good changes on the bimmer's performance. Hope this helps and I'll be standing by for your response.