Skip to main content

ECU binary analysis and patching toolkit — diff, validate, and apply tuning recipes to automotive ECU binaries.

Project description

OpenRemap

CI Coverage PyPI Changelog License: MIT Python 3.14+ uv

Open-source ECU binary identification, diffing, and patching toolkit. Free alternative to the identification and binary-diff workflows locked inside WinOLS, ECM Titanium, and similar commercial tools.

Runs on your machine. No internet. No account. No data leaves your hands — ever.

OpenRemap TUI — Scan panel

Ready to try it? Jump to Install — one command on any platform.


The problem

ECU tuners work with raw binary files — .bin dumps read from engine control units. Every day they need to:

  1. Figure out what a binary is — which manufacturer, which ECU family, which software revision
  2. Compare two binaries — what exactly changed between a stock file and a tuned file
  3. Apply those changes to another file — take a known-good tune and patch it onto a different binary of the same ECU

Today, these tasks require expensive commercial software (€2,500–€8,000+), or manual hex-editor work with no audit trail and no safety net.

What OpenRemap does

OpenRemap is a free, offline, open-source toolkit that handles the binary analysis and patching pipeline:

Step Command What happens
Identify openremap identify ecu.bin Reads the binary and tells you: manufacturer, ECU family, software version, hardware number, calibration ID — plus a confidence score rating how likely the file is unmodified
Scan openremap scan ./bins/ Batch-identifies every binary in a folder. Sorts them into Bosch/EDC17/, Siemens/PPD/, etc. Flags suspicious files before you touch them
Cook openremap cook stock.bin tuned.bin Diffs two binaries byte-by-byte and produces a .remap recipe — a portable JSON file listing every changed byte with context anchors. Readable in any text editor, diffable in Git
Tune openremap tune target.bin recipe.remap Validates the recipe against the target binary, applies the patch, then verifies every byte landed correctly. All-or-nothing — partial patches never happen

What it does NOT do

  • Map editing — OpenRemap works at the byte level, not the map level. Use WinOLS or ECM Titanium to find and edit maps. Use OpenRemap to capture, share, and reapply those edits.
  • Checksum correction — you must run the output through WinOLS, ECM Titanium, or equivalent before flashing. Always.
  • ECU reading/writing — it operates on .bin files you already have.

Coverage

30 extractors across 4 manufacturers, covering ECUs from 1982 to present:

Manufacturer Families Examples
Bosch (18) EDC17, EDC16, EDC15, ME7, ME9, M5.x, M4.x, M3.x, M2.x, M1.x, MP9, ME1.5.5, LH-Jetronic, Mono-Motronic, and more VAG TDI, BMW, Volvo, PSA, Porsche, Alfa Romeo
Siemens (6) SIMOS, PPD, SID 801/803, Simtec 56, EMS2000 VAG petrol, PSA/Ford diesel, Volvo turbo
Delphi (2) Multec, Multec S Opel/Vauxhall diesel and petrol
Marelli (4) IAW 1AV, IAW 1AP, IAW 4LV, MJD 6JF Fiat, PSA, GM/Opel

→ Full reference: Bosch · Siemens · Delphi · Marelli


Confidence scoring

Every identification includes a confidence verdict — HIGH, MEDIUM, LOW, SUSPICIOUS, or UNKNOWN — built from multiple signals:

  • Detection strength — how rigorous the extractor's matching cascade is
  • Software version format — manufacturer-aware canonical format checking (Bosch 1037-prefixed, Delphi 8-digit GM-style, etc.)
  • Identity fields present — hardware number, calibration ID, ECU variant
  • Filename analysis — tuning keywords (stage2, dpf_off, egr_off) and generic names (1.bin) flag suspicious files
  • Family-aware scoring — ECU families that architecturally lack certain fields are never penalised for their absence

Full scoring breakdown


The recipe format

The .remap recipe is a self-contained JSON file. Every changed byte is listed with its offset, original value, modified value, and a context anchor — 32 bytes of surrounding data that let the patcher find the right location even if the binary has shifted slightly between software revisions.

Recipes are human-readable, Git-diffable, and shareable. No proprietary format, no binary blobs.

Recipe format specification


Install

Works on Windows, macOS, and Linux. One command to get started:

pip install openremap

Or with uv (recommended):

uv tool install openremap

Detailed guides:


Get started

openremap

That's it. The full terminal UI launches — identify files, scan folders, cook recipes, and apply tunes, all from one interface. No flags to memorise.

The complete CLI is still there when you need it:

openremap workflow    # Prints a plain-English guide with every step and command
openremap commands    # Quick reference for all available commands

Full CLI reference


Documentation


Contributing

Contributions are welcome — especially new ECU family extractors. See CONTRIBUTING.md.

License

MIT — see LICENSE.


⚠️ Checksum verification is mandatory. Before flashing any tuned binary to a vehicle, you must run it through a dedicated checksum correction tool (ECM Titanium, WinOLS, or equivalent). openremap tune confirms the recipe was applied correctly — it does not correct or validate ECU checksums. Flashing a binary with an incorrect checksum will brick your ECU.

⚠️ Research and educational use only. Any output produced by this software must be reviewed by a qualified professional before being flashed to a vehicle. The authors accept no liability for damage, loss, or legal consequences arising from its use. Read the full DISCLAIMER.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openremap-0.4.2.tar.gz (783.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openremap-0.4.2-py3-none-any.whl (366.3 kB view details)

Uploaded Python 3

File details

Details for the file openremap-0.4.2.tar.gz.

File metadata

  • Download URL: openremap-0.4.2.tar.gz
  • Upload date:
  • Size: 783.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for openremap-0.4.2.tar.gz
Algorithm Hash digest
SHA256 a161fd223d473df1058a7a66e3f3af5ae3b76d7d0fad7cacf0352d132f6d8687
MD5 f12b81b802062a5fa355157bf3f35fe2
BLAKE2b-256 a0c24ca3d092404bdbc926364726bf88c42d0bcc05f6043ea650c945ad44f946

See more details on using hashes here.

File details

Details for the file openremap-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: openremap-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 366.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for openremap-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ab822bf7054969f15324278cfcf2dfc476668555903435210ebd03a32751e7b
MD5 f88db84a40801b9b849b6425e38b1510
BLAKE2b-256 1f5e1a02af7e7ce7aea30b531878834e519b0efc544179db09bae55f371e6509

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page