Is it okay to flash stock bios onto the motherboard's BIOS?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AkaBukai
    New Member
    • Dec 2024
    • 5
    • Country

    #1

    Is it okay to flash stock bios onto the motherboard's BIOS?

    Hi there,
    I have a 14" Lenovo Laptop (Flex 5 14ALC05) which has a boot issue.
    The little LED on the power button is flashing slowly and nothing happen.
    This unit do not have any BIOS button cell battery so I tried many times draining the power but it is still not powering on.

    So I decided to flash the BIOS using a cheap programmer.
    And I was successfully able to read the content (exactly 16MB file) which BTW is a WINBOND 74m12jwsiq (according to the package inscription - but detected as W25Q128FW in the software - IMSProg on Linux)

    I also downloaded the sotck BIOS from Lenovo site which came as a .exe file.
    I followed a guide to extract the BIN from this file (as I'm still on Linux).
    Here are the step I did:
    • I first run a program called innoextract on the .exe file
    • Then I opened the .cap file with a Hex editor
    • I deleted data in the range 0x0-0x317
    • I then extracted the data in the range 0x0-0x1000000 into a new file
    • Saved it as .bin
    Now both of my files (the one read from the chip and the one extracted from the lenovo website) are both exactly 16777216 bytes long.

    Here is my question, before I mess up..

    Is it okay if I just go ahead and flash/write that extracted file directly onto the chip on the motherboard?

    Or do I need to copy/paste some data from the original BIOS onto the stock extracted file before writing to the chip?
  • AkaBukai
    New Member
    • Dec 2024
    • 5
    • Country

    #2
    Hi there,
    I tried to check using a diff tool.
    And first I noticed that the first 48 bytes of the original bios are present on on the extracted one but starting at the 9th bytes..
    So I guess I used the wrong offset to begin with.
    So I did extracted again teh 16MB datat but starting this time at the 0x320 address (instead of 0x318).
    Now I have the first ~330KB of data being the same.
    For the rest of the files I have no clue if it's because of a different version of BIOS.
    And if so, should I copy/paste over some data that will act as some kind of ID?

    Comment

    • AkaBukai
      New Member
      • Dec 2024
      • 5
      • Country

      #3
      I just checked on the Lenovo website and they are only providing the latest BIOS only which is fairly recent (January 2024) so I'm pretty sure the one I have in the unit is an older one.
      So I'm not really able to compare with older versions (and not sure if it was something relevant to do anyway..)

      Comment

      • SMDFlea
        Super Moderator
        • Jan 2018
        • 20453
        • UK

        #4
        Originally posted by AkaBukai
        I just checked on the Lenovo website and they are only providing the latest BIOS only which is fairly recent (January 2024) so I'm pretty sure the one I have in the unit is an older one.
        So I'm not really able to compare with older versions (and not sure if it was something relevant to do anyway..)
        Post your original bios backup and laptop serial number in this thread and someone will post a working bios for you https://www.badcaps.net/forum/troubl...flex-5-14alc05
        All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

        Comment

        • AkaBukai
          New Member
          • Dec 2024
          • 5
          • Country

          #5
          Another little update!

          So I just went ahead and tried flashing that extracted BIOS.
          Something to note is that I did remove the SSD from the beginning.
          And now the good news is that it boots up to the BIOS at least!
          But the reason I wanted to ask here first showed up indeed.
          All the relevant data are empty now.
          Should I be worried?

          Here is the BIOS:

          Click image for larger version

Name:	image.png
Views:	60
Size:	374.1 KB
ID:	3532005

          Comment

          • AkaBukai
            New Member
            • Dec 2024
            • 5
            • Country

            #6
            Originally posted by SMDFlea

            Post your original bios backup and laptop serial number in this thread and someone will post a working bios for you https://www.badcaps.net/forum/troubl...flex-5-14alc05
            Hi SMDFlea and thanks for the reply..
            Okay I will do.
            Out of curisoity, what is the step to make it work there?
            Is it something I can learn as well?

            Comment

            • mcplslg123
              Badcaps Legend
              • Jun 2015
              • 7262
              • india

              #7
              These data are missing 'coz you did'nt copy dmi data from your backup to new bios.
              Open your backup bios in hex editor and try searching "LENV".
              The dmi data is encrypted along with win key.

              Comment

              Related Topics

              Collapse

              • DynaxSC
                Need real mobo dump of BIOS v402 for ASUS PRIME Z590-A - stock image no help
                by DynaxSC
                Hi,

                I have a serious problem to program the Z590 chipset SRAM with a Management Engine after replacing the chipset.
                The new chipset is factory new and is not containing any Management Engine. Any attempts to program it into the chipset under Windows ends with a failure (eg. Error 20: Management Engine Device not present, or something similar).
                Due to the lack of the ME several ports on the board, including all M.2 ports aren't working, booting OS works only on USB. So it's now other way, as to program the chipset with a ME.

                Usually on ASUS boards it worked...
                06-14-2024, 03:49 PM
              • Forest79
                Lenovo ThinkStation P520 BIOS file needed
                by Forest79
                Hello,

                I got a Lenovo ThinkStation P520 (Type 30BF) from a friend, asking me for a repair. Windows 11 offered a firmware upgrade as an optional update, and it failed.
                The emergency flash procedure from the hardware manual has also failed. So, I asked an acquaintance with better skills to flash the BIOS directly.

                However, the chip (a Macronix MX25L25673GMI-08G) has a size of 32 MB, and the BIOS file from the Lenovo website (extracted with UEFITool) has a little more than 16 MB. Thus, the software my acquaintance used (SiberiaProg v1.45, with a CH341A Programmer)...
                07-23-2023, 07:39 AM
              • maanee11
                Help to get Lenovo BIOS bin file for Thinkpad T560
                by maanee11
                Hello Everyone,

                I have Thinkpad T560 Which has corrupted BIOS. I have acquired Ch341A SPI flasher to program the BIOS externally. I see that to program the BIOS, i need a bin file for the BIOS. I was able to extract the .exe file of BIOS from Lenovo given here in this link:

                https://pcsupport.lenovo.com/au/en/p...me=BIOS%2FUEFI

                In the extracted files, I see that BIOS containing file has extension .FL1 and I need to extract or convert it...
                05-15-2022, 11:59 AM
              • DynaxSC
                MSI PRO B660M-G DDR4 - real bios dump from board needed (no stock bios)
                by DynaxSC
                Hi, I have an MSI PRO B660M-G DDR4 board with damaged BIOS and i need a bios dump from a real board, along with MAC, UUID and Serial Number info (eg. a BIOS screenshot and pictures from the board stickers).

                I need to reconstruct the bios on my board, based on another bios image form a real board - meaning a bios image containing MAC address, UUID and Serial number. A stock BIOS is not suffiecient, as it is impossible to discover where the MAC, UUID and SerialNumber are stored. Tried with a similar board, but there are too much differences, and the stock BIOS is missing a lot of...
                11-17-2023, 10:56 AM
              • EbrahimSiami
                Acer Aspire 5920G - Requesting Modded BIOS (9600M GT) from .WPH for CH341A Flasher
                by EbrahimSiami
                Hello everyone,
                I need help with my Acer Aspire 5920G laptop. Its original GeForce 8600M GT graphics card failed, so I replaced it with an Nvidia GeForce 9600M GT MXM card.

                **Problem:** The laptop powers on, but there is no display (black screen) on either the internal LCD or external monitor. This indicates a BIOS compatibility issue with the new graphics card.

                **What I have tried so far:**
                1. I have my **original stock BIOS dump (1MB .BIN file)** from my laptop, which works and allows the laptop to power on normally (but no display with 9600M...
                Yesterday, 02:31 PM
              • Loading...
              • No more items.
              Working...