Try our *UPDATED* boardview, bios, & schematic search. Over 2.3 million files for download!

[Guide] How to extract ready for programming dump from HP update executable file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vesko356
    VIP Moderator
    • Aug 2018
    • 4387
    • Bulgaria 🇧🇬
    • Gadget & motorcycle addicted

    #1

    [Guide] How to extract ready for programming dump from HP update executable file

    Recently bios requests for varios HP machines has increased more and more and as the thread title suggest this guide will help and guide members to perform an extraction of the bios file(s) from the various update executables presented as spXXXXXX.exe downloaded from the corresponding for the HP laptop model support page.

    Keep the thread clean, do not post bios requests please.
    Again - no requests should be made in this thread!
    Last edited by Vesko356; 08-08-2023, 05:14 AM.
    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    All donations to Badcaps are welcome.
    Become a Badcaps supporter
    >>>>> click on this link to donate <<<<<
    Thanks to all supporters.​
    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    Doctrina est fructus dulcis, radicis amarae.
    .
  • Vesko356
    VIP Moderator
    • Aug 2018
    • 4387
    • Bulgaria 🇧🇬
    • Gadget & motorcycle addicted

    #2
    Re: [Guide] How to extract ready for programming dump from HP update executable file

    First the easiest and trouble-free scenario - the files can be extracted the normal way by just running the spXXXXXX.exe update file - double click the downloaded HP update executable file, click next:



    Choose location to save files (or leave the default path C:\SWSetup\SP XXXXXX):



    After a while the HP GUI dialogue box appears, by clicking next giving you the 3 options to choose: update, recovery and copy:




    Select copy, click next, choose destination folder and there you'll find extracted BID.bin file(s) ready for programming. Simple as that.

    .
    Attached Files

    Premium supporters get full download access and other benefits.

    Last edited by Vesko356; 08-08-2023, 05:57 PM.
    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    All donations to Badcaps are welcome.
    Become a Badcaps supporter
    >>>>> click on this link to donate <<<<<
    Thanks to all supporters.​
    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    Doctrina est fructus dulcis, radicis amarae.
    .

    Comment

    • Vesko356
      VIP Moderator
      • Aug 2018
      • 4387
      • Bulgaria 🇧🇬
      • Gadget & motorcycle addicted

      #3
      Re: [Guide] How to extract ready for programming dump from HP update executable file

      Now the complicated scenario - in this post there are two bios update executables. Running the exe on Windows 10 will extract the contents to a folder called SWSetup - so far so good.
      But now there is no more dialogue on screen after that and running the file in SWSetup folder named Winflash.exe also does nothing. Checkmate or ...?

      Let's begin:
      This has only been tested on Windows 7 and 10 so far
      ,testing with Windows 11 might produce different results.
      These are some of the more problematic updates you will come across due to different software extraction methods required.
      Each of these updates contains a number of different bios from AMI and Insyde.
      https://ftp.hp.com/pub/softpaq/sp113...0/sp113017.exe
      https://ftp.hp.com/pub/softpaq/sp146...0/sp146979.exe

      1. If you are using Windows 10 you can run the sp113017.exe
      to extract the contents (Winflash.exe) to a folder called SWSetup or use 7-zip/WinRAR.







      1.1 If you are using windows 7 extract sp113017.exe using 7-zip/WinRAR.



      2. Open Winflash.exe with AMIUCP. Link: https://www.badcaps.net/filedata/fetch?id=2252556

      3. Extract @ AMI with AMIUCP, save as AMI



      The saved AMI file can be extracted with AMI UCP Update Extractor https://www.badcaps.net/forum/showpo...45&postcount=7, or it can be extracted with AMIUCP in the next step.

      4. Open AMI with AMIUCP, use the drop down to see all files in the folder



      5. Extract @R00 and @R01, name them R00.bin and R01.bin
      (Both saved files are full 16MB bios images. In the sp146979.exe
      there are three 16MB AMI bios images
      )




      6. Open Winflash again with AMIUCP and this time extract @INS, name the extracted file INS



      7. Open the saved INS file with AMIUCP, it will fail. We need to find out what sort of file it is.

      8. Open INS with a hex editor, the MZ text and can`t run under DOS means the file is an executable of some sort.



      9. Close the hex editor, rename INS to INS.exe (the file Icon is Insyde bios)



      10. The files can be extracted the normal way by running the exe, the HP GUI dialogue box will give the 3 options to choose update, recovery and copy.
      If you are using windows 7 see #11.

      11. Extract the INS.exe with 7-Zip/WinRAR. Both *.fd files are the bios images, both have a HP sig file attached at the top of the file. Delete 0-3F with a
      hex editor and save.

      Attached Files

      Premium supporters get full download access and other benefits.

      Last edited by Vesko356; 08-08-2023, 08:32 PM.
      ----------------------------------------------------------------------------------------------------------------------------------------------------------
      All donations to Badcaps are welcome.
      Become a Badcaps supporter
      >>>>> click on this link to donate <<<<<
      Thanks to all supporters.​
      ----------------------------------------------------------------------------------------------------------------------------------------------------------
      Doctrina est fructus dulcis, radicis amarae.
      .

      Comment

      • Vesko356
        VIP Moderator
        • Aug 2018
        • 4387
        • Bulgaria 🇧🇬
        • Gadget & motorcycle addicted

        #4
        Re: [Guide] How to extract ready for programming dump from HP update executable file

        Windows 8 laptop example,HP Pavilion Sleekbook 14-b019us

        This bios update will only download from the HP drivers support page if Windows 8 (64 bit) is chosen as the OS https://support.hp.com/us-en/drivers.../model/5351448
        Direct download: https://ftp.hp.com/pub/softpaq/sp765...00/sp76891.exe.
        Running the exe on my windows 7 PC makes it bluescreen.This can happen with some other updates as they will try to install a driver.It is best to run the exe on the same OS that
        the update was intended for,or a later OS.If a later OS won`t run the exe try it in compatibility mode.

        The exe will extract to C:\SWSetup by default,unpack files to another folder sp****** then start the Update and Recovery screen.The bios images in the C:\SWSetup\sp76891 folder
        are encrypted.When you choose the option to copy the bios image to a location it,or they will be decrypted.




        This decrypted bios is 5MB,it has a 1MB EC update together with the 4MB bios image,they must be seperated with a hex editor as the Utility does not do it.



        Encrypted files can be decrypted from the command line with hewprsa.exe,or with phoenixtool if the hewprsa.dll is added to the program folder
        .
        Attached Files

        Premium supporters get full download access and other benefits.

        Last edited by SMDFlea; 08-06-2023, 02:42 PM.
        ----------------------------------------------------------------------------------------------------------------------------------------------------------
        All donations to Badcaps are welcome.
        Become a Badcaps supporter
        >>>>> click on this link to donate <<<<<
        Thanks to all supporters.​
        ----------------------------------------------------------------------------------------------------------------------------------------------------------
        Doctrina est fructus dulcis, radicis amarae.
        .

        Comment

        • Vesko356
          VIP Moderator
          • Aug 2018
          • 4387
          • Bulgaria 🇧🇬
          • Gadget & motorcycle addicted

          #5
          Re: [Guide] How to extract ready for programming dump from HP update executable file

          HP has dropped all support for older models such as the DV6 and DV7.Updates can still be found by searching around the internet.

          https://drivers.softpedia.com/get/BI...Bios-F17.shtml

          This bios will extract easily using 7-Zip/WinRAR.Some others will extract to the windows Temp folder (Win key+R, type %temp% and press Enter to open Temp folder) ,or a different folder on the C: drive if you run the executable.

          Laptops from around this era can have two different bios versions,for EFI and non-EFI.
          Attached Files

          Premium supporters get full download access and other benefits.

          Last edited by Vesko356; 08-08-2023, 04:50 AM.
          ----------------------------------------------------------------------------------------------------------------------------------------------------------
          All donations to Badcaps are welcome.
          Become a Badcaps supporter
          >>>>> click on this link to donate <<<<<
          Thanks to all supporters.​
          ----------------------------------------------------------------------------------------------------------------------------------------------------------
          Doctrina est fructus dulcis, radicis amarae.
          .

          Comment

          • Vesko356
            VIP Moderator
            • Aug 2018
            • 4387
            • Bulgaria 🇧🇬
            • Gadget & motorcycle addicted

            #6
            Re: [Guide] How to extract ready for programming dump from HP update executable file

            Reserved
            Last edited by SMDFlea; 08-13-2023, 03:53 AM.
            ----------------------------------------------------------------------------------------------------------------------------------------------------------
            All donations to Badcaps are welcome.
            Become a Badcaps supporter
            >>>>> click on this link to donate <<<<<
            Thanks to all supporters.​
            ----------------------------------------------------------------------------------------------------------------------------------------------------------
            Doctrina est fructus dulcis, radicis amarae.
            .

            Comment

            • madjid911
              Badcaps Veteran
              • Dec 2016
              • 486
              • France

              #7
              Re: [Guide] How to extract ready for programming dump from HP update executable file

              Hello, I would like to extract the bios file, I arrived at the stage with the decompression of INS, I obtain two files in ".bin" format, one of 16MB, the other of 8MB. Are these the bios that I can program on my PC?

              I don't understand why extract ANS, to have R00 and R01, if in the end we only needed to extract INS? I'm not an expert, I'm trying to understand, thank you.
              Attached Files

              Premium supporters get full download access and other benefits.

              Comment

              • hoaca388
                Badcaps
                • Jan 2022
                • 12713
                • Socialist Republic of Vietnam

                #8
                Re: [Guide] How to extract ready for programming dump from HP update executable file

                Originally posted by madjid911
                Hello, I would like to extract the bios file, I arrived at the stage with the decompression of INS, I obtain two files in ".bin" format, one of 16MB, the other of 8MB. Are these the bios that I can program on my PC?

                I don't understand why extract ANS, to have R00 and R01, if in the end we only needed to extract INS? I'm not an expert, I'm trying to understand, thank you.
                Decompressing the AMI yields 2 bios files ( 16MB). Decompressing INS yields the next 2 files.(8MB, 16MB)
                Last edited by hoaca388; 09-23-2023, 05:17 PM.
                If you have found our forum useful please consider supporting us. Subscribe for a small monthly fee and receive extra benefits including our bios, boardview & schematic archive.

                Subscribe to support us. It only takes 1 minute:
                https://www.badcaps.net/settings/subscriptions

                Comment

                • SMDFlea
                  Super Moderator
                  • Jan 2018
                  • 24616
                  • UK

                  #9
                  Re: [Guide] How to extract ready for programming dump from HP update executable file

                  Originally posted by madjid911
                  Hello, I would like to extract the bios file, I arrived at the stage with the decompression of INS, I obtain two files in ".bin" format, one of 16MB, the other of 8MB. Are these the bios that I can program on my PC?

                  I don't understand why extract ANS, to have R00 and R01, if in the end we only needed to extract INS? I'm not an expert, I'm trying to understand, thank you.
                  Post #3 is an rare example for update executables that won`t extract the normal way,as in post #2 ,and you would only need to do it the hard way if there is no other available way to source the bios.

                  Previous older bios update versions sometimes extract OK, where`as the newer ones might not.If you can`t extract any you can always look for the bios in the 4-in-1 USB key,after extracting to a folder, if you know what BID (bios version) you need.
                  .
                  Last edited by SMDFlea; 09-24-2023, 04:13 AM.

                  Comment

                  • TAKUYA
                    New Member
                    • Jan 2025
                    • 4
                    • Austria

                    #10
                    Hi,
                    i dont know if Im in the right thread right now but im having a hard time extracting the firmware files for an HP 800 G4 Desktop Mini.
                    There is sadly no "copy" option in the Recovery/Updater exe.
                    Did that get removed or am i doing something wrong?

                    Thanks

                    Comment

                    • SMDFlea
                      Super Moderator
                      • Jan 2018
                      • 24616
                      • UK

                      #11
                      Originally posted by TAKUYA
                      Hi,
                      i dont know if Im in the right thread right now but im having a hard time extracting the firmware files for an HP 800 G4 Desktop Mini.
                      There is sadly no "copy" option in the Recovery/Updater exe.
                      Did that get removed or am i doing something wrong?
                      Thanks
                      It is different to all the other ones. You can extract the exe using 7-zip or winrar. The bios update includes a bios region and an ME firmware update in the same *.bin .There is a header at the top of the file that needs deleting with a hex editor, then when you`ve found the end of the bios region file you can copy it to a new file or delete the rest of the file below it. If you want the ME region as well there is a section to delete between the end of the bios region and the start of the ME firmware. Use UEFITool to find the size of the ME firmware and MEAnalyzer to check if it`s configured or unconfigured.

                      Comment

                      • TAKUYA
                        New Member
                        • Jan 2025
                        • 4
                        • Austria

                        #12
                        Originally posted by SMDFlea

                        It is different to all the other ones. You can extract the exe using 7-zip or winrar. The bios update includes a bios region and an ME firmware update in the same *.bin .There is a header at the top of the file that needs deleting with a hex editor, then when you`ve found the end of the bios region file you can copy it to a new file or delete the rest of the file below it. If you want the ME region as well there is a section to delete between the end of the bios region and the start of the ME firmware. Use UEFITool to find the size of the ME firmware and MEAnalyzer to check if it`s configured or unconfigured.
                        Thanks for the quick reply.
                        Can i just use the firmware.bin thats provided in the recovery usb stick? Or do i have to remove said header and ME region aswell? if so, what would that header and ME region look like roughly? Never done something like this before.

                        Thanks

                        Comment

                        • TAKUYA
                          New Member
                          • Jan 2025
                          • 4
                          • Austria

                          #13
                          Edit: the recovery stick firmware.bin didnt work. so im trying the unpacked exe one now. Using UEFI tools, i wasnt able to find an ME header in there so maybe there isnt one?

                          Comment

                          • SMDFlea
                            Super Moderator
                            • Jan 2018
                            • 24616
                            • UK

                            #14
                            Originally posted by TAKUYA
                            Edit: the recovery stick firmware.bin didnt work. so im trying the unpacked exe one now. Using UEFI tools, i wasnt able to find an ME header in there so maybe there isnt one?
                            If the recovery USB hasn`t worked you will have to use an SPI programmer to make a full backup of the bios chip. When you have the backup post it in this thread and someone will help - https://www.badcaps.net/forum/troubl...desk-800-g4-dm
                            There is no point unpacking the exe as once it is edited to the right size it is not a full bios image, only a bios region , and you can`t use that file to recover from USB

                            Comment

                            • TAKUYA
                              New Member
                              • Jan 2025
                              • 4
                              • Austria

                              #15
                              EDIT2: I managed to fix it! I had a corrupted ME region in my dump.
                              Thanks for the help

                              Comment

                              • zenry10
                                New Member
                                • Dec 2022
                                • 4
                                • Philippines

                                #16
                                Thanks

                                Comment

                                • jackcaper
                                  Member
                                  • Oct 2023
                                  • 14
                                  • Germany

                                  #17
                                  Hi,

                                  trying to replace a corrupted BIOS of an HP 745 G6 (so no ME Region), i ran into a situation that is different from the desriptions in this thread and of "How to find the right HP bios version to flash".

                                  Recovery via USB-Stick does not work.
                                  The .exe of HP doesn't offer the copy option.
                                  The SWSetup-Folder contains one BIN-File of 17.342 KB. (7zip extract of the exe: same size, different name)
                                  The USB-Stick features one BIN-File of 17.343KB.
                                  The T48-Read of the W25Q128JV(OTP)@WSON8 BIOS chip is 16.384KB.
                                  In UEFI-Tool alpha73 the "UEFI image" part of the update- Firmware has different size than in the dump.
                                  The characters behind "bId" look encrypted/garbled.

                                  Is there another tutorial, covering this, that i failed to find?
                                  What can i do?

                                  Thanks in advance

                                  Comment

                                  • Sparo
                                    Quicksilver
                                    • Jan 2022
                                    • 4585
                                    • M\A
                                    • Anime, Edge Computing, Football, Snooker

                                    #18
                                    Originally posted by jackcaper
                                    Hi,

                                    trying to replace a corrupted BIOS of an HP 745 G6 (so no ME Region), i ran into a situation that is different from the desriptions in this thread and of "How to find the right HP bios version to flash".

                                    Is there another tutorial, covering this, that i failed to find?
                                    What can i do?

                                    Thanks in advance
                                    For HPEB 745 G6 just hex search for 52 37 34 00 00 in your BIOS file You'll find the version right away Or post a screenshot and I'll tell you
                                    Ps: 52 37 34 is simply hex for 'R74' representing your BID and the added zeros help ensure to locate the correct occurrence
                                    Enjoying our forum? Subscribe to unlock extra perks!
                                    >> Upgrade here <<
                                    🚀💬🚀

                                    Comment

                                    • jackcaper
                                      Member
                                      • Oct 2023
                                      • 14
                                      • Germany

                                      #19
                                      Hi Sparo,

                                      thanks for the fast response. I screenshot the 3 occurances in the dump as you advised. They all come up in both updateBINs with a constant offset as well. (SWSetup-BIN - Dump = 220 hex, USB-BIN - Dump = 4A0)

                                      To my inexperienced mind the EXE contains only a BIOS for one board version and the task at hand is not identifying a version, but how to extract a flashable BIOS.
                                      Perhaps my description was a bit misleading. I tried to point out the differences to the cases Vesko356 and SMDFlea described.

                                      Comment

                                      • Sparo
                                        Quicksilver
                                        • Jan 2022
                                        • 4585
                                        • M\A
                                        • Anime, Edge Computing, Football, Snooker

                                        #20
                                        Originally posted by jackcaper
                                        Hi Sparo,

                                        thanks for the fast response. I screenshot the 3 occurances in the dump as you advised. They all come up in both updateBINs with a constant offset as well. (SWSetup-BIN - Dump = 220 hex, USB-BIN - Dump = 4A0)

                                        To my inexperienced mind the EXE contains only a BIOS for one board version and the task at hand is not identifying a version, but how to extract a flashable BIOS.
                                        Perhaps my description was a bit misleading. I tried to point out the differences to the cases Vesko356 and SMDFlea described.
                                        Your BIOS version is 01.32.00 as For the other question copy the selected 1000000-size block shown in the pictures and paste write it at offset 1000000 in your original BIOS file
                                        Attached Files

                                        Premium supporters get full download access and other benefits.

                                        Enjoying our forum? Subscribe to unlock extra perks!
                                        >> Upgrade here <<
                                        🚀💬🚀

                                        Comment

                                        Related Topics

                                        Collapse

                                        Working...