Skip to content

Latest commit

 

History

History
384 lines (285 loc) · 22.1 KB

File metadata and controls

384 lines (285 loc) · 22.1 KB

image

GitHub release GitHub Release Date Maintainer
Supported OS OS version OC Ver

简体中文 · English

macOS Monterey Ver.

Table of contents


1. Warning

⚠️Warning A⚠️: Before using the EFI, you should at least understand how do you install macOS and understand the file structure of OpenCore.

If you don't, I strongly recommend you to read the OpenCore Install Guide before using this EFI.

Directly using this EFI does not mean your system can boot normally, even though the configuration is identical, you would need these knowledge to solve problems in your case.

⚠️Warning B⚠️: This EFI is based on OpenCore, if you currently are using Clover, please read following document to avoid unpredictable error.

⚠️Warning C⚠️:This EFI does not contain any platform information (SN, UUID etc.). You can generate these information by using OpenCore Configurator.


2. Component List

Parts Model Notes
Motherboard ASRock Z390 phantom gaming-itx/ac
CPU Intel 9th Gen i9-9900k Set the frequency of all core to 4.5Ghz, full load temperature is around 90 degrees.
Wireless Network Card BCM94360CS2 NGFF to M.2 adapter required
Cooler Thermalright AXP90 Noctua A9x14 Fan
RAM TEAM DDR4 3200Mhz PC4-25600 32GBx2(64GBkit) Elite Plus Series
Case Loli 1s mini itx You can get this case from ChinaHao.com
Power Source Enhance 7660b 600W 1U Power
GPU Powercolor RX5700 8G [AXRX 5700 ITX 8GBD6-2DH] PowerColor Only for Japan market, you can get it from Amazon.co.jp
Main M.2 Cooler Noctua A4x10 Fan x 2 Required to remove the offical M.2 armor

image

image


3. Functionalities Checklist

Function Name Normal or not Notes
CPU ⭕️ CPU frequency scaling is working
GPU ⭕️
Sound card ⭕️ The green audio port on the rear of motherboard is the “internal speaker”, support adjust in volume by pressing the function shortcuts in MacOS
LAN port ⭕️
Wi-Fi ⭕️
Bluetooth ⭕️
Sensors ⭕️ Support Motherboard Sensors, Fans speed and GPU Die temperature
Hand-off ⭕️
Unlock with Apple Watch ⭕️
Sidecar ⭕️
Sleep and wake ⭕️
Location Service ⭕️
NVRAM ⭕️
USB ⭕️
Thunderbolt 3 ⭕️ Thunderbolt 3
DRM ⭕️ The DRM required by Apple TV + can be force enable by running override codes For more info
Hardware acceleration ⭕️ Support H264 and HEVC
RAM ⭕️ Mac Pro7,1 without error

image

image

image

image

image

image

4. Getting Ready

4.1. Wi-Fi & Bluetooth module replacement

The motherboard comes with Intel® Wireless-AC 9560 module, support 802.11ac and Bluetooth 5.0 with 2x2 802.11ac 2.4/5Ghz Wi-Fi. We need to remove this module and replace it with BCM94360CS2 module,BCM94360CS2 module required an NGFF to M.2 adapter. Steps shown below(By icyleaf):

image

In Windows 10 you might need to install drivers manually in order to use Wi-Fi and Bluetooth.

4.2. Flashing Special BIOS to enable TB 3

Download Z39PGIX4.40C, store in a thumb drive and flash the BIOS by executing Instant Flash. Steps of how to flash BIOS can be found on Asrock Official site 📖ASRock BIOS Upgrade Instruction.

This is for enabling Thunderbolt 3 on MacOS.(Do I have to flash this BIOS? I tried and no good with TB 3 while using BIOS 4.40😂.) If you do not use Thunderbolt 3 port, you can skip this step. You can flash back to 4.40 anytime you want.

- ⚠️Warning:There are risks while flashing BIOS, 
- ⚠️This instruction dose not responsible for any hardware damage.

image

You also need to check your rp21's reg value to choose the proper SSDT file by using IORegistryExplorer.

Download IORegistryExplorer , search for rp21 and check the value under reg.

image

If it includes dc, you don't need to do anything. However if it includes d8 then you need to download the SSDT-TbtOnPch_PINI_D8.aml file under Tools, then put it under OC -> ACPI and remove SSDT-TbtOnPch_PINI.aml. You need to made modification to your config file as well.

4.3. BIOS Setting (4.40c)

- With iGPU

  • Advanced
    • Chipset Configuration

      • Vt-d → Disable
      • Share Memory → 128MB
      • IGPU Multi-Monitor → Enable
    • Super IO Configuration

      • Serial Port → Disable
    • USB Configuration

      • XHCI Hand-off → Enable
    • Intel (R) Thunderbolt

      • Thunderbolt (TM) Support → Enable
      • Thunderbolt Usb Support → Enable
      • GPIO3 Force Pwr → Enable

image

4.4. SMBIOS

  • Step 1:
    • Use the latest OpenCore Configuratortor open config.plist.

  • Step 2:
    • Choose PlatformInfo then choose on the top DataHub - Generic — PlatfromNVRAM, click the "up and down arrow" button on the right side on the Check Coverage button located at the bottom of the interface.

image

  • Step 3:
    • Choose model iMac19,1 if your CPU comes with iGPU, otherwise choose Mac Pro7,1. image

4.5. Clean up emulated NVRAM(Optional)

If you used emulated NVRAM before, you need to clean up the emulated NVRAM to get the native NVRAM works. If you never used emulated NVRAM or you are doing a fresh install, you can skip this part.

4.5.1. Clean up LogoutHook

  • Step 1:

    Execute in terminal

    sudo defaults read com.apple.loginwindow LogoutHook

    If the output is

    The domain/default pair of (com.apple.loginwindow, LogoutHook) does     not exist

    Means no LogoutHook left.


  • Step 2:

    Remove LogoutHook.command file,execute in terminal

    sudo rm -rf $(sudo defaults read com.apple.loginwindow LogoutHook)

  • Step 3:

    Clean up LogoutHook trigger setting, execute in terminal

    sudo defaults delete com.apple.loginwindow LogoutHook

4.5.2. Remove Files(If there are any)

  • nvram.plist in EFI prartition.
  • VariableRuntimeDxe.efi and EmuVariableRuntimeDxe.efi in /EFI/OC/Drivers

4.5.3. Examination NVRAM function

  • Execute in terminal each line at a time,
    sudo -s
    sudo nvram -c 
    sudo nvram myvar=test
    exit

  • Reboot your device, then execute in terminal
    vram -p | grep -i myvar

  • If myvar test is included in your return line, then the NVRAM is working properly.


4.6. Mapping USB(Recommanded)

  • Downlaod Hackintool
  • Launch Hackintool then choose USB

image

  • Select the ports you don't need then click - to delete them.
  • The number of ports(SSP1 is not included)should below 15, you need to choose the type of device for them as well(USB2USB3TypeC+SWTypeC and Internal
  • ⚠️ Noticed:HS14 should be set as Internal

image

  • Port distribution shown as below(HS stands for USB2 and SS stands for USB3

image

image

  • Export the kext file, which usually would save to your desktop as USBPort.kext, put it in EFI -> OC -> Kext.
  • Reboot your system.

4.7. Sensors

The latest release of this EIF is using the FakeSMC by CloverHackyColor which supports AMD's RX5000 Series and RX6000 Series GPU Die temperature sensor.

image

5. More

5.1. Big Sur Style Icons

There are many applications are not optimized for Big Sur with the new icon style, we can replace these icons for a unify UI. Image below is how the lunchpad looks like in my case :

image

You can download these icons form macosicons. I personally also make some of the icons and uploaded them to this website (this is an open-sourced project). If you are capable to make icons for the application you are using, please feel free to make contribution to this project.

6. Known Issues

  • The enable of the patch change _E2C to XE2C will cause APIC Error while booting Windows with OC

    Solution: disable the TB3 Function or boot Windows with BIOS interface.


  • My device dose not support Apple TV + ?

    Solution: Run

    defaults write com.apple.AppleGVA gvaForceAMDKE -boolean yes
    

    forces AMD DRM decoder for streaming services (like Apple TV and iTunes movie streaming)

  • Time do not sync between Windows 10 and macOS.

    • Solution:In Windows 10, run following code in CMD
      Reg add HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1
      

7. Change Logs


8. Benchmark

CPU:

image

image

image

GPU:

image

image

Cinebench R15 CPU & GPU

image

9. References

📖 OpenCore Install Guide

📖 精解OpenCore

📖 macOS Catalina 10.15安装中常见的问题及解决方法

📖 使用HIDPI解决睡眠唤醒黑屏、花屏及连接外部显示器的正确姿势

📖 OpenCore部件补丁

📖 华擎ASRock Z390 Phantom Gaming ITX/ac 雷电3 完美驱动 热插拔

📖 OpenCore(OC)引导模拟NVRAM

📖 Sidecar and SMBIOS : iMac19,1 vs. iMacPro1,1

10. Special Thanks

acidanthera

daliansky(黑果小兵)

RehabMan

icyleaf

ZeRo° Xu(冰水加劲Q)

fangf2018

Bat.bat

lovestfhd