HP factory bios patcher

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SMDFlea
    Super Moderator
    • Jan 2018
    • 20863
    • UK

    #1

    HP factory bios patcher

    ***************************************************************************************************************************
    * DISCLAIMER: badcaps.net and its members do no support unlocking stolen or company-owned devices.
    * The unlock scripts given here are for personal use only, ie. you accidentally set a password on your own
    * machine,you forgot the password you set a long time ago or you mistyped the password when setting it
    * and cannot get in again.
    ***************************************************************************************************************************
    * DISCLAIMER: THIS SCRIPT IS FREE AND IS INTENDED FOR EDUCATIONAL PURPOSES ONLY.
    * You CAN download it, use it.I only ask that you DON'T modify it ,sell it or try to make a profit from it,
    * and that you please credit the authors for the time and work they put into it.
    * I TAKE NO RESPONSIBILITY FOR ANY DAMAGE YOU DO TO YOUR MACHINE.Making these kinds
    * of modifications is risky and might leave you with an unusable/broken machine. The script is not perfect
    * by any means, and while I haven't bricked any hardware (yet) I can't promise that won't happen to you.
    * USE IT AT YOUR OWN RISK.
    ***************************************************************************************************************************

    A macro script to patch a HP bios to factory settings. It just invalidates the serial number,featurebyte etc allowing new DMI to be added.
    This will only work with some HP business machines (AMI bios), not cheaper models (Insyde bios).
    Thanks to volinakis for testing, and other members who posted and shared which hex to patch.

    Make sure you have all the DMI info before flashing the bios back !


    This will only work if you have made a good bios backup !!!!!!

    1. Install Tiny Hexer -> link in thread at post #1 https://www.badcaps.net/forum/showthread.php?p=1214739

    2. Make a new folder on your C: drive called DMICOPY .

    3. Move or copy the contents of the extracted zip folder to the DMICOPY folder.

    4. Move or copy your bios backup to the DMICOPY folder.

    5. Rename your backup bios to "locked.bin" (without the quotes "") .

    6. Run the full script, if it doesn`t work try the others one by one. After each script has run close Tiny Hexer and when prompted to save, Save ,then go onto the next script.
    If there is an error go onto the next script.
    If it work, great, if it doesn`t, well you`re out of luck, try another way.

    7. Click on the save button or close Tiny Hexer,and when promted to save... save :-)

    EDIT: Added script to disable Absolute. It is not in the full script but only as a standalone script . File name HP_Factory_Mode_6.mps

    EDIT: If you are using the patcher f
    or G10`s that have a password the patcher will not work if your bios version is newer than February 2024. For G11`s is no solution yet

    Tested working

    450 G9
    640 G9
    845 G9
    Elite Mini 600 G9
    Pro One 440 G9
    x360 Fortis 11 G9
    Zbook Firefly 14 G7
    Zbook Firefly 14 G8
    HP ZBook Fury 15 G7
    Attached Files
    All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters
  • gabrielguadag
    New Member
    • Oct 2024
    • 1
    • Brasil

    #2
    Hello! After use the patcher, I need to do like had been told in other hp bios unlock posts: "At 1st boot press F10 and RESET BIOS to factory defaults, save, restart and password will go on. After that enter in to bios setup and in Main tab you have "set machine unique data" and write there what it's written on the label inside the cover, or use hp bcu tool"? I didn't tried it yet, but i'm planing to do.​

    Comment


    • SMDFlea
      SMDFlea commented
      Editing a comment
      Yes, i neglected to mention that.
  • Bonzas
    Badcaps Veteran
    • Jan 2018
    • 471
    • Indonesia

    #3
    this patcher will work on corrupted bios or not sir ?

    Comment

    • SMDFlea
      Super Moderator
      • Jan 2018
      • 20863
      • UK

      #4
      Originally posted by Bonzas
      this patcher will work on corrupted bios or not sir ?
      It depends what you mean by corrupted bios. Will it help to clean corrupted ME firmware,bios region no. It just invalidates the serial number,featurebyte etc allowing new DMI to be added.
      All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

      Comment

      • Bonzas
        Badcaps Veteran
        • Jan 2018
        • 471
        • Indonesia

        #5
        Originally posted by SMDFlea

        It depends what you mean by corrupted bios. Will it help to clean corrupted ME firmware,bios region no. It just invalidates the serial number,featurebyte etc allowing new DMI to be added.
        i mean if the prevoius bios have no display sir, try with virgin bios without any editing work. But when i copy serial number block even with hex editor no display again, i end up using hpdmi to fill dmi

        Comment

        • thampy
          New Member
          • Dec 2022
          • 6
          • United States

          #6
          Hey SMDFlea, I appreciate this post. You have helped me a lot in the past with your guides. I have a HP Pro x360 Fortis 11 inch G9, which I believe is the x360 Fortis 11 G9 model you tested in your post. I successfully ran the full script and reprogrammed my BIOS chip. Once I boot the device after reinstalling the BIOS chip, I am getting a popup and it is reverting my BIOS changes. The dialog says "The BIOS has recovered its identity data from the Embedded Controller due to data mismatch."

          Do you have any advice here?

          Comment

          • SMDFlea
            Super Moderator
            • Jan 2018
            • 20863
            • UK

            #7
            Originally posted by thampy
            Hey SMDFlea, I appreciate this post. You have helped me a lot in the past with your guides. I have a HP Pro x360 Fortis 11 inch G9, which I believe is the x360 Fortis 11 G9 model you tested in your post. I successfully ran the full script and reprogrammed my BIOS chip. Once I boot the device after reinstalling the BIOS chip, I am getting a popup and it is reverting my BIOS changes. The dialog says "The BIOS has recovered its identity data from the Embedded Controller due to data mismatch."
            Do you have any advice here?
            Did the bios have a password
            All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

            Comment

            • thampy
              New Member
              • Dec 2022
              • 6
              • United States

              #8
              Originally posted by SMDFlea

              Did the bios have a password
              The BIOS did not have a password.

              Comment

              • jpwise
                New Member
                • Nov 2024
                • 3
                • New Zealand

                #9
                Morning all - new member, and semi-new to bios programming (have done some stuff with ESP's, but that's about it).

                Currently researching for exactly this process - reverting a previously used HP mainboard to a state suitable for putting into a spares pool and then re-dmi when installed into a machine.
                Primarily EB840 G7+G8, some 850's of the same, and potentially moving into the G9+G10 models. Business, not consumer models.

                This is probably the most relevant thread to ask the question in (and thanks to any that answer)
                For the purposes of refurbishing boards for re-use - what are the options? Most of these boards do not have passwords, but do have committed DMI data.

                Most of what I've read so far has been articles related to removing bios passwords, and board locks rather than re-instating MPM mode for wider re-use.
                As a general rule of thumb - what should I be expecting to see?
                The above macros (as stated) look to modify an existing bin image to invalidate the DMI permitting BCU to be re-run.
                Question - can the resulting image be used as a generic image to re-write onto subsequent (same pn) mainboards?
                Speculatively - I've seen mention of the EC also needing to be reflashed to match the main bios - so could these macros be applied to a clean Bios download from HP also, and then the main bios + ec both flashed with the resulting clean/mpm unlocked images?
                - would there be any potential downsides of doing this? I'd need to double check if the BCU tool also generates a new UUID for the board on these or not.
                - are there only the two modules - bios & ec - to consider, or are there other modules that may require reflash in this scenario?
                - just considering the options/viability of a 'standard' bios+ec per board that could be loaded onto additional boards rather than wasting the time to read it back and modify each one individually only to reflash it back.

                Thanks in advance.
                Jp.

                Comment

                • Mahesa09
                  Senior Member
                  • Nov 2021
                  • 63
                  • jakarta

                  #10
                  Originally posted by SMDFlea
                  This will only work if you have made a good bios backup !!!!!!

                  1. Install Tiny Hexer -> link in thread at post #1 https://www.badcaps.net/forum/showthread.php?p=1214739

                  2. Make a new folder on your C: drive called DMICOPY .

                  3. Move or copy the contents of the extracted zip folder to the DMICOPY folder.

                  4. Move or copy your bios backup to the DMICOPY folder.

                  5. Rename your backup bios to "locked.bin" (without the quotes "") .

                  6. Run the full script, if it doesn`t work try the others one by one. If it work, great, if it doesn`t, well you`re out of luck, try another way.

                  7. Click on the save button or close Tiny Hexer,and when promted to save... save :-)
                  I have tried and an error appears
                  Attached Files

                  Comment


                  • SMDFlea
                    SMDFlea commented
                    Editing a comment
                    Read the instructions carefully and try again. I don`t know what you`ve done wrong
                • testinglaptops
                  Senior Member
                  • Oct 2022
                  • 76
                  • United Arab Emirates

                  #11
                  Originally posted by Mahesa09

                  I have tried and an error appears
                  I was also facing same error, but then i changed my already bin file name only to "locked" (without the quotes ""). because i already saved my bios file as bin file. then no need to rename as locked.bin. this worked for me and my BIOS is Patched.

                  Thank You SMDFlea and BadCaps all Senior Members.

                  Comment

                  • jim1296
                    New Member
                    • Jul 2024
                    • 8
                    • Philippines

                    #12
                    what file need to flash again the locked.bin.bak or just locked.bin?

                    Comment


                    • SMDFlea
                      SMDFlea commented
                      Editing a comment
                      Use locked.bin .The file with .bak is a backup file
                  • Hm Yaseen
                    New Member
                    • Mar 2024
                    • 1
                    • UNITED ARAB EMIRATES

                    #13
                    SMDPlea plzz tell me how we know our locked.bin file is unlocked??

                    Comment


                    • SMDFlea
                      SMDFlea commented
                      Editing a comment
                      If the script has patched the bios with no errors flash the bios back. Read post 2 for steps to take at boot. It will work or it won`t, no guarantees.
                  • sir_faitty
                    New Member
                    • Jul 2020
                    • 8
                    • Nigeria

                    #14
                    Script didn’t work on x360 g11. Keeps restoring data from ec and password still there

                    Comment


                    • SMDFlea
                      SMDFlea commented
                      Editing a comment
                      The only way at the moment to unlock the G11 models is to flash the EC. Replacing the EC with one from a donor board might also work, not sure.
                  • jpwise
                    New Member
                    • Nov 2024
                    • 3
                    • New Zealand

                    #15
                    Originally posted by sir_faitty
                    Script didn't work on x360 g11. Keeps restoring data from ec and password still there
                    SMDFlea commented
                    Today, 08:57 AM
                    The only way at the moment to unlock the G11 models is to flash the EC. Replacing the EC with one from a donor board might also work, not sure.​
                    Ran into the same issue on a couple of 840 G8's I was using for testing. "Bios Identity Data Recovered - The BIOS has recovered it's identity data from the Embedded Controller due to a data mismatch."
                    I figured it was similarly going to require the EC to be either patched or reflashed as well - there's another thread on the 830 G10 where someone else reported the same issue - https://www.badcaps.net/forum/troubl...ng#post3323028 and apparently located an older "EC ver. 51.2B.00 which allowed me to enter in MPM Mode"

                    Can anyone give any guidance on the interoperability of the older EC versions with current Bios? If an earlier EC without the recovery data can be located is it likely to cause any issues? After the MPM data is committed I would assume it should then be possible to do a normal Bios update to bring both versions up to date.

                    Thx

                    Comment

                    • ArtHunting
                      Member
                      • Sep 2023
                      • 23
                      • Germany

                      #16
                      The script works perfectly with the HP Elite X2 G4. Tested.

                      Comment

                      • santoslao
                        • Apr 2017
                        • 101
                        • BZ

                        #17
                        I tested this on a 640 g9 bios version U75 and it didn't work. It makes the corrections and at the end in tiny hexer a last message appears as in the down image. I save the file and then flash it on the machine, but at startup it still asks for the password. I think you need to correct something else within the patch file and the program doesn't do it, according to another comparison of unlocked files that I see.
                        Click image for larger version  Name:	Screenshot_1.png Views:	0 Size:	71.3 KB ID:	3568120

                        Comment


                        • SMDFlea
                          SMDFlea commented
                          Editing a comment
                          It disables absolute , AA 55 3F to AA 55 3C
                      • clrscr
                        Senior Member
                        • Dec 2020
                        • 184
                        • sing

                        #18
                        can you unlock hp G11 ? thanks!

                        model: HP EliteBook 830 13 inch G11 Notebook PC
                        SN: 5CG411421H
                        Attached Files
                        ************************************************** ***********************************
                        Due to a lack of donations, server free space at a critical level, and possible closure of Bios Requests
                        all donations are welcome,
                        see the donate button at the bottom of the page, or
                        >>>>> click on this link to donate via PayPal. <<<<<
                        Every donation made will go towards server fees and maintenance costs.
                        ************************************************** ***********************************

                        Comment

                        • SMDFlea
                          Super Moderator
                          • Jan 2018
                          • 20863
                          • UK

                          #19
                          Originally posted by clrscr
                          can you unlock hp G11 ? thanks!

                          model: HP EliteBook 830 13 inch G11 Notebook PC
                          SN: 5CG411421H
                          No .
                          All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

                          Comment

                          • clrscr
                            Senior Member
                            • Dec 2020
                            • 184
                            • sing

                            #20
                            Originally posted by SMDFlea

                            No .
                            oh!

                            Any solution? now can't unlock?
                            ************************************************** ***********************************
                            Due to a lack of donations, server free space at a critical level, and possible closure of Bios Requests
                            all donations are welcome,
                            see the donate button at the bottom of the page, or
                            >>>>> click on this link to donate via PayPal. <<<<<
                            Every donation made will go towards server fees and maintenance costs.
                            ************************************************** ***********************************

                            Comment

                            Related Topics

                            Collapse

                            • macabook
                              🛠️ MSI GP75 Leopard MS-17E71 – No Display, Deep BIOS/EC Troubleshooting
                              by macabook
                              Hello everyone,

                              I’m currently working on a dead MSI GP75 Leopard (MS-17E71) motherboard (i7 CPU, NVIDIA GPU) with a no display/no backlight issue initially. After extensive investigation, I’m at a critical stage involving EC firmware, BIOS/ME region interaction, and possible deep corruption. I'm seeking advanced insight from anyone with experience in EC/BIOS sync issues or PCH-level behavior. Here’s a full breakdown:
                              🧩 Initial Issue
                              • Board powers on (fans spin, keyboard lights up and can be adjusted, caps lock led lights), but no display or backlight
                              • External display (HDMI) shows
                              ...
                              07-24-2025, 02:17 PM
                            • Vesko356
                              [Guide] How to find the right HP bios version to flash
                              by Vesko356
                              First of all thanks to all of our members who have posted previously all methods posted here.
                              Please leave a comment if you find something new,or have anything else to add.
                              -----------------------------------------------------------------------------------------

                              Find by serial number,model number or series

                              If you know the laptop serial or model number go to HP support https://support.hp.com/us-en/drivers/laptops .
                              Enter the serial number or model number and click submit.On the next screen you will have to enter the OS
                              Operating system and OS version.If...
                              08-11-2023, 03:27 AM
                            • jbonavita
                              ASUS TP500LA BIOS request/repair/merge?
                              by jbonavita
                              Hi, my laptop wont boot at all
                              With original bios no POST, only LED lights
                              With alternative BIOS from model TP500LN (flashed via programmer) the notebook works again
                              Some issues
                              A- with bios from 500LN, it won't update from bios of model 500LA (from 500LN v203 to 500LA v300)
                              B- If updated from 500LN version 203 to 300, the battery stops being recognized

                              Things I tried

                              1- Update / clear ME: Took the non working bios, made a backup, and did this: https://www.badcaps.net/forum/troubl...theory/trouble...
                              04-29-2025, 09:38 PM
                            • Wahaz
                              Lenovo Thinkbook 15 G2 ITL i5 (serial number: MP2BFZEF) bios request
                              by Wahaz
                              Hello,

                              I have a Lenovo Thinkbook 15 G2 ITL i5 Laptop (serial number: MP2BFZEF) that when I turn it on, the led on the power button lights up for 5 seconds, then goes out. There's no display and nothing happens.
                              So I thought it was a Bios problem.
                              I found 3 bios chips on the board, which I read with a bios programmer: two XMC model bios chips and a Winbond model bios chip. Each XMC model bios chip has two partitions named XM25QH128A [3.3V] and XT25F128A [3.3V]. And the Winbond model bios chip has three partitions named W25Q80BL 3.3V, W25Q80xV 3.3V and W25Q80DV 3.3V....
                              10-30-2023, 08:42 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...