4.9 · 271+ reviews
Pay with Klarna · ★ 4.9 · 271+ Google reviews · In-house 4WD dyno · before & after printout · BMW ECU unlocking · in-house, same day · 0% finance with Bumper · spread it over 6 months · 10,000+ vehicles tuned · 15+ years · BMW & VAG specialists · Warrington · Pay with Klarna · ★ 4.9 · 271+ Google reviews · In-house 4WD dyno · before & after printout · BMW ECU unlocking · in-house, same day · 0% finance with Bumper · spread it over 6 months · 10,000+ vehicles tuned · 15+ years · BMW & VAG specialists · Warrington ·
... ...
Gift Cards ›
0% Finance ›

Home / Blog / Customer Builds

Customer Builds

BMW M340d G20 MHEV: ECU Unlock, Stage 1 Custom + xHP Stage 3, 412bhp & 867Nm

1 December 2026 · DC Remapping UK

This 2022 BMW M340d (G20) mild hybrid came in for an ECU unlock, our Stage 1 custom dyno tune and xHP Stage 3 for its ZF 8-speed automatic, all on the same visit. It runs BMW’s B57 3.0 twin-turbo mild-hybrid diesel.

BMW M340d rear view on the dyno under the DC sign
The M340d strapped down on our 4WD linked dyno.

ECU unlocked first

Like most newer BMWs, its ECU left the factory locked, so the first job was the ECU unlock. With that done we carried on with the health check, baseline runs and live data, and built the calibration from the car’s own numbers.

The numbers

On the baseline run it made 341.9bhp and 731Nm. With our calibration and xHP Stage 3 it made 412.7bhp and 867Nm, with 368.2bhp at the wheels. That is 70.8bhp and 136Nm more:

MeasurementStockDC Stage 1 Custom & xHP ST3
Engine power341.9 hp @ 4,357rpm412.7 hp @ 4,423rpm
Engine torque731 Nm @ 2,170rpm867 Nm @ 2,680rpm
Wheel power292.2 hp @ 4,089rpm368.2 hp @ 4,220rpm
BMW M340d dyno graph, stock vs DC Stage 1 Custom & xHP ST3
The dyno printout: stock in red, our Stage 1 + xHP ST3 in blue.

Watch the full dyno run

This is the final pull on our dyno, filmed from behind the car, from the start of the run right through to the end. Tap Sound on to hear it.

The final power run on our 4WD linked dyno: 412.7bhp and 867Nm.

More torque than an X5 M

BMW’s X5 M, with its 4.4 twin-turbo V8, makes 750Nm from the factory. Tuned, this M340d made 867Nm on our rollers, from its own B57.

BMW M340d B57 3.0 twin-turbo mild-hybrid diesel engine bay
B57 3.0 twin-turbo mild-hybrid diesel: ECU unlocked, health checked and logged before any tuning.

Where the gain is

The peak is only part of it. Tuned, this M340d holds over 800Nm from around 2,150 to 3,250rpm and over 700Nm from around 1,950 to 4,100rpm, with 100Nm or more extra torque from around 2,300rpm to the end of the run (up to 155Nm more at 2,800rpm). It stays above 400bhp from around 3,800 to 4,800rpm, with 70bhp or more extra power from around 3,800rpm to the end of the run. In normal driving that is the part you feel: it pulls harder through the mid-range and keeps pulling to the top.

The gearbox, tuned with the engine

xHP Stage 3 was flashed into the ZF 8-speed on the same visit. It removes the factory torque limiter and raises line pressure for the extra torque, with quicker shifts in D and harder, faster shifts in Sport and Sport+, so the engine and gearbox are calibrated as one package instead of two separate jobs.

BMW M340d front three-quarter on the rollers with the bonnet up
Baseline runs first: every calibration starts from the car’s own numbers.

Another B57 G20, calibrated on its own

This is the second G20 3 Series with the B57 in our customer builds. The 330d G20 made 332.0bhp and 734Nm; this M340d made 412.7bhp and 867Nm. Each calibration was built from the car’s own baseline on our dyno.

How it was done

Diagnostics and a health check first, then the ECU unlock, then baseline runs on our 4WD linked dyno with live data logging. The engine calibration was built from there with repeated runs, the gearbox was flashed with xHP Stage 3, and the final pulls verified the result. No generic files: a calibration written for this car, proven on our dyno.

BMW M340d headlight and front wheel on the dyno rollers
Tuned, verified and ready to go home.

Got an M340d or another B57? See our BMW M340d tuning page and B57 tuning page, check your car’s gains and price, or see the 330d G20 and the X5 40d mild hybrid we have tuned.

Ready When You Are

See What Your Car Will Make

Specialist BMW & VAG tuning, dyno-proven in Warrington. Check your exact gains and price, then book online.

See Your Car’s Gains & Price Book Your Remap

Car not listed, or after something specific? Get a free quote ›

Related Reading

All Tuning Guides