thincen / H61-i3-3220-GTX650-EFI

Hackintosh-OpenCore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hackintosh

EFI for my Hackintosh Machine.

  • OpenCore 0.6.7-Release
  • Catalina (10.15)

OpenCore

Utils

Doc

Finding your hardware

My Hardware
Generation
Motherboard ASUSTeK P8H61-M LX3 R2.0
CPU Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz Ivy Bridge
GPU Intel HD Graphics 2500
GPU Nvidia Colorful GTX650 kepler GK107
Audio ASUSTeK 6Series Chipset HD
Audio Nvidia HDMI
Wired Realtek RTL8168F/8111F
Linux
  • Download BaseSystem or RecoveryImage files

    cd /path/to/OpenCore-0.6.7-Release/Utilities/macrecovery
    # Catalina(10.15)
    python ./macrecovery.py -b Mac-00BE6ED71E35EB86 -m 00000000000000000 download

    you'll either get BaseSystem or RecoveryImage files.

  • Making the installer

    lsblk
    sudo gdisk /dev/<your USB block>
    # send p to print your block's partitions (and verify it's the one needed)
    p
    # send o to clear the partition table and make a new GPT one (if not empty)
    o
    # Hex code or GUID: 0700 for Microsoft basic data partition type
    0700
    w
    y
    # quit gdisk
    # format your USB to FAT32 and named OPENCORE
    sudo mkfs.vfat -F 32 -n "OPENCORE" /dev/<your USB partition block>
    # mount your USB partition
    udisksctl mount -b /dev/<your USB partition block>
    # cd to your USB drive
    mkdir com.apple.recovery.boot
    cp /path/to/OpenCore-0.6.7-Release/Utilities/macrecovery/BaseSystem* /path/to/com.apple.recovery.boot

Gathering files

config.plist
cp /path/to/OpenCore 0.6.7-Release/Docs/Sample.plist /path/to/your/EFI/OC/config.plist
EFI/OC/ACPI
  • SSDT-EC - for For Broadwell desktops and older
    Fixes the embedded controller
  • SSDT-IMEI Needed to add a missing IMEI device on Ivy Bridge CPU with 6 series motherboards
  • SSDT-PM - run Pike's ssdtPRGen.sh script to generate this file. This will be run in post install
EFI/OC/Drivers/
  • HfsPlus.efi - Needed for seeing HFS volumes
  • OpenRuntime.efi - used as an extension for OpenCore to help with patching boot.efi for NVRAM fixes and better memory management.
cp /path/to/OpenCore-0.6.7-Release/X64/EFI/OC/Drivers/{OpenHfsPlus.efi,OpenRuntime.efi} /path/to/EFI/OC/Drivers/
EFI/OC/Kexts/
  • Lilu
    A kext to patch many processes, required for AppleALC, WhateverGreen, VirtualSMC and many other kexts. Without Lilu, they will not work.
    Note that Lilu and plugins requires OS X 10.8 or newer to function
  • VirtualSMC
    Emulates the SMC chip found on real macs, without this macOS will not boot Alternative is FakeSMC which can have better or worse support, most commonly used on legacy hardware. Requires OS X 10.6 or newer
    • SMCProcessor.kext
      Used for monitoring CPU temperature, doesn't work on AMD CPU based systems
    • SMCSuperIO.kext
      Used for monitoring fan speed, doesn't work on AMD CPU based systems
  • WhateverGreen - Used for graphics patching DRM, boardID, framebuffer fixes, etc, all GPUs benefit from this kext.
  • AppleALC
  • VoodooHDA VT1708S.kext
  • RealtekTRL8111
  • USBInjectAll
  • VoodooPS2Controller.kext - PS2 keyboard

plist

lvy Bridge

  • DeviceProperties

    • Add
      PciRoot(0x0)/Pci(0x2,0x0) - iGPU
      07006201 - Used when the iGPU is only used for computing tasks and doesn't drive a display

      key type value
      AAPL,ig-platform-id Data 07006201

      PciRoot(0x0)/Pci(0x16,0x0) - IMEI
      specifically needed to spoof your IMEI device into being supported. Note this property is still required with or without SSDT-IMEI.

      Key Type Value
      device-id Data 3A1E0000

      PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1) - Audio-Nvidia

      10de:0e1b /PCI0@0/PEG0@1/PEGP@0,1 = PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)
      Key Type Value
      external-audio Data 01
      alctsel Data 01000000
  • NVRAM

    • Add
      7C436110-AB2A-4BBB-A880-FE41995C9F82
      boot-args Description
      shikigva=40 Swaps boardID to iMac14,2 for better Nvidia support and whitelists patches

BIOS

Intel BIOS settings Note: Most of these options may not be present in your firmware, we recommend matching up as closely as possible but don't be too concerned if many of these options are not available in your BIOS

Disable

  • 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 AppleCpuPmCfgLock under Kernel -> Quirks. Your hack will not boot with CFG-Lock enabled)

Enable

  • 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): 32MB
  • SATA Mode: AHC

About

Hackintosh-OpenCore