Lenovo Legion Y540-15IRH BIOS Recovery

Hello everyone!

My friend bricked his Lenovo Legion Y540-15IRH by shutting it down, I tried to download the latest bios and program it but the bios file is bigger than the bios chip.

So I found some steps for a Lenovo Y740 to grab the bios region, I tried to write the bios region to the chip, it fitted the bios chip, but the machine does not boot and is doing less than before. I don’t know what I’m doing but perhaps the bios requires additional modification?

Serial Number:PF1S6Q0N
Machine Type Model:81SX007YMH
Original_unmodified_bios.bin.zip (5.7 MB)

I’m hoping someone could help me out!

Regards,
Jordan

Someone who backed up the broken bios before trying to write something- very good!

Your update process from CN41WW to CN44WW stopped after updateing EC firmware within the first EFI volume of the bios region (1FD0BACE-6F0A-4085-901E-F6210385CB6F)

Original_bios.zip (5.4 MB)

Changed EC firmware and this volume back to CN41WW, try if this works…

Hey @lfb6

Thank you so much, it worked!

Could you tell me where I can learn more about the fix? It’s really abracadabra for me and I’d to expand my knowledge on firmware, it’s really interesting!

Cheers,
Jordan

Thanks for the feedback- good to hear it worked.

There’s no guide for this kind of fix, you need to find the bios versions, UEFIToolNE for the structure and a hex editor to compare the files and to find out where changes were made/ stopped.

Hello everyone,

My computer is the same make and model but this bios did not work for me. I share the product information below, can you please help me find the original bios.

Lenovo Legion Y540-15IRH-PG0
Serial Number : PF1RQK9B
Machine Type Model : 81SYCTO1WW
Factory ID : JVHFC1

Please post the original dump / backup of your machine!

I’m sorry but I don’t have a backup. I have tried different bios before but the screen won’t turn on. I can’t find the original .bin bios for my device.

I don’t know how to proceed.

Lenovo does provide complete firmware images, you just have to extract it from the update package,

Search for _IFLASH_BIOSIMG for the start and IFLASH_INI_IMGÈÍ for the end, exactly 16 MB (16.777.216 bytes), 0x1000000 in length:

If that stock image doesn’t work, the reason for the brick is not the UEFI firmware.

I did exactly what you said and the file size was 16,777,216 bytes. I used the CH341A module to rewrite the bios bin file, but still no display on the computer screen. The keyboard lights come on, the fans spin and turn off again. I haven’t figured out what else to do, I’ve tried many bios but it’s always the same.

I would be very grateful if you could help me.

Sorry to hear that. As written, the reason might be hardware then!

Hello to all!

I also bricked my laptop. I was trying to re-enable Secure Boot and do the resets but after restarting there was no screen anymore. The fans were spinning, the backlit keyboard was working but nothing on the screen. I tried to do a battery removal, cmos battery removal, but nothing helped. I even tried crisis mode flashing from USB but never heard a beep. I did a dump of the bios before it was flashed with another .bin file using a hardware flasher. With this new bios the laptop works okay but i have no serial number, MTM and product name. Also Windows has troubles with the PIN i set, i assume its TPM module related. Also i tried to flash the BIOS from Windows after flashing via hardware and the software flash died on the second line of the EC flash part. Anyways, as i am not an expert i am asking how to completely repair everything and get all functionality back. LVAR doesnt work, it says smi interface is not ready. BIOS is from 2022 and LVAR version i have is from 2019, so probably its too old. Here is the bricked bios dump that i backed up before flashing it via hardware: 5.71 MB file on MEGA

Try BIOS2.zip (5.4 MB)

Machine specific data are in 630000 to 633FFF.

The static parts of your bios region are identical to the corresponding parts in a stock bios region, so the error has to be in NVRAM or ME region. ME region is older than the one included in cn45ww, so there might be corruption there since it didn’t get updated.

So you think during a BIOS update initiated from Windows the flashing was not completed and the non static parts never got the update but the static parts did? I never ever turned off the laptop during an update before. Today i will try to flash again with the hardware flasher using the bios file you provided and will let you know! Thank you!

No, the non static parts of the bios region never get updated. Machine specific data and NVRAM are almost never overwritten when updating firmware.

Flashed it. Everything seems perfect, even the serial and model numbers. I cant say thank you enough.

Thanks for the feedback :+1: