This replicates the first of the two patches that the original mec-tools author needed to do to get his aftermarket battery to validate. There is a second battery validation function, but he does not spell out the code around that function - and as I have genuine batteries at the moment, I didnt want to go looking for it. See http://www.zmatt.net/unlocking-my-lenovo-laptop-part-3/ @@ battery_validate @@ 0001c850 43 1c 59 63 58 63 32 89 10 88 00 23 90 00 08 b9 |C.YcXc2....#....| 0001c860 00 21 04 00 58 63 13 88 59 63 31 89 2f 24 08 01 |.!..Xc..Yc1./$..| 0001c870 08 b8 38 60 10 78 88 71 de 08 2f f3 f8 16 02 11 |..8`.x.q../.....| -0001c880 0b 08 51 00 00 86 83 b8 24 f0 10 10 80 20 11 10 |..Q.....$.... ..| +0001c880 4a 26 00 70 00 86 83 b8 24 f0 10 10 80 20 11 10 |J&.p....$.... ..| 0001c890 81 20 08 b8 38 60 12 10 81 20 10 78 13 10 82 20 |. ..8`... .x... | 0001c8a0 08 b9 59 61 30 79 ea 08 2f f3 f8 16 02 11 0f 08 |..Ya0y../.......| 0001c8b0 51 00 00 86 45 20 00 0a 0e f0 05 8e 01 e0 0f 78 |Q...E .........x|