I have a Lenovo Legion Y540-15IRH and I encountered a problem after updating the BIOS and changing several BIOS settings such as PTT, Secure Boot, and SGX. After that, the screen went completely black with no backlight, although the keyboard still lights up and I can change its brightness using the “Fn + Space” shortcut.
After doing some research, I found information suggesting that certain BIOS regions, particularly the NVRAM, may become corrupted in situations like this. Because of that, I decided to reflash the BIOS using a CH341A programmer.
However, I have run into another issue: the BIOS image available on Lenovo’s website is approximately 18,072,648 bytes in size, while the original BIOS dump from my chip is only 16,777,216 bytes (16 MB).
Does anyone know how I could recreate a BIOS image based on the latest version while keeping the final image size limited to 16 MB so that it can be flashed onto the chip?
Edit by Fernando: Thread moved into the “BIOS Problems” Category and title customized
Why did you choose to go to such deep intervention with a SPI programmer???
The bios/boot block was not corrupted for sure, to the point of using a programmer, Lenovo recovery should have be the choice…
Did you at least make a full reading/dump with the programmer and saved???
Lenovo files are updates not complete images for use in a programmer…why didn’t you research this before any writing with programmer???
Yes, I made several reads and backups of the BIOS chip and kept them in a safe place before proceeding. I also searched extensively for a BHCN45WW BIOS dump but was unable to find one.
I have attached a photo of the motherboard for reference.
I installed the file into the BIOS chip and the PC restarted as if by magic. I’m not using it yet because I still don’t have any thermal paste for the components.
Hi, You’re lucky the BIOS update contains a full image rather than an embedded BIOS region.
Since you made backups, you’ll need to copy the block starting at offset 632000h with a size of 2000h from your original backup and paste it into the new BIOS file you were given.
This will restore your DMI data (S/N, MTM, MAC, etc.) as well as your Windows key