BMW M340i
Vehicle-specific tuning page for selected G20 sedan and G21 Touring configurations.
Tune a supported BMW M340i G20 sedan or G21 Touring with the MG Flasher app. Check B58 ECU compatibility, unlock requirements, Stage 1 and Stage 2 OTS maps, supported vehicle features, connection hardware and license options before flashing.
MG Flasher supports selected BMW M340i configurations. Exact availability must be confirmed from the connected vehicle because ECU software and security can vary between production years, markets and software-update histories.
Vehicle-specific tuning page for selected G20 sedan and G21 Touring configurations.
MG Flasher tuning availability depends on the exact B58 ECU and supported software release.
The app identifies whether the connected DME is ready for OBD flashing or requires an external unlock service.
Use a supported iOS, Android or Windows device with a compatible ENET connection.
Use Check Support before purchasing. This prevents choosing a license or map before the app has identified the vehicle software and unlock requirements.
The BMW M340i combines the G20 or G21 platform with BMW’s turbocharged B58 inline-six engine. On a supported ECU, MG Flasher provides an app-based workflow for identifying the vehicle, selecting a compatible calibration, flashing the DME and accessing supported tuning and diagnostic functions.
Map availability, output, fuel requirements and advanced features depend on the exact ECU software, selected calibration, vehicle condition, hardware and license. The connected app remains the final source for vehicle-specific support.
The available map list is generated for the connected vehicle. Choose only a calibration that matches the required fuel, hardware, ECU software and vehicle condition.
Restore supported factory ECU software when required through the MG Flasher workflow. Unlock state and restoration behaviour depend on the exact ECU.
Factory calibration pathA supported Stage 1 OTS map is selected according to the available fuel grade, ECU software and map package shown for the connected M340i.
Fuel and support dependentA supported Stage 2 calibration can require specific hardware, fuel and legal-use conditions. Follow the requirements displayed for the exact map before flashing.
Hardware and regulation dependentOutput varies with the map version, fuel, hardware, dyno method, environment and vehicle condition. Fixed horsepower or torque gains should not be promised for every BMW M340i.
A stage name alone is not enough to select a calibration. Review the complete setup before flashing an M340i.
Use the fuel type or octane specified for the selected calibration.
Install and verify any hardware explicitly required by the selected map.
Resolve faults, maintenance issues and charging-system concerns before flashing.
Use Check Support to confirm the compatible map and unlock workflow.
ENET WiFi is the recommended connection method for the MG Flasher mobile workflow. Plug the adapter into the vehicle’s OBD port, connect the supported device and use the app to identify the ECU before purchasing or flashing.
Select a method to update the BMW M340i setup process shown below.
Recommended ENET WiFi workflow for a supported BMW M340i G20 or G21.
Connect the vehicle and identify ECU software, security, unlock requirements and available products.
Use a compatible adapter and supported device to establish communication with the vehicle.
Maintain stable battery voltage and switch off unnecessary electrical loads before flashing.
Match the map to fuel, hardware, ECU support and intended legal use.
Follow the app instructions, allow the process to finish and review the vehicle after completion.
The exact feature list is generated from the connected ECU and installed software. These pages explain the major MG Flasher functions that may be available on a compatible M340i setup.
Review supported Stage 1 and Stage 2 map workflows for compatible vehicles.
Explore OTS Maps → 02Change between valid map slots without a full reflash where supported.
Explore Switchable Maps → 03Adjust supported On-The-Fly settings directly from the connected app.
Explore Live Control → 04Record supported engine and vehicle data for review and troubleshooting.
Explore Logger → 05Read ECU information, diagnostic trouble codes and supported service functions.
Explore Diagnostics → 06Learn how compatible DME software enables advanced controls and integrations.
Explore Custom Code →
Availability depends on ECU software, Custom Code version, map package, hardware and license.
A flashing license is required for supported ECU flashing. OTS maps and packages depend on the exact vehicle. Connect first with compatible ENET hardware, run Check Support and then choose the product shown for the identified BMW M340i.
Compare other vehicle pages built around supported B58 engine configurations.
Explore B58 ECU tuning for selected second-generation M240i configurations.
View Vehicle → BMW · G22/G23/G26Review B58 tuning support for selected M440i body styles and ECU software.
View Vehicle → Toyota · A90/A91Explore MG Flasher support for selected Toyota GR Supra B58 platforms.
View Vehicle →Vehicle tuning and software modifications can be restricted by emissions, noise, road-use, insurance or motorsport regulations. A compatible feature or map does not confirm that it is legal for public-road use in every location.
Follow the fuel, hardware and operating requirements for the selected calibration. The vehicle owner and user remain responsible for legal compliance, vehicle condition and safe operation.
Answers to common BMW M340i G20 and G21 tuning questions.
MG Flasher supports selected BMW M340i G20 and G21 vehicles. Exact compatibility depends on the connected ECU software, security level, model configuration and available MG Flasher products.
The BMW M340i G20 and G21 use a turbocharged B58 inline-six engine. MG Flasher support must still be confirmed for the exact ECU software installed in the vehicle.
Stage 1 OTS maps may be available for a supported M340i. The connected app shows the compatible map list and required fuel for the identified ECU.
Stage 2 maps may be available for compatible M340i configurations. Use only a map that matches its stated hardware, fuel, ECU and legal-use requirements.
Output depends on the exact map, fuel, hardware, vehicle condition, environment and measurement method. Use only verified “up to” figures supplied for the specific calibration; one fixed gain cannot be promised for every M340i.
Unlock requirements depend on the DME software and security level. Connect with MG Flasher and run Check Support to identify whether the ECU is ready for OBD flashing or requires an external unlock service.
Yes, on a supported setup. MG Flasher supports compatible iOS and Android devices using an ENET connection. A Windows app is also available for supported desktop workflows.
A compatible ENET WiFi adapter is recommended. A wired ENET cable can be used as a legacy fallback with a compatible device and the required network hardware.
Supported stock-restoration workflows are available through MG Flasher. The exact result, unlock state and procedure depend on the connected ECU and its previous unlock method.
Feature availability depends on the ECU software, map package, Custom Code version, hardware and license. Connect the vehicle to see the exact list supported by that configuration.
Download MG Flasher, connect through compatible ENET hardware and identify the exact maps, features, unlock requirements and license options available for your BMW M340i.
