You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Hamish Coleman 7199f87771 Start extracting the FL2 files, and use that as the basis for extracting the firmware. This will allow us to update or diff against the FL2 file 8 years ago
mec-tools@5e30f2bf7d Add x230 image and infrastructure 8 years ago
radare Some more minor duplicate label cleanups in the x230 radare project 8 years ago
t430.G1HT35WW.img.d Add patches for t430 8 years ago
t430s.G7HT39WW.img.d Replicate the x230 keyboard patches on the t430s 8 years ago
x230.G2HT35WW.img.d Add two more patches, and a way to get a pre-patched bin, ready to hack on 8 years ago
.gitignore Continue to make filenames more consistant, and ignore the generated outputs 8 years ago
.gitmodules Add x230 image and infrastructure 8 years ago
8duj27us.iso.orig.sha1 Use the same orig tail filename everywhere 8 years ago
LICENSE Add License details 8 years ago
Makefile Start extracting the FL2 files, and use that as the basis for extracting the firmware. This will allow us to update or diff against the FL2 file 8 years ago
README Quick Fix the wording to make more sense 8 years ago
g1uj38us.iso.orig.sha1 Add t430 downloader and extractor 8 years ago
g2uj23us.iso.orig.sha1 Use the same orig tail filename everywhere 8 years ago
g7uj18us.iso.orig.sha1 Add details for downloading the t430s firmware 8 years ago
hexpatch.pl Add License details 8 years ago
slice.extract BUG: make slicer work when input file is larger then offset, also it is now more optimised 8 years ago
t430.G1HT35WW.img.enc.slice Make things a little simpler by shortening some filenames 8 years ago
t430.G1HT35WW.img.orig.sha1 Add t430 downloader and extractor 8 years ago
t430s.G7HT39WW.img.enc.slice Make things a little simpler by shortening some filenames 8 years ago
t430s.G7HT39WW.img.orig.sha1 Add details for downloading the t430s firmware 8 years ago
x220.8DHT34WW.img.enc.orig.sha1 Update slice definition for x220 reference code as it was incorrect 8 years ago
x220.8DHT34WW.img.enc.slice Start extracting the FL2 files, and use that as the basis for extracting the firmware. This will allow us to update or diff against the FL2 file 8 years ago
x220.8DHT34WW.s01CB000.FL2.orig.sha1 Start extracting the FL2 files, and use that as the basis for extracting the firmware. This will allow us to update or diff against the FL2 file 8 years ago
x220.8DHT34WW.s01CB000.FL2.slice Start extracting the FL2 files, and use that as the basis for extracting the firmware. This will allow us to update or diff against the FL2 file 8 years ago
x230.G2HT35WW.img.enc.slice Start extracting the FL2 files, and use that as the basis for extracting the firmware. This will allow us to update or diff against the FL2 file 8 years ago
x230.G2HT35WW.img.orig.sha1 Ensure we have an original file left around to diff against later 8 years ago
x230.G2HT35WW.s01D3000.FL2.orig.sha1 Start extracting the FL2 files, and use that as the basis for extracting the firmware. This will allow us to update or diff against the FL2 file 8 years ago
x230.G2HT35WW.s01D3000.FL2.slice Start extracting the FL2 files, and use that as the basis for extracting the firmware. This will allow us to update or diff against the FL2 file 8 years ago
xx30.encrypt Add License details 8 years ago

README

This repository consists of a number of tools and utilities for examining and
modifying Thinkpad Embedded Controller firmware.

Including:
*   radare projects with partial disassembly of several thinkpads EC firmware
*   scripts for downloading the ISO image and extracting the firmware
*   script for patching the firmware
*   documentation on the tables found in the firmware (TODO)

Quick Start:

    To fetch the firmware from Lenovo, extract, decrypt and patch
    it, ready for more patching, choose one of:

        make x230.G2HT35WW.img
        make t430s.G7HT39WW.img

    To update the checksums and encrypt the patched firmware, ready to
    be inserted into the FL2 file, choose one of:

        make x230.G2HT35WW.img.enc
        make t430s.G7HT39WW.img.enc

    To re-insert the EC firmware into the bios flash file, use a command
    similar to the following:

        dd if=x230.G2HT35WW.img.enc of=\$01D3000.FL2 conv=notrunc bs=4096 seek=1280

    To update your firmware, prepare a DOS boot disk with the FL2 file and
    the dosflash.exe utility and then use a command similar to:

        dosflash /sd /ipf ec /file $01D3000.FL2

References:
    http://forum.thinkpads.com/viewtopic.php?f=69&t=120776
    http://www.thinkwiki.org/wiki/Install_Classic_Keyboard_on_xx30_Series_ThinkPads#Experimental_X230_Embedded_Controller_Mod
    http://www.zmatt.net/unlocking-my-lenovo-laptop-part-3/