hobbit19 / thinkpad-firmware-patches

Collection of ThinkPad UEFI patches.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThinkPad UEFI firmware patches collection

Applying

Dump your firmware with an SPI flasher and or get a bios region binary from Lenovo. Comment/Uncomment wanted patches in patches file for your model. Use LongSoft's UEFIPatch to apply them to your rom. To get a working TPM use Thrimbor's uefi-sign for xx20, xx30, and xx40 ThinkPads. For soldered xx40, xx50 and xx80 replace 4C 4E 56 42 42 53 45 43 FB with 4C 4E 56 42 42 53 45 43 FF on the previously patched binary, and sibrazdic's utility for other machines.

Compatibility WIP

Model/Series Supported Notes TPM
T430 Yes Internal flash Yes
T530 Yes Internal flash Yes
T430s Yes Internal flash Yes
W530 Yes Internal flash Yes
X230 Yes Internal flash Yes
X230t Yes Different Whitelist patch, Internal flash Yes
X131e Yes Different Whitelist patch ?
L430/L530 WIP Shared board and firmware, Internal flash ?
X1C1 ? N/A Yes
T440p Yes N/A Yes
W540/W541 Yes Different stock trackpad and PS/2 ID Yes
T540p Yes N/A Yes
T440 Yes N/A No
T440s Yes N/A No
X240 Yes N/A No
X1C2 ? N/A No
L540 Yes N/A ?
L440 Probably Shared firmware with L540 ?
T450s Yes N/A No
T450 Probably N/A No
T550/W550s Probably Shared board No
X250 ? N/A No
X1C3 ? N/A No
T460 Yes N/A No
T460s Probably N/A No
T560/P50s No Shared board No
X260 ? N/A No
X1C4 ? N/A No
T470 Yes Flash chip next to SOC, Don't touch memory settings No
T470s Probably N/A No
T570/P51s Probably Shared board No
X270 Yes N/A No
X1C5 ? N/A No
T480 Yes Flash chip next to SOC, Don't touch memory settings No
A485 Yes N/A Yes
A285 Yes N/A Yes
T480s Yes N/A No
T580/P52s Probably Shared board No
X280 Probably N/A No
X380Y Yes N/A No
X1C6 Yes Don't touch memory settings No
X1Y2 Yes Flash chip near LTE card, Don't touch memory settings No
T490/T590/P43s/P53s No Shared board ?
T495 Probably N/A Yes
T490s/X390 No Shared board ?
T495s/X395 Yes Shared board Yes
X1C7 No N/A No
T14/T15/P14s/P15s Intel 1st gen No Shared board ?
T14/P14s AMD 1st gen Testing needed Shared Board ?
T14s/X13 Intel 1st gen No Shared board ?
T14s/X13 AMD 1st gen No Shared board ?
X1C8 No N/A No
T14/T15/P14s/P15s Intel 2nd gen No Shared board ?
T14/P14s AMD 2nd gen No Shared Board ?
T14s/X13 Intel 2nd gen No Shared board ?
T14s/X13 AMD 2nd gen No Shared board ?
X1C9 No N/A No

Reporting comaptibility

Open a new issue with the following table:

Model T430
Patchset Default for generation
TPM Yes, thinkpad-uefi-sign
Notes DDR3-1066/800 speed limiter makes machine unbootable and is a non-volatile setting

Submitting patchset

Open a pull request with the patchset added and the following table in comment:

Model X131e
TPM Haven't tested
Notes Different whitelist patch

Patches are standard UEFIPatch format, mention what it does, what machine it is for, who made it(your name if you did, if you found it on a forum mention OP's name) for special patchsets make sure they are uncommented by default. Example:

# LenovoWmaPolicyDxe | WL removal | ripped from nephiel | x131e 3.01
# uncomment to use
#79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:100BC841390B0F84:100BC841390B90E9 
#79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:00000045390B0F84:00000045390B90E9 
#79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:100BC841394B0474:100BC841394B04EB 
#79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:0F846CFFFFFFEBAF:9090909090909090

What does it mean "TPM yes?", or "Internal flash".. etc

Check out this comment for clarification on TPM and Internal flashing.

Credits

xx paranoidbashthot dudu2002 leokim nephiel

About

Collection of ThinkPad UEFI patches.

License:Do What The F*ck You Want To Public License