Gigabyte-Z490-Vision-G-Hackintosh-OpenCore

所属分类:操作系统开发
开发工具:ASL
文件大小:34221KB
下载次数:0
上传日期:2023-06-17 11:11:15
上 传 者sh-1993
说明:  OpenCore EFI,用于在具有Intel i9 10850K处理器的Gigabyte Z490 Visison G上运行macOS。支持的macOS:Mojava,...
(OpenCore EFI for running macOS on Gigabyte Z490 Visison G with an Intel i9 10850K Processor. Supported macOS: Mojava, Catalina, Big Sur, Monterey and Ventura)

文件列表:
Additional_Files (0, 2023-11-09)
Additional_Files\ACPI (0, 2023-11-09)
Additional_Files\ACPI\ACPI_Tables.zip (146316, 2023-11-09)
Additional_Files\ACPI\DMAR.aml (136, 2023-11-09)
Additional_Files\ACPI\DMAR.dsl (4133, 2023-11-09)
Additional_Files\ACPI\SSDT-XSPI.aml (108, 2023-11-09)
Additional_Files\ACPI\SSDT-XSPI.dsl (1116, 2023-11-09)
Additional_Files\ALC1220 (0, 2023-11-09)
Additional_Files\ALC1220\Codec_Dump (0, 2023-11-09)
Additional_Files\ALC1220\Codec_Dump\PinConfig_LayoutID_17.png (109995, 2023-11-09)
Additional_Files\ALC1220\Codec_Dump\codec_dump.txt (14744, 2023-11-09)
Additional_Files\ALC1220\Codec_Dump\codec_dump.txt.svg (90460, 2023-11-09)
Additional_Files\ALC1220\Codec_Dump\codec_dump_dec.txt (13863, 2023-11-09)
Additional_Files\ALC1220\Codec_Dump\codec_dump_dec.txt.svg (90305, 2023-11-09)
Additional_Files\ALC1220\Codec_Dump\verbs.txt (3972, 2023-11-09)
Additional_Files\ALC1220\Slimmed_AppleALC (0, 2023-11-09)
Additional_Files\ALC1220\Slimmed_AppleALC\AppleALC-1.8.1-RELEASE.zip (248617, 2023-11-09)
Additional_Files\ALC1220\Slimmed_AppleALC\AppleALC-1.8.2-RELEASE.zip (248621, 2023-11-09)
Additional_Files\ALC1220\Slimmed_AppleALC\AppleALC-1.8.3-RELEASE.zip (247261, 2023-11-09)
Additional_Files\ALC1220\Slimmed_AppleALC\AppleALC-1.8.4-RELEASE.zip (247501, 2023-11-09)
Additional_Files\ALC1220\Slimmed_AppleALC\AppleALC-1.8.5-RELEASE.zip (247212, 2023-11-09)
Additional_Files\ALC1220\Slimmed_AppleALC\AppleALC-1.8.6-RELEASE.zip (251613, 2023-11-09)
Additional_Files\ALC1220\Slimmed_AppleALC\AppleALC-1.8.7-RELEASE.zip (251618, 2023-11-09)
Additional_Files\ALC1220\Slimmed_AppleALC\AppleALC-1.8.8-RELEASE.zip (249994, 2023-11-09)
Additional_Files\ALC1220\Xcode (0, 2023-11-09)
Additional_Files\ALC1220\Xcode\Resources_ALC1200.zip (14658, 2023-11-09)
Additional_Files\CPU_Pwr (0, 2023-11-09)
Additional_Files\Graphics (0, 2023-11-09)
Additional_Files\Graphics\Intel_UHD_630_HDMI_DP_Framebuffer-Patch.plist (2075, 2023-11-09)
Additional_Files\Graphics\Saphire_RX580_Nitro+.plist (1981, 2023-11-09)
Additional_Files\Graphics\VDADecoderCheck.png (68944, 2023-11-09)
Additional_Files\I225-V (0, 2023-11-09)
Additional_Files\I225-V\I225-Vmod.zip (958765, 2023-11-09)
Additional_Files\I225-V\SSDT-I225V.aml (439, 2023-11-09)
... ...

# Gigabyte Z490 Vision G Hackintosh OpenCore [![BIOS](https://img.shields.io/badge/BIOS-F22-important.svg)](https://www.gigabyte.com/Motherboard/Z490-VISION-G-rev-1x/support#support-dl-bios) [![OpenCore Version](https://img.shields.io/badge/OpenCore-0.9.6-cyan.svg)](https://dortania.github.io/builds/?product=OpenCorePkg&viewall=true) ![MacOS](https://img.shields.io/badge/macOS-10.13–14.2b-purple.svg) [![Release](https://img.shields.io/badge/Download-Latest_Release-success.svg)](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/releases/latest)
![15161753](https://user-images.githubusercontent.com/76865553/173877386-1dd1b451-5e50-46b7-9f1e-554485b3a48a.png) **TABLE of CONTENTS** - [About](#about) - [Hardware Info](#hardware-info) - [System Configuration](#system-configuration) - [BIOS Settings](#bios-settings) - [OpenCore Details](#opencore-details) - [General Information](#general-information) - [EFI Folder Structure (OpenCore)](#efi-folder-structure-opencore) - [Installing/Upgrading macOS](#installingupgrading-macos) - [Deployment](#deployment) - [Preparing the `config.plist`](#preparing-the-configplist) - [Testing the EFI](#testing-the-efi) - [Post-Install](#post-install) - [Strengthen Security (recommended)](#strengthen-security-recommended) - [Optimizing CPU Power Management (recommended)](#optimizing-cpu-power-management-recommended) - [Calculate a Scan Policy (optional)](#calculate-a-scan-policy-optional) - [Changing Themes](#changing-themes) - [Alternate GPU Configurations](#alternate-gpu-configurations) - [iGPU Optimizations](#igpu-optimizations) - [Enabling Resizable BAR (optional)](#enabling-resizable-bar-optional) - [AMD GPUs and different SMBIOSes](#amd-gpus-and-different-smbioses) - [Addressing DRM issues with AMD GPUs in macOS 11 and newer](#addressing-drm-issues-with-amd-gpus-in-macos-11-and-newer) - [Using NVIDIA Kepler Cards in macOS 12 and newer](#using-nvidia-kepler-cards-in-macos-12-and-newer) - [Preparation](#preparation) - [CPU Benchmark](#cpu-benchmark) - [Credits and Thank yous](#credits-and-thank-yous) ## About EFI folder and config.plist 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` hotpatches 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 USB Port kext is required. I think this is the most sophisticated Z490 Vision G EFI folder available on Github. This is a *genuine* Z490 Vision G EFI that has been created from scratch. Unlike many other Z490 Vision G EFIs found on forums and repositories, which are either derived from generic ones by Olarila/MaLDon or from SchmockLord's EFI for the Z490 Vision D, it does not contain any unnecessary properties for devices that are not present on the Vision G, such as Thunderbolt, an I219 Ethernet controller, and on-board WiFi/BT. Tested successfully with macOS 10.14 to 14 beta. For best results, read and follow the install instruction carefully and thoroughly. |:warning: Important Updates| |:----------------------------------------------------| | The Intel I225-V Ethernet Controller finally got a dedicated kext called [**AppleIGC**](https://github.com/SongXiaoXi/AppleIGC) so the [**previous fixes**](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/blob/main/I225-V_FIX.md) are now obsolete! |600/700-series Nvidia Cards require root patching with [**OpenCore Legacy Patcher**](https://github.com/dortania/OpenCore-Legacy-Patcher/releases) to reinstall Nvidia drivers. ## Hardware Info ### System Configuration Component | Details -------------:|-------------------------------------------------------------- **Board** | Gigabyte Z490 Vision G. **BIOS**: F21. F5 or newer is required to disable `CFG Lock`. Otherwise enable Kernel Quirk `AppleXcpmCfgLock` **CPU** | Intel Core i9 10850K (Comet Lake) **RAM** | 32 GB DDR4 2400 Crucial Ballistix Sport LT **iGPU** | Intel UHD 630 (Headless). Use this [**Framebuffer Patch**](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/blob/main/Additional_Files/Graphics/Intel_UHD_630_HDMI_DP_Framebuffer-Patch.plist) if you want to use it for driving a display. **GPU** | Saphire RX580 Nitro+ (4 GB) **Audio** | Realtek ALC1220-VB (Layout-id: `17`) **Ethernet** (on-board) | Intel I225-V 2.5GbE. Compatible with macOS 10.15.7 and newer. **Ethernet** (PCIe)| Intel PRO/1000 PT Dual Port Server Adapter (any macOS). Currently unused. **Intel 400 Series Chipset Datasheets** (PDF): [**Vol. 1**](https://cdrdv2.intel.com/v1/dl/getContent/615170) [**Vol. 2**](https://cdrdv2.intel.com/v1/dl/getContent/615146) [**Specs Update**](https://cdrdv2.intel.com/v1/dl/getContent/615296) ### BIOS Settings
Click to reveal ![BIOS](https://user-images.githubusercontent.com/76865553/141654274-6d6a5803-e18e-407e-aa9f-767ab18094bc.jpg) * **Tweaker [TAB]** * Extreme Memory Profile (XMP): Enabled (if supported by RAM) * Advanced CPU Settings * VT-d: Enabled * Intel Speed Shit: Enabled * **Settings [TAB]** * Platform Power * Platform Power Management: Disabled * ErP: Enabled (so USB Power turns off, after PC is shut down) * IO Ports * Internal Graphics: enabled (if CPU has integrated graphics). **NOTE**: The config.plist uses dGPU for Display(s) and iGPU for computational tasks only by default. If you want to use the iGPU to drive a display you need a different Framebuffer Patch (see "EFI Install Instructions" for details). * OnBoard LAN Controller: Enabled * Audio Controller: Enabled (if On-Board Sound Card is used) * Above 4G Decoding: Enabled * Re-Size BAR Support: Disabled (Enable if your GPU supports it) * IOAPIC 24-119 Entries: Enabled * Super IO Configuration * Serial Port: Disabled * USB Configuration * Legacy USB Support: Disabled * XHCI Hand-off: Enabled * Network Stack Configuration * Network Stack: Disabled * **Boot [TAB]** * CFGLock: Disabled (only available on newer BIOS versions) * Windows 10 Features: Windows 10 * CSM: Disabled (to get rid of legacy code from `DSDT`)
## OpenCore Details ### General Information Parameter | Details ---------:|-------------------------------------------------------------- **SMBIOS** | `iMac20,2`. For i5/i7 CPUs, use `iMac20,1`. SMBIOS data needs to be generated. I use [**OCAT**](https://github.com/ic005k/OCAuxiliaryTools#readme) for this **Supported macOS** | macOS 10.14 up to 14.x (10.14 requires `iMac19,1` config) **OpenCanopy** | Enabled **Boot Chime**| No **FileVault** |`Optional` **SIP**| `Enabled`. Adjust `csr-active-config` based on your specific needs. **SecureBootModel**| `j185f`. For `iMac20,1`, use `j185`. :warning: Set to `Disabled` if you are using a Kepler GPU and want to install/run macOS Monterey and newer **USB Port Mapping**| Yes, via ACPI. Details [**here**](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/blob/main/Additional_Files/USB/USB_Ports_List.pdf). ### EFI Folder Structure (OpenCore)
Click to reveal ``` EFI ├── BOOT │ └── BOOTx***.efi └── OC ├── ACPI │ ├── DMAR.aml │ ├── SSDT-AWAC-ARTC.aml │ ├── SSDT-EC-USBX.aml │ ├── SSDT-MCHC.aml │ ├── SSDT-PLUG.aml │ └── SSDT-PORTS.aml ├── Drivers │ ├── HfsPlus.efi │ ├── OpenCanopy.efi │ ├── OpenRuntime.efi │ └── ResetNvramEntry.efi ├── Kexts │ ├── AdvancedMap.kext │ ├── AMFIPass.kext │ ├── AppleALC.kext │ ├── AppleIGC.kext │ ├── CPUFriend.kext │ ├── CPUFriendDataProvider.kext │ ├── Lilu.kext │ ├── NVMeFix.kext │ ├── RadeonSensor.kext │ ├── RestrictEvents.kext │ ├── SMCProcessor.kext │ ├── SMCSuperIO.kext │ ├── VirtualSMC.kext │ └── WhateverGreen.kext ├── OpenCore.efi ├── Resources (NOTE: removed files in sub-folders from tree view to reduce clutter) │ ├── Font │ ├── Image │ │ ├── Acidanthera │ │ │ ├── Chardonnay │ │ │ ├── GoldenGate │ │ │ └── Syrah │ │ ├── Blackosx │ │ │ └── BsxM1 │ │ └── velickovicdj │ │ └── EnterTwilight │ └── Label ├── config_Catalina.plist ├── config_iMac19,1.plist ├── config_MacPro7,1.plist └── config.plist ```
## Installing/Upgrading macOS **Coming from Windows/Linux**: If you are on Windows or Linux, follow the guide provided by [**Dortania**](https://dortania.github.io/OpenCore-Install-Guide/installer-guide/#making-the-installer). I provide no support for issues with UBS Installers created in Windows or Linux or when installing macOS into a VM! **Coming from macOS**: If you already have access to macOS, you can either download macOS from the App Store, via the [**OpenCore Legacy Patcher**](https://github.com/dortania/OpenCore-Legacy-Patcher) App or use [**ANYmacOS**](https://www.sl-soft.de/en/anymacos/). Botch can download macOS High Sierra to Ventura and create a USB Installer as well. ## Deployment Please read the following explanations carefully and thoroughly and follow the given instructions. In order to boot your PC with this EFI successfully, adjustments to the `config.plist` and used kexts may be necessary to adapt the config to your system configuration and the macOS version you want to install/run. ### Preparing the `config.plist` Download my latest EFI Folder from the [**Releases**](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/releases) section and unpack it. Make sure to check the included `Changelog.md` as well, since it contains important background information and useful explanations. Select the config of your choice and rename it to `config.plist`. Open it with [**OCAT**](https://github.com/ic005k/QtOpenCoreConfig/releases) or a ProperTree and check the following sections/settings and adjust them to your needs: 1. **ACPI/Add** Section. Add/Enable/Disable SSDTs as needed - [**DMAR**] (optional): [DMAR replacement table](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/blob/main/Additional_Files/ACPI/DMAR.dsl) with specific Reserved Memory Region removed. For 3rd party LAN/Wifi/BT cards that won't work if VT-D and the Intel I225-V controller are enabled (macOS Big Sur and newer). - **SSDT-AWAC-ARTC**: Custom variant of `SSDT-AWAC.` Disables AWAC Clock and enables `RTC` as `ARTC` instead. Also disables legacy `HPET` device. - **SSDT-PORTS**: OS-agnostic USB Port Mapping Table for the Z490 Vision G. No additional USB Port kext or quirks are required. Since the USB ports are mapped via ACPI they will work in *any* version of macOS. Check [**this pdf**](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/blob/main/Additional_Files/USB/USB_Ports_List.pdf) for a detailed list of mapped ports. **NOTE**: macOS does not support USB 3.2 via the USB protocol. It requires Thunderbold 3 or newer instead to support speeds greater than 5 Gbit. So there's no speed benefit when using the red USB ports over the blue ones when running macOS! - **SSDT-PLUG.aml**: Not needed for macOS 12 and newer. Also not needed when using `CPUFriend.kext` and `CPUFriendDataProvider.kext`. **NOTE**: Additional info about these ACPI Tables can be found on my [**OC Little Repo**](https://github.com/5T33Z0/OC-Little-Translated/tree/main/01_Adding_missing_Devices_and_enabling_Features) 2. **ACPI/Delete** Section - **Drop OEM DMAR Table** → Only enable if you need to use the DMAR replacement table. OpenCore 0.9.2 introduced a new Quirk called `DisableIoMapperMapping`. It works independently of `DisableIoMapper` and addresses reoccurring connectivity issues in macOS 13.3+ which weren't there before. If your configuration required to drop/replace the DMAR table before it still does now! - **Drop OEM USB Port Map (xh_cmsd4)** → Drops the original USB Port mapping so `SSDT-PORTS.aml` can replace it. - **Drop HPET Table** → Drops the table for the High Precision Event Timer which is now a legacy device. 3. **Booter** Section - **Booter/MMIOWhitelist** - I added these memory regions after analyzing the bootlog. Since I don't know if these are used by all systems, I disabled them. - To figure out which ones can be whitelisted, [**follow this guide**](https://github.com/5T33Z0/OC-Little-Translated/tree/main/12_MMIO_Whitelist) - This is not a necessity, just some fine-tuning. - **Booter/Patch**: OpenCore patches used to skip the board-id check as part of a [**workaround**](https://github.com/5T33Z0/OC-Little-Translated/tree/main/S_System_Updates) to fix System Update Notifications. Only needed when using an NVIDIA Kepler Card which requires disabling `SecureBootModel` and `SIP` in oder to install and load the GPU drivers. - **Booter/Quirks**: If your GPU supports resizable BAR (enable Above 4G Decoding and Resizable BAR in BIOS), you can set `ResizeAppleGpuBars` to `0`. But leave `UEFI/Quirks` at `-1` to not affect the BAR size in other OSes. 4. **DeviceProperties** - ~~`#PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0)` → Disabled device-id spoof for the Intel I-225V. → Only required when running macOS Catalina! Delete the `#` to enable it. Requires `Kernel/Patch` as well. [**Read this**](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/blob/main/I225_stock_vs_cstmfw.md#readme) for getting the Intel(R) I225-V Ethernet Controller to work on different versions of macOS.~~ No longer required. - `#PciRoot(0x0)/Pci(0x2,0x0)` → Disabled Framebuffer for using the iGPU for driving a monitor. Delete the `#` to enable it. - `PciRoot(0x0)/Pci(0x1F,0x3)` → Settings for on-board audio. Also contains the Layout-id - `PciRoot(0x0)/Pci(0x2,0x0)` → Headless Framebuffer for using the iGPU for computational tasks only. - Disable this entry when using the `iMacPro1,1` or `MacPro7,1` SMBIOS. - Delete/Disable the `enable-metal` property when using a AMD (Big) Navi Card, since these cards support Metal 3. 5. **Kernel/Add** Section. The following Kexts are disabled by default since I don't know which CPU, GPU, Hard Disk and SMBIOS you will be using: - `CPUFriend.kext` and `CPUFriendDataProvider.kext`. Create your own CPUFriendDataProvider in Post-Install with [**CPUFriendFriend**](https://github.com/corpnewt/CPUFriendFriend) to optimize CPU Power Management [**as explained here**](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/blob/main/Additional_Files/CPU_Pwr/README.md). It is recommended to create a new Data Provider kext after switching the SMBIOS and/or updating/upgrading macOS. - `NVMeFix.kext`: recommended for all 3rd party NVMe SSD drives - `RestrictEvents`: - Required when using `MacPro7,1` SMBIOS → Disables warnings about unpopulated RAM slots. - Also required for enabling the `VMM-x86_***` Board-id so OTA updates work when `SIP` and `SecureBootModel` are disabled (necessary when using NVIDIA Kepler Cards in macOS 12+). - `AppleALC.kext`: Slimmed version of AppleALC I compiled myself. It only contains Layout `17` and is only 86 kB in size. If you want to use a different Layout, you need to use the regular version of AppleALC or [compile your own](https://github.com/5T33Z0/AppleALC-Guides/tree/main/Slimming_AppleALC). 6. **Kernel/Quirks**: - If your BIOS does not provide the option to disable CFG Lock (requires BIOS Update), enable the `AppleXcpmCfgLock` Quirk instead. - If you don't use Windows on your system, you can disable `CustomSMBIOSGuid` (prohibits injecting SMBIOS data into Windows) - OpenCore 0.9.2 introduced a new Quirk for macOS 13.3+ called `DisableIoMapperMapping`. It eliminates the need for using a modified DMAR Table with removed Reserved Memory regions to "resolve compatibility issues with Wi-Fi, Ethernet and Thunderbolt devices when `AppleVTD` is enabled". So you can try this quirk instead of replacing the DMAR table to address issues with 3rd party WiFi/BT cards. 7. **Misc/Security**: - `SecureBootModel`: - Set to to `j185` (for iMac20,1) or `j185f` (for iMac20,2). - Set to `Disabled` if you are using an NVIDIA Kepler Card. Otherwise the system will crash on boot. In this case you also need to enable `RestrictEvents.kext` to enable the `VMM-x86_***` board-id so OTA updates will work. More details [**here**](https://github.com/5T33Z0/OC-Little-Translated/tree/main/S_System_Updates). 8. **NVRAM/Add** - `4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102`: - `revpatch:sbvmm` → Setting for RestrictEvents.kext to enable the board-id VMM spoof. Only required if you have to disable `SIP` and `SecureBootModel` in order to boot with patched in NVIDIA Drivers for Kepler GPUs. - Boot-args: based on the [fix](https://github.com/5T33Z0/Gigabyte-Z490-Vision-G-Hackintosh-OpenCore/blob/main/I225-V_FIX.md#option-1-using-a-ssdt-with-corrected-header-description) you are using to get the Intel I225-V working in macOS 12 and newer, you might need `dk.e1000=0` (macOS Big Sur) and/or `e1000=0` (macOS Monterey+). - OCLP-Settings: `-allow_amfi` → Required for OpenCore Legacy Patcher so Kepler Drivers can be installed - `7C436110-AB2A-4BBB-A880-FE41995C9F82`: - Change `csr-active-config` to disable SIP: - SIP fully enabled: `00000000` - **Big Sur** and newer: `03080000` (0x803) → My default so macOS doesn't bother me. This is also the required value if you need to apply root patches with OCLP. - **Mojave/Catalina**: `EF070000` (0x7EF) - **High Sierra**: `FF030000` (0x3FF) > **Warning:**
  • AMD GPUs may require additional `boot-args`. Check WhateverGreen's [**documentation**](https://github.com/acidanthera/WhateverGreen#boot-arguments) for details.
  • Applying root patches with OCLP results in a broken security seal which affects System Updates: incremental (or delta) system updates won't work after that. Instead, the *full* macOS installer (about 12 GB) will be downloaded every time a system update is available. But there's a [workaround](https://github.com/5T33Z0/OC-Little-Translated/blob/main/S_System_Updates/OTA_Updates.md) to apply delta updates so you don't have to download the full installer.
    9. **PlatfotmInfo/Generic** Section: - Generate SMBIOS data for `iMac20,1` (for Core i9) or `iMac20,2` (for Core i5/i7) - If you're not using Windows on your system, change `UpdateSMBIOSMode` from `Custom` to `Create` 10. Save the `config.plist` ### Testing the EFI 1. Copy the EFI Folder to a FAT32 formatted USB flash drive for testing 2. Reboot 3. Perform an NVRAM Reset (hit Space Bar to reveal Tools) 4. Boot macOS from the USB flash drive 5. If your system boots successfully, mount your ESP and copy over the EFI Folder to you HDD/SSD and reboot. 6. Continue with Post-Install! ## Post-Install ### Strengthen Security (recommended) Once you got macOS running, you should change the following settings to make your system more secure: 1. Change `csr-active-config` to `00000000` to enable System Integrity Protection (SIP) 2. Under `UEFI/APFS`, change `MinDate` and `MinVersion` from `-1` ( ... ...

近期下载者

相关文件


收藏者