HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • poon64
    New Member
    • May 2020
    • 6
    • Sverige

    #1

    HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

    I have a problem with the BIOS for a HP Pro X2.
    What I try to do is to load a new file to the MX25L12873F chip.
    I'm using the RaspberryPi to read/write to the BIOS.
    I connect the BIOS to the RPI as below, I have succesfully used this setup many times before.
    Before I started I saved the current BIOS three times and compare the checksum, without any problems. Then I downloaded and extracted the new BIOS bin file. But the new file was smaller than the original one.
    Error: Image size (9437184 B) doesn't match the expected size (16777216 B)! So i added some extra padding to make it the same size, truncate -s +7340032 ROM-file.bin
    I successfully erase, write and verify the new file to the chip. But when I start the computer nothing happens, except that the Caps Loch and Num Lock flashes seven times, this usually means BIOS failure.
    I have tried to load the original file back again, but the result is the same as with the new file. The screen is black, no sound, just those seven blinks.
    The computer was working before. Does anyone here have any idea what the cause of this behaviour could be?

    RPI MX25L12873 RPI
    Pin24 GPIO8 |CS VCC | +3V
    Pin21 GPIO9 |SO/SIO1 SIO3 | NC
    NC |SIO2 SCLK | Pin23 GPIO11
    GND |GND SI/SIO0| Pin19 GPIO10
    Last edited by SMDFlea; 01-08-2022, 05:21 PM. Reason: HP Pro x2 612 G2
  • SMDFlea
    Super Moderator
    • Jan 2018
    • 22276
    • UK

    #2
    Re: HP Pro X2. Flashrom new file to MX25L12873F BIOS

    post the laptop serial number and your original bios backup
    All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

    Comment

    • poon64
      New Member
      • May 2020
      • 6
      • Sverige

      #3
      Re: HP Pro X2. Flashrom new file to MX25L12873F BIOS

      This is the serial number: BDAO0100CTH8X0ABFH.
      I add the backup of the original BIOS file.
      This is the flashrom command that I used to write the BIOS file,
      sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0,spispeed=1000 -w P86_0140.bin
      Attached Files

      if you find these attachements useful please consider making a small donation to the site

      Last edited by poon64; 01-08-2022, 05:06 PM.

      Comment

      • SMDFlea
        Super Moderator
        • Jan 2018
        • 22276
        • UK

        #4
        Re: HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

        Your serial number is 5CG7372JZ3. The extracted bios is only a 9MB update
        Try the attached bios.
        Attached Files

        if you find these attachements useful please consider making a small donation to the site

        All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

        Comment

        • poon64
          New Member
          • May 2020
          • 6
          • Sverige

          #5
          Re: HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

          How did you get that serial number?
          Is all of the downloadable BIOS files from HP only updates, and how did you get the attached file?

          But it's still the same thing after writing the file that you sent to me, the Num Lock and Caps Lock flashing seven times when power on. But writing the BIOS file isn't any problem.

          pi@raspberrypi:~/flashrom $ sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0,spispeed=1000 -w P86
          _0140_ME_Clean.bin
          flashrom v1.2-472-g822cc7e on Linux 5.10.81+ (armv6l)
          flashrom is free software, get the source code at https://flashrom.org

          Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
          Found Macronix flash chip "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" (16384 kB, SPI) on linux_spi.
          Reading old flash chip contents... done.
          Erasing and writing flash chip... Erase/write done.
          Verifying flash... VERIFIED.

          Comment

          • poon64
            New Member
            • May 2020
            • 6
            • Sverige

            #6
            Re: HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

            Originally posted by SMDFlea
            Your serial number is 5CG7372JZ3. The extracted bios is only a 9MB update
            Try the attached bios.
            I just realized that the serial number I gave you was the one from the back cover, but I just saw that there are also a serial number inside the computer
            You got it correct, it's 5CG7372JZ3
            I also realized that the serial number will be in the original BIOS file as well.
            Last edited by poon64; 01-09-2022, 08:54 AM.

            Comment

            • poon64
              New Member
              • May 2020
              • 6
              • Sverige

              #7
              Re: HP Pro x2 612 G2. Flashrom new file to MX25L12873F BIOS

              I did another test, before I wrote the file I did a checksum test.
              Then I wrote the file to the BIOS, and immediately read the file back from the BIOS and did another checksum test. The checksums were identical.
              Then I did a power on and saw the seven flashes again, I then powered of and did another read from the BIOS and did another checksum test. This time the checksum was different, can this be a problem, or is it normal that the checksum changes when you power on the computer, guess som writing to the BIOS occur. Below is the dump from the terminal of the steps I did.


              pi@raspberrypi:~/flashrom $ sha512sum P86_0140_ME_Clean.bin
              b13e9da67c01df433daa3257194cd6f1efdd2dc8b921d28998045acafc928148c37bcc1797fa6e67b836097638131094f5fedcf9fa8b9b0e43838a607489dbba P86_0140_ME_Clean.bin
              pi@raspberrypi:~/flashrom $ sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0 -w P86_0140_ME_Clean.bin
              flashrom v1.2-472-g822cc7e on Linux 5.10.81+ (armv6l)
              flashrom is free software, get the source code at https://flashrom.org

              Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
              Using default 2000kHz clock. Use 'spispeed' parameter to override.
              Found Macronix flash chip "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" (16384 kB, SPI) on linux_spi.
              Reading old flash chip contents... done.
              Erasing and writing flash chip... Erase/write done.
              Verifying flash... VERIFIED.
              pi@raspberrypi:~/flashrom $ sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0 -r P86_0140_ME_Clean_DL_from_BIOS.bin
              flashrom v1.2-472-g822cc7e on Linux 5.10.81+ (armv6l)
              flashrom is free software, get the source code at https://flashrom.org

              Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
              Using default 2000kHz clock. Use 'spispeed' parameter to override.
              Found Macronix flash chip "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" (16384 kB, SPI) on linux_spi.
              Reading flash... done.
              pi@raspberrypi:~/flashrom $ sha512sum P86_0140_ME_Clean_DL_from_BIOS.bin
              b13e9da67c01df433daa3257194cd6f1efdd2dc8b921d28998045acafc928148c37bcc1797fa6e67b836097638131094f5fedcf9fa8b9b0e43838a607489dbba P86_0140_ME_Clean_DL_from_BIOS.bin
              pi@raspberrypi:~/flashrom $ sudo ./flashrom -c "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" -p linux_spiev=/dev/spidev0.0 -r P86_0140_ME_Clean_DL_from_BIOS.bin
              flashrom v1.2-472-g822cc7e on Linux 5.10.81+ (armv6l)
              flashrom is free software, get the source code at https://flashrom.org

              Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
              Using default 2000kHz clock. Use 'spispeed' parameter to override.
              Found Macronix flash chip "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" (16384 kB, SPI) on linux_spi.
              Reading flash... done.
              pi@raspberrypi:~/flashrom $ sha512sum P86_0140_ME_Clean_DL_from_BIOS.bin
              eb7cecc34d09ed064af26f30fed0caa491084a45811b8bad23240507836c826e9fd643d8d2062dd96150f9fa09388a3929f061e97bc9aef4da8f7ebdb762ac2a P86_0140_ME_Clean_DL_from_BIOS.bin

              Comment

              Related Topics

              Collapse

              • to5it0
                Need Clean BIOS/EC Bin File for Lenovo ThinkPad Yoga 11e 2H1703-27220F Rev. A Marked as U2501 on the motherboard.
                by to5it0
                Need Clean BIOS/EC Bin File for Lenovo ThinkPad Yoga 11e - Stuck with 0275 Error CMS

                Hello everyone,

                I am attempting a repair on a Lenovo ThinkPad Yoga 11e that is currently stuck at boot with the error: "0275 error CMS" even after setup new bios battery and will not allow me to enter the BIOS/Setup.

                This is a critical issue that I believe requires flashing the BIOS chip directly using a programmer (e.g., CH341A/RT809H), as standard software updates or resets are not possible.

                I have opened the laptop and identified the main BIOS chip...
                10-24-2025, 01:35 AM
              • Citymin
                NT955XED (Samsung Galaxy Book2 Pro - 15.6) BIOS dump file Request
                by Citymin
                Hi all,

                My Samsung Galaxy Book 2 Pro 15.6-inch laptop has no display and won't boot.
                The charging red LED lights up, but the charging screen doesn't show any indication.
                When I press the power button, the blue LED cycles on and off three times, then the screen doesn't turn on, and the device won't boot.
                (I've tried removing the battery and resetting the device, but the issue persists.)

                NoteBook Model name : Samsung NT955XED-KK51G(Galaxy book2 pro, i5-1240p, 15.6inch AMOLED)
                PCB model name : Venus2-15-5G(REV1.2), Venus2-15 ADL NPC
                S/N : 5RNK9FFT70...
                08-05-2025, 05:12 AM
              • maanee11
                Looking for BIOS flash file for HUAWEI MateBook X Pro 2019 (MACH-WX9)
                by maanee11
                Hello Everyone,

                I have HUAWEI MateBook X Pro 2019 (MACH-WX9) whose BIOS got corrupted i beleive. I have acquired Ch341A SPI flasher to program the BIOS externally. I see that to program the BIOS, i need BIOS bin/hex file which i could use to reflash it externally via the flasher tool.

                It seems like the support page of this model no longer exist: https://consumer.huawei.com/be/lapto...ro-2019/specs/

                In the website, you can only see specs etc.

                I have not tried to extract the BIOS dump yet as I want to see if there is any ray of sunshine...
                11-08-2025, 04:08 AM
              • m1ch43lzm
                Notice to users of XGecu TL866II Plus / T48 / T56 / T76 programmers regarding BIOS backup file size
                by m1ch43lzm
                Hi everyone
                I noticed on the Xgpro software the BIOS backup files have extra bytes at the end when reading some chips, this is because the Xgpro software also reads the OTP region of those flash chips, and by default will append that region to the saved file
                Programmer models: XGecu TL866II Plus / T48 / T56 / T76

                Example: GD25LQ128D (1.8V), IC size is listed as 0x1000000 Bytes (16777216 bytes) + 0xC00 bytes, those extra 0xC00 bytes will be appended to the end of the saved file by default, resulting in a file size of 16780288 bytes
                There's also an extra OTP Secu.R...
                09-06-2025, 05:47 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
              • Loading...
              • No more items.
              Working...