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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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