I wrote this script. It is recommended to modify the y530 in the advanced BIOS mode. This script is mainly used for y540/y545/y730/y740/legion 5i/legion. 7. Because these versions cannot unlock the advanced BIOS mode.
Someone finally solved the problem. Current test situation y530/y
7000(2018) succeeded, y540/y545/y7000(2019, 2020)/legion 5i test failed. The possible reason is that the USB built-in keyboard is used.
Find setleds in / usr / local / bin /,and then open System Preferences -> Security & Privacy -> Find the "Accesibility" section. Unlock the pane by clicking on the padlock symbol, then press the + button to open a file browser. Now navigate to the location and select your setleds binary. Lock...
Fortunately, I found a solution to numpad on github. Looking at this, I have integrated it into the script.
sudo sh -c "$(curl -fsSL https://gitee.com/xiaoMGit/Y7000Series_Hackintosh_Fix/raw/master/Script/Optimize.sh)"
For the sake of convenience, I unified the implementation methods of numpad for y530 and y540, but there are currently some problems during boot-up. The subsequent solutions will be updated. You can enter "setleds" in the terminal to enable numpad.