Badcaps.net Forum
Go Back   Badcaps Forums > Troubleshooting Hardware & Devices and Electronics Theory > Troubleshooting Laptops, Tablets, and Mobile Devices > BIOS Requests ONLY!
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
Thread Tools Display Modes
Old 08-18-2021, 02:49 PM   #1
grimacelord
Senior Member
 
Join Date: Jan 2017
City & State: Atlanta, GA
My Country: USA
I'm a: Knowledge Seeker
Posts: 149
Default Lenovo Flex 14IWL Bios Editing Help

Hello,

I have a Lenovo Flex-14IWL here that I believe might be suffering from a corrupt BIOS. The device tries to power on, but black screen and no fan spin. The power LED then quickly turns off. I admit I am not 100% certain it's corrupt BIOS, but this is something relatively easy that I can rule out before I begin diagnosing board-level hardware problems. So far, I have:

1. I have saved the original (possibly corrupt) BIOS from the chip using a programmer. This file is 16,384KB in size and is in .BIN format.
2. I have extracted the BIOS image from the Lenovo BIOS update file downloaded from Lenovo's website here. This file is a .ROM image and is 18,093KB in size, or ~2MB larger than the original.

Here is where I am lost. The file sizes are different. I understand I need to edit using a hex editor, but honestly, I am not versed enough in this sort of thing. I'm not sure what I am supposed to be doing with the hex editor. Seems like I need to remove 2MB of data from the update to make it 16MB like the original, but I don't know how to determine what 2MB to remove. I'd really like to learn how to determine that myself, so if someone is willing to give me a hand with this, could you also spend a moment to explain exactly how it is you know what to edit? I'd appreciate that very much.

My ultimate goal here is to have a file I can flash back to the BIOS chip using my programmer and then see if this fixes my problem or not.

Attached are the two files I have prepared. The original BIOS file named original.zip and the extracted BIOS image from the downloaded update named EL4C1211.zip. I am hosting the files on my mediafire account.

Files:

original.zip
EL4C1211.zip
grimacelord is offline   Reply With Quote
Old 08-18-2021, 02:54 PM   #2
grimacelord
Senior Member
 
Join Date: Jan 2017
City & State: Atlanta, GA
My Country: USA
I'm a: Knowledge Seeker
Posts: 149
Default Re: Lenovo Flex 14IWL Bios Editing Help

Oh, crap. Can a mod move this to the BIOS requests section? I didn't see until after I posted. Ugh. Sorry!!!
grimacelord is offline   Reply With Quote
Old 08-18-2021, 03:51 PM   #3
SMDFlea
Super Moderator
 
Join Date: Jan 2018
City & State: York
My Country: UK
I'm a: Knowledge Seeker
Posts: 10,782
Default Re: Lenovo Flex 14IWL Bios Editing Help

Quote:
Originally Posted by grimacelord View Post
Oh, crap. Can a mod move this to the BIOS requests section? I didn't see until after I posted. Ugh. Sorry!!!
Thread moved .

There`s a guide you can follow https://www.badcaps.net/forum/showthread.php?t=98038 .Its the same method to cut the bios to the right size. The same method for the DMI and win key ,the offsets in your bios are different though.Follow the guide but use the offsets below. D is the DMI, W is the key.

D 620000 - 6207FF

W A90000 - A9003F

If you followed it ok and made a new bios you can check its SHA-1 hash using Hxd. Analysis -> Checksums -> SHA-1 -> OK

0DF475F4267F8987509F29BC309B912820F89D9F .If its the same hash youve done a good job.
.

Last edited by SMDFlea; 08-18-2021 at 04:25 PM..
SMDFlea is offline   Reply With Quote
Old 08-19-2021, 05:02 AM   #4
grimacelord
Senior Member
 
Join Date: Jan 2017
City & State: Atlanta, GA
My Country: USA
I'm a: Knowledge Seeker
Posts: 149
Default Re: Lenovo Flex 14IWL Bios Editing Help

Quote:
Originally Posted by SMDFlea View Post
Thread moved .

There`s a guide you can follow https://www.badcaps.net/forum/showthread.php?t=98038 .Its the same method to cut the bios to the right size. The same method for the DMI and win key ,the offsets in your bios are different though.Follow the guide but use the offsets below. D is the DMI, W is the key.

D 620000 - 6207FF

W A90000 - A9003F

If you followed it ok and made a new bios you can check its SHA-1 hash using Hxd. Analysis -> Checksums -> SHA-1 -> OK

0DF475F4267F8987509F29BC309B912820F89D9F .If its the same hash youve done a good job.
.
Nice, thanks!

I'll try this once I get to work later and come back to let you know how it went. Thanks again.
grimacelord is offline   Reply With Quote
Old 08-19-2021, 08:13 AM   #5
grimacelord
Senior Member
 
Join Date: Jan 2017
City & State: Atlanta, GA
My Country: USA
I'm a: Knowledge Seeker
Posts: 149
Default Re: Lenovo Flex 14IWL Bios Editing Help

Well, I followed everything twice and I am not getting that SHA-1 checksum you have. After two separate attempts, two different test bios files I made, I get the same checksum, but it isn't matching to yours.

The file that I end up with is indeed the same as the original backup, but the SHA-1 is different than what you posted.

I did try flashing it anyway and it doesn't appear to have made any difference in behavior at all. Now I'm not sure if that is due to the BIOS image I made being bad or if it never was a BIOS problem to begin with.
grimacelord is offline   Reply With Quote
Old 08-19-2021, 08:25 AM   #6
SMDFlea
Super Moderator
 
Join Date: Jan 2018
City & State: York
My Country: UK
I'm a: Knowledge Seeker
Posts: 10,782
Default Re: Lenovo Flex 14IWL Bios Editing Help

Quote:
Originally Posted by grimacelord View Post
Well, I followed everything twice and I am not getting that SHA-1 checksum you have. After two separate attempts, two different test bios files I made, I get the same checksum, but it isn't matching to yours.

The file that I end up with is indeed the same as the original backup, but the SHA-1 is different than what you posted.

I did try flashing it anyway and it doesn't appear to have made any difference in behavior at all. Now I'm not sure if that is due to the BIOS image I made being bad or if it never was a BIOS problem to begin with.
Here`s one i made earlier .Compare it with the one you made .Flash it and if it doesn`t work i`d say the problem is somewhere else .If you need any more help with it just start a new thread in the main laptop forum https://www.badcaps.net/forum/forumdisplay.php?f=23

.
Attached Files
File Type: zip EL4C1211 NEW.zip (5.89 MB, 3 views)

Last edited by SMDFlea; 08-19-2021 at 08:40 AM..
SMDFlea is offline   Reply With Quote
Old 08-19-2021, 09:06 AM   #7
grimacelord
Senior Member
 
Join Date: Jan 2017
City & State: Atlanta, GA
My Country: USA
I'm a: Knowledge Seeker
Posts: 149
Default Re: Lenovo Flex 14IWL Bios Editing Help

Quote:
Originally Posted by SMDFlea View Post
Here`s one i made earlier .Compare it with the one you made .Flash it and if it doesn`t work i`d say the problem is somewhere else .If you need any more help with it just start a new thread in the main laptop forum https://www.badcaps.net/forum/forumdisplay.php?f=23

.
Awesome! It worked! I flashed your BIOS image and as soon as I pressed power and saw a fan spin, I knew it was going to be fixed. Of course, I waited for full boot and I can happily report that it is indeed working as expected.

So, I was right. It was a BIOS problem. Now I'm going to compare the bios files I made versus the one you made and see where I went wrong so I can try and learn more about this sort of this and try the next one by myself.

Thanks again for your help!
grimacelord is offline   Reply With Quote
Old 08-19-2021, 10:28 AM   #8
Vesko356
Sharp Shooter
 
Vesko356's Avatar
 
Join Date: Aug 2018
City & State: Sofia
My Country: Bulgaria
I'm a: Hobbyist Tech
Posts: 1,468
Default Re: Lenovo Flex 14IWL Bios Editing Help

Quote:
Originally Posted by SMDFlea View Post
0DF475F4267F8987509F29BC309B912820F89D9F .If its the same hash youve done a good job.
.
Quote:
Originally Posted by grimacelord View Post
Well, I followed everything twice and I am not getting that SHA-1 checksum you have.




Quote:
Originally Posted by SMDFlea View Post
Here`s one i made earlier
__________________
Doctrina est fructus dulcis, radicis amarae.
Vesko356 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Badcaps.net Technical Forums 2003 - 2022
Powered by vBulletin ®
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
All times are GMT -6. The time now is 07:34 PM.
Did you find this forum helpful?