hp_bios_passwd_erase: just some GPLed C code.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • libv
    New Member
    • Apr 2023
    • 3
    • Germany

    #1

    hp_bios_passwd_erase: just some GPLed C code.

    Available at https://github.com/libv/hp_bios_passwd_erase

    Supports $VSS/BiosUser, UserCred and NvramActiveRegn style BIOS. I have tried to be a slight bit more intelligent about handling UserCred, but i am just as crude with NvramActiveRegn as the other tools out there.

    So far, it was verified with images for: Elitebooks 4520s, 8440p, 8460p, 8470p, 840-g1, 840-g2, 840-g3, 840-g4, 840-g5, Probook 650-g3 and 650-g4. I needed this myself for both an 840-g2 and 650-g3.

    Please provide patches or bug reports on github, i will happily read about success stories with previously unverified machines here on badcaps!
  • peter99
    Member
    • Mar 2025
    • 30
    • kenya

    #2
    Originally posted by libv
    Available at https://github.com/libv/hp_bios_passwd_erase

    Supports $VSS/BiosUser, UserCred and NvramActiveRegn style BIOS. I have tried to be a slight bit more intelligent about handling UserCred, but i am just as crude with NvramActiveRegn as the other tools out there.

    So far, it was verified with images for: Elitebooks 4520s, 8440p, 8460p, 8470p, 840-g1, 840-g2, 840-g3, 840-g4, 840-g5, Probook 650-g3 and 650-g4. I needed this myself for both an 840-g2 and 650-g3.

    Please provide patches or bug reports on github, i will happily read about success stories with previously unverified machines here on badcaps!
    how to user ?
    boot uefi ?

    Comment

    • libv
      New Member
      • Apr 2023
      • 3
      • Germany

      #3
      It has a simple Makefile, so running make should suffice to build it.

      It uses standard C headers, so anything with a libc should theoretically work. That being said, it was only tested on debian with gcc/glibc, but mingw32/64 should be trivially usable as well.

      Its command line looks like:
      $ ./hp_erase --help
      Usage: ./hp_erase <infile> <outfile>

      Comment

      Related Topics

      Collapse

      • AlexRaspberry
        HP Elitebook X360 1030 G3 remove password BIOS.
        by AlexRaspberry
        Password removal option for those who do not have a method through HPUnlocker.
        This option saves all information in the BIOS (serial number, Windows key, etc.) and also excludes the appearance of BIOS notifications at startup (hp endpoint security controller problem).

        1. Read BIOS (32MB) and EC (16MB) firmware.
        Be sure to make backups.

        2. EC:

        2.1) Copy the area from the original and paste into a clean "EC (16MB) Clean".

        Region start - 0, length - DA3000

        2.2) Find in "EC (16MB) Clean" and...
        09-13-2021, 12:38 PM
      • tech_guru
        HP Elitebook 840 G8 Endpoint security controller issue
        by tech_guru
        Hello!

        I have a laptop HP ELITEBOOK 840 G8 with bios admin password which I wanted to remove by programming the ec chip on the bottom of the motherboard. I read the file with RT809 and put FFs in hex from the first NvramActiveRegn until the next many FFs in the hex. Flashed it back, bios pass got removed but now I have another error at post: There is a problem with the hp endpoint security controller on the unit.

        Any ideas? Please find attached the files (original bios+ec and the unlocked ec file)...
        09-19-2025, 09:13 AM
      • filewalker
        HP Elitebook 840 G5 Endpoint Security Controller Problem
        by filewalker
        Hi,

        I have recently bought a Laptop that has a Endpoint Security Controller Problem. According to the seller it has just appeared all of the sudden.

        Things I have tried so far:
        • Restore the security settings to defaults and restart the laptop
        • Disable all the security options
        • Clear the NvramActiveRegn areas (replace with FF) Hex Area 37000-38FF0


        Also I have checked the DMI Information which seems right according to the stickers on the mainboard.

        Is there anything else I can try?...
        10-27-2022, 02:52 AM
      • qsenc
        hp 840g2 bios unlock help
        by qsenc
        I need to unlock bios for hp 840g2


        Thanks in advance for help !!...
        04-04-2017, 04:31 AM
      • Loading...
      • No more items.
      Working...