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 e7ac46c9ee BUG: add some forgotten mtools options 8 years ago
docs
mec-tools@07a1b14073
radare
t430.G1HT35WW.img.d
t430s.G7HT39WW.img.d
w530.G4HT39WW.img.d
x230.G2HT35WW.img.d
x230t.GCHT25WW.img.d
.gitignore
.gitmodules
8duj27us.iso.orig.sha1
LICENSE
Makefile
README
autoexec.bat.template
fix-hdd-image.patch
g1uj38us.iso.orig.desc
g1uj38us.iso.orig.sha1
g2uj23us.iso.orig.desc
g2uj23us.iso.orig.sha1
g4uj30us.iso.orig.desc
g4uj30us.iso.orig.sha1
g5uj28us.iso.orig.desc
g5uj28us.iso.orig.sha1
g7uj18us.iso.orig.desc
g7uj18us.iso.orig.sha1
gcuj24us.iso.orig.desc
gcuj24us.iso.orig.sha1
geteltorito
hexpatch.pl
n10ur10w.iso.orig.sha1
r02uj46d.iso.orig.sha1
slice.extract
slice.insert
t430.G1HT35WW.img.enc.slice
t430.G1HT35WW.img.orig.sha1
t430.G1HT35WW.s01D2000.FL2.slice
t430s.G7HT39WW.img.enc.slice
t430s.G7HT39WW.img.orig.sha1
t430s.G7HT39WW.s01D8000.FL2.slice
t530.G4HT39WW.img.d
t530.G4HT39WW.img.enc.slice
t530.G4HT39WW.img.orig.sha1
t530.G4HT39WW.s01D5100.FL2.slice
w530.G4HT39WW.img.enc.slice
w530.G4HT39WW.img.orig.sha1
w530.G4HT39WW.s01D5200.FL2.slice
x220.8DHT34WW.img.enc.orig.sha1
x220.8DHT34WW.img.enc.slice
x220.8DHT34WW.s01CB000.FL2.orig.sha1
x220.8DHT34WW.s01CB000.FL2.slice
x230.G2HT35WW.img.enc.slice
x230.G2HT35WW.img.orig.sha1
x230.G2HT35WW.s01D3000.FL2.orig.sha1
x230.G2HT35WW.s01D3000.FL2.slice
x230t.GCHT25WW.img.enc.slice
x230t.GCHT25WW.img.orig.sha1
x230t.GCHT25WW.s01DA000.FL2.slice
x250.N10HT17W.img.enc.slice
x250.N10HT17W.s01E5000.FL2.orig.sha1
x250.N10HT17W.s01E5000.FL2.slice
x260.R02HT29W.img.slice
x260.R02HT29W.s0AR0200.FL2.orig.sha1
x260.R02HT29W.s0AR0200.FL2.slice
xx30.encrypt

README

The main purpose of this software is to patch the EC on xx30 series thinkpads
to make the classic 7-row keyboards work.

With the patches included here, you can install the classic keyboard
hardware on many xx30 series laptops and make almost every key work properly.
The only keys that are not working are Fn+F3 (Battery) and Fn+F12 (Hibernate)

A full writeup of the hardware modifications needed can be found at:
    http://www.thinkwiki.org/wiki/Install_Classic_Keyboard_on_xx30_Series_ThinkPads


Step-by-step instructions:
--------------------------

This software expects to be run under Linux.

1. Ensure you have the normal packages needed for development work.
   On debian, this can be done with:

    apt-get install build-essential git

2. Ensure that a couple of tools and libraries needed by this system are
   also installed:

    apt-get install mtools libssl-dev

3. Clone a copy of this repo on to your computer:

    git clone https://github.com/hamishcoleman/thinkpad-ec

4. Change to the directory created by the clone:

    cd thinkpad-ec

5. Show the list of laptops and USB image file names:

    make list_laptops

6. Select the correct IMG name for your laptop.  E.G. "patched.x230.img" for
   the x230 laptop.

7. Make the fully patched iimage for this laptop (this will download
   the original file from Lenovo and patch it):

    make patched.x230.img

8. Insert your USB stick and determine what device name it has.
   This command should help you find the right device:

    lsblk -d -p -o NAME,SIZE,LABEL

9. Write the bootable patched image onto the USB stick device

   WARNING: if you do not have the right device name, you might overwrite
   your hard drive!

   sudo dd if=patched.x230.img of=/dev/sdb

Your USB stick is now ready to boot and install the patched firmware.

When you boot this, you will be prompted with information about the patch
and asked to confirm your laptop type.  It will then automatically flash
the patched firmware.


Notes:

* You can also create a bootable CDROM image for burning to a disk
  by asking for a ".iso" file in step 7 above.  Then you can use your
  normal CDROM burning tools to put this image on a blank cd and boot
  it up, skipping steps 8 and 9.

* More information for hacking on this can be found in the docs/HACKING.txt
  file.