coderobe / VBiosFinder

Extract embedded VBIOS from (almost) any BIOS Update

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lenovo Y50-70 FullHD gtx960m 4GB works.

raksanyiv opened this issue · comments

FYI!

Lenovo Y50-70 Fullhd, no touch, GTX960m 4G, extract log if needed.

Fedora 34, needed the extra packages from repo:
# dnf install ruby ruby-devel p7zip p7zip-plugins upx innoextract cmake

Extra stuff compiled under 3rd-party dir: rom-parser, UEFIExtract (new_engine brach)
git clone https://github.com/LongSoft/UEFITool --branch=new_engine
git clone https://github.com/awilliam/rom-parser

Needed to update bundler gem:
$ gem install bundler:1.17.3

Actual run:

VBiosFinder]$ ./vbiosfinder extract 9ecn43ww.exe 
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:29: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:29: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:44: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/user/.local/share/gem/ruby/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
output will be stored in '/home/user/Downloads/VBiosFinder/tmp-vbiosfinder'
checking for ruby... yes

checking for innoextract... yes
checking for upx... yes
checking for 7z... yes
trying to extract ./9ecn43ww.exe
found innoextract archive
Extracting "Lenovo BIOS Update Utility" - setup data version 5.5.0 (unicode)
 - "app/9ECN43WW.exe" - overwritten
 - "app/9ECN43WW.exe"
Done.
trying to extract ./app/9ECN43WW.exe
found 7z archive
trying to extract ./Ding.wav
trying to extract ./FWUpdLcl.exe
trying to extract ./FlsHook.exe
trying to extract ./FlsHookDll.dll
trying to extract ./InsydeFlash.exe
trying to extract ./WinZIVY2X64_8M.rom
trying to extract ./iscflash.dll
trying to extract ./iscflash.sys
trying to extract ./iscflashx64.sys
trying to extract ./platform.ini
trying to extract ./xerces-c_2_7.dll
extracting uefi data
trying to extract ./9ecn43ww.exe
found UEFIExtract archive
trying to extract ./Ding.wav
found UEFIExtract archive
trying to extract ./FWUpdLcl.exe
found UEFIExtract archive
trying to extract ./FlsHook.exe
found UEFIExtract archive
trying to extract ./FlsHookDll.dll
found UEFIExtract archive
trying to extract ./InsydeFlash.exe
found UEFIExtract archive
trying to extract ./WinZIVY2X64_8M.rom
found UEFIExtract archive
trying to extract ./app/9ECN43WW.exe
found UEFIExtract archive
trying to extract ./iscflash.dll
found UEFIExtract archive
trying to extract ./iscflash.sys
found UEFIExtract archive
trying to extract ./iscflashx64.sys
found UEFIExtract archive
trying to extract ./mkmf.log
found UEFIExtract archive
trying to extract ./platform.ini
found UEFIExtract archive
trying to extract ./xerces-c_2_7.dll
found UEFIExtract archive
filtering for modules...
got 3076 modules
finding vbios
4 possible candidates
checking for rom-parser... yes
Found VBIOS for device 8086:0406!
Found VBIOS for device 10de:13af!
Found VBIOS for device 10de:1392!
Found VBIOS for device 10de:139b!
Job done. Extracted files can be found in /home/user/Downloads/VBiosFinder/tmp-vbiosfinder/../output
Cleaning up garbage

[user@notebook VBiosFinder]$ cd output/
[user@notebook output]$ ll
total 5308
-rwxrwxr-x. 1 user user 5047976 Mar  5 13:33 bios_9ecn43ww.exe
-rw-rw-r--. 1 user user  103936 Mar  5 13:33 vbios_10de_1392_1.rom
-rw-rw-r--. 1 user user  103936 Mar  5 13:33 vbios_10de_139b_1.rom
-rw-rw-r--. 1 user user  104448 Mar  5 13:33 vbios_10de_13af_1.rom
-rw-rw-r--. 1 user user   65536 Mar  5 13:33 vbios_8086_0406_1.rom

And a very big thank you for this work!