HACKINOS
Diễn đànGroupsDịch vụ
  • Welcome to HackinOS
  • Tổng Quan
    • Giới thiệu
  • Khái niệm cơ bản
  • Các Kext thường dùng
  • Công cụ thường dùng
  • Ứng dụng thường dùng
  • Thông tin phần cứng
    • Lấy thông tin
  • Phần cứng hỗ trợ
  • Bộ cài macOS
    • Ghost
  • Image
  • App Store
  • Pkg
  • Tạo EFI
    • Cấu trúc EFI
    • EFI Sạch
    • Các SSDT cơ bản
    • Cấu hình config.plist
    • Tham số khởi động
  • Config Desktop
    • Yonah, Conroe và Penryn
    • Lynnfield và Clarkdale
    • Sandy Bridge
    • Ivy Bridge
    • Haswell và Broadwell
    • Skylake
    • Kaby Lake
    • Coffee Lake
    • Comet Lake
  • CONFIG LAPTOP
    • Clarksfield và Arrandale
    • Sandy Bridge
    • Ivy Bridge
    • Haswell
    • Broadwell
    • Skylake
    • Kaby Lake và Amber Lake
    • Coffee Lake và Whiskey Lake
    • Coffee Lake Plus và Comet Lake
    • Ice Lake
  • SỬA LỖI KHI CÀI ĐẶT
    • Lỗi khởi động OpenCore
    • Lỗi trước khi vào GUI cài đặt
    • Lỗi Khởi động khi tải GUI
    • Lỗi sau khi cài đặt
  • HOÀN THIỆN HỆ THỐNG HACKINTOSH
    • Sửa lỗi Audio
    • Boot không cần USB
    • Cập nhật OpenCore và macOS
    • Sửa lỗi DRM
    • Sửa lỗi iMessage
    • Tối ưu hóa Power Management
    • Sửa lỗi Sleep
    • Sửa lỗi USB
      • Chuẩn bị hệ thống
        • Intel
        • Map thủ công
    • Các lỗi khác
      • Sửa lỗi USB Power
      • Sửa lỗi Shutdown/Restart
      • Sửa lỗi Instant Wake
      • Sửa lỗi Keyboard Wake
Powered by GitBook
On this page
  • Laptop Ivy Bridge
  • #Starting Point
  • #ACPI
  • #Booter
  • #DeviceProperties
  • #Kernel
  • #Misc
  • #NVRAM
  • #PlatformInfo
  • #UEFI
  1. CONFIG LAPTOP

Ivy Bridge

config.plist cho hệ thống

PreviousSandy BridgeNextHaswell

Last updated 10 months ago

Laptop Ivy Bridge

Support
Version

Initial macOS Support

OS X 10.7, Lion

Last Supported OS

macOS 11, Big Sur

Starting Point

So making a config.plist may seem hard, it's not. It just takes some time but this guide will tell you how to configure everything, you won't be left in the cold. This also means if you have issues, review your config settings to make sure they're correct. Main things to note with OpenCore:

  • All properties must be defined, there are no default OpenCore will fall back on so do not delete sections unless told explicitly so. If the guide doesn't mention the option, leave it at default.

  • The Sample.plist cannot be used As-Is, you must configure it to your system

  • DO NOT USE CONFIGURATORS, these rarely respect OpenCore's configuration and even some like Mackie's will add Clover properties and corrupt plists!

Now with all that, a quick reminder of the tools we need

    • Universal plist editor

    • For generating our SMBIOS data

    • See previous section on how to obtain:

WARNING

Read this guide more than once before setting up OpenCore and make sure you have it set up correctly. Do note that images will not always be the most up-to-date so please read the text below them, if nothing's mentioned then leave as default.

Info

For us we'll need a couple of SSDTs to bring back functionality that Clover provided:

Required SSDTs
Description

Makes all _OSI calls specific to Windows work for macOS (Darwin) Identifier. This may help enabling some features like XHCI and others.

Needed to add a missing IMEI device on Ivy Bridge CPU with 6 series motherboards, not needed for 7 series motherboards

Note that you should not add your generated DSDT.aml here, it is already in your firmware. So if present, remove the entry for it in your config.plist and under EFI/OC/ACPI.

Info

Removing CpuPm:

Key
Type
Value

All

Boolean

YES

Comment

String

Delete CpuPm

Enabled

Boolean

YES

OemTableId

Data

437075506d000000

TableLength

Number

0

TableSignature

Data

53534454

Removing Cpu0Ist:

Key
Type
Value

All

Boolean

YES

Comment

String

Delete Cpu0Ist

Enabled

Boolean

YES

OemTableId

Data

4370753049737400

TableLength

Number

0

TableSignature

Data

53534454

Info

This section allows us to dynamically modify parts of the ACPI (DSDT, SSDT, etc.) via OpenCore. For us, we'll need the following:

  • OSI rename

    • This is required when using SSDT-XOSI as we redirect all OSI calls to this SSDT

Comment
String
Change _OSI to XOSI

Enabled

Boolean

YES

Count

Number

0

Limit

Number

0

Find

Data

5f4f5349

Replace

Data

584f5349

Settings relating to ACPI, leave everything here as default as we have no use for these quirks.

This section is dedicated to quirks relating to boot.efi patching with OpenRuntime, the replacement for AptioMemoryFix.efi

This section is allowing spaces to be pass-through to macOS that are generally ignored, useful when paired with DevirtualiseMmio

Info

Settings relating to boot.efi patching and firmware fixes, for us, we leave it as default

More in-depth Info
  • AvoidRuntimeDefrag: YES

    • Fixes UEFI runtime services like date, time, NVRAM, power control, etc

  • EnableSafeModeSlide: YES

    • Enables slide variables to be used in safe mode.

  • EnableWriteUnprotector: YES

    • Needed to remove write protection from CR0 register.

  • ProvideCustomSlide: YES

    • Used for Slide variable calculation. However the necessity of this quirk is determined by OCABC: Only N/256 slide values are usable! message in the debug log. If the message OCABC: All slides are usable! You can disable ProvideCustomSlide! is present in your log, you can disable ProvideCustomSlide.

  • SetupVirtualMap: YES

    • Fixes SetVirtualAddresses calls to virtual addresses, required for Gigabyte boards to resolve early kernel panics

Sets device properties from a map.

PciRoot(0x0)/Pci(0x2,0x0)

The config.plist doesn't already have a section for this so you will have to create it manually.

When setting up your iGPU, the table below should help with finding the right values to set. Here is an explanation of some values:

  • AAPL,ig-platform-id

    • This is used internally for setting up the iGPU

  • Type

    • Whether the entry is recommended for laptops(ie. with built-in displays) or for Intel NUCs(ie. stand alone boxes)

Generally follow these steps when setting up your iGPU properties. Follow the configuration notes below the table if they say anything different:

  1. When initially setting up your config.plist, only set AAPL,ig-platform-id - this is normally enough

  2. If you boot and you get no graphics acceleration (7MB VRAM and solid background for dock), then you likely need to try different AAPL,ig-platform-id values, add stolenmem patches, or even add a device-id property.

AAPL,ig-platform-id
Type
Comment

03006601

Laptop

To be used with 1366 by 768 displays or lower

04006601

Laptop

To be used with 1600 by 900 displays or higher, see below for addition patches

09006601

Laptop

To be used with some devices that have eDP connected monitor (contrary to classical LVDS), must be tested with 03006601 and 04006601 first before trying this.

0B006601

NUC

To be used with Intel NUCs

  • VGA is not supported (unless it's running through a DP to VGA internal adapter, which apparently only rare devices will see it as DP and not VGA, it's all about luck.)

  • If you're using 04006601 as your ig-platform-id, you may need to add the following parameters to fix external outputs as otherwise you will only have one output. (Credit to Rehabman)

Key
Type
Value
Explanation

framebuffer-patch-enable

Number

1

enabling the semantic patches in principle (from the WhateverGreen manual)

framebuffer-memorycount

Number

2

Matching FBMemoryCount to the one on 03006601 (1 on 04 vs 2 on 03)

framebuffer-pipecount

Number

2

Matching PipeCount to the one on 03006601 (3 on 04 vs 2 on 03)

framebuffer-portcount

Number

4

Matching PortCount to the one on 03006601 (1 on 04 vs 4 on 03)

framebuffer-stolenmem

Data

00000004

framebuffer-con1-enable

Number

1

This will enable patching on connector 1 of the driver. (Which is the second connector after con0, which is the eDP/LVDS one)

framebuffer-con1-alldata

Data

02050000 00040000 07040000 03040000 00040000 81000000 04060000 00040000 81000000

When using all data with a connector, either you give all information of that connector (port-bused-type-flag) or that port and the ones following it, like in this case. In this case, the ports in 04 are limited to 1: 05030000 02000000 30020000 (which corresponds to port 5, which is LVDS) However on 03 there are 3 extra ports: 05030000 02000000 30000000 (LVDS, con0, like 04) 02050000 00040000 07040000 (DP, con1) 03040000 00040000 81000000 (DP, con2) 04060000 00040000 81000000 (DP, con3) Since we changed the number of PortCount to 4 in a platform that has only 1, that means we need to define the 3 others (and we that starting with con1 to the end).

PciRoot(0x0)/Pci(0x16,0x0)

Sandy/IvyBridge Hybrids:

  • To know if you're affected check if your CPU is an Intel Core ix-3xxx and your chipset is Hx6x (for example a laptop with HM65 or HM67 with a Core i3-3110M) through tools like AIDA64.

  • In your config add a new PciRoot device named PciRoot(0x0)/Pci(0x16,0x0)

Key
Type
Value

device-id

Data

3A1E0000

PciRoot(0x0)/Pci(0x1b,0x0)

layout-id

  • You can delete this property outright as it's unused for us at this time

Removes device properties from the map, for us we can ignore this

Here's where we specify which kexts to load, in what specific order to load, and what architectures each kext is meant for. By default we recommend leaving what ProperTree has done, however for 32-bit CPUs please see below:

More in-depth Info

The main thing you need to keep in mind is:

  • Load order

    • Remember that any plugins should load after its dependencies

    • This means kexts like Lilu must come before VirtualSMC, AppleALC, WhateverGreen, etc

  • Arch

    • Architectures supported by this kext

    • Currently supported values are Any, i386 (32-bit), and x86_64 (64-bit)

  • BundlePath

    • Name of the kext

    • ex: Lilu.kext

  • Enabled

    • Self-explanatory, either enables or disables the kext

  • ExecutablePath

    • Path to the actual executable is hidden within the kext, you can see what path your kext has by right-clicking and selecting Show Package Contents. Generally, they'll be Contents/MacOS/Kext but some have kexts hidden within under Plugin folder. Do note that plist only kexts do not need this filled in.

    • ex: Contents/MacOS/Lilu

  • MinKernel

    • Lowest kernel version your kext will be injected into, see below table for possible values

    • ex. 12.00.00 for OS X 10.8

  • MaxKernel

    • Highest kernel version your kext will be injected into, see below table for possible values

    • ex. 11.99.99 for OS X 10.7

  • PlistPath

    • Path to the info.plist hidden within the kext

    • ex: Contents/Info.plist

Needed for spoofing unsupported CPUs like Pentiums and Celerons

  • Cpuid1Mask: Leave this blank

  • Cpuid1Data: Leave this blank

Used for loading kexts off system volume, only relevant for older operating systems where certain kexts are not present in the cache(ie. IONetworkingFamily in 10.6).

For us, we can ignore.

Blocks certain kexts from loading. Not relevant for us.

Patches both the kernel and kexts.

Info

Settings relating to the kernel, for us we'll be enabling the following:

Quirk
Enabled
Comment

AppleCpuPmCfgLock

YES

Not needed if CFG-Lock is disabled in the BIOS

DisableIoMapper

YES

Not needed if VT-D is disabled in the BIOS

LapicKernelPanic

NO

HP Machines will require this quirk

PanicNoKextDump

YES

PowerTimeoutKernelPanic

YES

XhciPortLimit

YES

Disable if running macOS 11.3+

More in-depth Info
  • AppleCpuPmCfgLock: YES

    • Only needed when CFG-Lock can't be disabled in BIOS

    • Only applicable for Ivy Bridge and older

      • Note: Broadwell and older require this when running 10.10 or older

  • AppleXcpmCfgLock: NO

    • Only needed when CFG-Lock can't be disabled in BIOS

    • Only applicable for Haswell and newer

      • Note: Ivy Bridge-E is also included as it's XCPM capable

  • CustomSMBIOSGuid: NO

    • Performs GUID patching for UpdateSMBIOSMode set to Custom. Usually relevant for Dell laptops

    • Enabling this quirk with UpdateSMBIOSMode Custom mode can also disable SMBIOS injection into "non-Apple" OSes however we do not endorse this method as it breaks Bootcamp compatibility. Use at your own risk

  • DisableIoMapper: YES

    • Needed to get around VT-D if either unable to disable in BIOS or needed for other operating systems, much better alternative to dart=0 as SIP can stay on in Catalina

  • DisableLinkeditJettison: YES

    • Allows Lilu and others to have more reliable performance without keepsyms=1

  • DisableRtcChecksum: NO

    • Prevents AppleRTC from writing to primary checksum (0x58-0x59), required for users who either receive BIOS reset or are sent into Safe mode after reboot/shutdown

  • ExtendBTFeatureFlags NO

    • Helpful for those having continuity issues with non-Apple/non-Fenvi cards

  • LapicKernelPanic: NO

    • Disables kernel panic on AP core lapic interrupt, generally needed for HP systems. Clover equivalent is Kernel LAPIC

  • LegacyCommpage: NO

    • Resolves SSSE3 requirement for 64 Bit CPUs in macOS, mainly relevant for 64-Bit Pentium 4 CPUs(ie. Prescott)

  • PanicNoKextDump: YES

    • Allows for reading kernel panics logs when kernel panics occur

  • PowerTimeoutKernelPanic: YES

    • Helps fix kernel panics relating to power changes with Apple drivers in macOS Catalina, most notably with digital audio.

  • SetApfsTrimTimeout: -1

    • Sets trim timeout in microseconds for APFS filesystems on SSDs, only applicable for macOS 10.14 and newer with problematic SSDs.

  • XhciPortLimit: YES

The reason being is that UsbInjectAll reimplements builtin macOS functionality without proper current tuning. It is much cleaner to just describe your ports in a single plist-only kext, which will not waste runtime memory and such

Settings related to legacy booting(ie. 10.4-10.6), for majority you can skip however for those planning to boot legacy OSes you can see below:

More in-depth Info
  • FuzzyMatch: True

    • Used for ignoring checksums with kernelcache, instead opting for the latest cache available. Can help improve boot performance on many machines in 10.6

  • KernelArch: x86_64

    • Set the kernel's arch type, you can choose between Auto, i386 (32-bit), and x86_64 (64-bit).

    • If you're booting older OSes which require a 32-bit kernel(ie. 10.4 and 10.5) we recommend to set this to Auto and let macOS decide based on your SMBIOS. See below table for supported values:

      • 10.4-10.5 — x86_64, i386 or i386-user32

        • i386-user32 refers 32-bit userspace, so 32-bit CPUs must use this(or CPUs missing SSSE3)

        • x86_64 will still have a 32-bit kernelspace however will ensure 64-bit userspace in 10.4/5

      • 10.6 — i386, i386-user32, or x86_64

      • 10.7 — i386 or x86_64

      • 10.8 or newer — x86_64

  • KernelCache: Auto

    • Set kernel cache type, mainly useful for debugging and so we recommend Auto for best support

Info

Quirk
Enabled
Comment

HideAuxiliary

YES

Press space to show macOS recovery and other auxiliary entries

More in-depth Info
  • HideAuxiliary: YES

    • This option will hide supplementary entries, such as macOS recovery and tools, in the picker. Hiding auxiliary entries may increase boot performance on multi-disk systems. You can press space at the picker to show these entries

Info

Helpful for debugging OpenCore boot issues(We'll be changing everything but DisplayDelay):

Quirk
Enabled

AppleDebug

YES

ApplePanic

YES

DisableWatchDog

YES

Target

67

More in-depth Info
  • AppleDebug: YES

    • Enables boot.efi logging, useful for debugging. Note this is only supported on 10.15.4 and newer

  • ApplePanic: YES

    • Attempts to log kernel panics to disk

  • DisableWatchDog: YES

    • Disables the UEFI watchdog, can help with early boot issues

  • DisplayLevel: 2147483650

    • Shows even more debug information, requires debug version of OpenCore

  • SysReport: NO

    • Helpful for debugging such as dumping ACPI tables

    • Note that this is limited to DEBUG versions of OpenCore

  • Target: 67

    • Shows more debug information, requires debug version of OpenCore

Info

Security is pretty self-explanatory, do not skip. We'll be changing the following:

Quirk
Enabled
Comment

AllowSetDefault

YES

BlacklistAppleUpdate

YES

ScanPolicy

0

SecureBootModel

Default

Leave 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.

Vault

Optional

This 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

More in-depth Info
  • AllowSetDefault: YES

    • Allow CTRL+Enter and CTRL+Index to set default boot device in the picker

  • ApECID: 0

    • Used for netting personalized secure-boot identifiers, currently this quirk is unreliable due to a bug in the macOS installer so we highly encourage you to leave this as default.

  • AuthRestart: NO

    • Enables Authenticated restart for FileVault 2 so password is not required on reboot. Can be considered a security risk so optional

  • BlacklistAppleUpdate: YES

    • Used for blocking firmware updates, used as extra level of protection as macOS Big Sur no longer uses run-efi-updater variable

  • DmgLoading: Signed

    • Ensures only signed DMGs load

  • ExposeSensitiveData: 6

    • Shows more debug information, requires debug version of OpenCore

  • Vault: Optional

    • We won't be dealing vaulting so we can ignore, you won't boot with this set to Secure

    • This 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

  • ScanPolicy: 0

  • SecureBootModel: Default

Used for serial debugging (Leave everything as default).

Used for running OC debugging tools like the shell, ProperTree's snapshot function will add these for you.

Used for specifying irregular boot paths that can't be found naturally with OpenCore.

4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14

Used for OpenCore's UI scaling, default will work for us. See in-depth section for more info

More in-depth Info

Booter Path, mainly used for UI modification

  • DefaultBackgroundColor: Background color used by boot.efi

    • 00000000: Syrah Black

    • BFBFBF00: Light Gray

4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102

OpenCore's NVRAM GUID, mainly relevant for RTCMemoryFixup users

More in-depth Info
  • rtc-blacklist: <>

    • Most users can ignore this section

7C436110-AB2A-4BBB-A880-FE41995C9F82

System Integrity Protection bitmask

  • General Purpose boot-args:

boot-args
Description

-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. It's invaluable to any Hackintosher, as it gives you an inside look at the boot process, and can help you identify issues, problem kexts, etc.

debug=0x100

This disables macOS's watchdog which helps prevents a reboot on a kernel panic. That way you can hopefully glean some useful info and follow the breadcrumbs to get past the issues.

keepsyms=1

This is a companion setting to debug=0x100 that tells the OS to also print the symbols on a kernel panic. That can give some more helpful insight as to what's causing the panic itself.

alcid=1

  • GPU-Specific boot-args:

boot-args
Description

-wegnoegpu

Used for disabling all other GPUs than the integrated Intel iGPU, useful for those wanting to run newer versions of macOS where their dGPU isn't supported

  • csr-active-config: 00000000

    • Settings for 'System Integrity Protection' (SIP). It is generally recommended to change this with csrutil via the recovery partition.

  • run-efi-updater: No

    • This is used to prevent Apple's firmware update packages from installing and breaking boot order; this is important as these firmware updates (meant for Macs) will not work.

  • prev-lang:kbd: <>

    • Needed for non-latin keyboards in the format of lang-COUNTRY:keyboard, recommended to keep blank though you can specify it(Default in Sample config is Russian):

    • American: en-US:0(656e2d55533a30 in HEX)

    • Hint: prev-lang:kbd can be changed into a String so you can input en-US:0 directly instead of converting to HEX

    • Hint 2: prev-lang:kbd can be set to a blank variable (eg. <>) which will force the Language Picker to appear instead at first boot up.

Key
Type
Value

prev-lang:kbd

String

en-US:0

Forcibly rewrites NVRAM variables, do note that Add will not overwrite values already present in NVRAM so values like boot-args should be left alone.

  • LegacySchema

    • Used for assigning NVRAM variables, used with OpenVariableRuntimeDxe.efi. Only needed for systems without native NVRAM

  • WriteFlash: YES

    • Enables writing to flash memory for all added variables.

Info

For this Ivy Bridge example, we'll chose the iMac13,2 SMBIOS - this is done intentionally for compatibility's sake. The typical breakdown is as follows:

SMBIOS
CPU Type
GPU Type
Display Size

MacBookAir5,1

Dual Core 17W

iGPU: HD 4000

11"

MacBookAir5,2

Dual Core 17W

iGPU: HD 4000

13"

MacBookPro10,1

Quad Core 45W

iGPU: HD 4000 + dGPU: GT 650M

15"

MacBookPro10,2

Dual Core 35W(High End)

iGPU: HD 4000

13"

Macmini6,1

Dual Core NUC

iGPU: HD 4000

N/A

Macmini6,2

Quad Core NUC

iGPU: HD 4000

N/A

Note: The following SMBIOS are only supported up-to and including macOS 10.15, Catalina. For cases where you must boot Big Sur, see below:

Big Sur SMBIOS table

Note choosing a SMBIOS from the list below for Catalina or older is not recommended, as Power Management and such can break when using unoptimized SMBIOS.

Run GenSMBIOS, pick option 1 for downloading MacSerial and Option 3 for selecting out SMBIOS. This will give us an output similar to the following:

  #######################################################
 #               MacBookPro10,2 SMBIOS Info            #
#######################################################

Type:         MacBookPro10,2
Serial:       C02KCYZLDNCW
Board Serial: C02309301QXF2FRJC
SmUUID:       A154B586-874B-4E57-A1FF-9D6E503E4580

The Type part gets copied to Generic -> SystemProductName.

The Serial part gets copied to Generic -> SystemSerialNumber.

The Board Serial part gets copied to Generic -> MLB.

The SmUUID part gets copied to Generic -> SystemUUID.

Automatic: YES

  • Generates PlatformInfo based on Generic section instead of DataHub, NVRAM, and SMBIOS sections

:::

More in-depth Info
  • AdviseFeatures: NO

    • Used for when the EFI partition isn't first on the Windows drive

  • MaxBIOSVersion: NO

    • Sets BIOS version to Max to avoid firmware updates in Big Sur+, mainly applicable for genuine Macs.

  • ProcessorType: 0

  • SpoofVendor: YES

    • Swaps vendor field for Acidanthera, generally not safe to use Apple as a vendor in most case

  • SystemMemoryStatus: Auto

    • Sets whether memory is soldered or not in SMBIOS info, purely cosmetic and so we recommend Auto

  • UpdateDataHub: YES

    • Update Data Hub fields

  • UpdateNVRAM: YES

    • Update NVRAM fields

  • UpdateSMBIOS: YES

    • Updates SMBIOS fields

  • UpdateSMBIOSMode: Create

    • Replace the tables with newly allocated EfiReservedMemoryType, use Custom on Dell laptops requiring CustomSMBIOSGuid quirk

    • Setting to Custom with CustomSMBIOSGuid quirk enabled can also disable SMBIOS injection into "non-Apple" OSes however we do not endorse this method as it breaks Bootcamp compatibility. Use at your own risk

ConnectDrivers: YES

  • Forces .efi drivers, change to NO will automatically connect added UEFI drivers. This can make booting slightly faster, but not all drivers connect themselves. E.g. certain file system drivers may not load.

Add your .efi drivers here.

Only drivers present here should be:

  • HfsPlus.efi

  • OpenRuntime.efi

More in-depth Info

By default, OpenCore only loads APFS drivers from macOS Big Sur and newer. If you are booting macOS Catalina or earlier, you may need to set a new minimum version/date. Not setting this can result in OpenCore not finding your macOS partition!

macOS Sierra and earlier use HFS instead of APFS. You can skip this section if booting older versions of macOS.

APFS Versions

Both MinVersion and MinDate need to be set if changing the minimum version.

macOS Version
Min Version
Min Date

High Sierra (10.13.6)

748077008000000

20180621

Mojave (10.14.6)

945275007000000

20190820

Catalina (10.15.4)

1412101001000000

20200306

No restriction

-1

-1

Related to AudioDxe settings, for us we'll be ignoring(leave as default). This is unrelated to audio support in macOS.

Relating to OpenCore's visual output, leave everything here as default as we have no use for these quirks.

More in-depth Info

Info

Relating to quirks with the UEFI environment, for us we'll be changing the following:

Quirk
Enabled
Comment

IgnoreInvalidFlexRatio

YES

ReleaseUsbOwnership

YES

UnblockFsConnect

NO

Needed mainly by HP motherboards

More in-depth Info
  • IgnoreInvalidFlexRatio: YES

    • Fix for when MSR_FLEX_RATIO (0x194) can't be disabled in the BIOS, required for all pre-Skylake based systems

  • ReleaseUsbOwnership: YES

    • Releases USB controller from firmware driver, needed for when your firmware doesn't support EHCI/XHCI Handoff. Most laptops have garbage firmwares so we'll need this as well

  • DisableSecurityPolicy: NO

    • Disables platform security policy in firmware, recommended for buggy firmwares where disabling Secure Boot does not allow 3rd party firmware drivers to load.

    • If running a Microsoft Surface device, recommended to enable this option

  • RequestBootVarRouting: YES

    • Redirects AptioMemoryFix from EFI_GLOBAL_VARIABLE_GUID to OC_VENDOR_VARIABLE_GUID. Needed for when firmware tries to delete boot entries and is recommended to be enabled on all systems for correct update installation, Startup Disk control panel functioning, etc.

  • UnblockFsConnect: NO

    • Some firmware block partition handles by opening them in By Driver mode, which results in File System protocols being unable to install. Mainly relevant for HP systems when no drives are listed

Used for exempting certain memory regions from OSes to use, mainly relevant for Sandy Bridge iGPUs or systems with faulty memory. Use of this quirk is not covered in this guide

ACPI

ACPI

Add

This is where you'll add SSDTs for your system, these are very important to booting macOS and have many uses like , and such. And with our system, it's even required to boot. Guide on making them found here:

Needed for proper CPU power management, you will need to run Pike's ssdtPRGen.sh script to generate this file. This will be run in .

Fixes the embedded controller, see for more details.

Fixes brightness control, see for more details. Note that Intel NUCs do not need this

For those wanting a deeper dive into dumping your DSDT, how to make these SSDTs, and compiling them, please see the page. Compiled SSDTs have a .aml extension(Assembled) and will go into the EFI/OC/ACPI folder and must be specified in your config under ACPI -> Add as well.

Delete

This blocks certain ACPI tables from loading, for us we really care about this. Main reason is that Apple's XCPM does not support IvyBridge all too well and can cause AppleIntelCPUPowerManagement panics on boot. To avoid this we make our own PM SSDT in and drop the old tables(Note that this is only temporary until we've made our SSDT-PM, we'll re-enable these tables later):

Patch

Quirks

Booter

Booter

MmioWhitelist

Quirks

DeviceProperties

DeviceProperties

Add

This section is set up via WhateverGreen's and is used for setting important iGPU properties.

Configuration Notes

Matching STOLEN memory to 64MB (0x04000000 from hex to base 10 in Bytes) to the one on 03006601 Check for more information.

Some laptops from this era came with a mixed chipset setup, using Ivy Bridge CPUs with Sandy Bridge chipsets which creates issues with macOS since it expects a certain ID that it doesn't find and would get stuck at boot(As Apple's iGPU drivers require an ), to fix this we need to fake the IMEI's IDs in these models

Applies AppleALC audio injection, you'll need to do your own research on which codec your motherboard has and match it with AppleALC's layout. .

For us, we'll be using the boot argument alcid=xxx instead to accomplish this. alcid will override all other layout-IDs present. More info on this is covered in the

Delete

Kernel

Kernel

Add

A reminder that users can run Cmd/Ctrl + Shift + R to add all their kexts in the correct order without manually typing each kext out.

Emulate

Force

Block

Patch

Quirks

This is actually the 15 port limit patch, don't rely on it as it's not a guaranteed solution for fixing USB. Please create a when possible.

With macOS 11.3+, We recommend users either disable this quirk and map before upgrading or . You may also install macOS 11.2.3 or older.

Scheme

Misc

Misc

Boot

Debug

These values are based of those calculated in

Security

0 allows you to see all drives available, please refer to section for further details. Will not boot USB devices with this set to default

Controls Apple's secure boot functionality in macOS, please refer to section for further details.

Note: Users may find upgrading OpenCore on an already installed system can result in early boot failures. To resolve this, see here:

Serial

Tools

Entries

Won't be covered here, see 8.6 of for more info

NVRAM

NVRAM

Add

To be used in conjunction with RTCMemoryFixup, see here for more info:

Used for setting layout-id for AppleALC, see to figure out which layout to use for your specific system. More info on this is covered in the

csr-active-config by default is set to 00000000 which enables System Integrity Protection. You can choose a number of different values but overall we recommend keeping this enabled for best security practices. More info can be found in our troubleshooting page:

Full list can be found in

Delete

PlatformInfo

PlatformInfo

For setting up the SMBIOS info, we'll use CorpNewt's application.

We set Generic -> ROM to either an Apple ROM (dumped from a real Mac), your NIC MAC address, or any random MAC address (could be just 6 random bytes, for this guide we'll use 11223300 0000. After install follow the page on how to find your real MAC Address)

Reminder that you need an invalid serial! When inputting your serial number in , you should get a message such as "Unable to check coverage for this serial number."

Generic

Set to 0 for automatic type detection, however this value can be overridden if desired. See for possible values

UEFI

UEFI

Drivers

APFS

Audio

For further use of AudioDxe and the Audio section, please see the Post Install page:

Input

Related to boot.efi keyboard passthrough used for FileVault and Hotkey support, leave everything here as default as we have no use for these quirks. See here for more details:

Output

ProtocolOverrides

Mainly relevant for Virtual machines, legacy macs and FileVault users. See here for more details:

Quirks

ReservedMemory

#
ProperTree(opens new window)
GenSMBIOS(opens new window)
Sample/config.plist(opens new window)
config.plist Setup
#
#
USB maps (opens new window)
disabling unsupported GPUs
Getting started with ACPI(opens new window)
Getting started with ACPI (opens new window)
#
Post-Install (opens new window)
#
#
#
#
#
#
#
Framebuffer Patching Guide (opens new window)
#
IMEI (opens new window)
IMEI device (opens new window)
AppleALC Supported Codecs (opens new window)
Post-Install Page(opens new window)
#
#
#
ProperTree (opens new window)
#
#
#
#
#
USB map (opens new window)
XhciPortLimit may not function as intended. (opens new window)
map from Windows (opens new window)
#
#
#
#
OpenCore debugging
#
Security (opens new window)
Security (opens new window)
Stuck on OCB: LoadImage failed - Security Violation
#
#
#
Configuration.pdf (opens new window)
#
#
Fixing RTC write issues(opens new window)
Disabling SIP
AppleKeyboardLayouts.txt(opens new window)
#
#
GenSMBIOS (opens new window)
Fixing iServices (opens new window)
Apple's Check Coverage Page (opens new window)
#
AppleSmBios.h (opens new window)
#
#
#
#
Add GUI and Boot-chime(opens new window)
#
Security and FileVault(opens new window)
#
#
Security and FileVault(opens new window)
#
#
SSDT-PM(opens new window)
post install (opens new window)
SSDT-EC(opens new window)
Getting Started With ACPI Guide (opens new window)
SSDT-XOSI(opens new window)
SSDT-PNLF(opens new window)
Getting Started With ACPI Guide (opens new window)
SSDT-IMEI(opens new window)
here (opens new window)
supported codecs (opens new window)
Post-Install Page(opens new window)