A 2015 BMW X5 comes in with P0300, P0171, and P0128, a check engine light, and a rough cold idle. The technician working on this vehicle in the Netherlands noted occasional power loss on acceleration. These symptoms on an F15 or F85 chassis with a diesel engine can point in several directions, but the combination of a misfire, a lean code, and a cooling system code requires a structured approach to avoid throwing parts at the problem.
The Fueling Problem
The diagnostic platform we build ranked defective fuel injectors as the most likely culprit at 85 percent probability. In diesel engines, piezo injectors wear over time, which our system notes often becomes an issue around the 145,000-kilometer mark. This wear leads to poor atomization, causing the lean condition flagged by P0171 and the misfires triggering P0300. Excessive leak-off drops the fuel rail pressure, starving the cylinders and causing that rough idle and power loss. The suggested step here is straightforward. Run a leak-off test and monitor live rail pressure data.
Following closely at 80 percent probability is a restricted fuel supply, typically a clogged filter. A lean condition on a diesel engine is almost always related to insufficient fuel delivery. If the high-pressure pump cannot get enough fuel, combustion is incomplete. The fix path starts with checking for air bubbles in the fuel lines, measuring the lift pump pressure, and replacing the fuel filter.
The Temperature Variable
The P0128 code introduces an interesting complication. It indicates the coolant temperature is staying below the regulating threshold of the thermostat. The engine is running cold, which forces the ECU to stay in an enrichment cycle. While a cold engine rarely sets a lean code directly, it severely impacts cold start stability and can mask existing fueling issues. Our system ranked a defective thermostat at 70 percent probability as a contributing factor. The tests are simple. Visually inspect the thermostat housing and monitor live coolant temperature data.
The Airflow Factor
Ranked at 65 percent probability, we have to consider EGR system faults or intake carbon buildup. The B47 engine is highly susceptible to carbon deposits in the intake manifold and the EGR valve. A sticking valve or a leaking EGR cooler bypass disrupts airflow, mimicking misfire symptoms during a cold start. This restriction causes an imbalance in the air-to-fuel ratio, triggering both the P0171 and P0300 codes. The recommended path is to actuate the EGR valve via a diagnostic scanner and visually inspect the manifold.
Next Steps
Take a look at your own diagnostic logs. Do you see temperature faults compounding fueling issues on the B47 platform, or do you find the EGR system is usually the primary culprit?
