Lenovo X230 (Maximized) (applies to all 4mb+8mb SPI chips maximized boards)
X230 Hardware Maintenance Manual
X230 Tablet Hardware Maintenance Manual
First remove the battery or cable powering your device. The Thinkpad x230 has two SPI flash chips that hold the BIOS, ME, etc. and are located under the palm rest. To access these chips, first remove the indicated screws on the back of the laptop.
Removing these screws will allow you to remove the keyboard and palm rest.
The keyboard is connected to the motherboard by a ribbon cable which easily detaches from the motherboard. (The keyboard only needs to be removed so that the palm rest can be removed. After removing the palm rest, you can put the keyboard back.)
The palm rest is also connected to the motherboard, but there is a little latch holding its ribbon cable. After undoing that latch, the palm rest should be fairly easy to remove.
Pull up the black plastic on the bottom right of the palm rest to reveal the two SPI flash chips.
The top chip is 4MB and contains the BIOS and reset vector. The bottom chip is 8MB and has the Intel Management Engine (ME) firmware, plus the flash descriptor.
Based on the work done here, the chips should be one 4M and one 8M of the following:
Vendor | Device | size |
---|---|---|
Eon | EN25QH32 | 4M |
Eon | EN25QH64 | 8M |
Macronix | MX25L3206E - MX25L3206E/MX25L3208E | 4M |
Macronix | MX25L6405,MX25L6405D, MX25L6406E/MX25L6408E, MX25L6436E/MX25L6445E/MX25L6465E/MX25L6473E/MX25L6473F, MX25L6495F | 8M |
Micron/Numonyx/ST | N25Q032..1E, N25Q032..3E | 4M |
Micron/Numonyx/ST | N25Q064..1E, N25Q064..3E | 8M |
Winbond | W25Q32.V, W25Q32.W | 4M |
Winbond | W25Q64.V, W25Q32.W | 8M |
First download / build the maximized board roms (top and bottom) for this board and verify their hashes.
Try to read the name on the top SPI flash chip. Then, connect the clip and ch341a programmer to the top SPI flash chip. Use flashrom to check the chip that you are connected to:
sudo flashrom -p ch341a_spi
Find the chip and read from it twice (For me the SPI flash chip is YYY
):
sudo flashrom -r ~/top.bin --programmer ch341a_spi -c YYY && \
sudo flashrom -v ~/top.bin --programmer ch341a_spi -c YYY
If the files differ then try reconnecting your programmer to the SPI flash chip and make sure your flashrom software is up to date.
If they are the same then write x230-maximized-top.rom
to the SPI flash chip:
sudo flashrom -p ch341a_spi -c “YYY” -w ~/heads/build/x86/x230-maximized/x230-maximized-top.rom
Try to read the name on the bottom SPI flash chip. Then, connect the clip and ch341a programmer to the bottom SPI flash chip. Use flashrom to check the chip that you are connected to:
sudo flashrom -p ch341a_spi
Find the chip and read from the chip twice (For me the SPI flash chip is ZZZ
):
sudo flashrom -r ~/bottom.bin --programmer ch341a_spi -c ZZZ && \
sudo flashrom -v ~/bottom.bin --programmer ch341a_spi -c ZZZ
The 8M bottom chip contains the ME firmware. It is neutralized in maximized version. You can flash it specifying the same chip you found under ZZZ:
sudo flashrom -p ch341a_spi -c “ZZZ” -w ~/heads/build/x86/x230-maximized/x230-maximized-bottom.rom
If all goes well, you should see the keyboard LED flash, and within a second Heads will boot in its GUI.
Two reboots are sometimes needed after flash. Force power off by holding the power button for 10 seconds. Since the memory training data was wiped by the content of the full flashed ROM, this is normal.
You should then follow through with configuring keys.