被引用地址: 手把手教你安装黑苹果之openCore-0.6.3 EFI制作全过程 代码太长了,单独开一篇文章保存代码。
config.plist代码如下;
ACPI
Add
Comment
SSDT-EC-LAPTOP.aml
Path
SSDT-EC-LAPTOP.aml
Enabled
Comment
SSDT-PLUG-DRTNIA.aml
Path
SSDT-PLUG-DRTNIA.aml
Enabled
Comment
SSDT-PNLF.aml
Path
SSDT-PNLF.aml
Enabled
Comment
SSDT-XOSI.aml
Path
SSDT-XOSI.aml
Enabled
Delete
All
Comment
Delete CpuPm
Enabled
OemTableId
Q3B1UG0AAAA=
TableLength
0
TableSignature
U1NEVA==
All
Comment
Delete Cpu0Ist
Enabled
OemTableId
Q3B1MElzdAA=
TableLength
0
TableSignature
U1NEVA==
Patch
Comment
_Q11 to XQ11
Count
1
Enabled
Find
X1ExMQ==
Limit
0
Mask
OemTableId
Replace
WFExMQ==
ReplaceMask
Skip
0
TableLength
0
TableSignature
Comment
_Q12 to XQ12
Count
1
Enabled
Find
X1ExMg==
Limit
0
Mask
OemTableId
Replace
WFExMg==
ReplaceMask
Skip
0
TableLength
0
TableSignature
Quirks
FadtEnableReset
NormalizeHeaders
RebaseRegions
ResetHwSig
ResetLogoStatus
Booter
MmioWhitelist
Address
4275159040
Comment
Haswell: SB_RCBA is a 0x4 page memory region, containing SPI_BASE at 0x3800 (SPI_BASE_ADDRESS)
Enabled
Address
4278190080
Comment
Generic: PCI root is a 0x1000 page memory region used by some types of firmware
Enabled
Quirks
AvoidRuntimeDefrag
DevirtualiseMmio
DisableSingleUser
DisableVariableWrite
DiscardHibernateMap
EnableSafeModeSlide
EnableWriteUnprotector
ForceExitBootServices
ProtectMemoryRegions
ProtectSecureBoot
ProtectUefiServices
ProvideCustomSlide
ProvideMaxSlide
0
RebuildAppleMemoryMap
SetupVirtualMap
SignalAppleOS
SyncRuntimePermissions
DeviceProperties
Add
PciRoot(0x0)/Pci(0x1b,0x0)
layout-id
AQAAAA==
Delete
Kernel
Add
Comment
MaxKernel
PlistPath
Contents/Info.plist
Enabled
MinKernel
ExecutablePath
Contents/MacOS/Lilu
Arch
Any
BundlePath
Lilu.kext
Comment
MaxKernel
PlistPath
Contents/Info.plist
Enabled
MinKernel
ExecutablePath
Contents/MacOS/VirtualSMC
Arch
Any
BundlePath
VirtualSMC.kext
Comment
MaxKernel
PlistPath
Contents/Info.plist
Enabled
MinKernel
ExecutablePath
Contents/MacOS/USBInjectAll
Arch
Any
BundlePath
USBInjectAll.kext
Comment
MaxKernel
PlistPath
Contents/Info.plist
Enabled
MinKernel
ExecutablePath
Contents/MacOS/WhateverGreen
Arch
Any
BundlePath
WhateverGreen.kext
Block
Arch
Any
Comment
Enabled
Identifier
com.apple.driver.AppleTyMCEDriver
MaxKernel
MinKernel
Emulate
DummyPowerManagement
Cpuid1Data
Cpuid1Mask
MaxKernel
MinKernel
Force
Arch
Any
BundlePath
System/Library/Extensions/IONetworkingFamily.kext
Comment
Enabled
Identifier
com.apple.iokit.IONetworkingFamily
ExecutablePath
Contents/MacOS/IONetworkingFamily
MaxKernel
13.99.99
MinKernel
PlistPath
Contents/Info.plist
Patch
Arch
Any
Base
__ZN8AppleRTC18setupDateTimeAlarmEPK11RTCDateTime
Comment
Disable RTC wake scheduling
Count
1
Enabled
Find
Identifier
com.apple.driver.AppleRTC
Limit
0
Mask
MaxKernel
MinKernel
19.0.0
Replace
ww==
ReplaceMask
Skip
0
Arch
Any
Base
_AcpiOsVprintf
Comment
Disable ACPI logging
Count
0
Enabled
Find
Identifier
com.apple.driver.AppleACPIPlatform
Limit
0
Mask
MaxKernel
18.5.0
MinKernel
18.5.0
Replace
ww==
ReplaceMask
Skip
0
Arch
x86_64
Base
__ZN11BCM5701Enet14getAdapterInfoEv
Comment
Broadcom BCM57785 patch
Count
1
Enabled
Find
6AAA//9miYMABQAA
Identifier
com.apple.iokit.AppleBCM5701Ethernet
Limit
0
Mask
/wAA
MaxKernel
MinKernel
Replace
uLQWAABmiYMABQAA
ReplaceMask
Skip
0
Arch
x86_64
Base
_panic
Comment
Send panic string to serial port
Count
1
Enabled
Find
Identifier
kernel
Limit
0
Mask
MaxKernel
MinKernel
Replace
MfaKD4TJdQT/xrEKZrr9A+yoIHT7Zrr4A4jI7kj/x4X2dN/r/g==
ReplaceMask
Skip
0
Arch
x86_64
Base
_kernel_debug_string_early
Comment
Send early prints to serial port
Count
1
Enabled
Find
Identifier
kernel
Limit
0
Mask
MaxKernel
MinKernel
Replace
MfaKD4TJdQT/xrEKZrr9A+yoIHT7Zrr4A4jI7kj/x4X2dN/D
ReplaceMask
Skip
0
Arch
x86_64
Base
_vstart
Comment
Print K and dead loop
Count
1
Enabled
Find
Identifier
kernel
Limit
0
Mask
MaxKernel
MinKernel
Replace
sUtmuv0D7KggdPtmuvgDiMjusQpmuv0D7KggdPtmuvgDiMju6/4=
ReplaceMask
Skip
0
Quirks
AppleCpuPmCfgLock
AppleXcpmCfgLock
AppleXcpmExtraMsrs
AppleXcpmForceBoost
CustomSMBIOSGuid
DisableIoMapper
DisableLinkeditJettison
DisableRtcChecksum
ExtendBTFeatureFlags
ExternalDiskIcons
ForceSecureBootScheme
IncreasePciBarSize
LapicKernelPanic
LegacyCommpage
PanicNoKextDump
PowerTimeoutKernelPanic
ThirdPartyDrives
XhciPortLimit
Scheme
FuzzyMatch
KernelArch
x86_64
KernelCache
Auto
Misc
BlessOverride
Boot
ConsoleAttributes
0
HibernateMode
None
HideAuxiliary
PickerAttributes
1
PickerAudioAssist
PickerMode
Builtin
PollAppleHotKeys
ShowPicker
TakeoffDelay
0
Timeout
5
Debug
AppleDebug
ApplePanic
DisableWatchDog
DisplayDelay
0
DisplayLevel
2147483648
SerialInit
SysReport
Target
3
Entries
Security
AllowNvramReset
AllowSetDefault
ApECID
0
AuthRestart
BootProtect
Bootstrap
DmgLoading
Signed
EnablePassword
ExposeSensitiveData
6
HaltLevel
2147483648
PasswordHash
PasswordSalt
ScanPolicy
0
SecureBootModel
Disabled
Vault
Optional
Tools
NVRAM
Add
4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
DefaultBackgroundColor
AAAAAA==
UIScale
AQ==
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102
rtc-blacklist
7C436110-AB2A-4BBB-A880-FE41995C9F82
SystemAudioVolume
Rg==
boot-args
-v keepsyms=1 debug=0x100
run-efi-updater
No
csr-active-config
AAAAAA==
prev-lang:kbd
cnUtUlU6MjUy
Delete
4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14
UIScale
DefaultBackgroundColor
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102
rtc-blacklist
7C436110-AB2A-4BBB-A880-FE41995C9F82
boot-args
LegacyEnable
LegacyOverwrite
LegacySchema
7C436110-AB2A-4BBB-A880-FE41995C9F82
EFILoginHiDPI
EFIBluetoothDelay
LocationServicesEnabled
SystemAudioVolume
SystemAudioVolumeDB
SystemAudioVolumeSaved
bluetoothActiveControllerInfo
bluetoothInternalControllerInfo
flagstate
fmm-computer-name
nvda_drv
prev-lang:kbd
8BE4DF61-93CA-11D2-AA0D-00E098032B8C
Boot0080
Boot0081
Boot0082
BootNext
BootOrder
WriteFlash
PlatformInfo
Automatic
CustomMemory
Generic
AdviseWindows
SystemMemoryStatus
Auto
MLB
M0000000000000001
ProcessorType
0
ROM
ESIzRFVm
SpoofVendor
SystemProductName
MacBookPro11,4
SystemSerialNumber
W00000000001
SystemUUID
00000000-0000-0000-0000-000000000000
UpdateDataHub
UpdateNVRAM
UpdateSMBIOS
UpdateSMBIOSMode
Create
UEFI
APFS
EnableJumpstart
GlobalConnect
HideVerbose
JumpstartHotPlug
MinDate
0
MinVersion
0
Audio
AudioCodec
0
AudioDevice
PciRoot(0x0)/Pci(0x1b,0x0)
AudioOut
0
AudioSupport
MinimumVolume
20
PlayChime
VolumeAmplifier
0
ConnectDrivers
Drivers
HfsPlus.efi
OpenRuntime.efi
Input
KeyFiltering
KeyForgetThreshold
5
KeyMergeThreshold
2
KeySupport
KeySupportMode
Auto
KeySwap
PointerSupport
PointerSupportMode
ASUS
TimerResolution
50000
Output
ClearScreenOnModeSwitch
ConsoleMode
DirectGopRendering
ForceResolution
IgnoreTextInGraphics
ProvideConsoleGop
ReconnectOnResChange
ReplaceTabWithSpace
Resolution
Max
SanitiseClearScreen
TextRenderer
BuiltinGraphics
UgaPassThrough
ProtocolOverrides
AppleAudio
AppleBootPolicy
AppleDebugLog
AppleEvent
AppleFramebufferInfo
AppleImageConversion
AppleImg4Verification
AppleKeyMap
AppleRtcRam
AppleSecureBoot
AppleSmcIo
AppleUserInterfaceTheme
DataHub
DeviceProperties
FirmwareVolume
HashServices
OSInfo
UnicodeCollation
Quirks
DeduplicateBootOrder
ExitBootServicesDelay
0
IgnoreInvalidFlexRatio
ReleaseUsbOwnership
RequestBootVarRouting
TscSyncTimeout
0
UnblockFsConnect
ReservedMemory
Address
268435456
Type
Reserved
Comment
HD3000: IGPU memory corruption errata
Enabled
Size
268435456
Address
569344
Type
RuntimeCode
Comment
Fix black screen on wake from hibernation for Lenovo Thinkpad T490
Enabled
Size
4096