关于Hackintosh

在Dell Inspiron 15-7560笔记本上安装mocOS(Ventura)

使用OpenCore 0.9.5进行引导

U盘格式化成GPT FAT32

获取系统

使用OpenCore/Utilities/macrecovery/macrecovery.py获取系统安装程序

# Monterey (12)
python3 macrecovery.py -b Mac-FFE5EF870D7BA81A -m 00000000000000000 download

# Ventura (13)
python3 macrecovery.py -b Mac-4B682C642B45593E -m 00000000000000000 download

将下载的com.apple.recovery.boot移到U盘/下

OpenCore基础文件

将OpenCore/X64/EFI移到U盘/下

仅保留U盘/EFI/OC/Drivers中的ResetNvramEntry.efi、OpenRuntime.efi

仅保留U盘/EFI/OC/Tools中的OpenShell.efi

下载https://github.com/acidanthera/OcBinaryData/blob/master/Drivers/HfsPlus.efi到EFI\OC\Drivers

Kexts

复制https://github.com/acidanthera/Lilu/releases/download/1.6.7/Lilu-1.6.7-DEBUG.zip/Lilu.kext到U盘/EFI/OC/Kexts

复制https://github.com/acidanthera/VirtualSMC/releases/download/1.3.2/VirtualSMC-1.3.2-DEBUG.zip/Kexts中的VirtualSMC.kext、SMCProcessor.kext、SMCSuperIO.kext、SMCBatteryManager.kext、SMCDellSensors.kext到U盘/EFI/OC/Kexts

复制https://github.com/acidanthera/WhateverGreen/releases/download/1.6.6/WhateverGreen-1.6.6-DEBUG.zip/WhateverGreen.kext到U盘/EFI/OC/Kexts

复制https://github.com/acidanthera/AppleALC/releases/download/1.8.5/AppleALC-1.8.5-DEBUG.zip/AppleALC.kext到U盘/EFI/OC/Kexts

复制https://github.com/Mieze/RTL8111_driver_for_OS_X/releases/download/2.4.2/RealtekRTL8111-V2.4.2.zip/RealtekRTL8111-V2.4.2/Debug/RealtekRTL8111.kext到U盘/EFI/OC/Kexts

复制https://github.com/OpenIntelWireless/itlwm/releases/download/v2.2.0/AirportItlwm_v2.2.0_stable_Ventura.kext.zip/AirportItlwm.kext到U盘/EFI/OC/Kexts

复制https://github.com/OpenIntelWireless/IntelBluetoothFirmware/releases/download/v2.3.0/IntelBluetooth-v2.3.0.zip/中的IntelBluetoothFirmware.kext和IntelBTPatcher.kext到U盘/EFI/OC/Kexts

复制https://github.com/khronokernel/Legacy-Kexts/raw/master/Injectors/Zip/SATA-unsupported.kext.zip/SATA-unsupported.kext到U盘/EFI/OC/Kexts

复制https://github.com/acidanthera/RestrictEvents/releases/download/1.1.2/RestrictEvents-1.1.2-DEBUG.zip/RestrictEvents.kext到U盘/EFI/OC/Kexts

复制https://github.com/acidanthera/VoodooPS2/releases/download/2.3.5/VoodooPS2Controller-2.3.5-DEBUG.zip/VoodooPS2Controller.kext到U盘/EFI/OC/Kexts

复制https://github.com/acidanthera/BrightnessKeys/releases/download/1.0.3/BrightnessKeys-1.0.3-DEBUG.zip/BrightnessKeys.kext到U盘/EFI/OC/Kexts

ACPI

复制https://github.com/dortania/Getting-Started-With-ACPI/raw/master/extra-files/compiled/SSDT-PLUG-DRTNIA.aml到U盘/EFI/OC/ACPI

复制https://github.com/dortania/Getting-Started-With-ACPI/raw/master/extra-files/compiled/SSDT-EC-USBX-LAPTOP.aml到U盘/EFI/OC/ACPI

复制https://github.com/dortania/Getting-Started-With-ACPI/raw/master/extra-files/compiled/SSDT-PNLF.aml到U盘/EFI/OC/ACPI

复制https://github.com/dortania/Getting-Started-With-ACPI/raw/master/extra-files/compiled/SSDT-XOSI.aml到U盘/EFI/OC/ACPI

config.plist

复制OpenCore/Docs/Sample.plist到U盘/EFI/OC,重命名为config.plist

使用工具https://github.com/corpnewt/ProperTree

Root\ACPI\Patch\0:

CommentStringChange _OSI to XOSI
EnabledBooleanYES
CountNumber0
LimitNumber0
FindData5f4f5349
ReplaceData584f5349

DeviceProperties\Add\PciRoot(0x0)/Pci(0x2,0x0)\AAPL,ig-platform-id:00001659(Data)

DeviceProperties\Add\PciRoot(0x0)/Pci(0x1b,0x0)\layout-id:11(Number)

Kernel\Quirks:

QuirkEnabledComment
AppleXcpmCfgLockYESNot needed if CFG-Lock is disabled in the BIOS
DisableIoMapperYESNot needed if VT-D is disabled in the BIOS
PanicNoKextDumpYES
PowerTimeoutKernelPanicYES

Misc\Debug

AppleDebugYES
ApplePanicYES
DisableWatchDogYES
Target67

Misc\Security

AllowSetDefaultYES
ScanPolicy0
SecureBootModelDefaultLeave this as Default for OpenCore to automatically set the correct value corresponding to your SMBIOS. The next page goes into more detail about this setting.
VaultOptionalThis is a word, it is not optional to omit this setting. You will regret it if you don’t set it to Optional, note that it is case-sensitive

NVRAM\Add\7C436110-AB2A-4BBB-A880-FE41995C9F82\boot-args => -v keepsyms=1 debug=0x100 alcid=11

NVRAM\Add\7C436110-AB2A-4BBB-A880-FE41995C9F82\prev-lang:kbd =>

UEFI\Quirks\ReleaseUsbOwnership => True

  • Kernel -> Quirk -> CustomSMBIOSGuid -> True
  • PlatformInfo -> UpdateSMBIOSMode -> Custom

使用https://github.com/corpnewt/GenSMBIOS生成信息

Type -> Generic\SystemProductName

Serial -> Generic\SystemSerialNumber

Board Serial -> Generic\MLB

SmUUID -> Generic\SystemUUID

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注