Hackintosh on Dell Precision 3240 Compact PC (OpenCore) Comet-lake

January 10, 2023 ยท View on GitHub

What works

  • OpenCore (0.8.8)
  • Supported OS
    • macOS Ventura (13.1)
    • macOS Monterey (12.6)
    • macOS Big Sur (11.4)
    • macOS Catalina (10.15)
  • All USB Ports at full speed (USB 3.2) (via Custom USB Mapping)
  • Intel UHD Graphics 630 - 4K UHD @ 60hz (Displayport)
  • Full Metal hardware acceleration
  • Sleep, wake and power nap
  • Audio - Internal Speaker and front audio port
  • Airplay, Sidecard, Continuity, Airdrop, Facetime, iMessage and Handoff - If you have the right Wifi card (tested with BCM94360NG M.2 Wifi Card)

Installation

  • Mount EFI Partition
  • Copy EFI folder to EFI Partition root (/)
  • Replace the following values in EFI/OC/config.plist with generated values from GenSMBios
    • PlatformInfo --> Generic --> SystemSerialNumber
    • PlatformInfo --> Generic --> MLB
    • PlatformInfo --> Generic --> SystemUUID

Bios Settings

Tested with BIOS version 1.16.0

Update the following settings in BIOS with RU.exe or bios-extraction-guide (Dell)

UEFI VariableOffsetValueComment
SaSetup0xF50x2DVMT: 64M
CpuSetup0x3E0x0CFG Lock: OFF

Update the following settings in BIOS:

ItemValue
System Configuration
Memory Map IO above 4GBEnabled
Security
TPM 2.0 SecurityDisabled
Secure Boot
Secure Boot EnableDisabled
Intel Software Guard Extensions
Intel SGX EnableDisabled
Performance
Intel SpeedStepEnabled
C-States ControlEnabled
Cache PrefetchHardware Prefetched - Enabled
Adjacent Cache Prefetcher - Enabled
Intel Turbo BoostEnabled
HyperThread ControlEnabled
Enable Intel Speed Shift TechnologyEnabled
Power Management
Deep Sleep ControlEnabled in S4 and S5
USB Wake SupportDisabled
Virtualization
VirtualizationEnabled
VT for Direct I/OEnabled

Post Install

Power management Settings

Disable hibernation, act like a real mac

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

Delete the sleepimage file and block MacOS from creating it again.

sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage

Changelog

2023-01-10

  • Upgraded to OpenCore 0.8.8

2022-12-11

  • Upgraded to OpenCore 0.8.7

2022-11-15

  • Upgraded to OpenCore 0.8.6
  • macOS Ventura supported (13.0.1)

2022-09-14

  • Upgraded to OpenCore 0.8.4
  • Restored previous USBPorts.kext for USB Mapping. There were some USB performance issues that I noticed with the previous USBMap.kext

2022-09-02

  • Upgraded to OpenCore 0.8.3
  • Changed SMBIOS to match Macmini8,1 - Testing
  • Regenerated USB Map (USBMap.kext) - it's been awhile since I did this. Seems stable so far

2022-07-05

  • Upgraded to OpenCore 0.8.2
  • Updated Kexts
  • Removed AirportBrcmFixup (didn't notice any difference without it)

2022-06-12

  • Upgraded to OpenCore 0.8.1
  • Retained NVRAM reset
  • Updated Kexts

2022-06-08

  • Upgraded to OpenCore 0.8.0
  • BIOS 1.11.0
  • Mac OS Monterey 12.3

2021-12-07

  • Upgraded to OpenCore 0.7.6
  • Added FeatureUnlock to unlock locked features (eg. AirPlay to Mac Unlock) in Monterey
  • Updated kexts

2021-11-22

  • Upgraded to OpenCore 0.7.5
  • Removed CPUFriendDataProvider as it was causing issues with CPU fan speeds and also wake-up time. It is also recommended to install a fan control app (eg. smcFanControl) and increase to max to help decrease temps.
  • Added AirportBrcmFixup.kext which seemed to fix some bluetooth issues (eg. slow cursor with magic mouse)

2021-09-25

  • Updated to OpenCore 0.7.4 (2021-09-23)
  • Dell BIOS 1.16.0
  • Removed FakePCIID.kext and FakePCIID_Intel_HDMI_Audio.kext (HDMI audio no longer required)

Credits