黑苹果EFI大全|免费分享各种黑苹果EFI资源
EFI folder for the Gigabyte Z490 Vision G mainboard I’ve been working on and refining since September 2020. It’s based on Dortania’s OpenCore Install Guide and analysis of an .ioreg file from a real iMac20,1. I’ve dumped the system DSDT
, analyzed it and added missing components and features via SSDT
Hotpaches from Daliansky’s “OC-Little” Repo to get it as close to a real Mac as possible. USB Ports are mapped via ACPI
, so no USBPort kext is required. I think this is the most sophisticated Z490 Vision G EFI folder on Github yet! And just for fun, I added Clover, too.
This is a genuine Z490 Vision G EFI, built from scratch. Unlike most pseudo Z490 Vision G EFIs posted on Forums and Repos, which are either based on generically patched DSDTs by Olarila/MaLDon (stay away from those!) or on SchmockLords EFI for the Z490 Vision D, which contains unnecessary DeviceProperties for Tunderbolt, an I219 Ethernet Controller and on-board WiFi/BT. My EFI Folder doesn’t contain any of this junk.
Tested successfully with macOS Mojave, Catalina, Big Sur and Monterey.
NOTE: For best results, read and follow the install instruction carefully and thoroughly.
⚠️ Issues related to macOS Monterey 12.1 (beyond my control) |
---|
Intel I225-V Ethernet Controller doesn’t work on macOS 12. You need to get an extra Network Card. |
Bluetooth stack was rewritten in macOS 12 which causes Bluetooth Issues |
600/700-series NVDIA Cards require Geforce Kepler Patcher to enable GPU acceleration |
Component | Details |
---|---|
Mainboard | Gigabyte Z490 Vision G |
BIOS | F21. F5 or newer is required to disable CFG Lock . Otherwise use Kernel Quirk AppleXcpmCfgLock |
CPU | Intel® Core i9 10850K (Comet Lake) |
RAM | 32 GB DDR4 2400 Crucial Ballistix Sport LT |
iGPU | Intel® UHD 630. Configured for computing tasks only. For driving a display use this Framebuffer-Patch instead |
GPU | MSI Geforce GTX 760 Twin Frozr Gaming |
Audio | Realtek® ALC1220-VB (Layout-id: 28 ) |
Ethernet (onboard) | Intel® I225-V 2.5GbE. Compatible with macOS Catalina and Big Sur only |
Ethernet (PCI Card) | Intel® PRO/1000 PT Dual Port Server Adapter (amy macOS) |
DSDT
)If you already have macOS installed but want to perform a clean install, you can either download macOS from the App Store or use ANYmacOS. It’s a hassle-free app than can download macOS High Sierra, Catalina and Big Sur. It also can create a USB Installer for you. And if you create multiple HFS partitions in the correct sizes, you can use it to create a multi macOS Installer USB Stick as well.
If you are on Windows or Linux, follow the guide provided by Dortania
config.plist
config.plist
with OpenCore Auxiliary Tools and adjust the following parameters according to your hardware and software configuration:
csr-active-config
based on the macOS version to disable SIP (if you use the Kepler Patcher for NVIDIA Cards you have to disables SIP!):
FF030000
(0x3FF)FF070000
(0x7FF)67080000
(0x867)EF0F0000
(0xFEF)boot-args
. Check WhateverGreen repo to find out which you need.DeviceProperties
> Add
:
PciRoot(0x0)/Pci(0x2,0x0)
(put ##
in front of it)#PciRoot(0x0)/Pci(0x2,0x0)
(delete the #
)macOS Version | Procedure |
---|---|
macOS 12.0.1 | Not working. Get a PCI LAN Card |
macOS 11.4 | 1. Disable PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0) (add # in front of it)2. Go to Kernel > Patch and disable I225-V Patch 3. Add boot-arg dk.e1000=0 4. Save and reboot NOTE: This is the default configuration. If you are running Big Sur 11.4 and newer you don’t have to change anything here! |
macOS 10.15 to 11.3 | 1. Enable #PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0) (delete # )2. Go to Kernel > Patch and enable I225-V Patch .3. Delete/disable boot-arg dk.e1000=0 4. Save and reboot |
macOS 10.14 and older | I225-V Controller is not supported. You need an additional PCI Card. |
config.plist
Once you got macOS running, change the following settings to make your system more secure:
Change UEFI > APFS: MinDate
and MinVersion
from -1
(disabled) to the correct values for the macOS version you are using. A list with the correct values for macOS High Sierra up to Big Sur can be found here.
BACKGROUND: OpenCore 0.7.2 introduced a new security feature which prevents the APFS driver from loading if it does not match OS-specific Date (MinDate
) and Version (MinVersion
). If left at their default value 0
(as set in the sample.plist
), the macOS partition will not show up in the Boot Picker unless Big Sur or newer is installed. For ease of use (and since I don’t know which macOS you will be using) I’ve deactivated this feature. If you plan to setup a multiboot system running various iterations of macOS you probably should leave it at -1
. Otherwise you won’t be able to boot older macOSes.
Change SecureBootModel
from Disabled
to j185f
(for iMac20,2) or j185
(for iMac20,1). NOTE: Only applicable to macOS Catalina and newer. You should test these settings first using a USB flash drive since it can prevent the system from booting. Disable it for installing macOS Monterey if you have issues.
You can follow my guide to use CPUFriendFriend to generate a CPUFriendDataProvider.kext
alongside CPUFriend.kext
to optimize the CPU Power Management for a more efficient performance. Have a look at the CPU behavior using Intel Power Gadget. The CPU idle frequency should be lower after adding the kexts:
The items displayed in the Boot Picker Menu are based on a combination of bits representing supported devices (SATA, NVME, USB, etc.) and file systems (APFS, HFS, NTFS, etc.). There are 24 bits which can be turned on and off to modify what’s displayed in the Boot Picker. The combination of selected bits create what’s called the ScanPolicy
. It’s located under Misc > Security in the config.plist.
The default value of my EFI is 0
(everything). Although this is great for compatibility, it will also display EFI Folders on drives which are not the boot drive as well.
To change the ScanPolicy
to your liking, you can make use of this online calculator: https://oc-scanpolicy.vercel.app/. I am using 2687747
for example which hides EFI Folders and NTFS Drives. If I need windows I just boot it from the BIOS Boot Menu (F12).
IMPORTANT: Calculating a wrong ScanPolicy
can lead to the Boot Picker being empty, so you can’t boot into macOS. So make sure to test the value first by booting from FAT32 formatted USB Stick containing your EFI Folder with the new value for “Scan Policy”.
Besides the 3 themes from Acidanthera which provide the standard macOS look and feel, I’ve added 2 additional themes by Chris1111: Minimal
and Minimal-SSD.
Neither of them is enabled by default. To enable them, do the following:
config.plist
PickerVariant
to: chris1111Minimal
or chris1111Minimal-SSD
To revert these changes, enter AcidantheraGoldenGate
as PickerVariant
and change the Flavour of the NVRAM Reset Tool back to Auto
.
NOTE: For more Post-Install tweaks and tips, check out my small collection of Config Tweaks
I recently discovered BootloaderChooser which lets you pick the bootloader of choice prior to booting. This is how the folder structure looks like:
Basically, you put the “Clover” Folder on the same level as the the “OC” Folder and then replace the “BootX64.efi” in the “BOOT” Folder with the one that come with the Bootloader Chooser. Then you can select which Bootloader you want to use. Pretty nice for setting up your USB flash drive having Clover and OC to chose from:
Apple removed Keppler support from macOS Monterey beta 7. So users of NVIDIA GeForce Cards from the Kepler family need to patch them back in post-install using Geforce-Kepler-Patcher. If you require this patch, you can no longer boot with SIP enabled, so you have to disable it!