Open shownb opened 5 years ago
2020.7.26 黑苹果瑞士军刀 Hackintool deskmini 增加对extra usb的usbports.kext 修改里面的Info.plist 增加
<key>HS06</key> <dict> <key>UsbConnector</key> <integer>0</integer> <key>port</key> <data> BgAAAA== </data> </dict> <key>HS07</key> <dict> <key>UsbConnector</key> <integer>0</integer> <key>port</key> <data> BwAAAA== </data> </dict>
2020.6.7 更新opencore的话,应该先用usb来尝试启动,没问题再搞到主机。 opencore地址 https://github.com/acidanthera/OpenCorePkg/releases
2020.4.10 OpenCanopy.efi 图形界面需要 HfsPlus下载地址 https://github.com/acidanthera/OcBinaryData/blob/master/Drivers/HfsPlus.efi AudioDxe.efi ApfsDriverLoader.efi VBoxHfs.efi 下载地址https://github.com/acidanthera/applesupportpkg/releases drivers下的XhciDxe.efi HiiDatabase.efi NvmExpressDxe.efi 在新主板上不需要了
opencore目录
打开下载好的最新版OC(0.5.1),把Doc文件夹下面的SampleFull.plist改名为config.plist,并把此文件移动到EFI目录下面。
打开EFI—Kexts,我们把常用的一些kexts先放进去,一般情况下你需要放如下Kexts: Lilu.kext ———- Acidanthera驱动全家桶的底层依赖/下载地址 Applealc.kext ———- 声卡驱动/下载地址 VirtualSMC.kext ——— 传感器驱动依赖 /下载地址 SMCProcessor.kext ———- CPU核传感器/同上 SMCSuperIO.kext ———- IO传感器/同上 WhateverGreen.kext ———- 核显&显卡驱动/下载地址 IntelMausi.kext ———- Intel类千兆网卡驱动/下载地址 Usbinjectall.kext ———- USB驱动 (你也可以定制自己的USB补丁)/下载地址 *NVMeFix.kext ———- 为NVME硬盘增加ASPT属性来保证节电,虽然对台机没啥用,但是官方推荐所有NVME用户都使用此补丁/下载地址
-------------残酷分割线--------------
hackintosh clover下载地址 https://sourceforge.net/projects/cloverefiboot/files/Installer/
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USBDISK --nointeraction && say ok
Kext:
Lilu https://github.com/acidanthera/Lilu/releases
WhateverGreen https://github.com/acidanthera/WhateverGreen/releases
AppleALC https://github.com/acidanthera/AppleALC/releases
MaciASL https://github.com/acidanthera/MaciASL/releases
AirportBrcmFixup https://github.com/acidanthera/AirportBrcmFixup/releases
USBPorts.kext 问题请参考https://mrmad.com.tw/fix-macos-1014-hackintosh-usb3
usb-inject-all https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads/
RehabMan https://bitbucket.org/RehabMan/
https://www.wangyiting.win/2019/04/14/黑苹果macOS%2010.14%20Mojave安装.html
AirportBrcmFixup则是针对无线网卡的驱动和Airport功能的修复。
cd EFI/CLOVER/kexts/Other md5 .kext/Contents/MacOs/ MD5 (AppleALC.kext/Contents/MacOs/AppleALC) = 01002428442564a2219cd087313d3367 MD5 (FakeSMC.kext/Contents/MacOs/FakeSMC) = a8693e43fa9abb4a64407e66a4d8438e MD5 (FakeSMC_ACPISensors.kext/Contents/MacOs/ACPISensors) = e4e634dc5e516a0d6523b385ed875768 MD5 (FakeSMC_CPUSensors.kext/Contents/MacOs/CPUSensors) = b988e2765687e69d54d1bf05608c88e6 MD5 (FakeSMC_GPUSensors.kext/Contents/MacOs/GPUSensors) = 7c6d22fbd96d1c1616eaa51b32e35cbc MD5 (FakeSMC_LPCSensors.kext/Contents/MacOs/LPCSensors) = 591f0f63ee542cd46050672f6489dde0 MD5 (FakeSMC_SMMSensors.kext/Contents/MacOs/SMMSensors) = 704c3fe1c0cd944e433d3dc4096747f8 MD5 (IntelMausiEthernet.kext/Contents/MacOs/IntelMausiEthernet) = a170a1b2cf8c6ce190f7bdf0441f7a2f MD5 (Lilu.kext/Contents/MacOs/Lilu) = 69f17837d5c5271e9aec064be1ae2ab5 MD5 (WhateverGreen.kext/Contents/MacOs/WhateverGreen) = c27b423287c8a12ec09bde0a46649143
重建缓存 sudo cp -R *.kext /Library/Extensions 至于Kext Beast, Kext Wizard, Kext Utility为啥不推荐,我也不知道,RehabMan不推荐,他还推荐尽量将Kexts放在/Library/Extensions下 sudo kextcache -i /
新的系统安装成功后,EFI还位于U盘里,总不能一直挂着U盘使用系统吧。这个时候如果你想将U盘里的EFI复制到磁盘的EFI分区里,却苦于找不到看不见EFI分区,这个时候是该让diskutil登场了。
挂载磁盘EFI分区 sudo diskutil mount disk0s1 挂载U盘EFI分区 sudo diskutil mount disk1s1
挂载u盘的ufi diskutil mount disk1s1
sudo cp -R /Volumes/EFI/EFI/OC/kexts/* /Library/Extensions/
dsdt 补丁 为了在睡眠唤醒后核显+独显还能正常工作,我们需要添加HECI-> IMEI,和GFX0 -> IGPU 、PEGP-> GFX0这三个补丁。如果不添加这三个补丁,那么睡眠唤醒后问题又 随之而来(在intelgraphicsFixup更新后我只留了PEGP-> GFX0这个补丁,你们自己测试)
几个efi参考资源 https://github.com/yuqi/Deskmini-310-Hackintosh https://github.com/cnsilvan/deskmini310_hackintosh https://github.com/liminghuang/asrock_deskmini310_hackintosh https://zhiyou.smzdm.com/member/6883557509/article/
问题
"name" not a kext "FailedCLUT" not a kext "FailedImage" not a kext
AppleNVME Assert failed
hfs_mountroot failed: 13
以下内容来自 https://www.newlearner.site/2019/01/14/macos%26winpe.html#macOS 19.10.25 更新:鉴于苹果证书到期,某些链接已经不可用,现已更换,详见官网:传送门 10.15 macOS Catalina:传送门 10.14.6 macOS Mojave:传送门 10.13.6 macOS High Sierra:传送门 10.12.6 macOS Sierra:传送门 10.11.6 OS X El Capitan:传送门
checksum 地址 https://github.com/notpeter/apple-installer-checksums
bash: /private/var/install/deferred_install: No such file or directory
/etc/rc.server no such file or directory /etc/rc.Installer_cleanup
新人OPENCORE
2020.7.26 黑苹果瑞士军刀 Hackintool deskmini 增加对extra usb的usbports.kext 修改里面的Info.plist 增加
2020.6.7 更新opencore的话,应该先用usb来尝试启动,没问题再搞到主机。 opencore地址 https://github.com/acidanthera/OpenCorePkg/releases
2020.4.10 OpenCanopy.efi 图形界面需要 HfsPlus下载地址 https://github.com/acidanthera/OcBinaryData/blob/master/Drivers/HfsPlus.efi AudioDxe.efi ApfsDriverLoader.efi VBoxHfs.efi 下载地址https://github.com/acidanthera/applesupportpkg/releases drivers下的XhciDxe.efi HiiDatabase.efi NvmExpressDxe.efi 在新主板上不需要了
opencore目录
打开下载好的最新版OC(0.5.1),把Doc文件夹下面的SampleFull.plist改名为config.plist,并把此文件移动到EFI目录下面。
打开EFI—Kexts,我们把常用的一些kexts先放进去,一般情况下你需要放如下Kexts: Lilu.kext ———- Acidanthera驱动全家桶的底层依赖/下载地址 Applealc.kext ———- 声卡驱动/下载地址 VirtualSMC.kext ——— 传感器驱动依赖 /下载地址 SMCProcessor.kext ———- CPU核传感器/同上
SMCSuperIO.kext ———- IO传感器/同上
WhateverGreen.kext ———- 核显&显卡驱动/下载地址 IntelMausi.kext ———- Intel类千兆网卡驱动/下载地址 Usbinjectall.kext ———- USB驱动 (你也可以定制自己的USB补丁)/下载地址 *NVMeFix.kext ———- 为NVME硬盘增加ASPT属性来保证节电,虽然对台机没啥用,但是官方推荐所有NVME用户都使用此补丁/下载地址
-------------残酷分割线--------------
hackintosh clover下载地址 https://sourceforge.net/projects/cloverefiboot/files/Installer/
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USBDISK --nointeraction && say ok
Kext:
Lilu https://github.com/acidanthera/Lilu/releases
WhateverGreen https://github.com/acidanthera/WhateverGreen/releases
AppleALC https://github.com/acidanthera/AppleALC/releases
MaciASL https://github.com/acidanthera/MaciASL/releases
AirportBrcmFixup https://github.com/acidanthera/AirportBrcmFixup/releases
USBPorts.kext 问题请参考https://mrmad.com.tw/fix-macos-1014-hackintosh-usb3
usb-inject-all https://bitbucket.org/RehabMan/os-x-usb-inject-all/downloads/
RehabMan https://bitbucket.org/RehabMan/
https://www.wangyiting.win/2019/04/14/黑苹果macOS%2010.14%20Mojave安装.html
AirportBrcmFixup则是针对无线网卡的驱动和Airport功能的修复。
cd EFI/CLOVER/kexts/Other md5 .kext/Contents/MacOs/ MD5 (AppleALC.kext/Contents/MacOs/AppleALC) = 01002428442564a2219cd087313d3367 MD5 (FakeSMC.kext/Contents/MacOs/FakeSMC) = a8693e43fa9abb4a64407e66a4d8438e MD5 (FakeSMC_ACPISensors.kext/Contents/MacOs/ACPISensors) = e4e634dc5e516a0d6523b385ed875768 MD5 (FakeSMC_CPUSensors.kext/Contents/MacOs/CPUSensors) = b988e2765687e69d54d1bf05608c88e6 MD5 (FakeSMC_GPUSensors.kext/Contents/MacOs/GPUSensors) = 7c6d22fbd96d1c1616eaa51b32e35cbc MD5 (FakeSMC_LPCSensors.kext/Contents/MacOs/LPCSensors) = 591f0f63ee542cd46050672f6489dde0 MD5 (FakeSMC_SMMSensors.kext/Contents/MacOs/SMMSensors) = 704c3fe1c0cd944e433d3dc4096747f8 MD5 (IntelMausiEthernet.kext/Contents/MacOs/IntelMausiEthernet) = a170a1b2cf8c6ce190f7bdf0441f7a2f MD5 (Lilu.kext/Contents/MacOs/Lilu) = 69f17837d5c5271e9aec064be1ae2ab5 MD5 (WhateverGreen.kext/Contents/MacOs/WhateverGreen) = c27b423287c8a12ec09bde0a46649143
重建缓存 sudo cp -R *.kext /Library/Extensions 至于Kext Beast, Kext Wizard, Kext Utility为啥不推荐,我也不知道,RehabMan不推荐,他还推荐尽量将Kexts放在/Library/Extensions下 sudo kextcache -i /
新的系统安装成功后,EFI还位于U盘里,总不能一直挂着U盘使用系统吧。这个时候如果你想将U盘里的EFI复制到磁盘的EFI分区里,却苦于找不到看不见EFI分区,这个时候是该让diskutil登场了。
挂载磁盘EFI分区 sudo diskutil mount disk0s1 挂载U盘EFI分区 sudo diskutil mount disk1s1
挂载u盘的ufi diskutil mount disk1s1
sudo cp -R /Volumes/EFI/EFI/OC/kexts/* /Library/Extensions/
dsdt 补丁 为了在睡眠唤醒后核显+独显还能正常工作,我们需要添加HECI-> IMEI,和GFX0 -> IGPU 、PEGP-> GFX0这三个补丁。如果不添加这三个补丁,那么睡眠唤醒后问题又 随之而来(在intelgraphicsFixup更新后我只留了PEGP-> GFX0这个补丁,你们自己测试)
几个efi参考资源 https://github.com/yuqi/Deskmini-310-Hackintosh https://github.com/cnsilvan/deskmini310_hackintosh https://github.com/liminghuang/asrock_deskmini310_hackintosh https://zhiyou.smzdm.com/member/6883557509/article/
问题
hfs_mountroot failed: 13
以下内容来自 https://www.newlearner.site/2019/01/14/macos%26winpe.html#macOS 19.10.25 更新:鉴于苹果证书到期,某些链接已经不可用,现已更换,详见官网:传送门 10.15 macOS Catalina:传送门 10.14.6 macOS Mojave:传送门 10.13.6 macOS High Sierra:传送门 10.12.6 macOS Sierra:传送门 10.11.6 OS X El Capitan:传送门
checksum 地址 https://github.com/notpeter/apple-installer-checksums