Contribute
Register

[Deprecated] ASRock Z77 Extreme6 — Catalina, Clover

Status
Not open for further replies.
Joined
Sep 3, 2010
Messages
50
Motherboard
ASUS K501UQ
CPU
i3-6100U
Graphics
HD 520
This guide is deprecated and unsupported. See this guide (using OpenCore).

My specific config: ASRock Z77 Extreme6 + i5 3470 (Ivy Bridge). YMMW.

Overall status: 95% working
Not working: a couple of USB 2.0 ports, probably iGPU HDMI sound.

A (most recent) copy of this guide can be found here. Copy of files — here.

NOTE: This guide is intended mostly for troubleshooting and hinting at less obvious things. It will not serve as complete installation guide, as there are enough of much better written ones. It is expected that you’re able to google. I’ll provide my config, but only as an example. You’ll have to build it yourself for your hardware.

Required software
  • Latest build of Clover
  • MaciASL, iasl (acidanthera’s MaciASL build contains iasl inside app package)
  • IORegistryExplorer 2.1 (exactly this version) Get it here, or install gen_debug (you’ll probably need it, anyway)
  • Hackintool – extremelly useful multitool software. Here.
  • Decent programming-class editor (Sublime Text, for example).
  • Plist editor – XCode (7Gb download), PlistEdit Pro (paid but really good, has trial), ProperTree (free, okayish, made for OpenCore)… Or you can edit them raw in text editor.
  • Drivers – Lilu, VirtualSMC, WhateverGreen, AppleALC, USBInjectAll, FakePCIID_BCM57XX_BCM57765. Optionally: BrcmBluetoothInjector for bluetooth dongle, corresponding WiFi kext. Always get newest builds.
Important notes in advance
DO NOT use any visual configurator for editing config.plist. Especially Clover configurator. I cannot stress this enough. I spent a day trying to debug non-booting installer because of botched config. Use it (or Cloud Clover Editor) only for generating SMBIOS information (and even then there are other options). For a base config you can use mine, but you might need to change some things.

Plist files store hex data keys (used with patches and EDID) in base64 format. If you’re using plist editor like PlistEdit Pro, it does conversion automatically. If you’re using text editor, you will have to convert hex to base64 yourself. Hackintool has a neat calculator for that.

Hardware overview
CPU
LGA1155 — Sandy Bridge/Ivy Bridge. Power management through Clover XCPM — add Generate/PluginType=true. Also drop corresponding origin CPU SSDTs.
As I said, I have i5 3470 Ivy Bridge. Sandy Bridge might be more troublesome, YMMW.

GPU
Use WhateverGreen.
HD 2000/2500 can be enabled only in headless mode (dummy connectors), refer to WEG manual on that matter. In my case that was ig-platform-id 0x01620007. Also in that case you’ll need dGPU — refer to !! supported models list.

Ethernet
BCM57781 — requires FakePCIID with BCM57XX_BCM57765 plugin.

USB
Requires port patching. Top/left back panel USB3.0 ports are connected through Etron EJ168 controller, and it could be difficult to make them work — USBMap and Hackintool do not list them, find them in IORegistryExplorer. Also in my config there are two USB2.0 from motherboard pins — if you don’t use them, you have to rebuild SSDT-UIAC yourself.

Audio
Realtek ALC898 — supported by AppleALC, layout 1.

There’s HDMI output in iGPU, but as I have HD 2500 in headless mode, there’s no way for me to enable it. If you have and use HD 3000/4000, you might have to do that, or it might crash system when hotplugging display.

SATA
May require external drives patch (aka „orange icons“).
Note that 2 out of 8 SATA ports are connected to ASMedia controller (two rightmost, named SATA3_A1 and SATA3_A2), and SATA3_A2 doubles as eSATA port on back panel. Unfortunately, there’s no way to keep that port as external along with external drives patch. Best not to plug anything in them without specific reason.

WiFi/Bluetooth
Required for Siri and some other macOS features. Please refer to supported hardware lists. Fortunately, this motherboard has ¹⁄₂mPCI-E slot, allowing popular laptop WiFi choices, like Azurewave AW-CE123H.

I use ASUS BT-400 USB dongle (via BrcmPatchRAM) and Atheros 9287 PCI-E WiFi (requires replacing IO80211Family kext in /S/L/E and hardwareID spoofing. Not ideal, but cheap).

General
UEFI settings
Disable VT-d, CSM, set SATA to AHCI, disable Agressive Link Power Management. Disable IR, serial and floppy drive.

MSR 0xE2 requires patching firmware — see UEFIPatch. Latest UEFI is 2.90A from 2018 (Spectre/Meltdown microcode update and NVMe support).

DSDT edits
Errors:
  • Min/Max/Len/Gran… — set length to 1
  • Invalid object type FDE… — FDC is floppy drive device, it must be removed completely, anyway.
  • Non-hex letters must be upper case — do as it says, convert to upper case.
Warnings:
  • ResourceTag larger than Field — change to CreateQWordField.
  • Result is not used — replace with Acquire (MUT0, 0xFFFF).
  • Method Local0 is set… — do not touch — it’s related to _OSI, changing it might break that.
  • Not all control path… — usual, add Return (Zero). In _HID add it to If (TCMF){ } block.
  • Legacy Processor() keyword — iasl version is just too recent for this MB.
Other fixes:
Fortunately, here’s complete patch for exactly this motherboard in ASRock patches repo by pjalm (already included with acidanthera’s MaciASL build).

Unfortunately, it is not quite compatible with Catalina and requires some edits. As license does not allow me to upload modified patch, here’s detailed description:

  • External fixes — not needed, cosmetic, harmless.
  • Add DTGP — won’t harm, but it’ll probably be unused.
  • :warning:
    Add Darwin…_OSI patch — provided patch is for Windows XP. Use one from Windows 7 instead.
  • :x:
    EC renames (into device label EC0...) — do not use this, it’s incompatible with Catalina. We’ll have SSDT-EC for that.
  • :x:
    into_all all code_regex 0x000EC00 ... — does not compile. Another similar patch is okay.
  • Then some fixes for warnings that we already done.
  • Method _CRS in CIR and similar — these change some methods into Serialized.
  • :warning:
    Fix TPM — already fixed above, and in a better way.
  • MCHC, SMBUS, LPC fixes.
  • :x:
    Rest of the patch adds device properties and some renames. Do not use. First, you’d better inject them though Clover Devices/Properties, if that ever required. Second, corresponding Lilu plugins would do some of that automatically.
  • :x:
    USB patches. Do not use. Same story — we’ll use USBInjectAll with custom SSDT.
Then that patch recommends applying graphics patches — do not. Just use WEG.

Also apply Mutex fix.

SSDTs
Drop tables: SSDT-1 (Cpu0Ist), SSDT-2 (CpuPm).
Custom SSDTd:
  • SSDT-EC, SSDT-HPET, SSDT-PLUG (if not using PluginType in clover) — generated by SSDTTime.
  • SSDT-UIAC — generated by USBmap script.
Clover config
Again, it is strongly advised to use specialized plist editor or at least programming-class text editor (see required software above). Anything else will break your config file, which will result in non-booting system.

ACPI
  • Fixes — FixRegions and FixHeaders. Everything else is not required.
  • Patches
    • HPET rename and two IRQ patches — from SSDTTime, required to go with SSDT-HPET.
    • USB renames EHC1→EH01, EHC2→EH02, XHCI→XHC_, XHC1→XHC_
    • SAT0→SATA
  • SortedOrder — required for SSDT-HPET.
Devices
Properties — use Hackintool to generate properties injections for audio (layout 1) and iGPU.

KernelAndKextPatches
  • KernelXCPM = true
  • AppleIntelCPUPM = true if MSR 0xE2 is locked (unpatched BIOS)
  • Everything else set to false
  • KextsToPatch — a bunch of patches for AppleAHCIPort kext. Two patches by SunKi supposedly work only on 10.13, but I left them just in case
 

Attachments

  • ASRock Z77 Extreme6.zip
    1.4 MB · Views: 261
Last edited:
Joined
Sep 3, 2010
Messages
50
Motherboard
ASUS K501UQ
CPU
i3-6100U
Graphics
HD 520
Updates and errata

I am preparing OpenCore config for this motherboard. Also, I managed to enable all USB ports.
Ok, here is it. I should post it here sometime later.

Found cause for S/PDIF problem. Incompatible bit depth/rate with DAC. Check Audio MIDI setup app if you experience such problems.
 
Last edited:
Joined
Jul 21, 2014
Messages
4
Motherboard
ASRock Z77 Extreme 6
CPU
i7 3770
Graphics
ATI Radeon RX 580 4Go
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hello Fullmoon !
I have the same motherboard as you, and think back to the hackintosh that I left a while ago, after a bad experience with Ozmosis..

I follow your messages with interest !!
Be back soon...
 
Joined
Sep 3, 2010
Messages
50
Motherboard
ASUS K501UQ
CPU
i3-6100U
Graphics
HD 520
Hello Fullmoon !
I have the same motherboard as you, and think back to the hackintosh that I left a while ago, after a bad experience with Ozmosis..

I follow your messages with interest !!
Be back soon...
Hi! Please consider this guide deprecated.
Latest guide (using OpenCore) is here, I'll upload it to this forum in a couple of days.
 
Joined
Jul 21, 2014
Messages
4
Motherboard
ASRock Z77 Extreme 6
CPU
i7 3770
Graphics
ATI Radeon RX 580 4Go
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
OK i'm going looking for it, thanks !
Just a question, which SMBios are you using ? it seems to me that i got better results with the iMac13.2...

And did you manage to make it work iMessage and iCloud under OpenCore (or Clover) ?

Thanks a lot ;)
 
Joined
Sep 3, 2010
Messages
50
Motherboard
ASUS K501UQ
CPU
i3-6100U
Graphics
HD 520
OK i'm going looking for it, thanks !
Just a question, which SMBios are you using ? it seems to me that i got better results with the iMac13.2...

And did you manage to make it work iMessage and iCloud under OpenCore (or Clover) ?

Thanks a lot ;)
Ah, yes, iMac13,2. As for iMessage — I don't use it, but iCloud and App Store work for me. I followed this guide.
I should mention that in the guide, thanks.
 
Status
Not open for further replies.
Top