Code Monkey home page Code Monkey logo

asrock-z390-phantom-itx-opencore-hackintosh's Introduction

image

GitHub release GitHub Release Date 维护者
支持版本 macOS 版本

简体中文 · English

目录


1. 注意事项

1.1. ⚠️注意一⚠️:你应该在清楚如何安装系统的情况下使用本 EFI。你如果不知道如何安装系统、不清楚 OC 结构,那么我强烈建议你先完整阅读 OC 官方配置指南,因为使用本 EFI 并不意味着你的系统也能正常启动,即使配置完全相同,你很可能需要按照自己的情况进行引导(驱动)调整。


1.2. ⚠️注意二⚠️:本配置是 OpenCore 引导,如果你现在正在使用 Clover 引导,请参考以下文档以免出现错误。


1.3. ⚠️注意三⚠️:请生成你自己的三码,本 EFI 不包含任何三码信息。你可以用使用 OpenCore Configurator 来生成相关数据。


2. 硬件配置

部件名称 型号 备注
主板 ASRock Z390 phantom gaming-itx/ac
CPU Intel 第九代 i9-9900k 设置主频至4.5Ghz,满载温度稳定在90度左右
无线网卡 BCM94360CS2 需要 NGFF M.2 转接卡
散热器 利民 AXP90 猫头鹰 A9x14 风扇
内存 TEAM DDR4 3200Mhz PC4-25600 32GBx2枚(64GBkit) Elite Plus 系列
机箱 Loli 1s mini itx 机箱 淘宝有售
电源 益恒 7660b 600W 1U 电源
显卡 Powercolor RX5700 8G [AXRX 5700 ITX 8GBD6-2DH] PowerColor 日本市场特供,你可以通过 Amazon.co.jp 购买
主 M.2 散热 猫头鹰 A4x10 风扇x2 移除原装散热马甲

image

image


3. 驱动情况

功能名称 是否正常 备注
CPU ⭕️ 支持变频
显卡 ⭕️ 能够正确识别并且性能正常
声卡 ⭕️ 主板绿色接口为 “内置扬声器” ,支持原生功能键调节音量
有线网卡 ⭕️
Wi-Fi ⭕️
蓝牙 ⭕️
传感器 ⭕️ 支持显示主板传感器,风扇速度,GPU 核心温度
接力 ⭕️
使用 Apple Watch 解锁 ⭕️
随航 ⭕️
睡眠与唤醒 ⭕️
定位服务 ⭕️
原生 NVRAM ⭕️
USB ⭕️
雷霹 3 ⭕️ 雷霹 3 驱动教程
DRM ⭕️ iMac19,1 在 Monterey 环境下需要运行代码以启用 Apple TV 以及 Apple Music 无损串流。详情
硬件加速 ⭕️ 支持 H264 以及 HEVC 硬件加速
内存 ⭕️ 正常识别内存,Mac Pro7,1 下无内存报错

Kext 名称 作用
ACPIMonitor.kext 支持定制的 ACPI
AppleALC.kext 声卡驱动
FakeSMC.kext SMC 驱动
IntelCPUMonitor.kext CPU 传感器驱动
IntelMausi.kext 有线网卡驱动
Lilu.kext
NVMeFix.kext NVMe 兼容性驱动
RadeonMonitor.kext AMD 显卡传感器驱动
USBPorts.kext USB 定制驱动
W836x.kext 主板传感器驱动
WhateverGreen.kext 显卡驱动

image

image

image

image

image

image

4. 准备工作

4.1. 网卡替换

该主板自带的为 Intel® Wireless-AC 9560 模块,支持无线 802.11ac 方案并提供蓝牙 5.0 和 2x2 802.11ac 2.4/5Ghz Wi-Fi。需要拆下该模块并替换为白果拆机模块BCM94360CS2,该模块需要 BCM94360CS2 NGFF M.2 转接卡。操作步骤如图(icyleaf大佬的图):

image

Windows 下可能需要手动安装驱动才能使用 Wi-Fi 和 蓝牙功能。

4.2. 刷写定制版 BIOS 启用雷霹 3

下载好 bios 文件夹中的 Z39PGIX4.40C, 放入 U 盘 并在 BIOS 中执行 Instant Flash。 具体步骤可参考华擎官网 📖BIOS 刷新程序

此操作是为了在 MacOS 中驱动雷霹 3。(是否可以不刷?我试过不刷就识别不到雷霹了😂) 如果不使用雷霹 3 端口可以不刷,此 BIOS 支持刷回版本 4.40。

-⚠️警告:刷 BIOS 有风险
-⚠️本教程不对任何硬件损伤承担任何责任!

image

你还需要通过 IORegistryExplorer 来查看你的 rp21reg信息来选用合适的 SSDT 文件。

下载 IORegistryExplorer ,搜索 rp21 并查看 reg 内的信息。

image

如果是 dc,你将不许要做额外的操作,如果是 d8,请下载 Tools 目录的下的 SSDT-TbtOnPch_PINI_D8.aml 放到 OC 目录下的 ACPI 文件夹中,并移除 SSDT-TbtOnPch_PINI.aml,同时修改 config 文件。

4.3. BIOS 设定 (4.40c)

- 带核显

  • Advanced
    • Chipset Configuration

      • Vt-d → 关闭
      • Share Memory → 128MB
      • IGPU Multi-Monitor → 开启
    • Super IO Configuration

      • Serial Port → 关闭
    • USB Configuration

      • XHCI Hand-off → 开启
    • Intel (R) Thunderbolt

      • Thunderbolt (TM) Support → 开启
      • Thunderbolt Usb Support → 开启
      • GPIO3 Force Pwr → 开启

image

4.4. SMBIOS 补全(必做)

  • 步骤一:
    • 用对应版本的 OpenCore Configurator(⚠️重要:OCC 支持的版本需跟 OC 版本对应)打开 config.plist

  • 步骤二:
    • 选择 PlatformInfo,并选择 DataHub - Generic — PlatfromNVRAM,点击页面下侧 Check Coverage 右边的上下箭头按钮。

image

  • 步骤三:
    • 如果你使用的是带核显的型号,则选择型号 iMac19,1,如果是不带核显的型号,则选择Mac Pro7,1。检查序列号是否被使用过。没有问题保存即可。

image

4.5. 清理模拟 NVRAM(可选)

如果你之前曾经使用过模拟 NVRAM,需要清理残留以正常使用原生 NVRAM。如果你之前没有使用过,或将进行全新安装,可略过此部分。

4.5.1. 清理 LogoutHook

  • 步骤一:

    在终端执行

    sudo defaults read com.apple.loginwindow LogoutHook

    如果输出为

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

    代表没有 LogoutHook 残留。


  • 步骤二:

    移除 LogoutHook.command 文件,终端执行

    sudo rm -rf $(sudo defaults read com.apple.loginwindow LogoutHook)
  • 步骤三:

    清空 LogoutHook 触发设置 ,终端执行

    sudo defaults delete com.apple.loginwindow LogoutHook

4.5.2. 删除文件(如果存在删除即可,没有可忽略)

  • EFI 分区中的 nvram.plist

  • /EFI/OC/Drivers 目录中的 VariableRuntimeDxe.efiEmuVariableRuntimeDxe.efi


4.5.3. 验证 NVRAM 是否正常工作

  • 在终端逐次执行
    sudo -s
    sudo nvram -c 
    sudo nvram myvar=test
    exit

  • 重启设备,然后在终端执行
    vram -p | grep -i myvar

  • 如果返回包含myvar test,则 NVRAM 工作正常。


4.6. 定制 USB(推荐)

  • 下载工具 Hackintool
  • 进入 Hackintool,选择 USB

image

  • 选中不需要的端口,点击 -(减号) 删除。
  • 剩下需要的端口(不包含 SSP1 端口)不能超出 15 个,然后选择正确的设备类型(USB2USB3TypeC+SWTypeC以及Internal
  • ⚠️注意:HS14 需要设置为 Internal

image

  • 设备端口分布可参考以下图片(HSUSB2SSUSB3

image

image

  • 定制完成后选择导出,将桌面新生成的 USBPort.kext 放入 EFI -> OC -> Kext 中替换文件夹内的同名文件。
  • 重启

4.7. 传感器

最新版本默认配置的 SMC 套件为 CloverHackyColorFakeSMC,支持显示 RX5000 系以及 RX6000 系显卡的温度。

image

5. 已知问题

  • 补丁 change _E2C to XE2C 会导致使用 OC 引导 Windows 系统时报 APIC 错误。

    • 解决方案: 禁用该补丁或者用 bios 来引导

  • 我的设备不支持 Apple TV DRM / Apple Music 无损音乐 DRM ?

    • 解决方案: 运行

      defaults write com.apple.AppleGVA gvaForceAMDKE -boolean yes
      

      强制启用 AMD DRM 解码器以支持串流服务 (像 Apple TV 以及 iTunes 电影串流)


  • 部分电脑关机后开机可能会提示 “电脑关机是因为发生了问题”。

    • 解决方案: 清除 CMOS 和 nvram,并运行 "sudo nvram -d aapl,panic-info" 清除 kernel panic 文件。

  • Windows 10 时间与 macOS 不同步 。

    • 解决方案:Windows 10 下 CMD 执行:

      Reg add HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1
      

6. 更新日志


7. 性能跑分

CPU:

image

image

image

GPU:

image

image

Cinebench R15 CPU & GPU

image

8. 参考文档

📖 OpenCore 官方指南

📖 精解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

9. 特别感谢

acidanthera

daliansky(黑果小兵)

RehabMan

icyleaf

ZeRo° Xu(冰水加劲Q)

fangf2018

Bat.bat

lovestfhd

asrock-z390-phantom-itx-opencore-hackintosh's People

Contributors

seanzhang98 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

asrock-z390-phantom-itx-opencore-hackintosh's Issues

any chance you could publish an iGPU only version of this?

hi, first, thanks for this!

i've got same asrock board & cpu and i've installed monterey & your opencore efi to separate drive from working clover catalina... but it reboots pretty soon after the initial install comes up to apple logo with progress bar going about 3rd of the way over... first obvious difference to pursue between your hardware and mine is i don't have discrete GPU ... so i'll be heading in to make those config.plist tweaks for the onboard intel UHD 630, but it would be super nice if you could temporarily unplug your GPU and confirm a working config for me =)

image

强制启用 AMD DRM 解码器串流服务

您好,强制开启AMD DRM 解码器串流服成功,我想问问怎么关闭?开启后独显的解码跟核显差太多 5k 本地视频播放直接马赛克哈哈,鱼和熊掌不可兼得 10.15 的时候可以 OC 加参数实现
关闭的命令是不是后面 yes 改为 no 呢? 谢谢
defaults write com.apple.AppleGVA gvaForceAMDKE -boolean no

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.