LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tpchs
    New Member
    • Mar 2015
    • 4
    • mexico

    #4021
    Originally posted by Knucklegrumble
    lenovo_autopatcher_0.2.zip Hello everyone!

    In the past several weeks I've learned a lot from this forum and its community especially from all the folks who contributed to THIS thread

    With some trial and error I was able to reliably patch BIOS dumps for SVP-locked Lenovo machines up to the 8th generation using the info, tools, and files provided on this forum. After some practice and positive feedback from users I helped I've noticed that, once learned, the process is fairly straightforward, so I've developed a small python script to automate it and allow everyone to patch their own binaries without having to ask for help and wait.

    This is my way to give back to the community. Also I am lazy... lol.

    DISCLAIMER
    1. THIS SCRIPT IS FREE AND IS INTENDED FOR EDUCATIONAL PURPOSES ONLY.
      You CAN download it, modify it, redistribute it, etc. I only ask that you DON'T 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.
    2. I TAKE NO CREDIT FOR CREATING THE DXE DRIVERS OR ANY OF THE FILES THAT MAKE UP THE PATCH ITSELF.
      I've only developed the python script that automates the process and puts it all together.
    3. I TAKE NO RESPONSIBILITY FOR ANY DAMAGE YOU DO TO YOUR MACHINE, YOUR PETS, YOUR HOUSE, YOUR LIFE, AND THE SPACE-TIME CONTINUUM
      Making this kind 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.


    With that out of the way, using it is pretty simple and it should work on both Windows and Linux as long as you have Python installed https://www.python.org/downloads/.
    Just download the zip file and extract it. You'll get a folder named "lenovo_autopatcher" with the following content:



    IMPORTANT: Before applying the patch make sure you verify that your original image is not corrupted by dumping 1 or 2 additional images from your bios chip and comparing them. The original dump is THE ONLY WAY to recover your machine if something goes wrong!

    From command line use either autopatch.cmd (Windows) or autopatch.sh (Linux) as follows:

    autopatch

    THAT'S IT!

    The command will generate either your_bios_image_PATCHED.ext or your_bios_image_PATCHED_CLEAN.ext depending on the type of BIOS you are patching. The original dump will be left unchanged.

    autopatch -h will output the help info for the command
    autopatch --howto will output the following instructions on how to use the patched image:

    [ HOW TO USE THE PATCH ]
    STEP 1: Flash and replace current BIOS with the generated patch file
    STEP 2: Boot the machine
    STEP 3: Press ENTER/F1/etc. to enter BIOS settings
    STEP 4: Enter any character when asked for Supervisor Password
    STEP 5: Press enter when it shows Hardware ID
    STEP 6: Press space bar 2x when asked
    STEP 7: Turn off machine
    STEP 8: Restore original BIOS
    STEP 9: Reset BIOS settings to factory default

    [ NOTES ]
    When booting the patched BIOS you might have to:
    - Hold the anti-tamper switch down the whole time (use tape)
    - Remove the hard disk or replace it with a locked one

    Finally, I would be grateful if you could report any bugs, errors, problems, or general feedback in this thread so that I can make improvements to the script.



    Thank you, and enjoy!

    Download -> https://www.badcaps.net/filedata/fetch?id=3166264
    i have a thinkpad l480 after the patching only stay in entering setup some one can helpme
    Attached Files

    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
    • zenius
      [REQUEST] Dell G3 3579 BIOS Password & AMI Protected Range/BIOS Guard Unlock
      by zenius
      Hello, I have an old Dell G3 3579 (ST: 2WQ7LP2-8FC8) with a newer 8FC8 BIOS password. I have successfully attached to the flash chip (W25Q128JVSQ) on the motherboard with a CH341A programmer and made several modifications using Intel FIT (e.g., allow software SPI write) without bricking. I was also able to boot to a modified GRUB shell where I attempted to edit many BIOS security related options like BIOS Guard/Lock, Flash Signature Override, ME FW Image Re-Flash, etc.

      Unfortunately, some of these modifications like to Intel BIOS Guard failed because it is fused into the PCH. Also,...
      12-08-2024, 06:13 AM
    • 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
    • Loading...
    • No more items.
    Working...