Jump to content

UEFI option ROM extractor and decompressor V1.0


Andy Vandijck
 Share

8 posts in this topic

Recommended Posts

This app can extract the uncompressed .efi files from an UEFI option ROM.

It can also directly decompress a compressed EFI binary (raw compressed data).

 

Usage: UEFIRomExtract infile.rom outfile.efi

 

I tested this on various binaries and it always worked fine when the .rom file is an UEFI option ROM.

 

Enjoy :D

 

EDIT: Added Github repo:

https://github.com/andyvand/UEFIRomExtract

UEFIRomExtract.zip

UEFIRomExtract_Windows.zip

  • Like 8
Link to comment
Share on other sites

  • 4 months later...
  • 1 year later...
  • 3 years later...

Sorry for digging this topic up, but I have to ask a question in this matter. Is there a tool to do the opposite of what UEFI Extract does? I need to flash a modified UEFI, but I've got no (sort of) UEFI merger tool, which would put all the files together again into an UEFI image file.

 

OKAY, app I need is MMTool APTIO - very easy to use. SOLVED.

Edited by InfestedOne
Link to comment
Share on other sites

  • 3 years later...
3 hours ago, kocoman said:

is there a linux version of this ? thx

I think this is a continuation of the project

https://github.com/LongSoft/UEFITool/releases

Link to comment
Share on other sites

On 5/5/2023 at 4:08 AM, pitrysha said:

I think this is a continuation of the project

https://github.com/LongSoft/UEFITool/releases

he only extract from uefi volumes/bios images and not single "u and PCIE" in the binary when seen in winhex

 

i using it for the sas oracle/nynt/seagate f40/f80 warpdrive uefi oprom extraction for booting off its 100gb-128gb etc in tianocore where it doesn't run the uefi option rom

 

where is AnV, I remember seeing him active years ago here.. where is the hacktonish scene now?

Link to comment
Share on other sites

Thank you..

@kocoman1, here, a single C file that should be buildable on any OS with a C compiler and libc (Linux, macOS, Windows, whatever): UEFIRomExtract.zip
Usage: download, unzip, run gcc UEFIRomExtract.c -o uefiromextract, replace gcc with clang if your Linux distro uses it.
Tested locally on Ubuntu 23.03, worked for me (with minor compiler warnings that can be ignored).

UEFIRomExtract-for-linux-from-Nikolaj.zip

Link to comment
Share on other sites

 Share

×
×
  • Create New...