Badcaps.net Forum
Go Back   Badcaps Forums > Troubleshooting Hardware & Devices and Electronics Theory > Troubleshooting Laptops, Tablets, and Mobile Devices > BIOS Requests ONLY!
Register FAQ Calendar Search Today's Posts Mark Forums Read

 
Thread Tools
Old 08-13-2020, 05:20 PM   #21
Knucklegrumble
Member
 
Join Date: Jun 2020
City & State: North Carolina
My Country: US
Line Voltage: 120VAC 60Hz
I'm a: Knowledge Seeker
Posts: 78
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Quote:
Originally Posted by Maxpower3 View Post

ok you clean OA3 and the rest ... nice job of comparison and research.
good news for the patch, it will be easier.
thank you

I made a patch nokey for translate file with key,
can I use your script to integrate it with maybe?

I had in the idea of ​​making a multi patch for bios with the different information to recover here

I manage with a few tools, but my level is limited
Sure you can! Hopefully we'll get some good reports from users. I have made a couple of changes to the script I'll post later on this thread. Unfortunately I can't edit my first l post though, so I'll just have to add it to another post...

Last edited by Knucklegrumble; 08-13-2020 at 05:25 PM..
Knucklegrumble is offline   Reply With Quote
Old 08-13-2020, 06:05 PM   #22
Maxpower3
Bad Veteran
 
Maxpower3's Avatar
 
Join Date: Feb 2018
City & State: Paris
My Country: France
I'm a: Knowledge Seeker
Posts: 389
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

what version of python are you using on windows?
Maxpower3 is offline   Reply With Quote
Old 08-13-2020, 06:25 PM   #23
crowntoy99
Badcaps Veteran
 
Join Date: Oct 2012
City & State: kerala
My Country: india
I'm a: Student Tech
Posts: 216
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

[QUOTE=Maxpower3;981258]
Quote:
Originally Posted by Knucklegrumble View Post
The EVSA was tricky...


ok you clean OA3 and the rest ... nice job of comparison and research.
good news for the patch, it will be easier.
thank you

I made a patch nokey for translate file with key,
can I use your script to integrate it with maybe?

I had in the idea of ​​making a multi patch for bios with the different information to recover here

I manage with a few tools, but my level is limited
good jobe bro
crowntoy99 is offline   Reply With Quote
Old 08-13-2020, 06:47 PM   #24
Maxpower3
Bad Veteran
 
Maxpower3's Avatar
 
Join Date: Feb 2018
City & State: Paris
My Country: France
I'm a: Knowledge Seeker
Posts: 389
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

[QUOTE=crowntoy99;981283]
Quote:
Originally Posted by Maxpower3 View Post

good jobe bro
thank you, it's Knuckle Crumble who should be thanked for the patch.

Last edited by Maxpower3; 08-13-2020 at 06:54 PM..
Maxpower3 is offline   Reply With Quote
Old 08-13-2020, 08:02 PM   #25
Knucklegrumble
Member
 
Join Date: Jun 2020
City & State: North Carolina
My Country: US
Line Voltage: 120VAC 60Hz
I'm a: Knowledge Seeker
Posts: 78
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Quote:
Originally Posted by Maxpower3 View Post
what version of python are you using on windows?
I use 3.8 on Windows, but I tested it with 2.7 and 3.6 on Linux as well.

I tried to make it as flexible as possible so people wouldn't have to fight with Python too while they are trying to patch their bios lol
Knucklegrumble is offline   Reply With Quote
Old 08-14-2020, 01:17 AM   #26
RethoricalCheese
Badcaps Veteran
 
Join Date: Mar 2013
City & State: Tartu
My Country: Estonia
I'm a: Knowledge Seeker
Posts: 1,462
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

UEFIReplace is compiled for x86-64 architecture. So using it on ARM device (raspberry) is out of the question?

But it did work on windows atleast.
RethoricalCheese is offline   Reply With Quote
Old 08-14-2020, 06:02 AM   #27
Knucklegrumble
Member
 
Join Date: Jun 2020
City & State: North Carolina
My Country: US
Line Voltage: 120VAC 60Hz
I'm a: Knowledge Seeker
Posts: 78
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Quote:
Originally Posted by RethoricalCheese View Post
UEFIReplace is compiled for x86-64 architecture. So using it on ARM device (raspberry) is out of the question?

But it did work on windows atleast.
Unless you can compile it for arm and drop the executable in the tools folder..
Knucklegrumble is offline   Reply With Quote
Old 08-14-2020, 02:03 PM   #28
Maxpower3
Bad Veteran
 
Maxpower3's Avatar
 
Join Date: Feb 2018
City & State: Paris
My Country: France
I'm a: Knowledge Seeker
Posts: 389
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

you should be able to choose the desired file when launching the script, can it be with a fileopenbox function ?? can you do that ??
I haven't been able to get the script to work yet.
if you want to show me please.Thank you
Maxpower3 is offline   Reply With Quote
Old 08-14-2020, 04:30 PM   #29
RethoricalCheese
Badcaps Veteran
 
Join Date: Mar 2013
City & State: Tartu
My Country: Estonia
I'm a: Knowledge Seeker
Posts: 1,462
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Just drag and drop file. Or use my HPUnlocker tutorial about regedit entry to add lenovo patcher in right click menu. Much faster and easier.
RethoricalCheese is offline   Reply With Quote
Old 08-14-2020, 04:51 PM   #30
Knucklegrumble
Member
 
Join Date: Jun 2020
City & State: North Carolina
My Country: US
Line Voltage: 120VAC 60Hz
I'm a: Knowledge Seeker
Posts: 78
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Quote:
Originally Posted by Maxpower3 View Post
you should be able to choose the desired file when launching the script, can it be with a fileopenbox function ?? can you do that ??
I haven't been able to get the script to work yet.
if you want to show me please.Thank you

You launch the script by entering

autopatch file_you_want_to_patch.bin
Knucklegrumble is offline   Reply With Quote
Old 08-14-2020, 05:37 PM   #31
Maxpower3
Bad Veteran
 
Maxpower3's Avatar
 
Join Date: Feb 2018
City & State: Paris
My Country: France
I'm a: Knowledge Seeker
Posts: 389
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

yes ok it's good, problem with python. I modified like that to select the file.
for windows test on w10
Attached Files
File Type: rar lenovo_autopatcher.rar (1.68 MB, 2665 views)

Last edited by Maxpower3; 08-14-2020 at 06:20 PM.. Reason: edit:I mod patch ,ok now
Maxpower3 is offline   Reply With Quote
Old 08-17-2020, 01:04 PM   #32
earthoo7
New Member
 
Join Date: Jun 2017
City & State: paris
My Country: france
I'm a: Knowledge Seeker
Posts: 13
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Quote:
Originally Posted by Knucklegrumble View Post
I use 3.8 on Windows, but I tested it with 2.7 and 3.6 on Linux as well.

I tried to make it as flexible as possible so people wouldn't have to fight with Python too while they are trying to patch their bios lol
@Knucklegrumble
@maxpower3
i tried this autopatcher with t460 password bios.
it output 32mb files with injected dxe driver & nvram data.
while original dump is 16mb.
one more thing autopacher not worked with python 2.7 in win7 spi x86
so i installed latest 3.8.5 now working ok.
thanks you guys for faboulous work for this utility
Attached Files
File Type: rar t460 with password.rar (7.51 MB, 400 views)
earthoo7 is offline   Reply With Quote
Old 08-17-2020, 02:40 PM   #33
earthoo7
New Member
 
Join Date: Jun 2017
City & State: paris
My Country: france
I'm a: Knowledge Seeker
Posts: 13
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Quote:
Originally Posted by earthoo7 View Post
@Knucklegrumble
@maxpower3
i tried this autopatcher with t460 password bios.
it output 32mb files with injected dxe driver & nvram data.
while original dump is 16mb.
one more thing autopacher not worked with python 2.7 in win7 spi x86
so i installed latest 3.8.5 now working ok.
thanks you guys for faboulous work for this utility
same issue with t560 t570.
earthoo7 is offline   Reply With Quote
Old 08-17-2020, 03:05 PM   #34
Maxpower3
Bad Veteran
 
Maxpower3's Avatar
 
Join Date: Feb 2018
City & State: Paris
My Country: France
I'm a: Knowledge Seeker
Posts: 389
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

weird it's good for me
Attached Images
File Type: jpg Nouvelle image bitmap.jpg (143.1 KB, 1279 views)
Maxpower3 is offline   Reply With Quote
Old 08-17-2020, 04:31 PM   #35
Knucklegrumble
Member
 
Join Date: Jun 2020
City & State: North Carolina
My Country: US
Line Voltage: 120VAC 60Hz
I'm a: Knowledge Seeker
Posts: 78
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Quote:
Originally Posted by earthoo7 View Post
same issue with t560 t570.
That is odd... Are you sure you're patching the correct dump?
Knucklegrumble is offline   Reply With Quote
Old 08-17-2020, 11:13 PM   #36
earthoo7
New Member
 
Join Date: Jun 2017
City & State: paris
My Country: france
I'm a: Knowledge Seeker
Posts: 13
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

@Knucklegrumble

check with this dump post #306

https://www.badcaps.net/forum/showth...=65996&page=16

i will upload more dump for testing...
thankyou
earthoo7 is offline   Reply With Quote
Old 08-17-2020, 11:35 PM   #37
Cunninghood
Member
 
Join Date: Jun 2020
City & State: Singapore
My Country: Singapore
I'm a: Knowledge Seeker
Posts: 20
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Yes I have the same problem, output as 32mb when original is 16mb. see attached.
Attached Files
File Type: rar Desktop.rar (23.98 MB, 255 views)
Cunninghood is offline   Reply With Quote
Old 08-18-2020, 01:42 AM   #38
Cunninghood
Member
 
Join Date: Jun 2020
City & State: Singapore
My Country: Singapore
I'm a: Knowledge Seeker
Posts: 20
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

There is an extra padding which causes the file size to double. I replace the body with an empty file but to no avail.
Cunninghood is offline   Reply With Quote
Old 08-18-2020, 02:05 AM   #39
Maxpower3
Bad Veteran
 
Maxpower3's Avatar
 
Join Date: Feb 2018
City & State: Paris
My Country: France
I'm a: Knowledge Seeker
Posts: 389
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

you tried with python 2x
me with my install, I have problems with python 3x.
file not changed or error replacing GUID.
add to PATH environment variable.
C: \ python27
Maxpower3 is offline   Reply With Quote
Old 08-18-2020, 02:15 AM   #40
Cunninghood
Member
 
Join Date: Jun 2020
City & State: Singapore
My Country: Singapore
I'm a: Knowledge Seeker
Posts: 20
Default Re: LENOVO BIOS AUTO-PATCHER for Supervisor Password Removal

Tried Python27, same thing.

However, I tried to use HxD to delete the whole chain of data (which should be that extra padding), trying to see if it works.
Cunninghood is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Badcaps.net Technical Forums © 2003 - 2023
Powered by vBulletin ®
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
All times are GMT -6. The time now is 05:10 PM.
Did you find this forum helpful?