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.10+ uv

Python library and CLI for ECU binary identification, diffing, and patching. Embed it in your application, automate it in a pipeline, or run it from the terminal.

🌐 openremap.com — full documentation, guides, and changelog.

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.


What it is

OpenRemap is a Python library first, CLI second. The same pipeline that powers the command-line tool is fully available as importable services — no subprocess, no parsing stdout.

from openremap.core.services.identifier import identify_ecu
from openremap.core.services.confidence import score_identity
from openremap.core.services.patcher    import ECUPatcher

data     = open("ecu.bin", "rb").read()
identity = identify_ecu(data, filename="ecu.bin")
result   = score_identity(identity)

print(f"{identity['ecu_family']}  {result.tier}")  # EDC17  High

All services accept bytes and dict — no file paths, no hidden state, trivial to test and wrap in an API endpoint or a desktop app.

Full integration guide


The problem

ECU work revolves around three tasks that today require expensive commercial software (€2,500–€8,000+) or manual hex-editor work with no audit trail:

  1. Identify a binary — manufacturer, ECU family, software revision, confidence score
  2. Diff two binaries — what changed between a stock file and a tuned file, captured as a portable recipe
  3. Apply a recipe to another binary — validate, patch, and verify — all-or-nothing

Whether you are building a tuning application, automating a workflow, or just need a reliable offline tool — OpenRemap gives you a clean Python API and a full CLI for all three.

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.4.tar.gz (855.2 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.4-py3-none-any.whl (375.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openremap-0.4.4.tar.gz
  • Upload date:
  • Size: 855.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.4.tar.gz
Algorithm Hash digest
SHA256 05d583751599ea748c234e57c2586130f9efa4f2ee2668156cbe1bab3e666fb8
MD5 684ece72fd989205c5942d916db6f929
BLAKE2b-256 a855e365bdb104168e3f2ae4aa11c87a177121807bdbdfb79506f077bfbaebcc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openremap-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 375.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8eac43bba66baee95341c2ca54e1204850d5835b17f72e65490c65626af56d05
MD5 67efad4120b2c7700a4cb20d7c30c921
BLAKE2b-256 28e02fe9f5a9f2fe90147fc92d83071b983b5e72ec075a9fb38397262c0c1af0

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