So1jon / Hackintosh-Desktop-Comet-Lake

My Hackintosh build with OpenCore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EFI

GitHub all releases

Hardware specifications:
Components Name Brand Links
Motherboard H410M S2H V2 (rev. 1.0) Gigabyte
Power Supply P550B 550w 80 PLUS Bronze certified Gigabyte
CPU Intel® Core® i3 10100 Intel Comet Lake
iGPU Intel® UHD Graphics 630 Intel Comet Lake
dGPU AMD Radeon RX 580 8GB Sapphire NITRO+
Ram DDR4 16GB / 2666 Mhz Kingston
Storage CS1030 250GB PCIe M.2 NVMe SSD Gen3 x4 PNY
Ethernet Intel® I219-V (1000/100 Mbit) Intel
Audio Codec ALC897 Realtek
USB Wi-Fi TL-WN725N V3 TP-Link
USB Camera Z-Star Microelectronics Corporation Vimicro
Hardware BIOS settings:
Disable Enable
Fast Boot VT-x
Secure Boot Above 4G Decoding
Serial/COM Port Hyper-Threading
Parallel Port Execute Disable Bit
VT-d (can be enabled if you set DisableIoMapper to YES) EHCI/XHCI Hand-off
Compatibility Support Module (CSM) OS type: "Other OS"
Intel SGX UEFI Mode
Intel Platform Trust DVMT Pre-Allocated(iGPU Memory): 64MB or higher
CFG Lock (MSR 0xE2 write protection) SATA Mode: AHCI
Download the Kexts:
Specifications Kexts Builds/Dortania Links
Open source kernel extension Lilu.kext Gihub Link
Advanced Apple SMC emulator in the kernel VirtualSMC.kext Gihub Link
Lilu plugin for providing patches to select GPUs WhateverGreen.kext Gihub Link
Lilu plugin for dynamic power management data injection CPUFriend.kext Gihub Link
Lilu plugin that combines the functionality of VoodooTSCSync CpuTscSync.kext Gihub Link
Kernel extension for blocking unwanted processes RestrictEvents.kext Gihub Link
An open source kernel extension enabling native macOS HD audio AppleALC.kext Gihub Link
New Trackpad uses emulation to use the built-in macOS driver VoodooPS2.kext Gihub Link
OS X open source driver for the Intel® I219-V family IntelMausi.kext Gihub Link
Drivers for Realtek 802.11n and 802.11ac USB Wi-Fi adapters RtWlanU.kext RtWlanU1827.kext Gihub Link
USB Wake Controller USBWakeFixup.kext Gihub Link
An open source kernel extension providing a sync between RTC variables and NVRAM HibernationFixup.kext Gihub Link
Adds allowed entitlements to non-Apple signed apps when SIP is enabled AMFIExemption.kext Gihub Link
Download the tools:

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

GitHub all releases

Download the other tools:

Name Links
Mactracker Official link
Python Official link
OpenCore Configurator Official link
PlistEdit Pro Official link
Intel Power Gadget Official link
ESP Mounter Pro Official link
Kernel Debug Kit Official link
Windows Install Official link
TransMac Official link
HFS+ Paragon Software Official link
Operating systems:

✅ My computer has been fully tested on the following operating systems:

Name Version Build Image links
macOS Sonoma 14.4.1 23E224 DMG / rdr
macOS Ventura 13.6.5 22G621 DMG / rdr
macOS Monterey 12.7.4 21H1123 DMG / rdr
macOS Big Sur 11.7.10 20G1427 DMG / rdr
Windows 11 23H2 22635.3212 ISO EN / ISO RU
Special Config:

⚠️ Usb port mapping performed 👉 guide

⚠️ SSDT-Hack Essential patc 👉 guide

🔐 You will need to generate your own SMBIOS and configure, since is required to fully work with macOS. As per you can use the following SMBIOS:

SMBIOS Hardware macOS Big Sur macOS Monterey macOS Ventura macOS Sonoma
Macmini8,1 Comet Lake with only iGPU (Enabled Acceleration) full supported full supported full supported full supported
iMac20,1 Comet Lake with dGPU (Enabled iGPU Acceleration) full supported full supported full supported full supported
iMacPro1,1 Comet Lake only dGPU (Disabled iGPU Acceleration) full supported full supported full supported full supported
MacPro7,1 Comet Lake only dGPU (Disabled iGPU Acceleration) full supported full supported full supported full supported

⚠️ It's fully required to generate your own serials with GenSMBIOS and put it in your config.plist.

  • Config.plist -> PlatformInfo -> Generic

SMBIOS on config.plist screenchot

⚠️ Setting a NVRAM variable

Boot Arguments Сomments
-v This enables verbose mode, which shows all the behind-the-scenes text that scrolls by as you're booting instead of the Apple logo and progress bar.
revpatch=sbvmm Enable macOS Ventura and macOS Sonoma system updates
-no_compat_check Сancel scan system board id
-wegnoegpu Disable all external GPUs
-wegnoigpu Disable internal GPU
nv_disable=1 Forces GPU into VESA mode(no GPU acceleration), useful for troubleshooting and when having issues installing Nvidia's WebDrivers.
-igfxvesa Forces GPU into VESA mode(no GPU acceleration), useful for troubleshooting
igfxonln=1 Forces all displays online, useful for resolving screen wake issues in 10.15.4+ on Coffee and Comet Lake
igfxfw=2 Enables loading Apple's GUC firmware for iGPUs, requires a 9th Gen chipset or newer(ie Z390)
-igfxdvmt Fix the kernel panic caused by an incorrectly calculated amount of DVMT pre-allocated memory on Intel ICL platforms
enable-dvmt-calc-fix Property on IGPU
-igfxblt An alternative to the Backlight Registers Fix and make Backlight Smoother work on KBL/CFL platforms running macOS 13.4 or later.
enable-backlight-registers-alternative-fix Property on IGPU
Drivers:
Driver Status Description
OpenRuntime.efi Required Required for proper operation
HfsPlus.efi Required Needed for seeing HFS volumes
OpenCanopy.efi Optional This is an optional OpenCore GUI
ResetNvramEntry.efi Optional Required to reset the system's NVRAM
OpenPartitionDxe.efi Optional Required to boot macOS 10.7-10.9 recovery
ToggleSipEntry.efi Optional Enabling and Disabling System Integrity Protection
AudioDxe.efi Optional Unrelated to Audio support in macOS
What work:

✅ AMD Radeon RX 580 Graphics acceleration.

✅ Intel UHD 630 Graphics acceleration.

✅ dGPU & CPU Power Management.

✅ HDMIvideo & audio output.

✅ Ethernet.

✅ Audio Output from 3.5mm Front and Rear headphone Jack.

✅ PS2 Keyboard & Mouse.

✅ USB 2.0/3.0 All Ports.

✅ USB Wi-Fi, WebCam, Keyboard and Mouse.

Restart, Sleep and Shutdown.

✅ Bootcamp.

✅ Apple Services iCloud, App Store, iMessage, FaceTime.

❌ VGA port output. ⚠️ Not supported for macOS.

❌ AirDrop & Handoff ⚠️ Only AirDrop and Handoff are not working since the USB Wi-Fi are not fully compatible with macOS. For all this to work, you need to replace the card with a native one, such as PCI Fenvi cards before macOS Sonoma.

Geekbench: |
Information Result ID Information Operating system Model ID
CPU Single-Core Score 1462 ID 5272446 macOS Sonoma iMac20,1
CPU Multi-Core Score 4902 ID 5272446 macOS Sonoma iMac20,1
dGPU OpenCL Score 48490 ID 1899971 macOS Sonoma iMac20,1
dGPU Metal Score 62450 ID 1894448 macOS Sonoma iMac20,1
Tips:

⚠️ Help Fix Screen Sleep:

sudo pmset autopoweroff 0
sudo pmset powernap 0
sudo pmset standby 0
sudo pmset proximitywake 0
sudo pmset tcpkeepalive 0

⚠️ This will do 5 things for us:

  • Disables autopoweroff: This is a form of hibernation
  • Disables powernap: Used to periodically wake the machine for network, and updates(but not the display)
  • Disables standby: Used as a time period between sleep and going into hibernation
  • Disables wake from iPhone/Watch: Specifically when your iPhone or Apple Watch come near, the machine will wake
  • Disables TCP Keep Alive mechanism to prevent wake ups every 2 hours

⚠️ Отключение функции Gatekeeper

Запуск повреждённого приложения невозможен без обхода функции Карантин, или отключения Gatekeeper - технологии, которая обеспечивает запуск только доверенного программного обеспечения на компьютере Mac.

⚠️ Решение (вариант 1).

Данный вариант позволит обойти Карантин для конкретного приложения. Обратите внимание, что команда включает путь к приложению, или образу (.dmg). Эту процедуру часто называют "декарантин" или "de-quarantine".

  1. Запустите утилиту "Терминал". Это стандартная утилита, которую не нужно устанавливать дополнительно. Терминал можно найти через Spotlight.

  2. Используйте команду: sudo xattr -r -d com.apple.quarantine поставьте пробел и перетащите повреждённую программу или образ (.dmg) в окно Терминал. Команда допишется.

2.1 Или используйте команду: sudo xattr -r -c поставьте пробел и перетащите повреждённую программу или образ (.dmg) в окно Терминал. Команда допишется. Обычно достаточно использовать только первую команду, но бывают ситуации, когда ее выполнение не помогает, в отличие от выполнения второй.

  1. Нажмите Enter и введите пароль Администратора. Пароль при вводе в Терминал не отображается, но вводится. Если пароль не задан - создайте его.

  2. Приступайте к запуску повреждённой программы. Дождитесь завершения проверки и вы сможете её Открыть. Время проверки может занимать до 30 минут.

⚠️ Решение (вариант 2).

Данная команда позволит отключить Gatekeeper, т.е. восстановить настройки, разрешающие использование программ, загруженных из Любого источника в Системных настройках / Защита и безопасность.

  1. Запустите утилиту "Терминал".

  2. Используйте команду: sudo spctl --master-disable Перетаскивать в Терминал ничего не нужно. Для включения Gatekeeper, замените "disable" на "enable".

  3. Нажмите Enter и введите пароль Администратора.

  4. Приступайте к запуску повреждённой программы.

⚠️ Итак, как скрыть папку или файл в macOS?

В окне командной строки нужно ввести следующую команду: chflags hidden и не нажимая Enter, добавить пробел. Теперь необходимо выбрать папку или файл, которую следует скрыть от других. Выделяем и переносим в окно командной строки. Подтверждаем наши намерения кнопкой Enter. Всё готово. Требуемый файл или папка больше не будут отображаться в Finder.

Credits:

⚠️ Apple for 👉 macOS

⚠️ Forum 👉 applelife.ru

⚠️ OpenCore Desktop Comet Lake 👉 Guide

⚠️ Creating your USB from Windows or macOS 👉 Guide

⚠️ Information and Technical Resources on YouTube 👉 @AlexeyBoronenkov

Disclaimer:

⚠️ Highly Recommend you to build the EFI for your device on your own and only use this for reference even though you have the same device as mine since, when something fails you will be on your own.

⚠️ If you want to report or rasie an issue, you must mention your device details in it. And give a detailed information about your issue(images or videos are encouraged)

You can contact me through: