Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 9 Vote(s) - 4.22 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
Lenovo ThinkCentre M700 10GS - Kaby Lake...
Last Post: tommi22012
Today 04:42 AM
» Replies: 11
» Views: 3794
[Request] Lenovo T550 Whitelist removal
Last Post: Dudu2002
Today 04:37 AM
» Replies: 5
» Views: 1138
[REQUEST] Acer PT715-51 (Triton 700) ins...
Last Post: Dudu2002
Yesterday 10:49 AM
» Replies: 24
» Views: 12312
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: Dudu2002
Yesterday 08:59 AM
» Replies: 1782
» Views: 499424
[REQUEST] Acer Aspire 9300 BIOS Unlock
Last Post: Geortor
11-26-2024 04:01 PM
» Replies: 10
» Views: 2232
[Request] Asus H110M-R Mainboard - Xeon ...
Last Post: kusslegyen
11-26-2024 02:04 PM
» Replies: 14
» Views: 6771
LGA771 Bios Microcode for HP dc7800 sff
Last Post: Netuser232
11-26-2024 01:27 PM
» Replies: 136
» Views: 92088
Dell Vostro 3500 full unlocked
Last Post: kamilchno
11-26-2024 10:51 AM
» Replies: 0
» Views: 80
Bios logo
Last Post: Nkosenhle
11-26-2024 10:43 AM
» Replies: 0
» Views: 80
Gigabyte AORUS 5 (KB/SB/MB) BIOS Unlock
Last Post: Dudu2002
11-26-2024 10:41 AM
» Replies: 18
» Views: 4801
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
11-26-2024 09:09 AM
» Replies: 1730
» Views: 672671
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: willow25565
11-26-2024 02:06 AM
» Replies: 1090
» Views: 451712
[REQUEST] Lenovo Thinkpad Edge E430 & E5...
Last Post: RuryGame
11-25-2024 06:23 PM
» Replies: 494
» Views: 171320
2x CPU Dell Workstation BIOS modding
Last Post: William P
11-25-2024 03:30 PM
» Replies: 0
» Views: 119
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: Dudu2002
11-25-2024 01:28 PM
» Replies: 492
» Views: 186144
[Request] ECS P6LX-A bios mod for HDD si...
Last Post: pdesrosiers
11-24-2024 11:20 PM
» Replies: 0
» Views: 373
Sony Vaio AW11Z - Support for Quad CPU -...
Last Post: lala2025
11-24-2024 08:19 PM
» Replies: 12
» Views: 3896
[REQUEST] HP Pavilion G42-272BR Whitelis...
Last Post: eepromm
11-24-2024 06:14 PM
» Replies: 1
» Views: 227
[REQUEST] Bios for packard bell tj65 wit...
Last Post: THECAIDA
11-24-2024 03:49 PM
» Replies: 2
» Views: 179
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
11-24-2024 02:47 PM
» Replies: 476
» Views: 168915

General method to remove whitelist from Insyde BIOS
#1
I have figured out how to remove the whitelist from most (all) Insyde BIOSes. I used the F.34 BIOS for a Compaq Presario C700 series for this how to. You will need the EzH2O and WinHex tools. Using these tools I was able to figure out the byte that needed to be changed to ignore the PCIe wireless whitelist altogether. After not being able to find my subsys codes, I started looking around a bit. I found the 104 - Unsupported wireless network device detected string in the memory dump and the Microsoft EXE signature just above which lead to the breakthrough (at least for me). What follows is a general procedure to allow you to modify your own BIOS safely (I hope).

1. obtain your bios.fd file obtained from HP (or whatever manufacturer)
2. use Insyde BIOS editor - EZH2O (I used EZH20 2.1.0.4)
3. run exh2o.exe, open the file bios.fd
4. run WINHEX
5. Tools -> OpenRAM -> Ezh2o -> Entire Memory
6. Find HEX Values -> «31 00 30 00 34 00 2d 00 55», this should be the be the first part of the '104-U...' error string in wide character format (2 bytes/char) see step1.jpg.
   
7. from here search up and find HEX values «4d 5a», you can just scroll up a few pages till you see 'MZ' in the ASCII pane. This is the code that MS uses for start of an EXE. Somewhere between here and the 104 string is where we need to find and modify the JNZ (byte code 75)
8. You will notice that there is a lot of blank space around and below the 'MZ', this is header information and is of no interest. Scroll down till the ASCII pane no longer is mostly blanks, about a page, you should see «55 8b ec», this is the start of the program and is setting up the stack
9. Now click on the 55 and drag the mouse down to the next 'MZ' code about 1-2 pages on my BIOS, and then click Edit -> Copy Block -> Into New File and name the file Something.com. The .com is important as we will load it with debug. Refer to step2.jpg.
   
10. Open a command prompt and navigate to where you saved the file and type debug something.com, you should get a '-' prompt, type u and hit enter and you should see something like this. See step3.jpg.
   
The first column is memory addresses, the 2nd column is instruction bytes and the rest are Intel mnemonics.
11. Now we need some elementary assembly skills to find what we are looking for. Debug will show the mnemonics for the instructions. Debug doesn't handle 386 instructions well so you may see a few ??? but we should be able to find what we need. Look for a test al,al followed by a jnz {address}. The unassemble should have addresses on the left and they should correspond to the addresses in the debug so you can then -u {address} to see what happens at the jump to locations. See step4.jpg.
   
12. Now that we know what to change write down a about 6 or so of the bytes ending with the 75 and the following byte (27 in the step 4 example) and go back to WinHex and from the start of our program (the «55 8b ec» bytes) search for the bytes you recorded. Make sure everything around matches your debug window and replace 75 (JNZ short) with eb (JMP short). eb is an unconditional jump and will exit the routine so we don't get to the infinite loop. See step5.jpg.
   
13. In WinHex save your change by clicking on the disk icon
14. Switch to EzH2O, File -> Save AS
15. Put your modified BIOS (and only that BIOS) where the flash utility can find it and start InsydeFlash and let it do it's thing.
16. Sometimes after flashing the machine may appear bricked but turn it off remove power and battery and then reapply power and turn it on. If it still doesn't come up Google for the procedure to use a USB memory stick to get your computer back. Might be a good idea to prepare the flash drive before you flash your BIOS.

Mark
find
quote
#2
Hey man,

This is a wonderful guide and you demonstrated a great load of knowledge. Thanks for sharing. If you'd like, I think this would be a great article in the Wiki.

Thanks!
TheWiz
www find
quote
#3
Thanks and you can put it in the Wiki if you like. However please note the following as well.

It appears that there are two sizes of Insyde BIOS (1MB & 2MB). The 2MB is a completely different animal and I'm currently looking into it to see if I can find where it does the test for the wireless cards. It may take awhile as the tools aren't great. I could use a good 80x86 disassembler one where I can save the mnemonics to a file so I can use search tools. Any one know of a good one (free would be good).
find
quote
#4
IDA Pro Free version 4.9 will do the trick Smile
www find
quote
#5
Will this guide work for amd laptops?
find
quote
#6
(08-10-2010, 07:35 PM)dedo Wrote: Will this guide work for amd laptops?

this guide is not cpu manufacturer specific its BIOS manufacturer specfic. If you have an Insyde BIOS then you can follow this guide.

Regards
Admin
find
quote
#7
Hi,

Many thanks for this guide. It’s cool. I tried this method on my HP 2530p (bios 68PSU) and unfortunately I need more help. I have un2420 3g modem. When I install it in my laptop and I start it I get “105 - Unsupported WWAN Device Detected System Halted. Remove device and restart.” error.

For updating my bios I use EzH2O v2.1.0.4 and WinHex 15.6 SR-11.

There are steps which I made to make the un2420 supported with 2530p. Till now without success.

1) I located two modules in my inside bios which are in some way related with the whitelist and “105-…” error. In the module 8EEE35BE-AEDE-40D4-ADA2-B6FE089BE1B8 I found “105-…” strings (in many languages). In the module 1124113F-2F8F-4973-BC82-2E505256B9D7 there are VEN_ID for network cards – whitelist???. I tried to remove each of this module and after saving the bios and flashing from the USB stick I got error “Error in file content read from disk. Please try recreating file or disk.” and the bios can’t be flashed. I use erompaq 3.0F.

2) In the next step I tried to change VEN_ID for my un2420 3G card (in the offset according to the 1124113F-2F8F-4973-BC82-2E505256B9D7 module). In this case I also couldn’t flash the bios after the modification because of the “Error in file content read from disk. Please try recreating file or disk.”

3) Then I analyzed my bios according to the hspumanti’s guide and I found few jump instruction. I tried to modify them into JMP and JZ but after this I couldn’t flash bios. Error the same as in the step 1 and 2.


What I also registered is that when I open bios with WinHex (doesn’t matter if from entire or primary memory) and I look i.e. for “105 – Unsupported…” string, this string starts one time at the 4B17AE offset and when I open it again it starts at i.e. 4957EA. There is no rule at which offset it starts. Also sometimes I get popup in the WinHex that “memory has changed”. Is it normal, these two situations?

I suppose that after making the modification in the bios the checksum is wrong. That’s why I’m getting error during the flashing. Do you have any idea what elso I can try and how to correct the checksum?

Raptor2
find
quote
#8
Dear hspumanti,

I have not enough words to express how much I thank you for your help. I'm owner of an HP Pavillion dv4-2112br and your method just worked flawlessly on it!

If anyone with the same problem and same machine finds this topic, just register the forum, message me, and I'll be glad to send my modded BIOS.
find
quote
#9
Raptor2, please start a new thread for that issue.

thyte.sts, if you are interested in being a support member for whitelists in the forum, please PM me.

TheWiz
www find
quote
#10
(08-06-2010, 07:15 AM)hspumanti Wrote: Thanks and you can put it in the Wiki if you like. However please note the following as well.

It appears that there are two sizes of Insyde BIOS (1MB & 2MB). The 2MB is a completely different animal and I'm currently looking into it to see if I can find where it does the test for the wireless cards. It may take awhile as the tools aren't great. I could use a good 80x86 disassembler one where I can save the mnemonics to a file so I can use search tools. Any one know of a good one (free would be good).

I guess the 2530p BIOS is a 2MB BIOS? Because your guide is nice, but the "55 8b ec" part is not between the MZ and the 104 parts in my BIOS.

Here are my offsets:
MZ @ 018C6670
104 @ 018C7A30
"55 8b ec" @ 01928520

Can you confirm that and does this mean that we have to wait for the 2MB Tutorial?
find
quote


Forum Jump:


Users browsing this thread: 5 Guest(s)