Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
Bios MOD Lenovo L390/ Wifi support MacOS
Last Post: DennisWeaver
04-03-2025 10:50 PM
» Replies: 1
» Views: 861
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: help_seeker
04-03-2025 01:23 PM
» Replies: 129
» Views: 53926
[REQUEST] Lenovo ThinkCentre M93p Tiny (...
Last Post: sairos
04-03-2025 10:23 AM
» Replies: 60
» Views: 47083
[REQUEST] Lenovo Thinkpad T440p (GLETxxW...
Last Post: uncle_Fedya
04-02-2025 03:54 PM
» Replies: 524
» Views: 222227
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: Dudu2002
04-02-2025 01:56 PM
» Replies: 497
» Views: 208011
[REQUEST] Gigabyte G5 KF BIOS unlock
Last Post: Dudu2002
04-02-2025 01:55 PM
» Replies: 3
» Views: 381
[REQUEST] Lenovo Legion 5 (EFCNxxWW) BIO...
Last Post: Dudu2002
04-02-2025 03:32 AM
» Replies: 44
» Views: 21167
Gigabyte b650e aorus master F33b
Last Post: Anem
04-01-2025 11:59 PM
» Replies: 0
» Views: 264
Xeon E5 2699 V3 (turbo Unlock) for Bios-...
Last Post: xlr8r
04-01-2025 11:42 AM
» Replies: 0
» Views: 362
[REQUEST] Lenovo Thinkpad X1 Carbon Gen3...
Last Post: Dudu2002
04-01-2025 08:50 AM
» Replies: 38
» Views: 18057
HP Probook 640 G2 bricked BIOS
Last Post: Milovanovic1992
04-01-2025 08:13 AM
» Replies: 0
» Views: 296
Dell Optiplex 3060 add 9th Gen CPU suppo...
Last Post: nickedasy
04-01-2025 03:31 AM
» Replies: 18
» Views: 1483
AM3 support for a Compaq
Last Post: DeathBringer
04-01-2025 01:01 AM
» Replies: 1
» Views: 366
Bios modding to support more RAM (Pegatr...
Last Post: DeathBringer
03-31-2025 01:33 PM
» Replies: 1
» Views: 506
[Request] ASUS X93SV (Whitelist Removal)
Last Post: Supercharger
03-30-2025 05:48 AM
» Replies: 1
» Views: 2339
Downgrade bios for Acer Aspire E1-571(G)...
Last Post: Rodrigowbs
03-29-2025 11:18 PM
» Replies: 24
» Views: 21722
[Request] Samsung Series 7 Slate PC
Last Post: SwCore
03-29-2025 10:23 PM
» Replies: 16
» Views: 17372
[Request] Alienware M18 R1 AMD(version) ...
Last Post: 009drmq
03-29-2025 09:20 AM
» Replies: 0
» Views: 535
Acer nitro an16-41 device bios is corrup...
Last Post: Serwintes
03-29-2025 07:25 AM
» Replies: 0
» Views: 409
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Sonnnnnni Sid
03-29-2025 06:41 AM
» Replies: 485
» Views: 191423

[UEFIPatch] semi-universal UEFI image patcher
#1
Hi, guys.

I wrote another small program based on UEFITool's engine, that can be used to patch UEFI image file without unpacking it on disk.

Patches can either be applied directly, calling the program with 4 parameters:
UEFIPatch.exe ImageFile FfsFileGuid SearchPattern ReplacePattern
or taken from patches.txt file (example file with OSX PM Patches provided), in this case only ImageFile parameter is needed.
Basically, you can just drop your BIOS file on program's icon and all patches from txt file will be tried.

I hope you will find it useful to automate whitelist removals and stuff. If you can catch a bug - please report. Thank you all in advance.

All my UEFITool-based utilities can always be downloaded from sendspace.
find
quote
#2
Good tool.
But I think that is possible to generate errors for small and common patterns.
In that case is need to increase pattern size.
My ideea is to use ida diff file.
That is offset based and then no more problem in case pattern is common or found in more than one instance.
find
quote
#3
It can easily be modified by changing a single QByteArray.replaceAll call to something more appropriate. I don't think offset-based solution will be more convenient, because it's unlikely that there be too many patch patterns in a single FFS file, but if you need it - it's easy to implement.
find
quote
#4
(06-19-2014, 05:30 AM)CodeRush Wrote: Hi, guys.

I wrote another small program based on UEFITool's engine, that can be used to patch UEFI image file without unpacking it on disk.

Patches can either be applied directly, calling the program with 4 parameters:
UEFIPatch.exe ImageFile FfsFileGuid SearchPattern ReplacePattern
or taken from patches.txt file (example file with OSX PM Patches provided), in this case only ImageFile parameter is needed.
Basically, you can just drop your BIOS file on program's icon and all patches from txt file will be tried.

I hope you will find it useful to automate whitelist removals and stuff. If you can catch a bug - please report. Thank you all in advance.

All my UEFITool-based utilities can always be downloaded from sendspace.

You're always a Genious, man !!!
Many thanks for all yours productions and efforts to help all of us !!!
Can I ask for more patch on the same module how to do ?
I think use other rows with same GUID etc. ?
Regards

[size=undefined]Your Brain [/size]. . . . It's the best tool U can use ! Wink
[size=undefined]Don't FLASH the Bios Mod if You get a Size Alert, You risk a Brick !!! [/size]
Donate to me for my work, click here BDM
find
quote
#5
Thanks, BDMaster.
To patch more then one string, just add a second line to patches.txt with the same GUID. Patches are applied from top to bottom, succesfully applied patches are listed in program's output.
find
quote
#6
@BDMaster, check this out, I have implemented some of your proposals.
find
quote
#7
(07-05-2014, 08:25 AM)CodeRush Wrote: @BDMaster, check this out, I have implemented some of your proposals.

I think You have some Einstein DNA in yours man !!!
Infinite Thanks !
I will test It quickly and will spread this superb tool.
Regards

[size=undefined]Your Brain [/size]. . . . It's the best tool U can use ! Wink
[size=undefined]Don't FLASH the Bios Mod if You get a Size Alert, You risk a Brick !!! [/size]
Donate to me for my work, click here BDM
find
quote
#8
Thank you for your contributions to the BIOS modding community CodeRush! We need more programmers like you. I also want to thank BDMaster for his great ideas in the development of this tool. Once BDMaster tests this tool, him and I will spread the news and make this tool public.

I am not experienced with Whitelist removal, but this tool makes the process easy. I will happily beta test this tool if you are in need of testers.


~Steven

!!!!!PLEASE READ!!!!!! Our Ukrainian friends are undergoing atrocities right now and need support. There are two things you can do for starters:

1.) Donate to one of various organizations offering medical, military, and psychological support to those impacted: Support Organizations

2.) Combat misinformation on social media. 

Also, please feel free to PM me if I have not replied again about your BIOS mod request after 5 days.
www find
quote
#9
@BDMaster, stop the glory, I'm feeling shy. Smile I'm not a genius in any means, just want to develop my BIOS knowledge further, and if it can help other people without breaking NDAs - why not then.

@Sml6397, thanks. Beta testers are always welcome.
The engine that UEFIPatch is using (UEFITool's ffsEngine) is already somewhat tested and appears to be OK, but there are still much room for improvement (like initial support of FIT table editing to prevent new mobile-HSW and mobile-BDW besed systems from surprise brick) and bugs can still lurk in it's code.
I don't think it will be possible to write an 100%-universal utility, and it's a hobby project with a list of limitations, but I will definitely try to add some features needed by modders like you and BDMaster (if, again, it won't break NDAs I have with AMI).
find
quote
#10
(07-07-2014, 01:59 AM)CodeRush Wrote: @BDMaster, stop the glory, I'm feeling shy. Smile I'm not a genius in any means, just want to develop my BIOS knowledge further, and if it can help other people without breaking NDAs - why not then.

@Sml6397, thanks. Beta testers are always welcome.
The engine that UEFIPatch is using (UEFITool's ffsEngine) is already somewhat tested and appears to be OK, but there are still much room for improvement (like initial support of FIT table editing to prevent new mobile-HSW and mobile-BDW besed systems from surprise brick) and bugs can still lurk in it's code.
I don't think it will be possible to write an 100%-universal utility, and it's a hobby project with a list of limitations, but I will definitely try to add some features needed by modders like you and BDMaster (if, again, it won't break NDAs I have with AMI).

I have read about your work in Ami Bios (Congatec AG as BIOS developer) so
Gratulations friend !!!
But let You give always your Gifts to us, please don't miss us !
Regards

[size=undefined]Your Brain [/size]. . . . It's the best tool U can use ! Wink
[size=undefined]Don't FLASH the Bios Mod if You get a Size Alert, You risk a Brick !!! [/size]
Donate to me for my work, click here BDM
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)