• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Flashing lenovo BIOS

pcjunkyard

New Member
Joined
Apr 24, 2024
Messages
6 (0.50/day)
Awesome post, wanna add to it of what to do if u have a new chip and no backup? Attempting a repair on a lenovo legion T5-26amr5, new to all this but very capable, the bios files lenovo releases are exe files when extracted u get 2 roms 16mb and a bin file thats like 17kb if i recall, what steps must I take to get this thing up n running? Thanks in advanced

 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,918 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Philips Evnia 49M2C8900
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
Thats tough. It really depends on how the rom is delivered. In some cases they are compressed, encrypted or otherwise encoded.

Some however are flat. There are too many variations of packing bins to really cover all the ways you can tell if its flat or not.

In this case, you would just flash the chip likely with the 16mb rom and simply boot it to see if it works. Otherwise the fastest way to get the machine running again would be to dump it from another chip, then flash that executable to make sure its upto date after you get into an OS.

The smaller file is likely a configuration or partition rom. Intel ME comes to mind but those are usually also large and there are other partitions like FDT that it could also flash.

Short answer: your just going to have to try it. Its not like you will break it since you have the tool.

EDIT:: Additionally as for getting a dump from another chip. Dont exclude ebay or whatever your local marketplace is. Buying a board "for parts" is usually super cheap. If I want to look at a rom I have no issues buying a board for $10 because it has water damage or a blown mosfet etc. In all likelyhood the BIOS on it is totally fine. Just food for thought.
 
Last edited:

pcjunkyard

New Member
Joined
Apr 24, 2024
Messages
6 (0.50/day)
I've tried flashing 1 of the roms and no go although the pc gives 2 beeps after a few seconds and never did that before, this all started from power outage during a windows update and well lenovo does there bios updates through windows ‍♂️ couldn't boot any windows made after windows 10 v1803 would give a 1BinitializeLibrary 0xc0000001 error as well as bios was really old by like 14 versions. Clock in bios was stuck at 050505, so tried manually flashing with there supplied exe as well would shut down then sit there flashing for n not do anything, tried another version found online and well it erased the image shutdown and that was that
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,918 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Philips Evnia 49M2C8900
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
I've tried flashing 1 of the roms and no go although the pc gives 2 beeps after a few seconds and never did that before, this all started from power outage during a windows update and well lenovo does there bios updates through windows ‍♂️ couldn't boot any windows made after windows 10 v1803 would give a 1BinitializeLibrary 0xc0000001 error as well as bios was really old by like 14 versions. Clock in bios was stuck at 050505, so tried manually flashing with there supplied exe as well would shut down then sit there flashing for n not do anything, tried another version found online and well it erased the image shutdown and that was that

I added an edit that might be of interest, but if it atleast beeped then it might be a good sign, some BIOS require "steps" to get to certain versions. If you were so far behind, it might be worth trying to raw flash a later version. Since things like the EC, touchpad, CPLD etc might need updates before it can speak with the newer BIOS's so trying an older version (maybe even the one you were on if you knew it) might be the way to go.
 

pcjunkyard

New Member
Joined
Apr 24, 2024
Messages
6 (0.50/day)
I added an edit that might be of interest, but if it atleast beeped then it might be a good sign, some BIOS require "steps" to get to certain versions. If you were so far behind, it might be worth trying to raw flash a later version. Since things like the EC, touchpad, CPLD etc might need updates before it can speak with the newer BIOS's so trying an older version (maybe even the one you were on if you knew it) might be the way to go.
That's what I thought but wasn't sure, my problem is lenovo does not have the previous files, raw flash?
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,918 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Philips Evnia 49M2C8900
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.

pcjunkyard

New Member
Joined
Apr 24, 2024
Messages
6 (0.50/day)
what your doing basically. grab the rom and burn it to the chip
Here's another question for ya, how does 1 come about determining if u can use a custom rom I've seen some intresting posts regarding them but know nothing about it
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,918 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Philips Evnia 49M2C8900
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
Here's another question for ya, how does 1 come about determining if u can use a custom rom I've seen some intresting posts regarding them but know nothing about it

The easiest way is seeing if someone has modified your specific BIOS. Some manufacturers hide or omit certain settings. What these settings are or even if they exist to be hidden depends on a lot, it will vary by manufacturer, by model and generation or even version of the bios.

From there if you want to expand your knowledge you look into common modifications. NVMe support, rebar, microcode are among the most common for system BIOS' though like the above they will all differ once you have done it you can kind of work out how you might be able too on another.

A good starting point is downloading a rom someone has already modified. Some nice people post them sometimes. Where there are the modified ones you might find the originals. From there you can try and duplicate the work.

A good play ground for practice of this type might be the nvme modification thread. Though the OP is no longer with us, he modified a nice library of BIOS' some of which were submitted by users. This can give you a good starting point of "This is stock" and "this is tested modified" then you try and work the difference.


EDIT:: Here is a fun tool that is generally used if you want to ever look at it more deeply: https://github.com/LongSoft/UEFITool
 

pcjunkyard

New Member
Joined
Apr 24, 2024
Messages
6 (0.50/day)
The easiest way is seeing if someone has modified your specific BIOS. Some manufacturers hide or omit certain settings. What these settings are or even if they exist to be hidden depends on a lot, it will vary by manufacturer, by model and generation or even version of the bios.

From there if you want to expand your knowledge you look into common modifications. NVMe support, rebar, microcode are among the most common for system BIOS' though like the above they will all differ once you have done it you can kind of work out how you might be able too on another.

A good starting point is downloading a rom someone has already modified. Some nice people post them sometimes. Where there are the modified ones you might find the originals. From there you can try and duplicate the work.

A good play ground for practice of this type might be the nvme modification thread. Though the OP is no longer with us, he modified a nice library of BIOS' some of which were submitted by users. This can give you a good starting point of "This is stock" and "this is tested modified" then you try and work the difference.


EDIT:: Here is a fun tool that is generally used if you want to ever look at it more deeply: https://github.com/LongSoft/UEFITool
I downloaded that tool earlier but haven't opened it yet, now, with flashing these raw images how do I come about adding serial number n whatever else?
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,918 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Philips Evnia 49M2C8900
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
I downloaded that tool earlier but haven't opened it yet, now, with flashing these raw images how do I come about adding serial number n whatever else?

Thats a whole can of worms. In most cases this may be provided by the BIOS scanning read only partitions of the ROM and filling in the data in user space.

In other cases the information is read and not overwritten during a flash procedure using the programs internal flash markers. Obviously this scenario doesnt work right when flashing manually (since its best practice to wipe the chip). However, unique to this is usually a way to fix the problem. As long as you have the serial before hand (and sometimes mac address) you can search for the new serial from the donor rom after a successful flash (since you wont know what the new serial is until after you flash it)

You could use any hex editor really, but HxD is popular. I have used this to replace missing serials before. In most cases you simply search for a part of the serial or even the word "serial" (since that is likely the verbage used in the BIOS). Once you find it, you replace the bits with the correct one and reflash.
 

pcjunkyard

New Member
Joined
Apr 24, 2024
Messages
6 (0.50/day)
Ok, thanks so regardless I gotta find someone willing to share a clean backup or buy a donor got it, thanks for the info if I ever get it goin I'll be sure to update the post
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,918 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Philips Evnia 49M2C8900
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
Ok, thanks so regardless I gotta find someone willing to share a clean backup or buy a donor got it, thanks for the info if I ever get it goin I'll be sure to update the post

Have fun
 
Top