小子118 发表于 2023-1-22 00:50

黑苹果-工具与相关常用网址整理分享v2.0

# Hackintosh-黑苹果-工具


## 工具
- (https://blog.daliansky.net/MacOS-installation-tutorial-XiaoMi-Pro-installation-process-records.html)

- (https://github.com/corpnewt/gibMacOS)

- [用 SwiftUI 编写的 macOS 应用程序,用于下载 macOS 镜像 Download Full Installer](https://github.com/scriptingosx/DownloadFullInstaller)

- (https://www.sl-soft.de/en/anymacos/)
    - (https://github.com/MacThings/anymacos)

- [远景论坛-[下载] 【镜像下载】macOS纯净版安装镜像 不限速下载 持续更新](https://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1939091&extra=page%3D1%26filter%3Dtypeid%26typeid%3D1471%26typeid%3D1471)

- (https://bbs.mediy.cn/d/77-apple-macos-pkg)

- (http://mirrors.dtops.cc/ISO/MacOS/)

- [计算文件的 MD5 哈希值工具 winmd5](http://www.winmd5.com)

- [启动U盘制作工具 Etcher](https://www.balena.io/etcher/)
    - (https://github.com/balena-io/etcher)

- (https://github.com/CloverHackyColor/CloverBootloader)
- (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)
- (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)

- (https://github.com/acidanthera/OpenCorePkg)
- (https://github.com/dortania/build-repo/releases)
- (https://mackie100projects.altervista.org/download-opencore-configurator/)
- (https://github.com/ic005k/OCAuxiliaryTools)
- (https://github.com/ic005k/OCAuxiliaryTools)
- [开源操作系统引导程序OpenCore的配置文件config.plist的Web编辑器](https://github.com/xieguozhong/opencoreConfiguratorOnline)
- (https://dortania.github.io/OpenCore-Install-Guide/installation/installation-process.html#macos-installer)
- (https://opencore.slowgeek.com/)
- (https://github.com/Pavo-IM/OC-Gen-X)
- [各版本下载地址](https://github.com/Pavo-IM/OC-Gen-X/releases)
- (https://dortania.github.io/OpenCore-Install-Guide/)
- OpenCore主题包
    - (https://github.com/chris1111/My-Simple-OC-Themes)
    - (https://github.com/LuckyCrack/OpenCore-Themes)
    - (https://github.com/Xmingbai/hackintosh-opencore--UI-theme)
    - (https://github.com/blackosx/OpenCanopyIconPacks)
    - (https://www.mfpud.com/opencore/octheme)


- (https://github.com/OlarilaHackintosh/OpenCore_NO_ACPI)
- (https://gitee.com/btwise/OpenCore_NO_ACPI)
- [ 【持续更新】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)
> OCAT 为一些基于 OpenCore 的修改提供了管理通道,您可以将这些 OpenCore 衍生产品视为 OpenCore 的一种特殊开发版本。程序如下。
>   1. 通过“编辑”菜单切换到 OpenCore 开发版本。
>   2. 在“升级 OC 和 Kexts UI”中,选择“导入”另一个 OpenCore 的衍生产品。
>   3. 同步OC并保存配置文件。


- (https://github.com/corpnewt/ProperTree)
- (https://www.fatcatsoftware.com/plisteditpro/)

- (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)

- (https://github.com/dortania/OpenCore-Legacy-Patcher)

- (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/)

- (https://github.com/MacThings/kextupdater)
    - (https://update.kextupdater.de/kextupdater/Kext%20Updater.zip)

- (https://github.com/acidanthera/AppleALC)
- (https://github.com/athlonreg/AppleALC-ALCPlugFix)
- (https://github.com/daliansky/dell7000/blob/master/hda-tools/verbit.sh)
- (https://github.com/cmatsuoka/codecgraph)
> 安装codecgraph所需要的依赖程序 brew install graphviz

- (https://sourceforge.net/projects/voodoohda/)
- (https://github.com/yahgoo/installVoodooHDA4BSnMont)

- (https://github.com/sniki/OS-X-USB-Inject-All)
- (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)

- (https://github.com/acidanthera/OcBinaryData)
- (https://github.com/OpenIntelWireless/IntelBluetoothFirmware)
- (https://github.com/acidanthera/BrcmPatchRAM)

- (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)
- (https://github.com/chris1111/Wireless-USB-OC-Big-Sur-Adapter)


- (https://github.com/chris1111/Fix-Graphics-HD-3000-Mojave-10.14)
- (https://github.com/chris1111/Legacy-Video-patch)


- [适用于 Apple Silicon 和 Intel 的控制显示器的亮度和音量:MonitorControl](https://github.com/MonitorControl/MonitorControl)

- (https://bitbucket.org/RehabMan/os-x-fake-pci-id)
- (https://github.com/RehabMan/OS-X-Fake-PCI-ID)

- [用于启用的Lilu内核扩展(边车、夜班、隔空播放到 Mac、通用控制):FeatureUnlock](https://github.com/acidanthera/FeatureUnlock)
- (https://github.com/acidanthera/RestrictEvents)

- (https://www.joshuawise.com/horndis#horndisusb_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)

- (https://github.com/acidanthera/HibernationFixup)
- (https://github.com/acidanthera/CpuTscSync)

- (https://github.com/osy86/USBWakeFixup)

- (https://mac.filehorse.com/download-ioregistryexplorer/download/)
- (https://bbs.pcbeta.com/viewthread-1156924-1-1.html)
- (https://www.fatcatsoftware.com/plisteditpro/)

- (https://github.com/headkaze/PinConfigurator)

- (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)

- (https://www.mydrivers.com/zhuanti/tianti/cpu/)
- [免驱显卡速查表](https://pan.baidu.com/s/1sKPWkwDmV5Dvnhb9wem97g)
    > 提取码: AFTX
- [英伟达显卡驱动](https://pan.baidu.com/s/1ADG217xG2Dje7PjzIjP6uA)
    > 提取码: AFTX

- (https://mac.filehorse.com/download-intel-power-gadget/download/)
    > 改了磁盘名字但是OC引导项名字没变装下这个重启可以发现变了

- (https://github.com/lvs1974/NvidiaGraphicsFixup)
- (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/)
- (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)
- (https://github.com/zxystd/IntelBluetoothFirmware)


- (https://myitnote.com/product/octool)

- (https://github.com/rusty-bits/octool)

- (https://www.diskgenius.cn/)
- [虚拟机精简版 VMware Workstation]()
    - [下载地址](https://423down.lanzouo.com/i6zP701eineb)
    - [下载地址2](https://www.123pan.com/s/A6cA-8sHJh)

- (https://github.com/USBToolBox/kext)

- (https://github.com/USBToolBox/tool/)

- (https://github.com/daliansky/Hackintosh)


### aml 分类

SSDT-PNLF.aml 背光亮度控制补丁
SSDT-XOSI.aml 操作系统方法补丁,缺少引导卡住 SSDT-Fn.aml   fn亮度按键


### 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      睡眠修复驱动


+ 相关资源 Github 仓库地址
    - (https://github.com/acidanthera/AppleALC)
    - (https://github.com/athlonreg/AppleALC-ALCPlugFix)
    - (https://github.com/USBToolBox/kext)
    - (https://github.com/USBToolBox/tool)
    - (https://github.com/sniki/OS-X-USB-Inject-All)
    - (https://github.com/VoodooI2C/VoodooI2C)
    - (https://github.com/VoodooSMBus/VoodooRMI)
    - (https://github.com/OpenIntelWireless/IntelBluetoothFirmware)
    - (https://github.com/acidanthera/BrcmPatchRAM)
    - (https://github.com/1Revenger1/ECEnabler)
    - (https://github.com/acidanthera/HibernationFixup)
    - (https://github.com/acidanthera/CpuTscSync)
    - (https://github.com/osy86/USBWakeFixup)
    - (https://github.com/zxystd/itlwm)
    - (https://github.com/acidanthera/WhateverGreen)
    - (https://github.com/lvs1974/NvidiaGraphicsFixup)
    - (https://github.com/jwise/HoRNDIS)
    - (https://github.com/acidanthera/FeatureUnlock)
    - (https://github.com/RehabMan/OS-X-Fake-PCI-ID)
    - (https://github.com/chris1111/VoodooHDA-OC)
    - (https://github.com/khronokernel/IO80211-Patches)
    - (https://github.com/acidanthera/VoodooPS2)
    - (https://github.com/SkyrilHD/VoodooPS2-ALPS)
    - (https://github.com/hansyao/OS-X-ALPS-DRIVER)
    - (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)
    - (https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads/)
    - [适用于 Apple Silicon 和 Intel 的控制显示器的亮度和音量:MonitorControl](https://github.com/MonitorControl/MonitorControl)
    - (https://github.com/chris1111/Fix-Graphics-HD-3000-Mojave-10.14)
    - (https://github.com/chris1111/Legacy-Video-patch)
    - [用于itlwm的英特尔 WiFi 客户端 HeliPort](https://github.com/OpenIntelWireless/HeliPort)
    - (https://github.com/acidanthera/OcBinaryData)
    - (https://github.com/xzhih/one-key-hidpi)



> 参考资料
- (https://apple.sqlsec.com/6-%E5%AE%9E%E7%94%A8%E5%A7%BF%E5%8A%BF/6-11.html)
- (https://heipg.cn/drivers/voodoormi-1-3-4.html)

water11758 发表于 2023-1-22 00:50

## 常用命令



+ 检查您的硬件型号

```

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 月日时分年.秒



# - 安装 Mojave 2018年的系统

date 122014102017.30



# - 安装 Catalina 2019年

# - Catalina 10.15.7 大概 2020.9.23 发布

date 092300002020.00



# - 安装 Big Sur 2020年

date 122014102019.30



# - 安装 Monterey2021年

# - monterey 12.42022.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 方法一:设置权限不可访问

```

cd /Library/Application\ Support/Microsoft/MAU2.0

sudo chmod 000 Microsoft\ AutoUpdate.app

```

方法二:删除(简单了,直接Del就完事)



1、打开Finder(访达)

2、按键盘快捷键:command(⌘)+⇧+G,或者顶部菜单,选中前往,前往文件夹

3、在弹出的对话框中输入路径:在弹出的对话框中输入路径:

    ```

    /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



正确解决方式:

```

sudo vim /etc/synthetic.conf

```

添加一行记录(如果有两列需要使用 tab 进行分割,注意空格分割是无效的),然后重启即可

```

data Users/xxx/data

```



+ 关闭备份限速



mac 在首次备份的时候发现特别慢,发现是因为mac对备份做了限速,为了不影响mac的正常使用。

经过验证,我们可以输入:

```

# 关闭限速

sudo sysctl debug.lowpri_throttle_enabled=0

# 备份完成后可以 开启限速

sudo sysctl debug.lowpri_throttle_enabled=1

因为首次备份之后的备份内容都会少很多,低速模式足够使用啦。

```

chunhua_yang 发表于 2023-1-22 00:51

很强大的资料,谢谢分享!祝兔年快乐!

naiyouwang 发表于 2023-1-22 00:51

论坛有你更精彩,新年快乐!

gpgp 发表于 2023-1-22 00:52

很全面的资料,感谢分享!祝兔年快乐!

haoran203 发表于 2023-1-22 00:52

## 壁纸

- [网络上最好的壁纸 wallhaven](https://wallhaven.cc/)

- (https://dynamicwallpaper.club/gallery)



## 在线测试工具

- [显卡压力测试](https://cznull.github.io/vsbm)

- [水族馆-图形性能测试WebGL Aquarium](https://webglsamples.org/aquarium/aquarium.html)

qds6407 发表于 2023-1-22 06:10

我是来抢楼的

JyDisk 发表于 2023-1-22 07:45

水窝老用户,支持下

taopes 发表于 2023-1-22 09:00

黑哥的论坛,要支持

as1111 发表于 2023-1-22 10:11

不错不错,很好哦
页: [1] 2 3 4
查看完整版本: 黑苹果-工具与相关常用网址整理分享v2.0