Diagnosing P4020 and a Rough Cold Idle on a 2015 BMW X5

A 2015 BMW X5 rolled into a UK workshop with a rough idle at start, a check engine light, and a single fault code: P4020. The technician noted the idle issue was highly noticeable right at start up. On the 2.0L B47 diesel engine equipped in this F15 chassis, that specific combination of a rough run and a catalyst fault code demands a careful look at combustion, rather than an immediate exhaust replacement.

The trap of the catalyst efficiency monitor

The diagnostic platform we build ranked Diesel Oxidation Catalyst (DOC) or DPF substrate degradation as the top cause at 75 percent probability, with medium severity. On the B47 engine, the catalyst efficiency monitor evaluates the DOC within the combined close-coupled DOC and DPF canister. The DOC is responsible for converting unburned hydrocarbons and carbon monoxide into water and carbon dioxide. This process generates the exothermic heat required for DPF regeneration.

When unburned fuel or soot from incomplete cold combustion coats the active washcoat, the DOC fails to achieve the required conversion efficiency or exothermic rise across its temperature sensors. The DDE then flags P0420, which reports as P4020 in the scanner. Proving this requires an exhaust gas temperature delta analysis across the DOC during an active or forced regeneration, a visual inspection of the DOC face via a borescope through the upstream oxygen sensor port, and a DPF differential backpressure test.

Fuel delivery masking as an exhaust fault

Ranked closely behind at 65 percent probability, and with high severity, is common rail fuel injector spray pattern deviation or tip leakage. A malfunctioning solenoid or piezo injector with internal nozzle wear delivers incorrect pre-injection quantities when cold. This creates localized cylinder misfires and the rough combustion the technician felt during start.

The unburned diesel hydrocarbons are dumped directly into the exhaust tract. This raw fuel overloads and cools the DOC, directly generating the P4020 efficiency fault. Verifying this requires evaluating the DDE Smooth Running Control (Idle Speed Regularity), measuring injector leak-back quantities under cranking and cold idle, and performing a rail pressure stability test.

Oxygen starvation from the EGR system

The third probability, ranked at 55 percent, targets the Exhaust Gas Recirculation (EGR) valve sticking open. The B47 engine is prone to carbon and soot accumulation here. If the EGR valve does not seat fully closed during engine crank and cold start idle due to carbon crusting, exhaust gas is recirculated into the fresh air charge exactly when maximum oxygen is required.

This oxygen starvation causes incomplete cold combustion, engine shake, and high raw soot output. This swamps the DOC and triggers the same code. Testing this path involves running a DDE EGR valve position adaptation, observing live position tracking, visually inspecting the EGR valve seating face for soot deposits, and running an EGR cooler air bypass functional test.

Eliminating baseline sensor drift

Finally, at a 45 percent probability, the diagnostic engine pointed to upstream oxygen or exhaust gas temperature sensor drift. The DDE calculates catalyst conversion efficiency by comparing readings from the upstream wideband oxygen sensor, the pre-DOC exhaust gas temperature sensor, and the post-DPF exhaust gas temperature sensor.

If the downstream temperature sensor reads falsely low, or if the oxygen sensor is contaminated, the DDE concludes the catalyst has failed to ignite or process emissions. Ruling this out requires a cold soak plausibility test to compare all exhaust temperature sensors to the ambient and coolant sensors, alongside a wideband oxygen sensor pump current and lambda plausibility check in live data.

Next steps in the bay

Have you seen this specific combination of a rough cold start and a P4020 on the B47 engine, and what test do you normally run first?

Published on:
2026-10-03
Put this guide to work

Diagnosing a fault right now? WrenchLane Free gives you a full AI diagnostic every day — ranked causes, TSB search, no card needed. Running a workshop? Compare plans for OEM data, wiring diagrams and labour times.

Start diagnosing smarter today

Try WrenchLane free and see how much time you save on your next diagnosis.