Sandy Bridge
config.plist cho hệ thống
Last updated
config.plist cho hệ thống
Last updated
Initial macOS Support
OS X 10.6.7, Snow Leopard
Last Supported OS
macOS 12 Monterey
Note 1
Note 2
Sandy Bridge's iGPU is only officially supported up-to macOS 10.13
Note 3
Most Sandy bridge boards do not support UEFI
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:
Needed to add a missing IMEI device on Sandy Bridge CPU with 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:
All
Boolean
YES
Comment
String
Delete CpuPm
Enabled
Boolean
YES
OemTableId
Data
437075506d000000
TableLength
Number
0
TableSignature
Data
53534454
Removing Cpu0Ist:
All
Boolean
YES
Comment
String
Delete Cpu0Ist
Enabled
Boolean
YES
OemTableId
Data
4370753049737400
TableLength
Number
0
TableSignature
Data
53534454
This section allows us to dynamically modify parts of the ACPI (DSDT, SSDT, etc.) via OpenCore. For us, our patches are handled by our SSDTs. This is a much cleaner solution as this will allow us to boot Windows and other OSes with OpenCore
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 passthrough 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
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.
The AAPL,snb-platform-id
is what macOS uses to determine how the iGPU drivers interact with our system, and the two values choose between are as follows:
10000300
Used when the Desktop iGPU is used to drive a display
00000500
Used when the Desktop iGPU is only used for computing tasks and doesn't drive a display
We also have the issue of requiring a supported device-id, just like with the above table you'll want to match up to your hardware configuration:
26010000
Used when the Desktop iGPU is used to drive a display
02010000
Used when the Desktop iGPU is only used for computing tasks and doesn't drive a display
And finally, you should have something like this:
AAPL,snb-platform-id
Data
00000500
device-id
Data
26010000
(This is an example for a desktop HD 3000 with a dGPU used as the output)
PciRoot(0x0)/Pci(0x16,0x0)
This is needed if you're pairing an Sandy Bridge CPU with a 7 series motherboard(ie. B75, Q75, Z75, H77, Q77, Z77), specifically needed to spoof your IMEI device into being supported. Note this property is still required with or without SSDT-IMEI.
device-id
Data
3A1C0000
Note: This is not needed if you have a 6 series motherboard(ie. H61, B65, Q65, P67, H67, Q67, Z68)
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:
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:
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
If your board does not have USB 3.0, you can disable Disable if running macOS 11.3+
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:
Info
HideAuxiliary
YES
Press space to show macOS recovery and other auxiliary entries
Info
Helpful for debugging OpenCore boot issues(We'll be changing everything but DisplayDelay
):
AppleDebug
YES
ApplePanic
YES
DisableWatchDog
YES
Target
67
Info
Security is pretty self-explanatory, do not skip. We'll be changing the following:
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
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
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102
OpenCore's NVRAM GUID, mainly relevant for RTCMemoryFixup users
7C436110-AB2A-4BBB-A880-FE41995C9F82
System Integrity Protection bitmask
General Purpose boot-args:
-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:
agdpmod=pikera
Used for disabling board ID checks on some Navi GPUs (RX 5000 & 6000 series), without this you'll get a black screen. Don't use if you don't have Navi (ie. Polaris and Vega cards shouldn't use this)
-radcodec
Used for allowing officially unsupported AMD GPUs (spoofed) to use the Hardware Video Encoder
radpg=15
Used for disabling some power-gating modes, helpful for properly initializing AMD Cape Verde based GPUs
unfairgva=1
Used for fixing hardware DRM support on supported AMD GPUs
nvda_drv_vrl=1
Used for enabling NVIDIA's Web Drivers on Maxwell and Pascal cards in macOS Sierra and High Sierra
-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.
prev-lang:kbd
String
en-US:0
Info
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. For us, we'll be changing the following:
WriteFlash
YES
Info
For this Sandy Bridge example, we'll chose the iMac12,2 SMBIOS - this is done intentionally for compatibility's sake. There are two main SMBIOS used for Sandy Bridge:
iMac12,2
Default Sandy Bridge SMBIOS
MacPro6,1
Mojave and newer SMBIOS
If you plan to later run macOS 10.14, Mojave or newer, MacPro6,1 will be the recommended SMBIOS and the iGPU must be disabled in the BIOS due to no longer being supported
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:
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
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:
HfsPlusLegacy.efi
OpenRuntime.efi
OpenUsbKbDxe.efi(If your firmware does not support UEFI)
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.
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.
Info
Related to boot.efi keyboard passthrough used for FileVault and Hotkey support, leave everything here as default besides:
KeySupport
NO
Enable if your BIOS supports UEFI
Relating to OpenCore's visual output, leave everything here as default as we have no use for these quirks.
Info
Relating to quirks with the UEFI environment, for us we'll be changing the following:
IgnoreInvalidFlexRatio
YES
UnblockFsConnect
NO
Needed mainly by HP motherboards
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
For Ventura information, see
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.
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.
This blocks certain ACPI tables from loading, for us we really care about this. Main reason is that Apple's XCPM does not support SandyBridge 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):
This section is set up via WhateverGreen's and is used for setting important iGPU properties.
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-arg alcid=xxx
instead to accomplish this. alcid
will override all other layout-IDs present. More info on this is covered in the
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.
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.
These values are based of those calculated in
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:
Won't be covered here, see 8.6 of for more info
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
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."
Set to 0
for automatic type detection, however this value can be overridden if desired. See for possible values
For further use of AudioDxe and the Audio section, please see the Post Install page:
Mainly relevant for Virtual machines, legacy macs and FileVault users. See here for more details: