mirror of
https://github.com/hamishcoleman/thinkpad-ec
synced 2024-11-16 06:12:48 +00:00
Merge pull request #4 from phlash/master
T430 BIOS 2.57 battery validation
This commit is contained in:
commit
2e29cd1e71
6
Makefile
6
Makefile
@ -15,6 +15,7 @@ list_laptops:
|
|||||||
$(info The following make targets are the supported usb images:)
|
$(info The following make targets are the supported usb images:)
|
||||||
$(info )
|
$(info )
|
||||||
$(info patched.t430.img - for patching Thinkpad T430)
|
$(info patched.t430.img - for patching Thinkpad T430)
|
||||||
|
$(info patched.t430.257.img - for patching Thinkpad T430 BIOS 2.57)
|
||||||
$(info patched.t430s.img - for patching Thinkpad T430s)
|
$(info patched.t430s.img - for patching Thinkpad T430s)
|
||||||
$(info patched.t530.img - for patching Thinkpad T530)
|
$(info patched.t530.img - for patching Thinkpad T530)
|
||||||
$(info patched.t530i.img - for patching Thinkpad T530i)
|
$(info patched.t530i.img - for patching Thinkpad T530i)
|
||||||
@ -39,6 +40,9 @@ really_clean: clean
|
|||||||
patched.t430.iso: g1uj38us.iso
|
patched.t430.iso: g1uj38us.iso
|
||||||
mv $< $@
|
mv $< $@
|
||||||
|
|
||||||
|
patched.t430.257.iso: g1uj25us.iso
|
||||||
|
mv $< $@
|
||||||
|
|
||||||
patched.t430s.iso: g7uj18us.iso
|
patched.t430s.iso: g7uj18us.iso
|
||||||
mv $< $@
|
mv $< $@
|
||||||
|
|
||||||
@ -237,6 +241,7 @@ endef
|
|||||||
|
|
||||||
# Hacky, non generic rules
|
# Hacky, non generic rules
|
||||||
$(call rule_fl2,t430.G1HT35WW.img.enc,t430.G1HT35WW.s01D2000.FL2)
|
$(call rule_fl2,t430.G1HT35WW.img.enc,t430.G1HT35WW.s01D2000.FL2)
|
||||||
|
$(call rule_fl2,t430.G1HT34WW.img.enc,t430.G1HT34WW.s01D2000.FL2)
|
||||||
$(call rule_fl2,t430s.G7HT39WW.img.enc,t430s.G7HT39WW.s01D8000.FL2)
|
$(call rule_fl2,t430s.G7HT39WW.img.enc,t430s.G7HT39WW.s01D8000.FL2)
|
||||||
$(call rule_fl2,t530.G4HT39WW.img.enc,t530.G4HT39WW.s01D5100.FL2)
|
$(call rule_fl2,t530.G4HT39WW.img.enc,t530.G4HT39WW.s01D5100.FL2)
|
||||||
$(call rule_fl2,w530.G4HT39WW.img.enc,w530.G4HT39WW.s01D5200.FL2)
|
$(call rule_fl2,w530.G4HT39WW.img.enc,w530.G4HT39WW.s01D5200.FL2)
|
||||||
@ -244,6 +249,7 @@ $(call rule_fl2,x230.G2HT35WW.img.enc,x230.G2HT35WW.s01D3000.FL2)
|
|||||||
$(call rule_fl2,x230t.GCHT25WW.img.enc,x230t.GCHT25WW.s01DA000.FL2)
|
$(call rule_fl2,x230t.GCHT25WW.img.enc,x230t.GCHT25WW.s01DA000.FL2)
|
||||||
|
|
||||||
$(call rule_iso,t430.G1HT35WW.s01D2000.FL2,g1uj38us.iso)
|
$(call rule_iso,t430.G1HT35WW.s01D2000.FL2,g1uj38us.iso)
|
||||||
|
$(call rule_iso,t430.G1HT34WW.s01D2000.FL2,g1uj25us.iso)
|
||||||
$(call rule_iso,x230.G2HT35WW.s01D3000.FL2,g2uj23us.iso)
|
$(call rule_iso,x230.G2HT35WW.s01D3000.FL2,g2uj23us.iso)
|
||||||
$(call rule_iso,t530.G4HT39WW.s01D5100.FL2,g4uj30us.iso)
|
$(call rule_iso,t530.G4HT39WW.s01D5100.FL2,g4uj30us.iso)
|
||||||
$(call rule_iso,w530.G4HT39WW.s01D5200.FL2,g5uj28us.iso)
|
$(call rule_iso,w530.G4HT39WW.s01D5200.FL2,g5uj28us.iso)
|
||||||
|
1
g1uj25us.iso.orig.desc
Normal file
1
g1uj25us.iso.orig.desc
Normal file
@ -0,0 +1 @@
|
|||||||
|
t430 BIOS 2.57
|
1
g1uj25us.iso.orig.sha1
Normal file
1
g1uj25us.iso.orig.sha1
Normal file
@ -0,0 +1 @@
|
|||||||
|
759e27829c13d591b097cbda2f34843265ef8813 g1uj25us.iso.orig
|
38
t430.G1HT34WW.img.d/001_battery_validate.patch
Normal file
38
t430.G1HT34WW.img.d/001_battery_validate.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
Replicates the battery validation patch from zmatt, for a T430 with
|
||||||
|
the 2.57 (G1ET97WW) / 1.12 (G1HT34WW) BIOS pair
|
||||||
|
|
||||||
|
Tested on my laptop: Phlash
|
||||||
|
|
||||||
|
@@ -7213,14 +7213,14 @@
|
||||||
|
0001c2c0 04 10 f8 16 01 11 42 29 00 02 d8 1e 02 10 d9 1e |......B)........|
|
||||||
|
0001c2d0 42 10 1e ff 42 28 01 02 da 1e 42 10 db 1e 02 10 |B...B(....B.....|
|
||||||
|
0001c2e0 c9 70 0a d9 3c da 04 db 18 f1 c4 16 01 10 c7 09 |.p..<...........|
|
||||||
|
-0001c2f0 5e 80 c7 16 81 10 8c e9 88 e0 ca 21 81 0f 00 00 |^..........!....|
|
||||||
|
+0001c2f0 5e 80 c7 16 81 10 e0 78 88 e0 ca 21 81 0f 00 00 |^......x...!....|
|
||||||
|
0001c300 64 00 0c 0d 21 f2 ca 20 c1 03 0d f0 05 8e 01 e0 |d...!.. ........|
|
||||||
|
0001c310 0f 78 88 e0 4e 02 2a 00 05 ae 07 d8 c5 03 20 00 |.x..N.*....... .|
|
||||||
|
0001c320 04 ae 7f 02 20 00 04 8e c9 70 0b d9 eb 05 ef ff |.... ....p......|
|
||||||
|
0001c330 3c da c5 16 82 10 55 26 43 1c 59 63 58 63 32 89 |<.....U&C.YcXc2.|
|
||||||
|
0001c340 10 88 00 23 90 00 08 b9 00 21 04 00 58 63 13 88 |...#.....!..Xc..|
|
||||||
|
0001c350 59 63 31 89 2f 24 08 01 08 b8 38 60 10 78 88 71 |Yc1./$....8`.x.q|
|
||||||
|
-0001c360 f6 0d 2f f3 f8 16 02 11 0b 08 51 00 00 86 83 b8 |../.......Q.....|
|
||||||
|
+0001c360 f6 0d 2f f3 f8 16 02 11 4a 26 00 70 00 86 83 b8 |../.....J&.p....|
|
||||||
|
0001c370 24 f0 10 10 80 20 11 10 81 20 08 b8 38 60 12 10 |$.... ... ..8`..|
|
||||||
|
0001c380 81 20 10 78 13 10 82 20 08 b9 59 61 30 79 02 0e |. .x... ..Ya0y..|
|
||||||
|
0001c390 2f f3 f8 16 02 11 0f 08 51 00 00 86 45 20 00 0a |/.......Q...E ..|
|
||||||
|
@@ -7236,13 +7236,13 @@
|
||||||
|
0001c430 04 f4 13 00 20 00 b2 d1 b0 d0 21 80 14 6a 58 60 |.... .....!..jX`|
|
||||||
|
0001c440 14 79 4a 24 40 74 56 26 c2 16 a8 20 c0 01 01 11 |.yJ$@tV&... ....|
|
||||||
|
0001c450 80 04 01 1a 12 00 c9 70 0a d9 27 da bd 04 ef ff |.......p..'.....|
|
||||||
|
-0001c460 11 db c4 16 00 10 e1 b8 25 f3 c7 16 80 10 88 e8 |........%.......|
|
||||||
|
+0001c460 11 db c4 16 00 10 e1 b8 25 f3 c7 16 80 10 e0 78 |........%......x|
|
||||||
|
0001c470 e9 70 9e 0b 2f f2 8a 21 0f 0a 55 f1 05 8e 01 e0 |.p../..!..U.....|
|
||||||
|
0001c480 0f 78 69 08 33 02 05 ae 2e f0 e2 0c 2f f2 e9 70 |.xi.3......./..p|
|
||||||
|
0001c490 81 e0 11 f5 47 f1 c9 70 0b d9 7f 04 ef ff 28 da |....G..p......(.|
|
||||||
|
0001c4a0 08 16 c2 10 8c 22 ff 8f 04 f4 17 00 20 00 95 d1 |....."...... ...|
|
||||||
|
0001c4b0 92 d0 34 6a 59 61 3b 79 01 80 11 e0 19 61 6e 0f |..4jYa;y.....an.|
|
||||||
|
-0001c4c0 ef fe 56 26 c0 16 89 e8 00 86 a4 b8 00 a6 14 d8 |..V&............|
|
||||||
|
+0001c4c0 ef fe 56 26 c0 16 e0 78 00 86 a4 b8 00 a6 14 d8 |..V&...x........|
|
||||||
|
0001c4d0 0f 02 20 00 04 ae 06 16 c0 10 61 b8 0d 78 0d 08 |.. .......a..x..|
|
||||||
|
0001c4e0 72 00 06 ae 0e d8 f6 f1 00 86 84 b8 f0 f1 a5 ae |r...............|
|
||||||
|
0001c4f0 05 d8 04 ae c9 70 ad fd e9 01 00 00 21 96 15 d8 |.....p......!...|
|
1
t430.G1HT34WW.img.enc.slice
Normal file
1
t430.G1HT34WW.img.enc.slice
Normal file
@ -0,0 +1 @@
|
|||||||
|
t430.G1HT34WW.s01D2000.FL2.orig 0x00500000 196608
|
1
t430.G1HT34WW.img.orig.sha1
Normal file
1
t430.G1HT34WW.img.orig.sha1
Normal file
@ -0,0 +1 @@
|
|||||||
|
d3fde28cbdcb628da23ff30ee6c4a57d976700bf t430.G1HT34WW.img.orig
|
1
t430.G1HT34WW.s01D2000.FL2.slice
Normal file
1
t430.G1HT34WW.s01D2000.FL2.slice
Normal file
@ -0,0 +1 @@
|
|||||||
|
g1uj25us.iso.orig 0xb85a00 12718080
|
Loading…
Reference in New Issue
Block a user