Unlocking the bios whitelist and advanced menu on my x230, w530 and Lenovo X1 carbon 2014

I wanted to experiment with a hackintosh, and had a few older lenovo laptops lying around. I bought a wifi card supported by OSX, but couldn't get it to recognise the card, the bios has a built in whitelist.
I found a website bios-mods however there was no guide, only a member asking for 'donations' for helping you out.

First dissemble the laptops, and find the bios chip. For the X230 this is under the palm rest, for X1 its on the back of the motherboard, and the w530 needs to be completely stripped down, as its under a metal support under the palmrest, so the whole motherboard must be removed.

You also need a SPI reader, i recommend the ch341a programmer and a linux machine, but a raspberry pi also works. A SOIC 8 clip will make this much easier.

(For a more complete guide see https://www.win-raid.com/t4287f16-GUIDE-The-Beginners-Guide-to-Using-a-CH-A-SPI-Programmer-Flasher-With-Pictures.html)

Dump the BIOS with flashrom (sudo apt-get install flashrom) in Linux with command:

sudo flashrom --programmer ch341a_spi -r backup.rom

Do three dumps, then

md5sum *

and ensure the hash of all three dumps are identical. If not, adjust your clip until they are.
Once they all match and you are sure you got a clean dump.
Copy a single dump to a windows machine and open SLIC mod 2.66.

Make a copy of your original bios in a folder called ‘modded’, and then open the copy with SLIC MOD. Wait for it to dump the file, it will take some time.



When it finishes close the Pubkey prompt, and press structure, wait again.

Expand the options until you find the file we need to replace.

  
Scroll down in this window until…


Then expand this out and select “PE32+ image section”. Then click replace.
Browse to the copy of 79E0EDD7-9D1D-4F41-AE1A-F896169E5216.MOD provided by the “x230 2.62 G2ETA2WW PATCHED BY BDMASTER” folder. Then click OK.

This takes a while. It may show an error about module count, but it still patches the file. Press exit, and save if prompted.

Now in your ‘modded’ folder, is a backup copy of your bios, with OLD appended. And a version with our mod.
Now transfer this back to the linux machine, I then did the same three ready and md5sum process as before to ensure I had a good fit with my SOIC8 clip, and flash it with

sudo flashrom --programmer ch341a_spi -w mod.rom

Then remove the test clip, and see if it worked. If not, you can flash back to any of the three copies you originally made to recover, and try again!

This article was updated on July 19, 2020