X230 automated UEFI firmware patcher using CH341A and SOIC clip. For firmware version 2.7.5 only!
X230 automated UEFI firmware patcher using CH341A and SOIC clip. For firmware version 2.75 only!
## Initial setup
## Initial setup
You will need to obtain a version of UEFIPatch that runs on your operating system. In the file `romtools.py` there is a variable called `UEFIPATCH_LOCATION`. Please set this to the path (relative or absolute) of your UEFIPatch executable, which can be downloaded from [here](https://github.com/LongSoft/UEFITool/releases). **Be sure to download version 0.28.0 and _NOT_ version A57 or A56 etc, these are from a separate codebase and do not yet support patching.**
You will need to obtain a version of UEFIPatch that runs on your operating system. In the file `romtools.py` there is a variable called `UEFIPATCH_LOCATION`. Please set this to the path (relative or absolute) of your UEFIPatch executable, which can be downloaded from [here](https://github.com/LongSoft/UEFITool/releases). **Be sure to download version 0.28.0 and _NOT_ version A57 or A56 etc, these are from a separate codebase and do not yet support patching.**
After this you are ready to go.
After this you are ready to go.
## Preparing the laptop
Install Lenovo UEFI firmware version 2.75, found [here on their website](https://pcsupport.lenovo.com/us/en/products/laptops-and-netbooks/thinkpad-x-series-laptops/thinkpad-x230/downloads/ds029187). This can be done from Windows or from a bootable USB. Enter the UEFI Setup (BIOS) and disable the security chip.
## How to use
## How to use
1. Open a terminal and cd into the directory under which your 'projects' are stored
1. Open a terminal and cd into the directory under which your 'projects' are stored
2. Run auto.py (probably have to do this using its full path)
3. Follow the instructions on screen
2. Run python3 ~/path/to/auto.py (probably have to do this using its full path)