Try our new boardview, bios, & schematic search. Over 1.3 million files for download!

HP factory bios patcher

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SMDFlea
    Super Moderator
    • Jan 2018
    • 23894
    • 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 ! Use HP Bios Config utility to save DMI before you start.


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

    1. Install Tiny Hexer hex editor -> https://www.softpedia.com/get/Others...ny-hexer.shtml

    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 for 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

    EDIT: Added script to put into MPM - HP_Factory_Mode_7_MPS


    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

    Premium supporters get full download access and other benefits.

  • 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
    • 475
    • Indonesia

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

    Comment

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

      Comment

      • Bonzas
        Badcaps Veteran
        • Jan 2018
        • 475
        • 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
            • 23894
            • 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

            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
                  • Nov 2021
                  • 68
                  • 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

                  Premium supporters get full download access and other benefits.

                  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
                  • 102
                  • 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


                  • kachiza
                    kachiza commented
                    Editing a comment
                    im behind on extracted content
                • jim1296
                  Member
                  • Jul 2024
                  • 10
                  • 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
                  • 4
                  • 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
                      • 148
                      • 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
                      • 194
                      • sing

                      #18
                      can you unlock hp G11 ? thanks!

                      model: HP EliteBook 830 13 inch G11 Notebook PC
                      SN: 5CG411421H
                      Attached Files

                      Premium supporters get full download access and other benefits.

                      Comment

                      • SMDFlea
                        Super Moderator
                        • Jan 2018
                        • 23894
                        • UK

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

                        model: HP EliteBook 830 13 inch G11 Notebook PC
                        SN: 5CG411421H
                        No .

                        Comment

                        • clrscr
                          Senior Member
                          • Dec 2020
                          • 194
                          • sing

                          #20
                          Originally posted by SMDFlea

                          No .
                          oh!

                          Any solution? now can't unlock?

                          Comment

                          Related Topics

                          Collapse

                          • MTT97
                            I managed to brick the XPS 15 9550 Bios just by changing some settings and hit save...
                            by MTT97
                            Long story, i bought this XPS 15 9550 that came without a ram and ssd. I had a known working Crucial 8GB 3200Mhz DDR4 ram laying around so i tried it and the laptop would boot to bios but once exiting bios (without making any changes) it will get stuck on a black screen and only fans and keyboard would turn on. To get it ''working'' again i hard reset it by unplugging the battery and ac adapter and leave it for 5-10 min. I attempted to install windows but it froze before i even got to the language and region selection page. I then ordered some 2400Mhz rams which worked and i was finally able to...
                            01-31-2026, 06:18 PM
                          • 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
                          • cr4zychriss
                            [Problem/ Request] Bricked TongFang GK7MRFR BIOS
                            by cr4zychriss
                            Hello everyone,
                            I am requesting urgent assistance to unbrick my laptop, a rebranded TongFang GK7MRFR chassis. The laptop is completely dead following a faulty in-OS EC flash attempt.
                            I have successfully used a CH341A programmer and can read/write/verify both flash chips, but using my backups/extractions has failed to restore power. The root cause is likely a corrupted Intel Management Engine (ME) region or an incompatible EC/BIOS pairing. System & Hardware Details
                            • Barebone / Chassis: TongFang GK7MRFR
                            • MB: MB: GK5MP5X V1.0 Prod :GK5MRFV10T04201310281
                            • Rebrand: PC Specialist
                            ...
                            11-14-2025, 04:04 PM
                          • pirati
                            ASUS Zenbook Pro Duo UX8402ZA BIOS
                            by pirati
                            Hello everyone,

                            I recently bought a non-working Asus Zenbook Pro Duo OLED UX8402ZA that was listed for parts only. The seller mentioned that it had no display output but that the charging lights worked.

                            When the laptop arrived (without a charger and SSD), I connected a charger and confirmed with a multimeter that it was charging the battery. However, when I tried to power it on, only the backlight of the secondary display came on. There was no image, and it didn’t boot into the BIOS.

                            I decided to try flashing a new BIOS, but since I didn’t want to desolder...
                            10-27-2025, 04:20 PM
                          • Deniz
                            IdeaPad Gaming 3 16IAH7 BIOS Issue / GPU Not Detected
                            by Deniz
                            Bu: https://pcsupport.lenovo.com/tr/tr/p...065tx/mp2br7d9

                            Hello everyone,

                            I have a Lenovo IdeaPad Gaming 3 16IAH7. When the device first arrived, there was no display at all.
                            I had the BIOS cleaned, but the issue was not resolved and there was still no image.

                            Later, I flashed a different BIOS dump from the same model. With this BIOS, the device boots and display works, but the GPU is not detected in the BIOS (RTX 3060 is missing).

                            After that, I tried to update the...
                            01-27-2026, 06:56 AM
                          • Loading...
                          • No more items.
                          Working...