Removing WLAN/WWAN BIOS whitelist on a Lenovo laptop to use a custom Wi-Fi card
So I had a Lenovo G510 that had a pretty bad Wi-Fi card. Once upon a time I’ve decided that it needs to be replaced, the most importantly to cover 5 GHz band, since the amount of other 2.4 GHz networks was large enough to make me loose the signal in the other room frequently enough. Before buying the card, however, I went on a little search only to find out (besides others also complaining about poor pre-installed Wi-Fi card) that Lenovo had put a whitelist check in BIOS and would only let you run “authorized” cards. What a pity. Following that I did read that BIOS is write-protected and the only way to modify it (in order to remove said whitelist) was to use an SPI programmer. That sounded interesting, so I thought I’ll give it a try and bought one.
I struggled a bit to find any good resources on this topic and it is the reason I’m writing this article. Besides removing whitelist, I also wanted to delete BIOS password that I apparently had set up a long time ago and forgot. Eventually I gave up on the latter, but removing the whitelist proved to be very easy following you know how to access the needed PE image section.
Firstly, some tips related to the SPI programmer stage. Before you do anything, you need to obtain the BIOS dump. It needs to be yours and you need to later flash it on the same laptop. You cannot download a clean image from vendor or a dump from someone else. Or maybe you can, but it could cause some side effects. I personally used CH341A-based device, along with the software that came with it (and SOIC8 clip, so I didn’t have to desolder the chip). Since my exact chip model (25Q064A) wasn’t listed, I was trying both EON EN25Q64 and Winbond W25QBV, both did work for it. Now for the reading part — you should clip the chip and read it with verify, then save the result, at least 2 times. Then compare files’ checksums. That way you will make sure the dump and clipping is correct. Before saving a file, make sure the read contents are not all “FF FF FF …” ‘till the end, because that means it’s empty and the clipping is wrong — re-adjust it and try again.
If you disconnect your clip before flashing, then you want to make sure it reads correctly before that as well (tip: chip contents and checksum will change after a boot, so don’t worry then if checksums differ from your previous dumps, you can flash then still flash their modified version over with no problems). For flashing the mod after it’s complete, load the file and press Auto button. It is going to erase the chip, verify it’s empty, flash new contents and verify they’re saved correctly. Do not flash chip before first erasing its contents, it will not work properly.
For the mod part, get UEFITool. You may want to get both old engine and new engine versions. The former lets you actually replace the body of different parts of your image, so this is required for us, the latter displays names instead of GUIDs in the tree, and it has search function, which you will need.
Open your dump in UEFITool NE and search for our beloved string of “Unauthorized Wireless network card is plugged in” (tick Unicode option).
Then open the same file in older branch UEFITool and try finding the same PE32 image section in the tree (you can click in names on NE items to find out what their GUIDs are).
Then right-click it and extract the body. This is what we’ll need to modify. I personally used IDA Pro, but if you follow this tutorial, you might just as well use a hex editor.
The easiest way to find our function in IDA was to search for sequence of bytes (our string):
55 00 6E 00 61 00 75 00 74 00 68 00 6F 00 72 00 69 00 7A 00 65 00 64 00 20 00 57 00 69 00 72 00 65 00 6C 00 65 00 73 00 73 00 20 00 6E 00 65 00 74 00 77 00 6F 00 72 00 6B 00 20 00 63 00 61 00 72 00 64 00 20 00 69 00 73 00 20 00 70 00 6C 00 75 00 67 00 67 00 65 00 64 00 20 00 69 00 6E
Then double-click on the only result to go to IDA View to find out that it was correctly identified as UTF-16LE string. Click on its autogenerated name and press X to go to Xrefs, and open the only function that pops up. Press hotkey for your decompiler if you have it installed.
We see the checks and an infinite while loop under that. This is what physically prevents our PC from booting up once it detects “unauthorized” card. We need to modify it. Go to IDA View and locate the infinite loop. It’s easy to see due to an arrow pointing back to the same location block.
Now press a jz a bit above it that either enters the loop or skips it based on the result of a test instruction above, and press Edit → Patch program → Assemble…
Change the instruction from jz to jmp, that way it will always make the jump to the location after the infinite loop.
You can also go to Hex View and change the highlighted 74 to EB manually.
But we can also see that these functions check the whitelist at all only if these variables are true:
Let’s locate what they are via Xrefs. We went back into _ModuleEntryPoint and we see that they are copied from yet another globals.
Let’s see what they are.
Bingo! Seems like this is global configuration for this module that configures whether WLAN and WWAN whitelists are enabled. It will be as simple as changing these two global bytes from 1 to 0 to mitigate our whitelist completely! Click on the respectable bytes and you will see what they are in Hex View.
To edit these, just right click, click “Edit…”, do edits, then “Apply changes” (or F2). Easy enough, right? If you don’t have IDA Pro, you should be able to reproduce these changes in any generic hex editor. Now to save modified file in IDA, go to Edit → Patch program → Apply patches to input file…
Once that’s done you can replace the image’s body in UEFITool (old engine).
After that press File → Save image file… It will ask you whether you want to load the modified file. Select Yes, and verify there are no errors, then export the modified body again and verify that its checksum matches with the file you created. If it does, you’re ready to flash your new BIOS!
This all worked for me. Definitely let me know if this article did help you in any way as well.
Требуется удаление whitelist (Lenovo G580)
Доброго времени, глубокоуважаемый! Если ты читаешь этот топик, значит меня в край задолбали падения wireless карты (AR 9285) без видимой на то причины, и я решил заменить ее на более подходящую и рабочую (AR5B95) или (AR5B125). Проблема лишь в том, что добрые молодцы из Lenovo сделали whitelist устройств. Мне необходимо удалить этот список из bios. Однако я ни разу не прошивал биос, не делал дампы и не откатывался на старые версии. Помоги мне. Укажи путь. Что мне нужно сделать (какую информацию отправить быстрым ответом под кат, чтобы получить помощь от тебя)? Буду благодарен за любую помощь.
Добавлено через 11 минут
В дополнение сразу предоставляю пока что только скрины с информацией о системе и материнке.
скрин 1 (google drive)
скрин 2 (google drive)
Сегодня вечером разберу ноут и гляну ревизию платы.
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
Ответы с готовыми решениями:
Lenovo G505 BIOS Whitelist Removal
Приветствую! Имеется ноут Lenovo G505 model 20240 BIOS v3.0 Вопрос — как(чем) убрать (отключить).

Прошивка биос ноутбука lenovo g580
есть проблема, слетел биос, при включении ноутбука только черный экран, как прошить биос в такой.
Нужен Дамп биоса на lenovo g580 (2689)
Доброго всем. На ленов стоял линукс, снес его. В биос по ф2,12 не заходит. После загрузки заставки.

Lenovo Y570 (20091) удалить whitelist для wi-fi?
Получится ли удалить whitelist не имея старого модуля wi-fi? есть только Unsupported wireless.
3374 / 784 / 150
Регистрация: 12.04.2015
Сообщений: 1,972
Доброго времени суток, далёкий, незнакомый друг! Если ты читаешь это сообщение, то у тебя всё ещё есть интернет, есть монитор, есть глаза (как минимум один глаз).
Проблема с WiFi картой на вашем ноутбуке очень частая. Даже на MDL форуме специальная тема создана по удалению whitelist-a из биоса Lenovo.
Самый оптимальный вариант, это запросить на указанном форуме модифицированный биос. Только не пытайтесь скачивать и прошивать выложенные на страницах той темы биосы от вашей модели ноутбука, т.к. они делаются исключительно под конкретный ноутбук!
Нужно будет в теме оформить запрос с указанием модели ноутбука, версии биоса, ссылки на скачку оф. биоса, выложенным на обменник дампом вашего биоса с помощью программы Backup Tools (ссылки на неё в топике имеются). Останется ждать ответа, потом залить присланный файл на DOS флешку, созданную руфусом (инструкция также есть в топике), загрузиться с неё и запустить команду на прошивку (например, команду flash.bat).
Все операции с биосом потенциально опасны и лучше вам найти человека, кто уже прошивал и представляет, что это такое. Ошибки в этом вопросе недопустимы: шаг вправо, шаг влево — кирпич.
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
Помогаю со студенческими работами здесь
Lenovo G580
Добрый вечер!Сегодня решил восстановить крепления на своём ноутбуке Lenovo G580 .Разобрал его.
Lenovo G580
Подскажите что надо сделать, чтобы работало двойное нажатие на тачпаде. Не кнопками открывать папки.
ноутбук Lenovo G580
Здраствуете, у меня проблема с ноутбуком G580, без конца перезагружается, выскакивает заставка.
Lenovo G580 не включается
Здравствуйте, не включается данный ноутбук, при нажатии на кнопку включения запускается кулер.
Как удалить whitelist из bios lenovo g510
alexandr00
Junior Member 
#13
02-05-2014, 01:51 AM (This post was last modified: 02-05-2014, 01:54 AM by alexandr00.)
Hello I have posted a request on WL removal for G510 bios and no one responded. So I just want to understand what is the problem with this bios that it cannot be modded? Many lenovo G-series laptops have gotten the mod, even the G500 that has a very similar bios version has got the WL removed but the G510 did not.
Posts: 10,323
Threads: 3
Joined: Oct 2011
Reputation: 540
BDMaster
Super Moderator 




#14
02-05-2014, 09:07 AM (This post was last modified: 02-05-2014, 09:14 AM by BDMaster.)
(02-05-2014, 01:51 AM) alexandr00 Wrote: Hello I have posted a request on WL removal for G510 bios and no one responded. So I just want to understand what is the problem with this bios that it cannot be modded? Many lenovo G-series laptops have gotten the mod, even the G500 that has a very similar bios version has got the WL removed but the G510 did not.
On Lenovo Z510 is a problem to re-flash bios modded as it has write protect memory set (Insyde Secure Flash) and cannot use Recovery method (bypass way) to flash bios.
This is UEFI problem as all EFI bios are based on Secure Boot and have to validate by RSA signature driver’s modules ad all, Win8 also take his place.
Manufacturers are all including every kind of RSA checks, first was HP, then Lenovo and now Acer, but all UEFI bios will arrive to it.
I haven’t look in G510, but I think it’s the same !, so I will dig it quickly to refer You.
regards
[size=undefined]Your Brain [/size] . . . . It’s the best tool U can use !
[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
Posts: 10
Threads: 0
Joined: Jan 2014
Reputation: 0
alexandr00
Junior Member 
#15
02-05-2014, 11:42 AM (This post was last modified: 02-05-2014, 11:47 AM by alexandr00.)
(02-05-2014, 09:07 AM) BDMaster Wrote:
(02-05-2014, 01:51 AM) alexandr00 Wrote: Hello I have posted a request on WL removal for G510 bios and no one responded. So I just want to understand what is the problem with this bios that it cannot be modded? Many lenovo G-series laptops have gotten the mod, even the G500 that has a very similar bios version has got the WL removed but the G510 did not.
On Lenovo Z510 is a problem to re-flash bios modded as it has write protect memory set (Insyde Secure Flash) and cannot use Recovery method (bypass way) to flash bios.
This is UEFI problem as all EFI bios are based on Secure Boot and have to validate by RSA signature driver’s modules ad all, Win8 also take his place.
Manufacturers are all including every kind of RSA checks, first was HP, then Lenovo and now Acer, but all UEFI bios will arrive to it.
I haven’t look in G510, but I think it’s the same !, so I will dig it quickly to refer You.
regards
Hi! And thank you very much for replying! In my bios menu there is an option to disable the Secure Boot and there is an option for bios back flash — maybe this stuff would help bypass the uefi problem you are talking about? Maybe this would help my result.rar http://rghost.ru/52042190 and bios backup http://rghost.ru/52040959
People have managed to flash bios for G510 here https://forums.lenovo.com/t5/Lenovo-3000. 647/page/3 — so this means it is flashable?
Posts: 2,230
Threads: 1
Joined: Feb 2012
Reputation: 261
sovem
Top Contributor 



US Search Mobile Web
We appreciate your feedback on how to improve Yahoo Search. This forum is for you to make product suggestions and provide thoughtful feedback. We’re always trying to improve our products and we can use the most popular feedback to make a positive change!
If you need assistance of any kind, please find self-paced help on our help site. This forum is not monitored for any support-related issues.
The Yahoo product feedback forum now requires a valid Yahoo ID and password to participate.
You are now required to sign-in using your Yahoo email account in order to provide us with feedback and to submit votes and comments to existing ideas. If you do not have a Yahoo ID or the password to your Yahoo ID, please sign-up for a new account.
If you have a valid Yahoo ID and password, follow these steps if you would like to remove your posts, comments, votes, and/or profile from the Yahoo product feedback forum.
- Голосовать за существующую идею ( )
- или
- Опубликовать идею…
- Горячие идеи
- Лучшие идеи
- Новые идеи
- Раздел
- Статус
- Моя обратная связь
2 найдены результаты
Biased reporting by pbs
In two segments tonite, the report was biased. On the atlanta police training center, you failed to point out that the person killed was firing at police when they responded.
On the Islamophobia coverage you failed to balance what is being done by Palestinian forces as Israel responds. You do not acknowledge what is obvious that they are using their own people as shields.
Very disappointed as a believer that pbs has high standard of balanced reporting