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
[Request] ECS P6LX-A bios mod for HDD si...
Last Post: pdesrosiers
Yesterday 11:20 PM
» Replies: 0
» Views: 10
Sony Vaio AW11Z - Support for Quad CPU -...
Last Post: lala2025
Yesterday 08:19 PM
» Replies: 12
» Views: 3805
[REQUEST] HP Pavilion G42-272BR Whitelis...
Last Post: eepromm
Yesterday 06:14 PM
» Replies: 1
» Views: 141
[REQUEST] Bios for packard bell tj65 wit...
Last Post: THECAIDA
Yesterday 03:49 PM
» Replies: 2
» Views: 70
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
Yesterday 02:47 PM
» Replies: 476
» Views: 167663
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: Dudu2002
Yesterday 02:46 PM
» Replies: 1089
» Views: 449221
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: tarikyeter
Yesterday 02:44 PM
» Replies: 236
» Views: 89036
[REQUEST] Remove whitelist in a Panasoni...
Last Post: coco62
Yesterday 11:20 AM
» Replies: 2
» Views: 1576
Lenovo ThinkPad SL510 Whitelist Removal....
Last Post: deepTeNk
11-23-2024 03:32 PM
» Replies: 5
» Views: 6364
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: DeathBringer
11-21-2024 03:44 PM
» Replies: 49
» Views: 32980
[REQUEST] HP Mini 110-4100 BIOS Unlock
Last Post: DSI INF
11-21-2024 09:24 AM
» Replies: 7
» Views: 280
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: Dudu2002
11-21-2024 03:11 AM
» Replies: 1780
» Views: 496626
Lenovo ThinkCentre M715q 2nd Gen & AMD R...
Last Post: Elmurley
11-20-2024 09:37 PM
» Replies: 2
» Views: 1308
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: SWZSSR
11-20-2024 09:34 PM
» Replies: 1775
» Views: 555216
[REQUEST] Lenovo Thinkpad X240 (GIETxxWW...
Last Post: Dudu2002
11-20-2024 04:58 PM
» Replies: 337
» Views: 144225
Unlock bios insyde
Last Post: Matox3140
11-19-2024 03:40 PM
» Replies: 0
» Views: 255
Whitelist WIFI card removal Lenovo Yoga ...
Last Post: Dudu2002
11-19-2024 12:58 PM
» Replies: 1
» Views: 248
[REQUEST] H310 MSI Gaming Infinite S (MS...
Last Post: awittyusername
11-19-2024 09:21 AM
» Replies: 10
» Views: 149
[REQUEST] Gigabyte GA-B85M-HD3 Rev 2.0 u...
Last Post: Maduli
11-19-2024 02:22 AM
» Replies: 0
» Views: 196
[REQUEST] Lenovo Ideapad 330-15ICH BIOS ...
Last Post: Dudu2002
11-18-2024 01:25 PM
» Replies: 8
» Views: 1910

Help with adding new WiFi card into BIOS whitelist
#11
(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.
find
quote
#12
Yes I know It's all easier !

But now We have to introduce the master of mods IDA Pro . . .

It's a russian program then sold in all around world and inaitable to get it.

It can desassemble or reassemble code binary in hex opcode and memonics as

0362 test dil, dil
0365 jnz short loc_18000036C
0367 call sub_1800002C0

where prog is doing a bit test of two registers dil with itself then there is
a deciosinal jmp if Z=1 (Status register) It compare with itself and if dil is
different than 0 set Z=1 then jnz analize Z status and if Z=1 go to a sub_routine
(is a piece of code that is executed and at the end let prog return from where it was called) sub_1800002C0 . . .

So to understand assembler You have to study assbly i32 and i64 bit to learn all mnemonics and how to use them, the numeric operations and logical operations, the CPU structure as Registers etc etc. not so easy, but to do some tricks It will be enough to understand the basical instructions.

To patch the most favorite module "SetupUtility.pe" where all preferences and settings are chosen and where Menu Tabs Locked prevent to modify the most important Variables Store of pc, We need find it (e.g. FE3542FE-C1D3-4EF8-657C-8048606FF670_743.ROM ) and then open it in IDA Pro !

To be continued . . .

[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
#13
(02-22-2014, 03:54 PM)BDMaster Wrote: Yes I know It's all easier !

But now We have to introduce the master of mods IDA Pro . . .

It's a russian program then sold in all around world and inaitable to get it.

It can desassemble or reassemble code binary in hex opcode and memonics as

0362 test dil, dil
0365 jnz short loc_18000036C
0367 call sub_1800002C0

where prog is doing a bit test of two registers dil with itself then there is
a deciosinal jmp if Z=1 (Status register) It compare with itself and if dil is
different than 0 set Z=1 then jnz analize Z status and if Z=1 go to a sub_routine
(is a piece of code that is executed and at the end let prog return from where it was called) sub_1800002C0 . . .

So to understand assembler You have to study assbly i32 and i64 bit to learn all mnemonics and how to use them, the numeric operations and logical operations, the CPU structure as Registers etc etc. not so easy, but to do some tricks It will be enough to understand the basical instructions.

To patch the most favorite module "SetupUtility.pe" where all preferences and settings are chosen and where Menu Tabs Locked prevent to modify the most important Variables Store of pc, We need find it (e.g. FE3542FE-C1D3-4EF8-657C-8048606FF670_743.ROM ) and then open it in IDA Pro !

To be continued . . .

My memory tells me that Z is the zero flag register. I'm not sure thou if it's correct since my assembly language is almost four decades ago. I hope I can manage to understand.Big Grin

Re: IDA PRO I can only get the free version which is 32 bit.
find
quote
#14
@BDMaster:
When are you going to begin with IDA PRO? Or Are you in vacation?

Z500T
find
quote
#15
(02-18-2014, 07:23 AM)hamoodaslam Wrote: Hello Z500T,

First of, Thank You for replying, secondly my questions -

1- After replacing the HEX string with that of the new card, and saving it how do I recompile the BIOS.ROM file, or does the PHOENIX tool takes care of that automatically?
2- When I initally run the Andys BIOS TOOL it creates a BIOS-SLIC.ROM file (even though I select NO SLIC in advanced options), is this normal, and is this the file I need to flash with?
3- After getting the Modded BIOS ROM file how do I flash with it, is there a software I need to update the BIOS? which one?
4- How to correctly Identify what kind my BIOS is? Because when I check the BIOS information using SIW (Hardware Information Utility) it shows it to be a Toshiba BIOS, Using Andy's tool, opening the downloaded .ROM Bios file reports the BIOS to be EFI Insyde, Reading into some of .ROM files there is a mention of Phoenix a number of times - so which one is it?

Thanks
Hamood

As what I have stated earlier I am not an expert on modding but was force to learn due to a problem in my modded bios. But I can answer some of your query as follows:

Question 1: The Phoenix tool will recompile after you have made changes. How? It's a little bit tricky: Do not press the OK button in the message box that says that you can now make changes to the modules if you have not made the changes yet.

Question 2: The bios_SLIC.rom file is the modded bios. You can confirm this by deleting the original bios file and rename the bios_SLIC.ROM file to the original file. Then run Phoenix Tool again and let it create the dump files (you may have to delete the previous files to be sure). Use XSearch to search for the string or hex values that you made for the changes. You should be able to find it.

Question 3: If your bios file is from the Universal Backup Tool or from the other backup tools IMHO you can use the Dos base usb flash program in the site. If your bios file is from the unpack manufacturer's file IMHO just repack the modded bios (change the name to conform to the original name).

I'm sorry I do not know the answer to question 4.

I hope you will find the answers to your satisfaction.

Z500T
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)