English | 中文
The script is only for most 5th-10th generation CPU yet. I will try to add support for more models if needed.
The script can modify low frequency mode and energy performance preference, and use ResourceConverter.sh to generate customized CPUFriendDataProvider.kext
.
By using this script, no file under the System folder will be edited. If you are not happy with the modification, just remove CPUFriend*.kext
from /CLOVER/kexts/Other/
and restart.
FakeCPUID
argument in config.plist
, this script may cause issueIOPlatformPluginFamily.kext
untouchedplugin-type=1
, often injected by SSDT-PLUG or SSDT-XCPM
bash -c "$(curl -fsSL https://raw.githubusercontent.com/stevezhengshiqi/one-key-cpufriend/main/one-key-cpufriend.sh)"
For Clover users:
CPUFriend.kext
and CPUFriendDataProvider.kext
from desktop to /CLOVER/kexts/Other/
and restart.For OC users:
CPUFriend.kext
and CPUFriendDataProvider.kext
from desktop to /OC/Kexts/
./OC/config.plist
and add the following code into Kernel - Add
:<dict>
<key>Arch</key>
<string>x86_64</string>
<key>BundlePath</key>
<string>CPUFriend.kext</string>
<key>Comment</key>
<string>Power management data injector</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/CPUFriend</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>12.0.0</string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>x86_64</string>
<key>BundlePath</key>
<string>CPUFriendDataProvider.kext</string>
<key>Comment</key>
<string>Power management data</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string></string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>12.0.0</string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
For Clover users:
If you are not happy with the modification, just remove CPUFriend.kext
and CPUFriendDataProvider.kext
from /CLOVER/kexts/Other/
and restart.
If unfortunately, you can't boot into the system, and you are sure the issue is caused by CPUFriend*.kext
,
Space
when you are in Clover pageBlock Injected kexts
- Other
CPUFriend.kext
and CPUFriendDataProvider.kext
CPUFriend*.kext
from your CLOVER folderFor OC users:
Thanks to Acidanthera and PMHeart for providing CPUFriend.
Thanks to shuhung for providing configuration modification ideas.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。