02-22-2014, 01:59 PM
(02-21-2014, 01:03 PM)BDMaster Wrote: It not happen often that someone explain . . . but prayers are answered !
General steps to mod, no matter what bios:
-decompose the bios into its modules and decompressing, at least one module.
PMTool or UEFI Tool
-search through the modules for the bytes sequence of your currently used card.
XSearch
Note it’s stored like that (I used Lenovo IdeaPad G480 data to be concrete) :
PCI\VEN_14E4&DEV_4727&SUBSYS_058714E4&REV_01
Here Sovem have done an error when show his data 8086 . . .
You can check the numbers sequence for Sovem data is not Little Endian (some error)
Means:
Vendor: 14E4
Device: 4727
SUBSYS: 058714E4
Stored at whitelist like:
E41487052747E414
(This is Little Endian Intel Format E4 14 87 05 27 47 E4 14 inverted numbers LIFO) (Starting from right to left rewrite numbers E4 14 87 . . . . )
Ok and other important fact is the error messages that bios give when stop to work !
-search through the modules for string sequence of error messages :
“Unauthorized Wireless network card is plugged in Power off and remove it”
“Unauthorized WWAN network card is plugged in Power off and remove it”
So We have two data to work on :
PCI\VEN + Error Strings, We have to go to search them, use XSearch !!!!
run it and find half numbers sequence of PCI ID Vendor and Device :
2747E414
Select Hexadecimal and go It will find this module :
4082D1D0-1744-4EE3-803E-B8EE3F07B2FE_1869.ROM
GUID module name You can find in Slic.Log file generated from PMTool or opening
Structure function ! It is "OEM NVS Driver"
Now we have to search the eeror string and We have to know that strings are wrote as Unicode, any char is separated with an 00 !!!
e.g. Unauthorized = U 00 n 00 a 00 u 00 . . . . so choice Unicode form in XSearch (what useful tool WOW !!!!)
and You'll find this module :
11D378C2-B472-412F-AD87-1BE4CD8B33A6_1953.ROM UEFI L05 BIOS Lock
So now We have enough to do "much and much more than this" (Frank Sinatra)
Save these modules from DUMP folder and than or we try to change by HDEdit (HexEditor) the PCI VENDOR Data this is a way or we can try to patch
in assembly code the Module Assembler Code (It's the mod !).
Now we have to Start another chapter "IDA Pro" Hip Hip Hurra . . .
To be continued . . . .
P.S. look here I done mod working for WiFi and Bluetooth (working ???!!!! but It wasn't impossible !)
http://forums.mydigitallife.info/threads...s?p=877428&viewfull=1#post877428
Observation:
The search for the modules where the hardware id and error text strings can be found are quite improved by the use of XSearch instead of the built-in search tool in the hex editor.