thinkpad-ec is a community effort to study and patch the embedded controller (EC) firmware used in certain classic Lenovo ThinkPad models. The EC is a tiny microcontroller that governs low-level features such as keyboard scan codes, fan behavior, battery checks, and thermal policies—things the operating system can’t normally change. This project documents the EC’s layout and provides tooling to extract, analyze, and modify EC images so users can apply specific fixes or enhancements. Common goals include disabling restrictive battery “whitelists,” improving or customizing fan curves, and enabling alternative keyboard mappings on models that enthusiasts mod with classic keyboards. Because EC flashing carries real risk (a bad image can brick a laptop), the repository emphasizes clear build instructions, safety notes, and ways to recover when possible.

Features

  • Enables analysis and patching of ThinkPad EC firmware via low-level access
  • Supports constructing patched EC firmware images (*.img) for specific models like X230
  • Tools to compute checksums and handle EC-specific encryption/validation mechanisms
  • Infrastructure to integrate EC modifications into BIOS update workflows
  • Trusted by communities for moderate-risk firmware modifications when handled safely
  • Open-source and hardware-specific; aimed at advanced users with ThinkPad expertise

Project Samples

Project Activity

See All Activity >

Categories

System

License

GNU General Public License version 3.0 (GPLv3)

Follow thinkpad-ec

thinkpad-ec Web Site

Other Useful Business Software
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of thinkpad-ec!

Additional Project Details

Operating Systems

Linux

Programming Language

Perl

Related Categories

Perl System Software

Registered

2025-09-10