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
    • 21002
    • 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
      Last edited by poon64; 01-08-2022, 05:06 PM.

      Comment

      • SMDFlea
        Super Moderator
        • Jan 2018
        • 21002
        • 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
        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

              • 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
              • 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
              • Sebastian Codrean
                BIOS file for ASUS F542UN laptop
                by Sebastian Codrean
                Hello to all of you! I need help with a BIOS file.
                The BIOS chip is fried on my Asus F542UN laptop, and I bought a new chip that needs programming. I have a CH341a programmer but I need a .bin BIOS file. On Asus support page the firmware has another extension, .310 and from reading on this forum I understand that that file is not complete BIOS.
                So, in short I need the "complete" BIOS .bin file to flash on the new chip. Another issue is that on back of the case the label says F542UN but on the sticker on the motherboard it's X542UN.
                02-20-2025, 10:25 AM
              • Fr33man
                BIOS file (.BIN) for semi-Bricked IdeaPad 3-14ALC6
                by Fr33man
                Hello everyone,

                I soft BRICKED my Lenovo IdeaPad laptop (black screen with led lights on, responsive keyboard backlight, fans spinning) after messing about with a Github tool called Smokeless. I am now attempting to reflash the bios through USB, but I am not sure if I extracted the correct BIOS ROM file to flash, and I also could not find the correct file name to rename it to (GLCrisis.bin, GLCN.bin, Currom.bin??). In addition to attempting to reflash the Bios with a USB, I have also performed the following activities:
                *Novo button power on
                *Disconnected internal battery...
                09-23-2024, 01:16 PM
              • iZakre
                HP Pavilion 15 bc400ns - Complete Black Screen - Only video on live usb
                by iZakre
                Hello everybody!

                To put you in context I recently replaced the battery from my HP Pavilion 15 bc400ns with a used one, everything was going good. The same day, I decided to update the BIOS, everything went good. The thing occurred after I let the battery drain iddling on Windows 11 for the second time to calibrate it that the screen did not turn on again, the computer was on but the screen did not turn, like it would not wake from hibernation. I decided to restart the computer but got no video.

                The thing is that I had installed TeamViewer and could log into the computer...
                02-19-2023, 02:27 PM
              • Loading...
              • No more items.
              Working...