CodeRooster
CodeRooster
当前离线
UID4877777
最后登录1970-1-1
阅读权限20
精华
主题
回帖0
积分109
PB币
威望
贡献
技术
活跃
发消息
电梯直达
楼主
CodeRooster
发表于 2025-6-27 22:05
|
只看该作者
|倒序浏览
|阅读模式
本帖最后由 CodeRooster 于 2025-6-27 22:10 编辑
## 1 工具
- [macOS 安装教程](https://blog.daliansky.net/MacOS-installation-tutorial-XiaoMi-Pro-installation-process-records.html)
- [macOS 镜像制作工具gibMacOS 终端命令行脚本版](https://github.com/corpnewt/gibMacOS)
- [用 SwiftUI 编写的 macOS 应用程序,用于下载 macOS 镜像 Download Full Installer](https://github.com/scriptingosx/DownloadFullInstaller)
- [ANYmacOS:直接从官方服务器下载各种 macOS 版本](https://www.sl-soft.de/en/anymacos/)
- [ANYmacOS Github](https://github.com/MacThings/anymacos)
- [远景论坛-[下载] 【镜像下载】macOS纯净版安装镜像 不限速下载 持续更新](https://bbs.pcbeta.com/forum.php ... 471%26typeid%3D1471)
- [Apple macOS 苹果存量镜像安装pkg汇总合集](https://bbs.mediy.cn/d/77-apple-macos-pkg)
- [macOS 制作好的镜像下载地址](http://mirrors.dtops.cc/ISO/MacOS/)
- [计算文件的 MD5 哈希值工具 winmd5](http://www.winmd5.com)
- [启动U盘制作工具 Etcher](https://www.balena.io/etcher/)
- [Etcher的Github](https://github.com/balena-io/etcher)
- [Clove Github项目地址](https://github.com/CloverHackyColor/CloverBootloader)
- [CCG Clover 配置工具下载地址](https://mackie100projects.altervista.org/opencore-configurator/)
- [黑苹果引导工具 Clover 配置详解](https://blog.csdn.net/huangmindong/article/details/73930844)
- [带有 Intel 显卡的普通笔记本电脑的 config.plist 文件 OS-X-Clover-Laptop-Config](https://github.com/RehabMan/OS-X-Clover-Laptop-Config)
- [Clover引导简明教程](https://blog.csdn.net/geekmubai/article/details/81608491)
- [[指南] 在笔记本电脑上使用 Clover 启动 OS X 安装程序](http://www.tonymacx86.com/el-capitan-laptop-support/148093-guide-booting-os-x-installer-laptops-clover.html)
- [OpenCore Github项目地址](https://github.com/acidanthera/OpenCorePkg)
- [OpenCore 的最新版构建发布地址](https://github.com/dortania/build-repo/releases)
- [OpenCore 配置工具OCC下载地址](https://mackie100projects.altervista.org/download-opencore-configurator/)
- [OCAuxiliaryTools 是一款功能强大齐全的跨平台 OpenCore 配置编辑工具。](https://github.com/ic005k/OCAuxiliaryTools)
- [OC Auxiliary Tools--开源跨平台的OpenCore辅助工具(OCAT)](https://github.com/ic005k/OCAuxiliaryTools)
- [开源操作系统引导程序OpenCore的配置文件config.plist的Web编辑器](https://github.com/xieguozhong/opencoreConfiguratorOnline)
- [OpenCore-Install-Guide指南手册](https://dortania.github.io/OpenCore-Install-Guide/installation/installation-process.html#macos-installer)
- [OpenCore的config.plist在线校验](https://opencore.slowgeek.com/)
- [OC-Gen-X的Github项目地址](https://github.com/Pavo-IM/OC-Gen-X)
- [RapidEFI-Tool: 黑苹果OpenCore一键配置工具](https://github.com/JeoJay127/RapidEFI-Tool)
- [各版本下载地址](https://github.com/Pavo-IM/OC-Gen-X/releases)
- [OC-Gen-X 指南](https://dortania.github.io/OpenCore-Install-Guide/)
- [创建OpenCore主题工具:OpenCanopy生成器 - OpenCanopy-Generato](https://github.com/chris1111/OpenCanopy-Generator)
- OpenCore主题包
- [OC主题](https://github.com/chris1111/My-Simple-OC-Themes)
- [OC主题](https://github.com/LuckyCrack/OpenCore-Themes)
- [OC主题](https://github.com/Xmingbai/hackintosh-opencore--UI-theme)
- [OpenCanopyIconPacks 主题素材包](https://github.com/blackosx/OpenCanopyIconPacks)
- [OC主题-黑苹果动力](https://www.mfpud.com/opencore/octheme)
- [](https://github.com/LuckyCrack/OpenCore-Themes)
- [快速简便地为iOS和Android应用程序生成图标 icns图标生成](https://github.com/aillieo/app-icon-generator)
- [OpenCore MOD Github源码地址](https://github.com/OlarilaHackintosh/OpenCore_NO_ACPI)
- [OpenCore MOD Gitee源码地址](https://gitee.com/btwise/OpenCore_NO_ACPI)
- [[OpenCore] 【持续更新】MOD ](https://bbs.pcbeta.com/viewthread-1838814-1-1.html)
- [自动从 btwise’s OpenCore_NO_ACPI 拉取代码进行编译 OpenCore MOD Github源码地址](https://github.com/wjz304/OpenCore_NO_ACPI_Build)
- 简单说下Mod版和官方版区别:
1. 官方版在引导windows时会模拟成苹果机型,导致极少部分软件误以为是苹果机型不能安装,我遇到的是英特尔me固件更新软件不能装;
2. Mod版在引导windows时按正常PC机引导,不过也会导致不能安装BootCamp优雅切换系统,Boot Camp只认苹果机型;在蓝牙键鼠不支持bios等环境使用的情况下,Boot Camp切换系统就很实用。
- 快速配置OpenCore MOD版本
- 方法:OCAT 为一些基于 OpenCore 的修改提供了管理通道,您可以将这些 OpenCore 衍生产品视为 OpenCore 的一种特殊开发版本。程序如下:
1. 通过“编辑”菜单切换到 OpenCore 开发版本。
2. 在“升级 OC 和 Kexts UI”中,选择“导入”另一个 OpenCore 的衍生产品。
3. 同步OC并保存配置文件。
- 方法:OpenCore Configurator(以下简称OCC)。程序如下:
1. 在OpenCore Configurator(以下简称OCC)偏好设置里面把版本切换为Mod版,然后重启程序;
2. OCC打开官方原版config配置然后保存,会新增三项参数:
- ACPI-> Quirks-> EnableForAll #修改对所有系统生效,默认为No;
- Booter-> Quirks-> EnableForAll #修改对所有系统生效,默认为No;
- Misc->boot->SkipCustomEntryCheck #查到是无功能空选项,但不能取消,默认为True;
3. 把OpenCore.efi、OpenCanopy.efi等efi文件替换为Mod版即可。后续Mod版配置修改可通过OCC或ProperTree。
> [OpenCore Mod版简单使用教程2023.02.09-远景论坛-微软极客社区](https://bbs.pcbeta.com/viewthread-1918796-1-1.html)
- OCAT更新OC跟驱动卡进度条
- 原因:默认的源在国内可能被墙了
- 解决
- 方法一:更改镜像代理,清除数据、缓存,重启应用
- 更改镜像代理
- 软件菜单栏 -> 文件 -> 设置 -> 更换个其他的下载服务器
- 清除数据缓存
- 关闭OCAT
- 删除 $HOME/.ocat目录 (回到初始化状态)
- 删除 $HOME/.config/OCAuxiliaryTools
- 方法二:
- 1. 到GitHub把OpenCore下载下来后,替换:
- BOOT 目录中的BOOTx64.efi
- OC 目录中的OpenCore.efi
- OC-->Drivers中相应的efi文件
- 2. 然后用配套的OCC打开配置文件(OCC的工具菜单也可以Config配置健全性检查),保存一下就可以了。
- [Proper-Tree](https://github.com/corpnewt/ProperTree)
- [Plist Editor Pro](https://www.fatcatsoftware.com/plisteditpro/)
- [SSDTTime](https://github.com/corpnewt/SSDTTime)
- [编译好的通用ACPI](https://github.com/dortania/Getting-Started-With-ACPI)
- [跨平台ACPI编译工具、开源的跨平台 DSDT/SSDT 编译和反编译工具: Xiasl (原名 QtiASL) ](https://github.com/insilications/QtiASL)
- [ACPI编译工具、AML 编译器 MaciASL](https://github.com/acidanthera/MaciASL)
- [黑苹果瑞士军刀 hackintool](https://github.com/headkaze/Hackintool)
- [mac系统硬件信息查看器 · utopia-team/IORegistryExplorer · GitHub](https://github.com/utopia-team/IORegistryExplorer)
- [OpenCore-Patcher-GUI.app 用于在受支持和不受支持的 Mac 上运行和解锁 macOS 中的功能](https://github.com/dortania/OpenCore-Legacy-Patcher)
- [由Laobamac开发,感谢汉化及制作OpenCore-Legacy-Patcher: OCLP-Mod ](https://github.com/laobamac/OCLP-Mod)
+ Command_Line_Tools_for_Xcode
+ 官方下载渠道(访问苹果官方下载地址:https://developer.apple.com/download/more/ ,登录mac账号后,搜索Command_Line_Tools_for_Xcode+版本号,找到对应下载安装)
- [Command_Line_Tools_for_Xcode_14.3.1.dmg下载](https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_14.3.1/Command_Line_Tools_for_Xcode_14.3.1.dmg)
+ KDK - Kernel_Debug_Kit
+ 官方下载渠道(访问苹果官方下载地址:https://developer.apple.com/download/more/ ,登录mac账号后,搜索Kernel_Debug_Kit+版本号,找到对应下载安装)
- [Kernel_Debug_Kit_13.7.6_build_22H625](https://download.developer.apple.com/macOS/Kernel_Debug_Kit_13.7.6_build_22H625/Kernel_Debug_Kit_13.7.6_build_22H625.dmg)
- [Kernel_Debug_Kit_26.0_build_25A5279m](https://download.developer.apple.com/macOS/Kernel_Debug_Kit_26.0_build_25A5279m/Kernel_Debug_Kit_26.0_build_25A5279m.dmg)
+ github与加速下载地址
+ [KdkSupportPkg - github](https://github.com/dortania/KdkSupportPkg)
+ [github文件加速 - gitapi.simplehac.top](https://gitapi.simplehac.top)
+ 实例
- [Kernel_Debug_Kit_26.0](https://gitapi.simplehac.top/https://github.com/dortania/KdkSupportPkg/releases/download/25A5279m/Kernel_Debug_Kit_26.0_build_25A5279m.dmg)
- [Kernel_Debug_Kit_15.5](https://gitapi.simplehac.top/https://github.com/dortania/KdkSupportPkg/releases/download/24F74/Kernel_Debug_Kit_15.5_build_24F74.dmg)
- [Kernel_Debug_Kit_14.7.6](https://gitapi.simplehac.top/https://github.com/dortania/KdkSupportPkg/releases/download/23H626/Kernel_Debug_Kit_14.7.6_build_23H626.dmg)
- [Kernel_Debug_Kit_13.7.6](https://gitapi.simplehac.top/https://github.com/dortania/KdkSupportPkg/releases/download/22H625/Kernel_Debug_Kit_13.7.6_build_22H625.dmg)
+ MetalLib
+ [MetallibSupportPkg - github](https://github.com/dortania/MetallibSupportPkg)
+ 实例
- [MetallibSupportPkg-15.5-24F74](https://github.com/dortania/MetallibSupportPkg/releases/download/15.5-24F74/MetallibSupportPkg-15.5-24F74.pkg)
- []()
+ Xcode
+ 官方下载渠道(访问苹果官方下载地址:https://developer.apple.com/download/more/ ,Xcode+版本号,找到对应下载安装)
- [dosdude1's Personal Web Server - macOS 修补程序 允许任何人在不受支持的 Mac 上安装 macOS Majove/Catalina](http://dosdude1.com/software.html)
- [用于在不受支持的 Mac 上安装 macOS Big Sur 的原始 USB 修补程序](https://github.com/barrykn/big-sur-micropatcher)
- [用于 OpenCore Legacy Patcher 的 Apple 二进制文件](https://github.com/dortania/Apple-Binaries-OCLP)
- [已经 404](https://github.com/BenSova/Patched-Sur)
- [一个简单但功能强大的 macOS Big Sur 用户界面修补程序,专为所有人设计。](https://github.com/Ben216k/Patched-Sur)
- [非官方自动化黑苹果常用驱动编译,每 8 小时更新一次。](https://github.com/topics/intelmausiethernet)
- [](https://github.com/ClayMoreBoy/Hackintosh-kext-factory)
- [](https://github.com/starnetworkstudio/Hackintosh-Kext-Factory)
- [非官方自动化黑苹果Hackintosh全家桶每日编译更新](https://github.com/bugprogrammer/HackinPlugins/)
- [Kext更新器 kextupdater Github仓库地址](https://github.com/MacThings/kextupdater)
- [KextUpdater最新版下载地址](https://update.kextupdater.de/kextupdater/Kext%20Updater.zip)
- [AppleALC](https://github.com/acidanthera/AppleALC)
- [AppleALC-ALCPlugFix](https://github.com/athlonreg/AppleALC-ALCPlugFix)
- [verbit.sh](https://github.com/daliansky/dell7000/blob/master/hda-tools/verbit.sh)
- [codecgraph](https://github.com/cmatsuoka/codecgraph)
> 安装codecgraph所需要的依赖程序 brew install graphviz
- [voodoohda下载地址](https://sourceforge.net/projects/voodoohda/)
- [installVoodooHDA4BSnMont](https://github.com/yahgoo/installVoodooHDA4BSnMont)
- [USBInjectAll.kext](https://github.com/sniki/OS-X-USB-Inject-All)
- [voodoohda下载地址](https://sourceforge.net/projects/voodoohda/files/)
- [万能声卡驱动 VoodooHDA](https://github.com/chris1111/VoodooHDA-2.9.2-Clover-V15)
- [万能声卡驱动 VoodooHDA-OC](https://github.com/chris1111/VoodooHDA-OC)
- [博通网卡驱动AirportBrcmFixup.knext](https://github.com/acidanthera/AirportBrcmFixup)
- [博通蓝牙相关驱动](https://github.com/acidanthera/BrcmPatchRAM)
- [原生 Intel 蓝牙驱动 IntelBluetoothFamily](https://github.com/AppleBluetooth/IntelBluetoothFamily)
- [ext4_x64 btrfs_x64等驱动下载](https://github.com/acidanthera/OcBinaryData)
- [IntelBluetoothFirmware](https://github.com/OpenIntelWireless/IntelBluetoothFirmware)
- [BrcmPatchRAM](https://github.com/acidanthera/BrcmPatchRAM)
- [gfxutil](https://github.com/acidanthera/gfxutil/)
- [让Monterey B7及以上版本支持Kepler独显:GeForce Kepler Patcher](https://github.com/chris1111/Geforce-Kepler-patcher)
- [基于 OpenBSD 项目的适用于 macOS 的英特尔 Wi-Fi 适配器内核扩展](https://github.com/OpenIntelWireless/itlwm)
- [用于itlwm的英特尔 WiFi 客户端 HeliPort](https://github.com/OpenIntelWireless/HeliPort)
- [Wireless-USB-OC-Big-Sur-Adapter](https://github.com/chris1111/Wireless-USB-OC-Big-Sur-Adapter)
- [Fix Graphics HD 3000 Mojave|集显HD3000驱动程序](https://github.com/chris1111/Fix-Graphics-HD-3000-Mojave-10.14)
- [HD3000的有些地方(safri浏览器标签栏、程序坞、偏好设置的搜索栏会有黑线或黑边)解决项目下载地址](https://github.com/chris1111/Legacy-Video-patch)
- [适用于 Apple Silicon 和 Intel 的控制显示器的亮度和音量:MonitorControl](https://github.com/MonitorControl/MonitorControl)
- [FakePCIID Bitbucket上下载链接](https://bitbucket.org/RehabMan/os-x-fake-pci-id)
- [FakePCIID github上源代码下载链接](https://github.com/RehabMan/OS-X-Fake-PCI-ID)
- [用于启用的Lilu内核扩展(边车、夜班、隔空播放到 Mac、通用控制):FeatureUnlock](https://github.com/acidanthera/FeatureUnlock)
- [Lilu内核扩展,用于阻止导致不同硬件上的兼容性问题的不需要的进程,并解锁对仅限于其他硬件的某些功能的支持。](https://github.com/acidanthera/RestrictEvents)
- [usb网络:HoRNDIS: USB tethering driver for Mac OS X](https://www.joshuawise.com/horndis#horndisusb_tethering_driver_for_mac_os_x)
- [HoRNDIS(the USB tethering driver for Mac OS X)](https://github.com/jwise/HoRNDIS)
- [宪武的热补丁OC-little)](https://github.com/daliansky/OC-little)
- [电池管理驱动ECEnabler.kext](https://github.com/1Revenger1/ECEnabler/releases)
- [HibernationFixup.kext 修复因 RTC 变量和 NVRAM 造成的睡眠问题](https://github.com/acidanthera/HibernationFixup)
- [CpuTscSync.kext Lilu 插件,合并了 VoodooTSCSync 功能](https://github.com/acidanthera/CpuTscSync)
- [USBWakeFixup.kext 解决从 USB 唤醒设备时无法唤醒显示器,需要再按一次按键或再按一次鼠标来唤醒显示器的问题](https://github.com/osy86/USBWakeFixup)
- [IORegistryExplorer](https://mac.filehorse.com/download-ioregistryexplorer/download/)
- [zlib转换器.app](https://bbs.pcbeta.com/viewthread-1156924-1-1.html)
- [PlistEdit](https://www.fatcatsoftware.com/plisteditpro/)
- [PinConfigurator](https://github.com/headkaze/PinConfigurator)
- [L.E.Kext.Tool.zip](https://github.com/Andrej-Antipov/Kext-Install-Utility/)
- [声卡ID查询](https://github.com/acidanthera/AppleALC/wiki/Supported-codecs)
- [显卡ID查询](https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.IntelHD.cn.md)
- [CPU天梯图](https://www.mydrivers.com/zhuanti/tianti/cpu/)
- [免驱显卡速查表](https://pan.baidu.com/s/1sKPWkwDmV5Dvnhb9wem97g)
> 提取码: AFTX
- [英伟达显卡驱动](https://pan.baidu.com/s/1ADG217xG2Dje7PjzIjP6uA)
> 提取码: AFTX
- [intel-power-gadget](https://mac.filehorse.com/download-intel-power-gadget/download/)
> 改了磁盘名字但是OC引导项名字没变装下这个重启可以发现变了
- [NvidiaGraphicsFixup 现在已清理 合并入WhateverGreen中](https://github.com/lvs1974/NvidiaGraphicsFixup)
- [Lilu的显卡提供补丁:WhateverGreen - Lilu插件,提供补丁以在 macOS 上选择 GPU](https://github.com/acidanthera/WhateverGreen)
- [USB 映射工具 USBToolBox](https://github.com/USBToolBox/tool)
- [驱动 OS-X-USB-Inject-All](https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads/)
- [Laptop-DSDT-Patch](https://github.com/RehabMan/Laptop-DSDT-Patch)
- [补丁 OC-little](https://github.com/daliansky/OC-little)
- [补丁 P-little](https://github.com/daliansky/P-little)
- [无线 USB 适配器 Clover Wireless USB Adapter Clover](https://github.com/chris1111/Wireless-USB-Adapter-Clover)
- [基于 OpenBSD 项目的适用于 macOS 的英特尔 Wi-Fi 适配器内核扩展 itlwm](https://github.com/zxystd/itlwm)
- [一键开启 macOS HiDPI one-key-hidpi](https://github.com/xzhih/one-key-hidpi)
- [macOS 中启用原生蓝牙的固件上传驱动 IntelBluetoothFirmware](https://github.com/zxystd/IntelBluetoothFirmware)
- [OC 工具箱](https://myitnote.com/product/octool)
- [octool](https://github.com/rusty-bits/octool)
- [DiskGenius磁盘工具](https://www.diskgenius.cn/)
- [虚拟机精简版 VMware Workstation]()
- [下载地址](https://423down.lanzouo.com/i6zP701eineb)
- [下载地址2](https://www.123pan.com/s/A6cA-8sHJh)
- [USBToolBox - USB驱动一键生成工具 - 使 USB 映射的常见操作更容易的 kext](https://github.com/USBToolBox/kext)
- [USBToolBox 的官方项目地址](https://github.com/USBToolBox/tool/)
- [Hackintosh 黑苹果长期维护机型 EFI 及安装教程整理](https://github.com/daliansky/Hackintosh)
- [GitHub - acidanthera/NVMeFix](https://github.com/acidanthera/NVMeFix)
- [GitHub - acidanthera/RestrictEvents](https://github.com/acidanthera/RestrictEvents)
- [GitHub - dortania/PatcherSupportPkg](https://github.com/dortania/PatcherSupportPkg)
- [键位定制神器 - Karabiner-Elements](https://karabiner-elements.pqrs.org/)
- [键位定制神器 - Karabiner-Elements - Github](https://github.com/pqrs-org/Karabiner-Elements)
- [原创首发:功能强大的苹果系统键盘修改工具(支持10.14)-远景论坛-微软极客社区](https://bbs.pcbeta.com/viewthread-1794048-1-1.html)
[perez987/Broadcom-wifi-back-on-macOS-Sonoma-by-OCLP: Get back Fenvi T919 and other Broadcom Wi-Fi dropped on macOS 14 Sonoma](https://github.com/perez987/Broadcom-wifi-back-on-macOS-Sonoma-by-OCLP)
- [黑苹果关于SATA SSD和NVME SSD硬盘掉速的问题 - 老吴黑苹果工作室](https://hpglw.com/b201b9d5.html)
+ AMD CPU 黑苹果(目前兼容情况所有AMD笔记本都可以黑苹果,但是只有 Ryzen 7 5xxx以下的iGPU被NootedRed支持,即显卡加速。)
> AMD的APU与AMD的独显架构同源,但是由于苹果并没有使用,所以APU自带的核显并不能原生支持,后在国外开发者的不断努力下,终于在今天出了一定的成果,基于lilu开发了nootedred.kext(原项目名whateverred)
- 支持的 AMD CPU (2023年的现在AMD核显终于可以驱动了,包括ryzen1xxx-ryzen5带核显的处理器都可以驱动。)
| Family | Codename | Example |
|-------------|-----------|-----------------------------------|
| 15h | Bulldozer | FX Series |
| 16h | Jaguar | A Series (including AM4 A-Series) |
| 17h and 19h | Zen | Ryzen, Threadripper, Athlon 2xxGE |
- [AMD内核补丁 - GitHub - AMD-OSX/AMD_Vanilla: Native AMD macOS via OpenCore](https://github.com/AMD-OSX/AMD_Vanilla)
- [GitHub - NootedRed: Lilu plugin for AMD Vega iGPUs ](https://github.com/ChefKissInc/NootedRed)
- [GitHub - NootInc/NootedRed: Lilu plugin for AMD Vega iGPUs](https://github.com/NootInc/NootedRed)
- NootedRed如何下载最新版(目前github Release中没有构建好的打包版本)
- 方式一:克隆repo,并从中构建[Lilu.kext](https://github.com/acidanthera/lilu/releases)放置在项目根目录下。之后,像使用Xcode或xcodebuild的任何其他kext项目一样构建它。
- 方式二(推荐):从中获取预先构建的下载 [nootedred.kext](https://github.com/nootinc/nootedred/actions).您需要登录GitHub才能看到下载链接(在具体的提交构建action列表的具体详情页中可以看到Artifacts 下载后解压里面有Release和Debug的编译打包好的文件)。从主分支选择生成,除非开发人员告诉您尝试不同的分支。
> [手把手教你如何巧用Github的Action功能 - 知乎](https://zhuanlan.zhihu.com/p/343055339)
- 安装前先不加载显卡驱动 nootedred.kext ,安装好系统加载显卡驱动。台式机和Nuc系列比较容易安装,带EC的笔记本安装难度较大,可以支持到MAC OS10.15-MACOS14系统。
- 具体[AMD安装教程参考](https://chefkissinc.github.io/guide/) 网页链接为英文,可以使用网页翻译了解具体内容。
- [AMD笔记本黑苹果通用教程 - MetaNetworks的博客 | MetaNetworks' Blog](https://ketanetwork.cc/2023/06/13/AMD笔记本黑苹果通用教程/)
- 简要步骤
- 配置工具
- Git
- macOS 镜像制作工具
- [gibMacOS - macOS 镜像制作工具gibMacOS 终端命令行脚本版](https://github.com/corpnewt/gibMacOS)
- plist配置文件编辑工具
- [Proper-Tree](https://github.com/corpnewt/ProperTree)
- [OCAT - OCAuxiliaryTools 是一款功能强大齐全的跨平台 OpenCore 配置编辑工具。](https://github.com/ic005k/OCAuxiliaryTools)
- [Plist Editor Pro](https://www.fatcatsoftware.com/plisteditpro/)
- [OpenCore 配置工具OCC下载地址](https://mackie100projects.altervista.org/download-opencore-configurator/)
- ACPI生成工具
- [SSDTTime - 制作ACPI的aml文件脚本工具](https://github.com/corpnewt/SSDTTime)
- [编译好的通用ACPI](https://github.com/dortania/Getting-Started-With-ACPI)
- [ ACPI编译工具、AML 编译器 MaciASL](https://github.com/acidanthera/MaciASL)
- 序列号生成器
- [GenSMBIOS序列号生成器(用来生成黑苹果的序列号)](https://github.com/corpnewt/GenSMBIOS)
- 其他
- [黑苹果瑞士军刀 hackintool](https://github.com/headkaze/Hackintool)
- [OpenCore-Patcher-GUI.app 用于在受支持和不受支持的 Mac 上运行和解锁 macOS 中的功能](https://github.com/dortania/OpenCore-Legacy-Patcher)
- 下载一个OpenCorePkg 或下载Opencore的releases
- [acidanthera/OpenCorePkg: OpenCore bootloader](https://github.com/acidanthera/OpenCorePkg)
- [OpenCore 的最新版构建发布地址](https://github.com/dortania/build-repo/releases)
- [OpenCore MOD Github源码地址](https://github.com/OlarilaHackintosh/OpenCore_NO_ACPI)
- [OpenCore MOD Gitee源码地址](https://gitee.com/btwise/OpenCore_NO_ACPI)
- 配置一个可以安装的EFI引导文件
> [Bulldozer(15h) and Jaguar(16h) | OpenCore Install Guide 配置指南](https://dortania.github.io/OpenCore-Install-Guide/AMD/fx.html#starting-point)
- ACPI(电池、EC控制器等)
- HFSPlus.efi(需要到网上找,很容易找到,可以直接从我的ThinkBook 14p EFI里面拿)
- Kernel补丁(AMD处理器Patch)
- [AMD-OSX/AMD_Vanilla: Native AMD macOS via OpenCore](https://github.com/AMD-OSX/AMD_Vanilla)
- SMBIOS配置,使用上述GenSMBIOS
- 导入需要的Kext
- AMD相关
- 处理器[AmdTscSync: Kernel extension to sync TSC across all CPU cores.](https://github.com/naveenkrdy/AmdTscSync)
- USB Patch USBToolBox
- [USBToolBox/tool: the USBToolBox tool](https://github.com/USBToolBox/tool)
+ 其他方案
- [GitHub - ChefKissInc/LegacyRed: Legacy AMD iGPU support kext](https://github.com/ChefKissInc/LegacyRed)
- [AMD 最新【老旧平台】核显驱动 LegacyRed v1.0.0 (2024-Apr-21)-远景论坛-微软极客社区](https://bbs.pcbeta.com/viewthread-2000032-1-1.html)
### 1.1 aml 分类
SSDT-PNLF.aml 背光亮度控制补丁
SSDT-XOSI.aml 操作系统方法补丁,缺少引导卡住 SSDT-Fn.aml fn亮度按键
+ 下载SSDTTime
- [SSDTTime - 制作ACPI的aml文件脚本工具](https://github.com/corpnewt/SSDTTime)
> 注: 在linux或macOS下使用时需要下载iasl执行文件放在SSDTTime/script目录下,还需要给iasl添加可执行权限'chmod +x ./iasl'
- 使用SSDTTimer生成对应DSDT等文件
- 1). 解压打开SSDTTimer,点击 ,输入P ( 旧版本是 8 ),会在SSDTTimer目录下生成Results,
- 2). 如果是本机则跳到第3步,若不是本机则删除替换SSDTTimer目录下生成Results里面的DSDT,把提示的目标机器提取的文件替换掉(方法有Clover提取DSDT法,OpenCore提取DSDT工具)
- 3). 在SSDTTime的命令窗口,输入D,把DSDT所在的目录地址(SSDTTimer目录下的Results的DSDT.aml)
- 4). 在SSDTTime的命令窗口,台式机依次输入: 1 2 4 5 6 7 ; 笔记本的 依次输入 1 3 4 5 6 7 ;
- 5). 将生成的Results下生成的文件` *.aml `(除了DSDT.aml)放入EFI的ACPI中,用Proper-Tree或其他工具编辑更新config.plist(将 patches_OC.plist内容放入Opencore的EFI的config.plist对应位置)
### 1.2 kext驱动分类归纳
> 注:该处知识分类黑苹果驱动用途,有些驱动同时启用造成会冲突,请注意。
+ 核心驱动
- Lilu.kext 第三方驱动内核扩展
- VirtualSMC.kext 系统管理控制器内核仿冒驱动
+ 显卡驱动
- WhateverGreen.kext
+ 声卡驱动
- AppleALC.kext
- VoodooHDA.kext
+ 网卡驱动
+ 有线网卡驱动
- IntelMausi.kext 英特尔板载网卡驱动
- LucyRTL8125Ethernet.kext 有线网卡Realtek RTL8125 驱动
- RealtekRTL8111.kext 有线网卡Realtek RTL8111/8168 网卡驱动。
- AtherosE2200Ethernet.kext 高通 Atheros Killer 系列网卡的驱动
+ 无线网卡驱动(无线网卡三家:Intel,Atheros(高通),Broadcom(博通)。)
- AirPortAtheros40.kext 高通网卡驱动
- HS80211Family.kext 高通网卡驱动配合
- AtherosWifiInjector.kext 高通网卡驱动配合
- HS80211Family.kext 高通网卡驱动配合
- IOath3kfrmw.kext 高通网卡驱动配合
- ATH9KFixup.kext 高通无线网卡驱动集合
- WifiLocFix.kext 高通网卡驱动配合
- AirportBrcmFixup.kext 博通网卡
- IO80211Family.kext 系统内置无线驱动
+ 蓝牙驱动
- Itlwm.kext/Airportitlwm.kext 英特尔无线WiFi驱动
- IntelBluetoothFirmware.kext 英特尔蓝牙驱动(支持AX210/AX211/5.x蓝牙)
- BrcmPatchRAM.kext 博通蓝牙补丁
- BT4LEContinuityFixup.kext 蓝牙修复补丁
+ 键盘、鼠标、触控板驱动(笔记本触控板一般有三种连接方式:I2C连接、SMBus连接、PS2连接)
- ApplePS2SmartTouchPad.kext 键盘鼠标触摸板万能驱动
- VoodooPS2Controller.kext 键盘鼠标触摸板驱动
- VoodooInput.kext 触控板聚合器内核扩展
- VoodooI2C.kext 触控设备及手势支持驱动
- VoodooI2CHID.kext
- VoodooRMI.kext Synaptic触控板驱动
+ USB驱动
- UTBMap.kext 定制生成的USB
- USBToolBox.kext USB定制/运行辅助
- USBInjectAll.kext USB注入
- USBPorts.kext
- HoRNDIS.kext USB网络驱动
+ 电池
- ECEnabler.kext 简易电池辅助驱动
- ACPIBatteryManager.kext 电量显示驱动
+ 其他
- NVMeFix.kext NVMe提升兼容性驱动
- CPUFriend.kext CPU电源管理辅助驱动
- FeatureUnlock.kext 不支持的机型解锁功能驱动用于启用的Lilu内核扩展(边车、夜班、隔空播放到 Mac、通用控制):
- RestrictEvents.kext 禁止系统事件驱动
- MacHyperVSupport.kext macOS虚拟化集成服务支持驱动
- FakeSMC3 Release 模拟SMC传感器插件
- CpuTscSync.kext TSC同步和唤醒后内核崩溃修复驱动
- CPUFriend.kext CPU电源管理辅助
- CpuTopologyRebuild.kext 大小核处理器线程优化
- CpuTopologySync.kext 开启十二代酷睿能效核心
- HibernationFixup.kext 睡眠修复驱动
- XHCI-unsupported.kext 有些主板不支持usb3.0需要加(注:实操安装时没用到后面加的)
- RestrictEvents.kext 强制VMM SB型号,允许对macOS 11.3或更新版本上不支持的型号进行OTA更新。需要额外的NVRAM参数
- FeatureUnlock.kext 解锁NightShift和AirPlay到Mac(注:实操安装时没用到后面加的)
- AMFIPass.kext OCLP 0.6.7中的Beta kext。允许在不禁用AMFI的情况下启动macOS 12+
- ASPP-Override.kext 将插件类型0优先于插件类型1,以便SMC CPU电源管理工作
- AppleIntelCPUPowerManagement.kexts 需要在macOS Ventura及更新版本中重新启用SMC CPU电源管理
- AppleIntelCPUPowerManagementClient.kexts 需要在macOS Ventura及更新版本中重新启用SMC CPU电源管理
+ 相关资源 Github 仓库地址
- [AppleALC](https://github.com/acidanthera/AppleALC)
- [AppleALC-ALCPlugFix](https://github.com/athlonreg/AppleALC-ALCPlugFix)
- [USBToolBox kext](https://github.com/USBToolBox/kext)
- [USBToolBox tool](https://github.com/USBToolBox/tool)
- [USBInjectAll.kext](https://github.com/sniki/OS-X-USB-Inject-All)
- [VoodooI2C](https://github.com/VoodooI2C/VoodooI2C)
- [VoodooRMI](https://github.com/VoodooSMBus/VoodooRMI)
- [IntelBluetoothFirmware](https://github.com/OpenIntelWireless/IntelBluetoothFirmware)
- [BrcmPatchRAM](https://github.com/acidanthera/BrcmPatchRAM)
- [ECEnabler](https://github.com/1Revenger1/ECEnabler)
- [HibernationFixup](https://github.com/acidanthera/HibernationFixup)
- [CpuTscSync](https://github.com/acidanthera/CpuTscSync)
- [USBWakeFixup](https://github.com/osy86/USBWakeFixup)
- [itlwm](https://github.com/zxystd/itlwm)
- [WhateverGreen](https://github.com/acidanthera/WhateverGreen)
- [NvidiaGraphicsFixup](https://github.com/lvs1974/NvidiaGraphicsFixup)
- [HoRNDIS](https://github.com/jwise/HoRNDIS)
- [FeatureUnlock](https://github.com/acidanthera/FeatureUnlock)
- [FakePCIID](https://github.com/RehabMan/OS-X-Fake-PCI-ID)
- [VoodooHDA-OC](https://github.com/chris1111/VoodooHDA-OC)
- [IO80211](https://github.com/khronokernel/IO80211-Patches)
- [VoodooPS2](https://github.com/acidanthera/VoodooPS2)
- [VoodooPS2-ALPS](https://github.com/SkyrilHD/VoodooPS2-ALPS)
- [OS-X-ALPS-DRIVER - VoodooPS2Controller for ALPS - Dell M4800](https://github.com/hansyao/OS-X-ALPS-DRIVER)
- [OS-X-Realtek-Network](https://github.com/RehabMan/OS-X-Realtek-Network)
- [让Monterey正式版支持Kepler独显:GeForce Kepler Patcher V4](https://github.com/chris1111/Geforce-Kepler-patcher)
- [黑苹果USB网卡万能驱动 Wireless USB Big Sur Adapter Driver v13](https://github.com/chris1111/Wireless-USB-OC-Big-Sur-Adapter)
- [OS-X-USB-Inject-All](https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads/)
- [适用于 Apple Silicon 和 Intel 的控制显示器的亮度和音量:MonitorControl](https://github.com/MonitorControl/MonitorControl)
- [Fix Graphics HD 3000 Mojave|集显HD3000驱动程序](https://github.com/chris1111/Fix-Graphics-HD-3000-Mojave-10.14)
- [HD3000的有些地方(safri浏览器标签栏、程序坞、偏好设置的搜索栏会有黑线或黑边)解决项目下载地址](https://github.com/chris1111/Legacy-Video-patch)
- [用于itlwm的英特尔 WiFi 客户端 HeliPort](https://github.com/OpenIntelWireless/HeliPort)
- [ext4_x64 btrfs_x64等驱动下载](https://github.com/acidanthera/OcBinaryData)
- [Enable macOS HiDPI 开启 HiDPi脚本的 Github 项目地址](https://github.com/xzhih/one-key-hidpi)
```
kexts还需要有一定的加载顺序。不正确的加载顺序会导致冲突、无法开机。
常见kexts的加载顺序如下:
Lilu
VirtualSMC
WhatevenGreen
SMCBattery和LightSensor(笔记本、后者光传感器笔记本)
SMCProecssor
SMCSuperIO
AppleALC
Airportitlwm或itlwm
IntelBluetoothInjector
IntelBluetoothFirmware
如果是AX网卡还需要IntelBTPatcher
VooDooPS2Controller/VooDooI2C-VoodooI2CServices.kext
VooDooPS2Controller-VooDooPS2Keyboard/VooDooI2C-VooDooGPIO
VooDooPS2Controller-VooDooPS2Mouse/VooDooI2C
VooDooPS2Controller-VoodooPS2Trackpad/VooDooI2CHID
VooDooPS2Controller-VooDooInput/VoodooPS2Controller
-/VoodooPS2Controller-VoodooPS2Keyboard
-/VoodooI2C-VoodooInput
一般在你添加VoodooI2C或PS2驱动时,附属kexts(如VoodooPS2Controller-VooDooPS2Mouse这类)都会以固定顺序一起添加,不用特地调整。
关于Drivers:Drivers是驱动,这些驱动的后缀均为.efi。
OpenRunTime.efi:OC的必备驱动
OpenCanopy.efi:OC主题必备驱动
OpenHfsPlus.efi:支持识别HFS+的分区的驱动
AudioDxe.efi:启动时播放白苹果开机自检声音(Duang)
CrScreenshotDxe.efi:OC引导界面截图,按F10保存到EFI根目录
OpenLinuxBoot:OC0.7.4+,用于OC引导Linux
关于Tools:Tools大部分都是OC官方开发的小工具,非常实用。这些工具的后缀也都是.efi。
CleanNvram.efi:清理NVram的工具。效果比较彻底,如果有登录Apple ID,会被退出。
ResetNvram.efi:单纯仅清除NVram。
OpenShell.efi:UEFI Shell。
关于ACPI:ACPI的中文译名是高级配置和电源接口,定义了BIOS(UEFI)之间的硬件抽象接口。根据维基百科,ACPI有如下几种可以实现的功能:
系统电源管理(System power management)
设备电源管理(Device power management)
处理器电源管理(Processor power management)
设备和处理器性能管理(Device and processor performance management)
配置/即插即用(Configuration/Plug and Play)
系统事件(System Event)
电池管理(Battery management)
温度管理(Thermal management)
嵌入式控制器(Embedded Controller)
SMBus控制器(SMBus Controller)
```
> 参考资料
- [11. macOS 下触屏驱动](https://apple.sqlsec.com/6-%E5%AE%9E%E7%94%A8%E5%A7%BF%E5%8A%BF/6-11.html)
- [Synaptic 触控板驱动:VoodooRMI 1.3.4](https://heipg.cn/drivers/voodoormi-1-3-4.html)
## 2 镜像获取与制作
- 目的:
- 得到可用来刷入u盘的系统镜像dmg文件(如:macOS Sonoma 14.4 (23E214).dmg)
- 手段/方法/途径:
- 路径一:网上查找下载网友制作好分析出来的dmg包
- [远景论坛-微软极客社区](https://bbs.pcbeta.com/)
- [【镜像下载】macOS纯净版安装镜像 不限速下载 持续更新(更新13.6.4,12.6.8,11.7.9)-远景论坛-微软极客社区](https://bbs.pcbeta.com/forum.php ... 471%26typeid%3D1471)
- ...
- 路径二:自己制作
- 1)下载镜像数据包[别称,固件、全量包、InstallAssistant.pkg](注:更新系统数据包分增量包,和全量包,这里要全量包)
- 方式1. 使用gibMacOS工具里面可以脚本可以方便查找和下载想要版本的的镜像包
- [利用gibMacOS工具制作原版dmg安装镜像教程 - 知乎](https://zhuanlan.zhihu.com/p/412478953)
- 1. 打开gibMacOS的GitHub网站[GitHub - corpnewt/gibMacOS:](https://github.com/corpnewt/gibMacOS) 点击右上角的Code,再点击Download ZIP,即可下载gibMacOS工具
> 通过C(Change Catalog Currently publicrelease)来调整下载不同的版本(比如最新的开发预览版)
- 2. 下载好的gibMacOS-master.zip解压出来
- 3. macOS系统的话双击运行gibMacOS.command,Windows系统的话双击gibMacOS.bat运行,运行后,会显示可下载的产品
- 4. 也可以通过C(Change Catalog Currently publicrelease)来调整下载不同的版本(比如最新的开发预览版)
- 5. 这里需要选择下载macOS 版本,那么在命令行这里输入相应序号如:1 按回车即可,如果需要下载其他版本的系统,只需要输入不同的序号
- 6. 接下来就是漫长的等待过程,这里的下载速度主要取决于网速的快慢
- 方式2. 网上分享的官方全量包下载地址,如:
- macOS Sonoma 14.4.1 (23E224)正式版 官方下载:http://swcdn.apple.com/content/downloads/04/13/052-77516-A_4P7VY083DT/83qy3989rsnylxagdmim3owwjdtc33zfe4/InstallAssistant.pkg
- 2)制作dmg镜像文件
- macOS下
- 双击打开下载好的 InstallAssistant.pkg 安装文件,安装成功后会在应用程序里面显示安装程序
- 打开macOS系统自带的磁盘工具,选择“空白镜像”, 根据所下载的镜像的大小,分配一个合理的镜像大小,如所下载的镜像为14.06G,就创建一个15G大小的镜像,命名,格式选择Mac OS (扩展日志式)【因为APFS磁盘不能用作可引导的安装介质。】创建完成后可在桌面/文档看到
- 打开“终端”输入刷入命令,回车后输入密码,等待镜像写入,看到
```Shell
# Sonoma
sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/macOS_Sonoma_14.x_xxxxx
# Ventura
sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/macOS_Ventura_13.x_xxxxx
# Monterey
sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/macOS_Monterey_12.x_xxxxx
# Big Sur
sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/macOS_Big_Sur_11.x_20G165 –nointeraction
# ...
# 参数说明:
# --volume # 指向卷的路径,可以卸载和擦除该卷以创建安装介质。
# --applicationpath # 用于复制操作系统安装程序应用程序以创建可引导介质的路径。
# --nointeraction # 擦除卷指向的磁盘而不提示确认。
# 回车后输入密码,等待镜像写入,完成即可,写入完成后, 推出这个dmg磁盘, 一般在访达中就能推出
```
- 压缩dmg磁盘(可选)
- 上面创建的dmg磁盘大小为15G, 为了保证空间足够写入, 数据量其实没到15G, 可以压缩一下。
- 打开「磁盘工具」,顶部菜单选择「映像」->「转换」,选择 macOS_Sonoma_14.x_xxxxx.dmg 文件并存储命名为 macOS_Sonoma_14.x_xxxxx_v1.0 到桌面:
- 3)写入dmg到u盘或移动硬盘(可选)
- 方式一:使用 balenaEtcher(开源跨平台) 来进行写入
- [balena-io/etcher](https://github.com/balena-io/etcher)
> 参考资料
[制作macOS启动盘和dmg镜像 | 杂烩饭](https://zahui.fan/posts/lrrec490/)
## 3 更新
+ 更新方法:
+ 方式1: 增量包更新
+ 方式2: 全量包下载更新
+ 方式3: dmg包制作U盘启动安装盘后安装更新
+ 更新后储存空间Macintosh HD下面多了一个Update
- 解决办法:启动台--->磁盘工具--->update右击,选择“删除APFS卷宗”。
## 4 常用命令
```Shell
#启用macOS安装应用允许任何来源
sudo spctl --master-disable
```
+ 排查错误命令
```Shell
# macOS的终端执行以下命令,可排查是否存在ACPI Error:
log show --last boot | grep -Ei "ACPI"
# OpenCore对其引导的所有操作系统一视同仁,所以通过OC注入的SSDT除了对macOS产生直接作用,同样对Windows、Linux等操作系统也产生直接作用,所以我们在注入SSDT时,除了达到兼容macOS的目的,也要兼顾到对其它操作系统产生的影响。另外,放任ACPI Error的长期隐性存在,轻则蓝屏故障、拖累启动运行速度、无故崩溃重启、电源管理异常等问题,重则可能损伤硬件,所以安装Hackintosh后,排查是否存在ACPI Error并加于纠正是应该要做的功课,当然,ACPI Error也有可能存在于原机ACPI
```
+ 挂载EFI(使用Terminal)
```Shell
# 使用以下命令:
# 一. 进入Single User模式:
sudo -s
# 二. 在Volumes下创建EFI文件夹:
mkdir /Volumes/EFI
# 三. 确定分区:查看硬盘分区
diskutil list
# 四. 挂载分区:
mount -t msdos /dev/disk0s1 /Volumes/EFI
```
+ 检查您的硬件型号
```Shell
system_profiler SPHardwareDataType | grep 'Model Identifier
```
+ 安装旧版macOS 提示 这个“安装macOS xxx”应用程序副本已损坏,不能用来安装macOS
> 一般是因为低版本推出时间太早,苹果其实建议安装最新的版本,苹果没有更新证书日期。(比如:10.13系统是2017年的系统,但是现在已经2019年了。就会报该错误。修改系统日期再进行安装即可(推荐把时间修改为系统发布之后一周的时间。
比如 macOS Big Sur 11.2.2 大概是 2021/03/02 发布的,那么把系统日期改为3月3号就可以了。比如要把 系统时间改为 2021/03/04,那么输入下面的内容 date 030400002021.00)
```bash
# 打开终端命令工具,输入命令修改时间:
date 月日时分年.秒
# - 安装 Highe Sierra”
date 122014102016.30
# - 安装 Mojave 2018年的系统
date 122014102017.30
# - 安装 Catalina 2019年
# - Catalina 10.15.7 大概 2020.9.23 发布
date 092300002020.00
# - 安装 Big Sur 2020年
date 122014102019.30
# - 安装 Monterey 2021年
# - monterey 12.4 2022.04.20发布
date 042100002022.00
```
+ 安装无法继续,因为安装器已损坏,重新下载安装器并再试一次
- 原因基本有两种
- 一种是安装镜像没有做好,解决方法就是换个地方,找个新的安装镜像重新刻录U盘。
- 还有一种可能就是跟苹果安装时的校验服务器时间有关,这个的可能性比较小。
+ SIP设置
```bash
# recovery(恢复模式)下,解锁SIP
# 查看SIP状态
csrutil status
# 输出如下: System Integrity Protection status: enable/disabled.
# 注意:如果是 enable ,代表SIP开启;
# 如果是 disabled ,代表SIP关闭,即解锁SIP。
# 关机重启,进入OpenCore引导选择界面,进入recovery模式,打开工具->终端;执行以下命令
csrutil disable
csrutil authenticated-root disable
```
+ 查看加载kexts状态
```bash
kextstat | grep -E "AppleHDA|Lilu"
kextstat | grep -v "com.apple" # 显示除了苹果之外的驱动加载
kextstat | grep -v "com.apple" | grep -v "Energy" # 查看加载的非官方驱动
ioreg -l | grep layout-id 查看注入id值
```
+ 临时清除更新标记
```bash
# 临时清除系统更新标记
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
Killall Dock
#清除更新标记(数字角标)
defaults write com.apple.appstored.plist BadgeCount 0
Killall Dock
# 解决更新的后台SoftwareUpdateNotificationManager。不但禁止更新,还抹了红色更新角标。
sudo mount -uw /
cd /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/
sudo chmod 600 ./SoftwareUpdateNotificationManager
sudo softwareupdate --ignore "macOS Catalina"
sudo softwareupdate --ignore "macOS Big Sur"
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0;killall Dock
# 恢复命令:
sudo mount -uw /
sudo chmod 777 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0;killall Dock
# 查看更新内容
softwareupdate --list
# 你需要恢复系统更新提示,终端中运行
softwareupdate --reset-ignored
```
+ 启动台也可以设置应用的列和宽,使用如下命令即可:
```bash
# 设置列数为 9
defaults write com.apple.dock springboard-columns -int 9
# 设置行数为 6
defaults write com.apple.dock springboard-rows -int 6
# 重启 Dock 生效
killall Dock
# 恢复默认的列数和行数
defaults write com.apple.dock springboard-rows Default
defaults write com.apple.dock springboard-columns Default
# 重启 Dock 生效
killall Dock
```
+ microsoft autoupdate 方法一:设置权限不可访问
```Shell
cd /Library/Application\ Support/Microsoft/MAU2.0
sudo chmod 000 Microsoft\ AutoUpdate.app
```
方法二:删除(简单了,直接Del就完事)
1、打开Finder(访达)
2、按键盘快捷键:command(⌘)+⇧+G,或者顶部菜单,选中前往,前往文件夹
3、在弹出的对话框中输入路径:在弹出的对话框中输入路径:
```Shell
/Library/Application Support/Microsoft/
```
4、可以直接连文件夹“MAU2.0”删掉即可,若是不放心,点击文件夹“MAU2.0”,进入后删掉“Microsoft AutoUpdate.app”。
+ 允许安装来自网络的软件设置
```bash
# 打开终端,输入下列代码:
sudo spctl --master-disable
```
+ 后根目录只读 mac os 升级12.0.1 后根目录只读, 提示“Read-only file system”
错误解决方式: (已经不适用12.0.1)!!!
关闭SIP 命令行执行csrutil disable
正确解决方式:
```Shell
sudo vim /etc/synthetic.conf
```
添加一行记录(如果有两列需要使用 tab 进行分割,注意空格分割是无效的),然后重启即可
```Shell
data Users/xxx/data
```
+ 关闭备份限速
mac 在首次备份的时候发现特别慢,发现是因为mac对备份做了限速,为了不影响mac的正常使用。
经过验证,我们可以输入:
```Shell
# 关闭限速
sudo sysctl debug.lowpri_throttle_enabled=0
# 备份完成后可以 开启限速
sudo sysctl debug.lowpri_throttle_enabled=1
# 因为首次备份之后的备份内容都会少很多,低速模式足够使用啦。
```
+ icns制作
```Shell
#- 准备工作:
- 桌面创建个文件夹, 命名如: icon 。 我们就在这个文件里面进行操作。
- 把源文件,拖进这个文件夹,命名为pic。
#- 步骤1:在icon目录下,用下面的命令 创建一个临时目录存放不同大小的图片
mkdir tmp.iconset
#- 步骤2:在icon目录下,直接复制粘贴 下面的所有的命令,把原图片转为不同大小的图片,并放入上面的临时目录
sips -z 16 16 pic.png --out tmp.iconset/icon_16x16.png
sips -z 32 32 pic.png --out tmp.iconset/icon_16x16@2x.png
sips -z 32 32 pic.png --out tmp.iconset/icon_32x32.png
sips -z 64 64 pic.png --out tmp.iconset/icon_32x32@2x.png
sips -z 128 128 pic.png --out tmp.iconset/icon_128x128.png
sips -z 256 256 pic.png --out tmp.iconset/icon_128x128@2x.png
sips -z 256 256 pic.png --out tmp.iconset/icon_256x256.png
sips -z 512 512 pic.png --out tmp.iconset/icon_256x256@2x.png
sips -z 512 512 pic.png --out tmp.iconset/icon_512x512.png
sips -z 1024 1024 pic.png --out tmp.iconset/icon_512x512@2x.png
#- 步骤3:在icon目录下,用下面的命令 生成icns文件
iconutil -c icns tmp.iconset -o Icon.icns
```
本主题由 正义羊 于 2025-6-28 00:40 审核通过
收藏4
分享
回复
使用道具
举报
提升卡
沉默卡
喧嚣卡
变色卡
千斤顶