关于RestrictEvents部分引导参数的正确应用
本帖最后由 xuyilin1101 于 2024-8-22 19:20 编辑在没有看官方文档之前,一直只看论坛各位大神的帖子来正确识别CPU名称,可是经过一系列操作下来还是没有效果,无奈只好自己翻开RestrictEvents官方文档查看,才发现原来论坛里很多教程是错误的。
官方文档里给的四个引导参数【 revpatch=value revcpu=value revcpuname=value revblock=value 】并不是直接添加进boot-args引导参数里。正确的解读是Value是某个值,而这个值是例如:revcpu=1,这个 1 就是 Value值。
官方部分引导参数:
[*]revpatch=value to enable patching as comma separated options. Default value is auto.
[*]memtab - enable memory tab in System Information on MacBookAir and MacBookPro10,x platforms
[*]pci - prevent PCI configuration warnings in System Settings on MacPro7,1 platforms
[*]cpuname - custom CPU name in System Information
[*]diskread - disables uninitialized disk warning in Finder
[*]asset - allows Content Caching when sysctl kern.hv_vmm_present returns 1 on macOS 11.3 or newer
[*]sbvmm - forces VMM SB model, allowing OTA updates for unsupported models on macOS 11.3 or newer
[*]f16c - resolve CoreGraphics crashing on Ivy Bridge CPUs by disabling f16c instruction set reporting in macOS 13.3 or newer
[*]none - disable all patching
[*]auto - same as memtab,pci,cpuname, without memtab and pci patches being applied on real Macs
[*]revcpu=value to enable (1, non-Intel default)/disable (0, Intel default) CPU brand string patching.
[*]revcpuname=value custom CPU brand string (max 48 characters, 20 or less recommended, taken from CPUID otherwise)
[*]revblock=value to block processes as comma separated options. Default value is auto.
[*]pci - prevent PCI and RAM configuration notifications on MacPro7,1 platforms
[*]gmux - block displaypolicyd on Big Sur+ (for genuine MacBookPro9,1/10,1)
[*]media - block mediaanalysisd on Ventura+ (for Metal 1 GPUs)
[*]none - disable all blocking
[*]auto - same as pci
由此我们可以得知
revpatch 引导参数值是 memtab,pci,cpuname,diskread,asset,sbvmm,f16c,none,auto
revcpu 引导参数值是 1 和 0
revcpuname 引导参数值是 自定义的 CPU 名称
revblock 引导参数值是 pci,gmux,media,none,auto
启用多个引导参数值时用英文, 分割开。比如:revpatch 启用 sbvmm,auto
官方文档也告诉我们正确的填写路径。
Note: 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revpatch, 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revcpu, 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revcpuname and 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:revblock NVRAM variables work the same as the boot arguments, but have lower priority.
是在 NVRAM-Add-4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102 填入引导参数。
NVRAM variables work the same as the boot arguments, but have lower priority.这一句,是说明引导参数填入 boot-args 同样有效,但是我想说主要问题是看到很多人把revcpu=value这个错误的引导参数填入 boot-args ,正确的应该是 revcpu=1 或者revcpu=0。而且我个人建议在4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102里添加引导参数,我不喜欢boot-args有一大堆引导参数,而且还遇到无效的情况。
例1:需要开启自定义 CPU 名称
Key 填入 revcpu
Data Type 选择 Number
Value 填入 1
自定义 CPU 名称还需要修改 ProcessorType 的值,论坛里有详细说明,这里就不再赘述了。
例2:开启不受支持的接收增量更新
Key 填入 revpatch
Data Type 选择 String
Value 填入 sbvmm
这样我们就可以举一反三填入自己需要的引导参数了。至于参数的作用自行翻译哈,这里就不粘贴机翻了,写的不好还请见谅,只希望能帮到大家。{:5_294:}
我的2696V3也没有效果。 铁浪 发表于 2024-8-17 17:58 https://i.pcbeta.com/static/image/common/back.gif
我的2696V3也没有效果。
删掉之前相关的引导参数,按照官方的填入引导参数,然后ProcessorType值填 3841试试 不过revpatch=sbvmm直接放启动参数那里就是直接生效的 我的不管怎么弄关于本机这里都是只显示(3 GHz 八核Intel Core i7) 不显示具体型号 NVRAM variables work the same as the boot arguments, but have lower priority. tianma189 发表于 2024-8-19 19:35 https://i.pcbeta.com/static/image/common/back.gif
不过revpatch=sbvmm直接放启动参数那里就是直接生效的
我的14.5不生效,怎么也收不到更新,机型 macpro7,1 gxmjf08 发表于 2024-8-19 22:12 https://i.pcbeta.com/static/image/common/back.gif
我的不管怎么弄关于本机这里都是只显示(3 GHz 八核Intel Core i7) 不显示具体型号
你可以把配置文件发来我帮你看下 xuyilin1101 发表于 2024-8-20 14:14 https://i.pcbeta.com/static/image/common/back.gif
你可以把配置文件发来我帮你看下
这是我的config.plist帮看下是哪里的问题,不显示真实的型号
gxmjf08 发表于 2024-8-20 21:22 https://i.pcbeta.com/static/image/common/back.gif
这是我的config.plist帮看下是哪里的问题,不显示真实的型号
试试看吧,,应该可以了,记得清除一次NVRAM
铁浪 发表于 2024-8-19 22:37 https://i.pcbeta.com/static/image/common/back.gif
NVRAM variables work the same as the boot arguments, but have lower priority.
在boot-args填入 revcpu=value就是错误的,楼上那位就给的配置文件就填入了这个无效参数,正确应该是 revcpu=1 或者 revcpu=0,虽然一样,但是有时候就会无效,反正我在 boot-args 里填入revpatch=sbvmm,auto是无效的 xuyilin1101 发表于 2024-8-21 14:13 https://i.pcbeta.com/static/image/common/back.gif
在boot-args填入 revcpu=value就是错误的,楼上那位就给的配置文件就填入了这个无效参数,正确应该是 rev ...
我的居然有效。。 chenyulong 发表于 2024-8-21 14:31 https://i.pcbeta.com/static/image/common/back.gif
我的居然有效。。
revcpu有效的情况下而不自定义名称会识别同 Win 下的 CPU名称,特征就是名称在 @ x.xGhz 前面,如果是在 @ x.xGhz后面则并不是这个参数的作用 xuyilin1101 发表于 2024-8-21 14:03 https://i.pcbeta.com/static/image/common/back.gif
试试看吧,,应该可以了,记得清除一次NVRAM
先谢谢了,我一会试下 xuyilin1101 发表于 2024-8-21 14:03 https://i.pcbeta.com/static/image/common/back.gif
试试看吧,,应该可以了,记得清除一次NVRAM
可以显示了。谢谢。想不到是revcpuname 这个不起作用了
xuyilin1101 发表于 2024-8-21 14:38 https://i.pcbeta.com/static/image/common/back.gif
revcpu有效的情况下而不自定义名称会识别同 Win 下的 CPU名称,特征就是名称在 @ x.xGhz 前面,如果是在...
这样吗?
NVRAM variables work the same as the boot arguments, but have lower priority. gxmjf08 发表于 2024-8-21 21:33 https://i.pcbeta.com/static/image/common/back.gif
可以显示了。谢谢。想不到是revcpuname 这个不起作用了
并不是,而是你填入revcpu=value这个参数是错误的,正确应该是revcpu=1 lostboy2008 发表于 2024-8-22 09:24 https://i.pcbeta.com/static/image/common/back.gif
这样吗?
这样说明revcpu的启动参数是有效的 非常感谢 按楼主的教程 在NVRAM-Add-4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102
里添加revpatch 解决了搜不到更新的问题
页:
[1]
2