mirror of https://github.com/n4ru/1vyrain
Add Ivybridge BIOS patcher.
parent
d38a00a95b
commit
1615b6b284
@ -0,0 +1,16 @@
|
||||
<pre>
|
||||
8888888 888 888 8888888b. 888 888
|
||||
888 888 888 888 Y88b 888 888
|
||||
888 888 888 888 888 888 888
|
||||
888 Y88b d88P 888 d88P 8888b. 888888 .d8888b 88888b. .d88b. 888d888
|
||||
888 Y88b d88P 8888888P" "88b 888 d88P" 888 "88b d8P Y8b 888P"
|
||||
888 Y88o88P 888 .d888888 888 888 888 888 88888888 888
|
||||
888 Y888P 888 888 888 Y88b. Y88b. 888 888 Y8b. 888
|
||||
8888888 Y8P 888 "Y888888 "Y888 "Y8888P 888 888 "Y8888 888
|
||||
</pre>
|
||||
|
||||
Patch Lenovo stock .FL1 BIOS update files to be [1vyrain](https://github.com/n4ru/1vyrain) ready.
|
||||
|
||||
## Usage
|
||||
|
||||
Drop in any `FL1` BIOS update file (you can find them in Lenovo update ISOs or Windows executables once extracted) and run `patch.sh`. The resulting `patched.rom` is safe to upload and flash with 1vyrain.
|
@ -0,0 +1,14 @@
|
||||
#mv *.FL1 BIOS.FL1
|
||||
#dd if=BIOS.FL1 bs=1 of=BIOS.rom skip=464 count=4194304
|
||||
|
||||
printf "32442D09-1D11-4E27-8AAB-90FE6ACB0489 10 O:02A0:778B1D826D24964E8E103467D56AB1BA \nF7731B4C-58A2-4DF4-8980-5645D39ECE58 10 P:44243080fb0175080fbae80f89442430:44243080fb01eb080fbae80f89442430 \nF7731B4C-58A2-4DF4-8980-5645D39ECE58 10 P:30488b4338f6000874080fba6c243014:30488b4338f60008eb080fba6c243014 \n" > patches.txt
|
||||
|
||||
if grep -q "GCET" *.FL1; then
|
||||
printf "79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41390C240F84:41390C2490E9 \n79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41390C240F858D:41390C240F8500 \n79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:41394C24047577:41394C24047500 \n79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:413AED0F8497FEFFFF:413AED0F8400000000 " >> patches.txt
|
||||
else
|
||||
printf "79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:C8390F0F84:C8390F90E9 \n79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:C8390F7516:C8390F7500 \n79E0EDD7-9D1D-4F41-AE1A-F896169E5216 10 P:C8394F0474:C8394F04EB" >> patches.txt
|
||||
fi
|
||||
|
||||
./patcher ./BIOS.rom ./patches.txt -o ./patched.rom
|
||||
|
||||
echo "Patched BIOS saved as patched.rom"
|
Binary file not shown.
Loading…
Reference in New Issue