OpenCore Hackintosh¶
Die Anleitung läd Kexts für meine Hardware. Das müsste bei eurem System entsprechend angepasst werden, siehe: https://dortania.github.io/OpenCore-Install-Guide/ktext.html#kexts
Außerdem sind die Versionen der Tools zeitabhängig, bitte prüfen, ob es neuere Versionen gibt.
Auf Basis von: - https://dortania.github.io und - https://christitus.com/opencore-mac/
Bios ausschalten¶
- Fast Boot
- Secure Boot
- Serial/COM Port
- Parallel Port
- VT-d (can be enabled if you set DisableIoMapper to YES)
- CSM
- Thunderbolt(For initial install, as Thunderbolt can cause issues if not setup correctly)
- Intel SGX
- Intel Platform Trust
- CFG Lock (MSR 0xE2 write protection)(This must be off, if you can't find the option then enable AppleXcpmCfgLock under Kernel -> Quirks. Your hack will not boot with CFG-Lock enabled)
Bios einschalten¶
- VT-x
- Above 4G decoding
- Hyper-Threading
- Execute Disable Bit
- EHCI/XHCI Hand-off
- OS type: Windows 8.1/10 UEFI Mode
- DVMT Pre-Allocated(iGPU Memory): 64MB
- SATA Mode: AHCI
Downloads¶
- Zielsystem mit Linux Live booten (USB Stick)
- Ordner anlegen:
mkdir -p Monterey/files cd Monterey/fileswget https://github.com/acidanthera/OpenCorePkg/releases/download/0.8.3/OpenCore-0.8.3-RELEASE.zipgit clone https://github.com/corpnewt/gibMacOS.gitgit clone https://github.com/corpnewt/ProperTree.gitgit clone https://github.com/corpnewt/SSDTTime.gitgit clone https://github.com/corpnewt/GenSMBIOS.gitwget https://raw.githubusercontent.com/acidanthera/OcBinaryData/master/Drivers/HfsPlus.efi
Software Requirements¶
- apt install python3-tk
Für Hardware¶
wget https://github.com/acidanthera/VirtualSMC/releases/download/1.3.0/VirtualSMC-1.3.0-RELEASE.zipwget https://github.com/acidanthera/Lilu/releases/download/1.6.2/Lilu-1.6.2-RELEASE.zipwget https://github.com/acidanthera/WhateverGreen/releases/download/1.6.1/WhateverGreen-1.6.1-RELEASE.zipwget https://github.com/acidanthera/IntelMausi/releases/download/1.0.7/IntelMausi-1.0.7-RELEASE.zip
Ornder Kexts erzeugen, da hinein alles was für die eigene Hardware ist, hier: - IntelMausi - LiLu - VirtualSMC - WhateverGreen - VirtualSMC - SMCProcessor.kext - VirtualSMC - SMCSuperIO.kext - VirtualSMC - VirtualSMC.kext
Download macOS¶
USB Laufwerk erzeugen¶
USB Stick für macOS ist hier sdc
sudo gdisk /dev/sdc
o
yes
n
Enter
Enter
Enter
Hex Code: 0700
w
yes
mkfs.vfat -F 32 -n "OPENCORE" /dev/sdb1
com.apple.recovery.boot
- BaseSystem.dmg und BaseSystem.chunklist in diesen Ordner kopieren
- Aus OpenCore/X86 den EFI Ordner ebenfalls ins Root des USB Stick
- Auf USB in EFI/OC/Tools nur OpenShell.efi behalten
- Auf USB in EFI/OC/Drivers nur OpenRuntime.efi behalten
- Die gesammleten Kexts in EFI/OC/Kexts
SSDTTime¶
- In Ordner SSDTTime wechseln
- python3 SSDTTime.py
- Dump DSDT (P)
- FixHPET (1)
- FakeEC (2)
- PluginType (4)
- Quit
- In Results liegt SSDT-EC.aml / SSDT-HPET.aml / SSDT-PLUG.aml
- Diese Dateien in EFI/OC/ACPI
config.plist¶
Schauen, welche Prozessorgeneration, hier Coffee Lake 8700k - HfsPlus.efi in EFI/OC/Drivers - Aus OpenCore/Docs/Sample.plist -> EFI/OC/config.plist - In ProperTree python3 ProperTree.py - Öffnen config.plist aus EFI/OC - Warnung Einträge im Kopf löschen - OC Snapshot - IM Dialogfenster (könnte hinter Fenrster verstekct sein) den OC ordner auf USB auswählen - OC clean Snapshot - Im Dialog OK drücken (könnte auch versteckt sein) - Anpassungen vornehmen, wie hier beschrieben, hier Coffee Lake https://dortania.github.io/OpenCore-Install-Guide/config.plist/coffee-lake.html#starting-point - Save - Quit