Hello everyone,
It is not really a modding question in the first place but related: Not being able to restore a previously dumped BIOS drives me here.
[Sorry for the long details that follow later! And I had to slice my post due to new user limit
]
Typically, I do a BIOS backup/dump using the original tools provided by the manufacturer before I flash a new BIOS version (AFUWINx64.exe dump.rom /O). When trying to restore the old version after the update (for testing purposes), the original update package uses the command AFUWINx64.EXE imageM46.rom /p /b /n /r /sp /defans /capsule. I realized that it does not want to be flashed back, seeing the infamous Error 18: Secure flash verify fail - rendering the whole idea of a BIOS backup impossible.
My main questions are:
- for some advice on how to flash the previously dumped BIOS
- or what I have to change to let it flash ok (I am familiar with hex editing
) - or some insights how this failing check is performed and the mechanisms behind:
- Is it checked in the OEM flash tool (AFUWINx64 v5.09.02.1384.09)?
- Is there a signature stored in the BIOS file which is missing or does not match?
- How can this check be disabled? → Is it done on the board or in the flash tool?
Alternatively, if someone could provide me with the original Lenovo M46KT40A BIOS package (let’s call it v40 version for short) of a Thinkcentre M75t Gen2 (AMD Platform), it would work around my problem in an acceptable way as well. Since that is the version I can’t download or find online anymore. But it was the old version I updated in the first place and which I want to restore for testing.
However, I found the direct successor of that version still being online (M46KT41A, let’s call it the v41 version) and used that for some comparison of the original and the dumped BIOS files but I am not that familiar with the binary layout of the UEFI BIOSes and I’d be happy if someone with more experience could help with that. Of course, I dug through the forum and read the guides which seemed applicable here (AMI BIOS Aptio V platform), for example here (hxxps://winraid.level1techs.com/t/guide-how-to-flash-a-modded-ami-uefi-bios/30627) (bit old by now) and here (hxxps://winraid.level1techs.com/t/guide-manual-ami-uefi-bios-modding/22633/13) but the suggestions do not work as documented and I suppose, this stuff is developed further with fixes and better checks.
I’ll try to document my findings in the following.
For any insights into the mechanisms of the secure flash system, I’d be thankful - or just a copy of the original Lenovo M46KT40A BIOS package. (Btw, are there any systematic archives for BIOS files?)
Thanks for any help & best wishes!
Edit by Fernando: Title customized




