Flash HP 450 G5 using Arduino - wrong file size

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • disti
    New Member
    • Jun 2020
    • 4
    • ITALIA

    #1

    Flash HP 450 G5 using Arduino - wrong file size

    I'm trying to flash an HP Probook 450 G5 (2XY63EA) BIOS using Arduino.
    It's the first time I try this procedure so maybe I'm missing something stupid.

    I've been able to unsolder bios chip (Winbond W25Q128JV) and wire it up to Arduino.
    I also dumped it succesfully (dump.bin).

    Now I'm having a hard time trying to reflash it, because the bios file I downloaded from HP has the wrong size.

    I downloaded bios from HP (https://ftp.hp.com/pub/softpaq/sp103...0/sp103710.exe).

    When launched, the executable extracts a file (Q85_011101.bin), that has a size of 11469376 bytes.
    The tool can also put bios on a USB pen drive for flashing. This procedure creates a file on the pen drive (firmware.bin) whose size is 11470016 bytes.
    The content of this file is the same as 1), plus a small header.

    These two files are not accepted by Flashrom because are they are not the right size. The expected size is 16777216 bytes. This is actually the size of the file I dumped from the chip.

    I tried to compare bios files with the current dump: I expected to see the same content + some padding, but while the content is similar, these files are definitely different, also in their "structure" (first bytes, last bytes,...).

    Is there a way to convert one of the files provided by HP to something I can flash with Flashrom?

    I tried to open them with UEFITool but I don't have enough experience on this to end up with something useful.

    I attach all the files.

    Thank you!

    Roberto
    Attached Files
  • KingBonecrusher
    Member
    • Jun 2020
    • 28
    • Netherlands

    #2
    Re: Flash HP 450 G5 using Arduino - wrong file size

    Your dump.bin looks broken... Read 2/3 times and then md5 them!

    Comment

    • disti
      New Member
      • Jun 2020
      • 4
      • ITALIA

      #3
      Re: Flash HP 450 G5 using Arduino - wrong file size

      The mainboard doesn't boot, so I expected to have a broken dump.
      What I'm interested in is a way to convert HP provided bios file(s) and reflash it.

      Comment

      • RethoricalCheese
        Badcaps Legend
        • Mar 2013
        • 1517
        • Estonia

        #4
        Re: Flash HP 450 G5 using Arduino - wrong file size

        HP does not provide full dump. Just the bios region. Copy that file and go to address 700000. Then paste it. It should replace bios region. Use FIT to fix ME region aswell.

        Comment

        • disti
          New Member
          • Jun 2020
          • 4
          • ITALIA

          #5
          Re: Flash HP 450 G5 using Arduino - wrong file size

          Thank you RethoricalCheese,

          700000 is decimal or hex? At both positions in dump.bin I can't see something similar to the content of HP bin files.

          I searched for "Flash Image Tool", but I can't find the right version. I understand that the version I must use depends on the mainboard chipset.

          It seems that this notebook uses Kaby Lake-U.
          I tried v8, v9, v10 and v11 from https://winraid.level1techs.com/t/in...ols-2-15/30719.
          Unfortunately, none of my files are recognized.


          There is another way I can try: I have access to an identical notebook.
          I could dump the spi chip and flash this dump to the defective one, but I'm worried about serial numbers, etc.

          Thank you
          Last edited by SMDFlea; 05-07-2023, 08:30 AM.

          Comment

          • SMDFlea
            Super Moderator
            • Jan 2018
            • 20504
            • UK

            #6
            Re: Flash HP 450 G5 using Arduino - wrong file size

            Try this bios at post #16 https://www.badcaps.net/forum/showthread.php?t=72879
            All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

            Comment

            Related Topics

            Collapse

            • dragometin
              Hitachi 40HYC42
              by dragometin
              TV Model: Hitachi 40HYC42
              Power Supply: 17IPS71
              MainBoard: 17MB95M
              Panel: VES400UNDS-2D-NO3

              When the set came in it was dead. Fuse was open primary side and the power mosfet was shorted. So I ordered a new power supply. Now it turns on, only displays "Hitachi" and then power off red and blue led flashing.

              I had to modify the 0ohm resistors in the led backlight of the new PS like the original power supply.
              Is there any variants on 17IPS71 power supply's?

              UART output pins 10 and 12 on scart connector:

              Code:
              12:24:04.595
              ...
              08-08-2024, 05:53 AM
            • 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
            • hinisa
              Xiaomi router freezes at boot after re-capping
              by hinisa
              I'm using Xiaomi Router 4A gigabit edition as wireless repeater. It worked fine for 2 years or so, but last week, wireless started to disappear.

              When I unplug/replug the power, it was working fine for a day/half a day or so until it freezes again.

              After testing with different power supply adapters and concluding it wasn't the issue I finally opened the case and this was the situation:



              Anyway I proceed to clean up the mess and replace all caps but unfortunately it made the situation worse. Now router can't even boot, either it freezes during...
              07-08-2023, 05:58 AM
            • howardc64
              A1312 (27” iMac 2009-2011) A1407 (Thunderbolt Display) A1316 (Cinema Display) Display Black Screen Repair
              by howardc64
              Problem

              This is an LG edge LED lit LCD Display. The LEDs are on the bottom edge of the display. There are 2 bars (left and right) Each bar has many LEDs and a 6 pin connector. Each pin drive several LEDs thus is the highest current flow / heat junction. The weak lead free solder gradually fails with thermal expansion/contraction cycling and increases resistance. PSU will compensate up to a point, then when the current is too high, PSU just shut down the backlight causing a dark display. I have even seen one which the connector just fell off as solder points became completely detached....
              08-04-2024, 10:36 PM
            • JoWed
              Problems with reflashing BIOS Chip on omen by hp laptop 17 an104ng
              by JoWed
              Hello Community,

              I recently tried to change the Batterie on my Omen by HP Laptop 17 an104ng and after putting in the new batterie ([Batterie Link](https://www.amazon.de/7xinbox-17-AN0...&keywords=16%2...
              07-01-2025, 09:32 AM
            • Loading...
            • No more items.
            Working...