Git Product home page Git Product logo

asrock-z370m-pro4-hackintosh's Introduction

asrock-z370m-pro4-hackintosh

English Version

切换到了更加先进的 OpenCore,如果想查看 Clover 版本的话请访问 clover-deprecated 分支。

该项目只针对我的配置,不要直接使用。使用的话需要特别注意两个问题:

  1. config-public.plist 里 PlatformInfo -> Generic 信息需要自己手动生成,生成方法请参考 corpnewt/GenSMBIOS
  2. 不要使用 OC/Kexts/USBPorts.kextOC/ACPI 里面的所有文件。

硬件

CPU:英特尔 i5 8400

主板:华擎 Z370M Pro4

显卡:蓝宝石 RX560 4G D5 白金版 OC (75W)

Wi-Fi 和蓝牙:BCM943602CS

内存:英睿达 8G DDR4 2666 x 4

固态硬盘 0:英特尔 760P 512G(macOS 个人用)

固态硬盘 1:Samsung 970 EVO Plus 250G(macOS 工作用)

机械硬盘 0:希捷 4TB(Time Machine 和文件存储)

显示器 0:戴尔 U2718QM

显示器 1:戴尔 U2414H

Wi-Fi 和蓝牙芯片在 macOS 下插上就能用,不需要任何配置。

正常的功能

  • 系统睡眠与唤醒
  • 多显示器支持
  • 蓝牙、Wi-Fi 和有线网络
  • iMessage、Handoff、Continuity、FaceTime 和 AirDrop
  • 音频输入和输出
  • Headless 模式下的 Intel iGPU
  • Time Machine
  • 启动至 Recovery Mode

It works just like a genuine Mac.

BIOS 设置

BIOS 版本:3.20

Advanced \ Chipset Configuration → Vt-d : Disabled

Advanced \ Super IO Configuration → Serial Port: Disabled

Advanced \ USB Configuration → XHCI Hand-off : Enabled

Advanced \ Chipset Configuration → Share Memory : 128MB

Advanced \ Chipset Configuration → IGPU Multi-Monitor : Enabled

安装注意事项

CPU

SSDT-PLUG.dsl 需要手动设置 CPU ID 后编译成 aml 文件后才能正常工作,如果没有设置正确会出现电源选项里面看不到 Powernap 选项和待机状态下 CPU 频率出现大幅波动的问题。以我的配置举例,scope 是 _PR,CPU ID 是 PR00,所以我的 SSDT-PLUG 应该是这样的 - SSDT-PLUG.dsl。详细的文档请参考 - Fixing Power Management: Manual

FileVault

没有启用 FileVault 这个功能,更多的功能等于更多的不确定性。

节能选项

禁用 Power Nap,它可能会导致系统在睡眠状态下自动唤醒。

音频

为了让音频正常工作,AppleALC 的 layout id 值必须为 1,可以使用启动参数的形式来添加,在 Boot/Arguments 里增加 alcid=1 或者使用 gfxutil 获取设备 ID 然后在 Devices/Properties 里添加:

➜  gfxutil-1.78b-RELEASE ./gfxutil -f HDEF
DevicePath = PciRoot(0x0)/Pci(0x1f,0x3)

audio-device-injection

使用 USB 2.0 接口安装 macOS

如果还没有 USB 补丁的话,制作完 USB 安装盘后务必插在主板背部的 USB 2.0 的接口上安装,否则安装会报错 - AppleUSBHostPort::disconnect: persistent enumeration failures

USB

SSDT-EC-USBX.dsl 也需要正确的设置。以我的配置举例,scope 是 _SB.PCI0.LPCB,device 是 H_EC,所以我的 SSDT-PLUG 应该是这样的 - SSDT-EC-USBX.dsl。详细的文档请参考 - Fixing Embedded Controllers: Manual

USB 补丁制作请参考 - The New Beginner's Guide to USB Port Configuration

集成显卡

按照这里的配置方法 - Coffee Lake / DeviceProperties

数据备份

无论黑苹果白苹果,强烈建议开启 Time Machine 备份。

升级系统前需要做什么?

  1. 备份系统,最好做一个可启动的备份,推荐使用 SuperDuper,如果升级失败从备份启动然后再用 SuperDuper 把备份拷贝到主硬盘上即可。

  2. 升级必要的 kexts、UEFI 驱动和 OpenCore,推荐使用 Hackintool 来升级。

  3. 去社区先看看问题反馈,仔细查阅 OpenCore 文档。

USB 端口映射关系

HSXX 代表的是 USB 2.0,SSXX 代表的是 USB 3.0。

主板背部:

port mapping

蓝牙:HS05

机箱前置 USB(上):HS09 SS06

机箱前置 USB(下):HS10 SS05

升级记录

版本 日期 备注 OpenCore 版本
macOS Mojave 10.14.2 (18C54) 2018.12.7 正常升级,无异常
macOS Mojave 10.14.3 (18D42) 2019.1.23 正常升级,无异常
macOS Mojave 10.14.3 (18D109) 2019.2.11 正常升级,无异常
macOS Mojave 10.14.4 (18E226) 2019.3.26 正常升级,无异常
macOS Mojave 10.14.5 (18F132) 2019.5.16 正常升级,无异常
macOS Mojave 10.14.6 (18G84) 2019.7.23 正常升级,无异常
macOS Mojave 10.14.6 (18G87) 2019.8.6 正常升级,无异常
macOS Mojave 10.14.6 (18G95) 2019.8.31 正常升级,无异常
macOS Mojave 10.14.6 (18G103) 2019.9.27 正常升级,无异常
macOS Catalina 10.15 (19A583) 2019.10.14 正常升级,无异常
macOS Catalina 10.15 (19A602) 2019.10.18 正常升级,无异常
macOS Catalina 10.15.1 (19B88) 2019.11.1 正常升级,无异常
macOS Catalina 10.15.2 (19C57) 2019.12.15 正常升级,无异常
macOS Catalina 10.15.4 (19E287) 2020.4.9 正常升级,无异常
macOS Catalina 10.15.5 (19F96) 2020.5.30 正常升级,无异常
macOS Catalina 10.15.6 (19G73) 2020.8.4 正常升级,无异常
macOS Catalina 10.15.6 (19G2021) 2020.8.13 正常升级,无异常
macOS Catalina 10.15.7 (19H15) 2020.11.8 正常升级,无异常
macOS Big Sur 11.0.1 (20B29) 2020.12.8 正常升级,无异常 0.6.4

跑分测试

Geekbench CPU

geekbench-cpu-score

Geekbench GPU

geekbench-gpu-opengl-score

Cinebench

cinebench-score

一些有用的链接

  1. Dortania's OpenCore Install Guide

asrock-z370m-pro4-hackintosh's People

Contributors

dhinakg avatar houcoder 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asrock-z370m-pro4-hackintosh's Issues

显卡和蓝牙冲突

因为学习Flutter,想尝试下MacOS,所以把原有8600K+Z370m Pro+1066配置的显卡换了个HIS Rx580 4G,淘宝卖的挺多的,大多是矿卡,也挺便宜的,买回来成色什么的也不错,实际游戏比原来1066低20%左右,不过无所谓了。另外又入了个无线网卡BCM943602cs想尝试高级功能,于是就折腾起来。自从换了580,升级到了Mojave,忽略了网卡蓝牙测试,最近才发现怎么折腾蓝牙都不稳定,win系统下直接无法识别硬件,macOS下偶尔能识别,但功能也无法使用,无法搜索到任何蓝牙设备。刚开始以为是网卡问题,商家又发来一个还不行。于是开始测试下硬件兼容,发现拔掉RX580的情况下,可以正确识别网卡和蓝牙,功能也没任何问题,插上独显后,无线网卡功能没有问题,但是蓝牙设备直接变为另一个设备,而且也不能加载任何驱动,win和mac下都如此。可以明确是显卡和网卡蓝牙冲突。但显卡本身的表现是没有任何问题的,太奇怪了。

A卡下修改分辨

我的是Rx590显卡,系统能识别,但是切换分辨率后系统重启就会黑屏,请问这个怎么解决

请问下能看到风扇转速吗?

这块主板的LPC不太常见,目前正在用Clover引导,用FakeSMC和VirtualSMC都无法侦测风扇转速。

请加一下,你改成OC以后,是否可以支持监测风扇转速?

Panic!

Hi. First of all thank you very much for your work. I was trying to migrate from Clover to Opencore with a config very similar to yours (8400, Z370m-pro 4 but with dedicated graphics Intel HD 630).
Clover works perfectly for me but when I switch to Opencore I am not able to fix this KP. Thank you again! Regards.

IMG_20191121_093405

works with RX570 ?

Hello friend, please could you help to now how to make works this EFI with a Gigabyte Rx570 4GB ???? I will appreciate any help you could bring me.

Opencore?

hello, any plans on migrating to opencore? currently upgraded to catalina with the same specs you have and the only issue so far is random freezing ( I assume due to clover)

Update to 10.15.5

Have you tried updating to 10.15.5? In my 2 AMD I have updated without problem from 10.15.4 but in this I have updated (also the kexts) and when starting up the screen remains black.
I am trying to fix but I am not able, always black screen (HDMI, VGA and DVI) ... T_T.
I'm using integrated graphic.
Thank you. Regards.

同主板ssdt-plug的问题

Hi,我正准备从Z390 Aorus Pro切换到Z370M Pro4。我使用的CPU是9900K,请问SSDT-PLUG需要重新去Windows取值然后做修改么?我现在Z390用的SSDT-PLUG如下:

//
// Leverages the PMPM approach found in https://github.com/acidanthera/OpenCorePkg/blob/master/Docs/AcpiSamples/SSDT-PLUG.dsl
//
DefinitionBlock ("", "SSDT", 2, "CORP", "CpuPlug", 0x00003000)
{
External (_SB.PR00, ProcessorObj)
Method (PMPM, 4, NotSerialized) {
If (LEqual (Arg2, Zero)) {
Return (Buffer (One) { 0x03 })
}
Return (Package (0x02)
{
"plugin-type",
One
})
}
Scope (_SB.PR00)
{
If (_OSI ("Darwin")) {
Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method
{
Return (PMPM (Arg0, Arg1, Arg2, Arg3))
}
}
}
}

Carbon Copy Cloner on 10.15.1 - Crash...

Hi. Thank you for your work!! I wanted to ask you a question. I have updated perfectly to 10.15.1 without any problem but Carbon Copy Cloner does not open and close automatically. It has also happened to me with another pair of computers with hackintosh. Do you also happen to you? Thank you. Regards.

关于CPU

想请教一下,有关装黑苹果CPU的问题,有些论坛说Intel core的都可以,tonymacx86上只推荐了一些,我有点想买i5 9400f,但是tonymacx86上并没有推荐,大佬看看可以吗

请教大佬

大佬,我主板跟你一样,就cpu跟显卡不一样,我的cpu是i5-8600k 显卡是rx570,请问我可以直接套用你的config吗?如果不能,我需要修改哪些地方,求教。我之前自己弄过笔记本的黑苹果,第一次装台式机。对黑苹果算是有点了解。不是特别熟。

USBs not working.

Hello! Sorry for the inconvenience but I wanted to ask you a question. First of all, thank you for your work! I have been testing this OC 0.5.7 but I have a problem, USB is not working.
I have seen that you put "2.- Do not use OC / Kexts / USBPorts.kext."
If I remove that kext (or replace it with USBInjectAll.kext) the PC won't start. I do not understand why this happens since with the other versions all the USBs work perfectly.
Thanks again for your work. Regards.

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.