coderobe / VBiosFinder

Extract embedded VBIOS from (almost) any BIOS Update
GNU Affero General Public License v3.0
128 stars 21 forks source link

Works on Acer Nitro AN515-52 #29

Open JoJoDeveloping opened 4 years ago

JoJoDeveloping commented 4 years ago

Thanks for this tool!

Using this on the Asus BIOS image is a bit tricky since you have to pull a few punches to get the actual Efi image first:

Output:

$ ./vbiosfinder extract $(pwd)/53d8_f0.exe
output will be stored in '/mnt/workfs/johannes/randomstuff/bios/VBiosFinder/tmp-vbiosfinder'
checking for ruby... yes

checking for innoextract... no
Install 'innoextract' on your system (required for Inno Installers)
checking for upx... no
Install 'upx' on your system (required for UPX executables)
checking for 7z... yes
trying to extract ./53d8_f0.exe
extracting uefi data
trying to extract ./53d8_f0.exe
found UEFIExtract archive
trying to extract ./mkmf.log
found UEFIExtract archive
filtering for modules...
got 4537 modules
finding vbios
7 possible candidates
checking for rom-parser... yes
Found VBIOS for device 8086:0406!
Found VBIOS for device 8086:0406!
Found VBIOS for device 8086:0406!
Found VBIOS for device 10de:1c8c!
Found VBIOS for device 10de:1c8d!
Found VBIOS for device 10de:1c20!
Found VBIOS for device 10de:1c20!
Job done. Extracted files can be found in /mnt/workfs/johannes/randomstuff/bios/VBiosFinder/tmp-vbiosfinder/../output

I extracted both BIOSes found in the update, the files are identical. Also issue #20 is present here.

DarKWinGTM commented 3 years ago

I need help, can you upload rom "Found VBIOS for device 10de:1c8c!" ?. I need this rom.

DarKWinGTM commented 3 years ago

Please.

JoJoDeveloping commented 3 years ago

I need help, can you upload rom "Found VBIOS for device 10de:1c8c!" ?. I need this rom.

Sure, here you go.

vbios_10de_1c8c.rom.zip

DarKWinGTM commented 3 years ago

Thanks alot bro.

DarKWinGTM commented 3 years ago

I can't patch vBIOS can you help me ?, How i can get this pFlash

/opt/edk2/Build/OvmfX64/DEBUG_GCC5/FV/OVMF_CODE.fd

I want OVMF_CODE.fd file patched. I try to follow this guide. https://lantian.pub/en/article/modify-computer/laptop-intel-nvidia-optimus-passthrough.lantian/

My os is Ubuntu 20.04 LTS

DarKWinGTM commented 3 years ago

I need OVMF_CODE.fd already patched from this vBios.

Nathoufresh commented 3 years ago

Hi would you mind sharing 1c8d rom? :)

JoJoDeveloping commented 3 years ago

Hi would you mind sharing 1c8d rom? :)

Here you go vbios_10de_1c8d.rom.zip

coderobe commented 3 years ago

Thanks for the binwalk hint, I'm gonna look into adding automation of this.