
The M340i is the car this whole engine family is built around: the single most popular B58 Gen 2 chassis worldwide, xDrive as standard in most markets, and about as close as you can get to M3 performance without paying M3 money. Samuel tunes more of these than any other B58 Gen 2 car, and the map is proven across a huge range of builds.

| Stage | Target | Price |
|---|---|---|
| Stage 1 | 440 bhp · 680 Nm | £399 · £499 dyno |
| Stage 2 | 480 bhp · 700 Nm | £399 · £499 dyno |
| Stage 2+ | Power and torque confirmed on our dyno for your car | £399 · £499 dyno |
| Stage 3, Hybrid Turbo | 550-1000 bhp depending on spec | £1,000 dyno only |
| Stage 3, Big Turbo Kit | 550-1000 bhp depending on spec | POA |
The G20 saloon and G21 Touring M340i, on sale since 2019, is BMW's M-Performance take on the 3 Series, running the B58 Gen 2 with 374 bhp and 500 Nm from the factory through the ZF 8HP, with xDrive fitted as standard across most markets. It's the most popular single chassis running the B58 Gen 2 anywhere in the world, which means it's also the most thoroughly proven platform for tuning in this whole family, with far more real-world builds behind the calibration than any of its stablemates. Saloon and Touring share the identical drivetrain and respond to the same map. For a lot of buyers the M340i sits as the sensible answer to "I want M3 performance without M3 money", and tuning only widens that gap.
As the most popular B58 Gen 2 chassis on the road, the M340i's tuning path is the most extensively proven in this entire family, built on more real-world logs and feedback than any other car here. 374 bhp and 500 Nm climbs to 440 bhp and 680 Nm at Stage 1, £399 (£499 dyno tuned) and a remap alone, and with xDrive putting that torque down through all four wheels, the increase translates into traction most rear-drive cars on this engine can't match. Add a downpipe (OPF delete on 2018-onward cars) and an upgraded intake and Stage 2 reaches 480 bhp and 700 Nm for £399 (£499 dyno tuned) on top of parts; at this point the M340i is genuinely encroaching on the performance territory BMW's own M cars occupy. Turbo hardware is what opens the ceiling from here: a hybrid turbo build or a full big turbo kit, alongside the fuel pump and port injection upgrades a build calls for, reach 550-1000 bhp depending on spec, figures that put a tuned M340i well past what any factory M3 makes stock. Every stage is calibrated by Samuel on the in-house 4WD dyno, with Stage 1 and Stage 2 fully reversible to the factory file.
The M340i's Stage 1 is a straightforward remap, £399 (£499 dyno tuned), no hardware, lifting 374 bhp and 500 Nm to 440 bhp and 680 Nm. With standard-fit xDrive putting all that extra torque down through four driven wheels rather than two, the M340i converts this stage into real acceleration more consistently than most of the rear-drive cars sharing the same engine and figures.
A downpipe (with OPF delete on 2018-onward cars) and an upgraded intake bring the M340i's Stage 2 map to 480 bhp and 700 Nm for £399 (£499 dyno tuned) on top of parts. Given how popular this chassis is, this stage in particular has been logged and refined against more real-world M340i builds than any other B58 Gen 2 car in Samuel's records, and it's the point where most owners describe the car as feeling genuinely M-car quick.
A hybrid turbo, fitted alongside the downpipe, OPF delete and intake, takes the M340i into the 550-1000 bhp bracket depending on spec, for £1,000 on top of hardware. With xDrive as standard, this is one of the strongest cars in the whole family to run big power through, since traction rarely becomes the limiting factor the way it can on a rear-drive-only build.
POA, because every build is different: the M340i's outright ceiling comes from a full big turbo kit, upgraded fuel pump and port injection where the build needs it, on top of the downpipe, OPF delete and intake, reaching 550-1000 bhp depending on spec. As the most-built car on this engine, the M340i's big turbo route benefits from the widest base of proven setups in the family, though the final parts list and target figure are still worked out individually with Samuel for every build.
The B58 Gen 2 is BMW's revised single-turbo 3.0-litre straight-six, the update to the B58 that's been running through the marque's six-cylinder range since 2015. Gen 2 arrived from 2018/2019 depending on model, bringing a closed-deck block, a twin-scroll turbocharger, and a factory calibration that pushes more power and torque out of the same basic architecture than the Gen 1 cars saw from the factory. Most Gen 2 cars run BMW's MG1CS003 ECU, and on later, OPF-equipped models the exhaust gains a petrol particulate filter that Stage 2 and above typically remove alongside the standard downpipe.
Across this family the same engine, gearbox (ZF's 8HP automatic in every car here) and ECU turn up in saloons, estates, coupes, convertibles, Gran Coupes, SUVs, a roadster and a Toyota. That shared hardware is why the tuning story is consistent: Stage 1 is a pure remap using the stock turbo, injectors and fuelling system, and gets every car in this family to roughly 440 bhp and 680 Nm with no parts needed. Stage 2 adds a downpipe (with OPF delete where fitted) and an intake to feed the extra airflow, landing around 480 bhp and 700 Nm. Beyond that, the ceiling is set by hardware rather than software: a hybrid turbo upgrade or a full big turbo kit, alongside a fuel pump upgrade and, where applicable, port injection, is what takes these cars into the 550-1000 bhp bracket, with the final number depending on the exact spec built.
Every stage is calibrated by Samuel on the in-house 4WD dyno at the Manchester workshop, using the car's own logs rather than an off-the-shelf file, and every Stage 1 and Stage 2 map is fully reversible.
Bootmod3 (BM3): Bootmod3 is the primary platform Samuel uses for B58 Gen 2 calibration. It's app-based, self-flash, and supports everything from an off-the-shelf Stage 1 map through to a fully custom file built around your specific hardware, with data logging built in for the tuning process itself.
MHD: MHD is the other route Samuel actually calibrates on for BMW-badged B58 Gen 2 cars (it isn't available for the Toyota Supra). Like BM3 it's a self-flash phone app, and Samuel builds custom maps on it exactly as he does on BM3, so the choice mostly comes down to which app you'd rather run day to day.
MG Flasher: There's no verified MG Flasher support for the B58 Gen 2 in Samuel's build data, so it isn't currently a route offered on this engine. If that changes, this section will be updated rather than guessed at.
xHP: The B58 Gen 2 in this family runs behind the ZF 8HP automatic, and xHP gearbox tuning is a worthwhile companion to an engine remap: it sharpens shift response and raises the transmission's torque limits to suit the extra power, and Samuel can advise on it alongside your ECU package.
Scroll through each stage — your Bapro dyno report fills in as we work, from the first health check to the final validated power run.
Calibration and dyno runs are repeated over several passes until the numbers are right.
Full vehicle scan and mechanical health check before any work begins.
Stock power and torque measured on the four-wheel-drive dyno.
Original calibration read from the ECU and safely backed up.
A bespoke map written for your specific vehicle and goals.
Repeated pulls with live data logging to validate and refine the map.
Confirmation run, road test and a before/after dyno printout.
Not sure which stage or method suits your car? Send us a message and we’ll talk it through.