VisionSeeker 发表于 2020-3-6 20:48

OS X 10.15.3英特尔处理器笔记本解锁TDP教程-步骤二

本帖最后由 549597890 于 2020-4-7 23:03 编辑

适用:英特处理器(实测ivybridge例3317u 至 cometlake例10710u均有效),散热能力强、有余量,但是主板默认功耗墙太低感谢:
0 入坑启蒙——http://forum.notebookreview.com/ ... estop-guide.531329/
2 linux解锁TDP——Fix Intel CPU Throttling on Linux https://github.com/erpalma/throttled
3.OS X解锁TDP(MSR部分)—— https://github.com/sicreative/VoltageShift
4.OS X解锁TDP(Memory部分)—— https://github.com/osresearch/rwmem

本教程把相关程序都放在桌面,如有整洁需求可自选文件地址。
(部分机型只需要步骤1)
步骤1:VoltageShift解锁MSR寄存器
由于编辑后误点了存草稿,步骤一在OS X 10.15.3英特尔处理器笔记本解锁TDP教程 | https://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1847093

步骤2:DirectHW&rwmem解锁Memory
2.0:⚠警告:安全风险,参阅:https://github.com/osresearch/rwmem
This WILL crash your machine!
·No safety checks
·No validation of content
·No restrictions on where things are written (other than SMM, etc)
·No warranty
本部分前置需要最新版本xcode,解锁SIP,在此略过。
如果能接受相关风险。那么继续教程



2.1 原始版本directhw已经不适用10.15.3,所以利用https://github.com/sigma-1/directhw比较新的版本重新编译cd ~/desktop      git clone https://github.com/sigma-1/directhw.git      
cd ./directhw      
sudo mount -uw / && killall Finder      
make && sudo make install      
sudo kextload -v /System/Library/Extensions/DirectHW.kext
(本步安全提示:Kext with invalid signature (-67050) allowed: URL = "file:///System/Library/Extensions/DirectHW.kext/", ID = "com.apple.driver.DirectHW" })


2.2 编译rwmem工具cd ~/desktop      
git clone https://github.com/osresearch/rwmem.git   
cd ./rwmem      
make && sudo make install

其中圈出部分是memory中阻止MSR功耗墙生效的部分。



使用wrmem写入
echo -e "\x00\x00\x00\x00\x00\x00\x00\x00\n" |sudo ~/desktop/rwmem/wrmem 0xfed159a0 8
(这里ThrottleStop作者建议写入16进制00000000 00000000)


写入之后,即可成功解锁Memory部分功耗墙。


本教程在HP Zhan 66 Pro G2,黑苹果10.15.4系统。测试有效。

VisionSeeker 发表于 2020-3-6 22:56

本帖最后由 549597890 于 2020-3-6 23:29 编辑

正文没有编辑权限了。

在此修改格式

2.1 原始版本directhw已经不适用10.15.3,所以利用https://github.com/sigma-1/directhw比较新的版本重新编译cd ~/desktop      git clone https://github.com/sigma-1/directhw.git      
cd ./directhw      
sudo mount -uw / && killall Finder      
make && sudo make install      
sudo kextload -v /System/Library/Extensions/DirectHW.kext


(安全提示:Kext with invalid signature (-67050) allowed: URL = "file:///System/Library/Extensions/DirectHW.kext/", ID = "com.apple.driver.DirectHW" })

2.2 编译rwmem工具

cd ~/desktop      
git clone https://github.com/osresearch/rwmem]https://github.com/osresearch/rwmem      
cd ./rwmem      
make && sudo make install



l_pope 发表于 2020-3-7 06:36

老哥牛逼 台式机能不能弄

VisionSeeker 发表于 2020-3-7 09:35

l_pope 发表于 2020-3-7 06:36 https://www.pcbeta.com/static/image/common/back.gif
老哥牛逼 台式机能不能弄

正常的台式机主板利用步骤一的voltageshift即可。

neville17 发表于 2020-3-24 17:28

rwmem的github似乎失效了

VisionSeeker 发表于 2020-3-28 22:28

neville17 发表于 2020-3-24 17:28 https://www.pcbeta.com/static/image/common/back.gif
rwmem的github似乎失效了

测试了一下,仍然可下载可编译,只是rwmem提供的DirectHW.dmg用不了了,正文2.1节中是另外编译的。

0在路上 发表于 2020-4-8 22:02

感谢楼主分享。

VisionSeeker 发表于 2020-4-29 13:41

directHW内核扩展建议使用https://github.com/CloverHackyColor/directhw的fork

浪神禹哥 发表于 2020-4-29 17:34

666 可以 啊

ASD哈 发表于 2021-5-18 22:40

支持楼主非常感谢

ASD哈 发表于 2021-5-22 13:00

2.1这步命令执行不成功,大佬可以指甲一下嘛
sudo mount -uw / && killall Finder   

VisionSeeker 发表于 2021-5-31 12:23

ASD哈 发表于 2021-5-22 13:00 https://www.pcbeta.com/static/image/common/back.gif
2.1这步命令执行不成功,大佬可以指甲一下嘛
sudo mount -uw / && killall Finder

bigsur以后这一步应该没用。因此sigma-1/directhw.git 的安装脚本不好用了,建议尝试https://github.com/CloverHackyColor/directhw 分支的

ASD哈 发表于 2021-7-20 09:17

549597890 发表于 2021-5-31 12:23 https://www.pcbeta.com/static/image/common/back.gif
bigsur以后这一步应该没用。因此sigma-1/directhw.git 的安装脚本不好用了,建议尝试https://github.com/ ...

抱歉,工做原因,忙得很,这么久才回复大佬。 谢谢大佬

86962565 发表于 2022-12-15 01:23

蒙特雷 用这个报错
warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'DirectHW' from project 'DirectHW')
error: unable to find sdk 'macosx10.11' (in target 'KEXT' from project 'DirectHW')

VisionSeeker 发表于 2022-12-15 01:38

86962565 发表于 2022-12-15 01:23 https://bbs.pcbeta.com/static/image/common/back.gif
蒙特雷 用这个报错
warning: Traditional headermap style is no longer supported; please migrate to us ...

directHW很久没对新版本维护了,建议直接用网友整合rwmem和voltageshift的改版https://github.com/buliaoyin/VoltageShift

machaozi 发表于 2023-5-28 19:00

549597890 发表于 2022-12-15 01:38 https://bbs.pcbeta.com/static/image/common/back.gif
directHW很久没对新版本维护了,建议直接用网友整合rwmem和voltageshift的改版https://github.com/buliao ...

大佬有编译好的么。 未xcode编译出错

moxie_cn 发表于 2025-3-10 22:10

感谢楼主分享
页: [1]
查看完整版本: OS X 10.15.3英特尔处理器笔记本解锁TDP教程-步骤二