Contribute
Register

[SUCCESS] Gigabyte Designare Z390 (Thunderbolt 3) + i7-9700K + AMD RX 580

Here it goes!
This is very puzzling. Maybe we should wait for next version since a hot fix was added 4 days ago. Probably best to revert to 0.7.3 until 0.7.6 comes out...

Screen Shot 2020-03-28 at 6.01.08 PM.png
 
Hey all, I'm finally trying to upgrade from Mojave to Catalina and I'm having some issues.


First off, I downloaded the latest versions of Lilu, WhateverGreen, and AppleALC, and placed them in CLOVER/kexts/Other and /Library/Extensions. I then ran Kext Utility. I also disabled everything in Kernel and Kext Patches and then I saved the config.

I ran the Catalina installer, restarted, chose Boot MacOS Install from Samsung, and then got the the issue in the attached image.

I've been searching around but have limited things to go off of... any suggestions? I've tried running the install app again, but upon restart I get the same issue.
This is a very common problem with 10.15.4. We may need to wait for next releases of various kexts, but in the meantime you might try:
  • Update Clover to 5107
  • Clear NVRAM by pressing F11 at Clover Boot Menu
 
** Micro-Guide: Unlocking MSR 0xE2 on Gigabyte Designare Z390 **
Please do not quote this micro-guide in its entirety. Post a link instead.

Update 21 May 2020: Thanks to @nightmac for this post in which unreleased beta BIOS F9g finally contains an option to disable CFG-Lock. If you install that version (at your own risk) then simply disable CFG-Lock from BIOS Setup and ignore the rest of this guide. Click here for screenshot and download link.​


The procedure below is no longer necessary. Simply install BIOS F9g (click here) or newer, then go to BIOS Setup --> Boot and set CFG-Lock to Disabled.


This guide will unlock the MSR 0xE2 register (CFG-LOCK = unlock). It is applicable only to the Gigabyte Designare Z390 with firmware versions F4 through F9b.
  1. Find a spare USB flash disk. It may be USB 2 or USB 3 with a capacity of 1GB or more. Everything on the USB disk will be deleted.
  2. Boot macOS and insert the USB disk into a port on the front of the PC or the rear IO panel.
  3. Run Disk Utility and follow the 5 steps shown.
    Screen Shot 2019-05-20 at 6.30.57 PM.png
  4. When the formatting is complete, the USB flash disk will be mounted with the name MSR EFI.
  5. Use Clover Configurator or EFI Agent to mount the EFI partition of this USB disk. A new disk will be mounted on the desktop, with the name EFI.
  6. Download the attached file Unlock-MSR-E2.zip and unzip it if it does not unzip automatically.
  7. This will create a folder called Unlock-MSR-E2. Inside this folder is another folder called EFI.
  8. Copy this EFI folder to the EFI partition of the USB flash disk.
  9. The USB flash disk should now look like this:
    Screen Shot 2019-05-20 at 6.46.35 PM.png
  10. Leave the USB disk plugged into the Hackintosh and reboot.
  11. At the BIOS splash screen, press F12 to bring up the BIOS Boot Menu.
  12. Choose the USB flash disk.
  13. You will now be presented with the grub> prompt.
  14. We will use the command setup_var_3 to modify the CFG-Lock parameter. But first, type the following command to check the current value:
    • setup_var_3 0x5C1
  15. You might see two replies.
    • Reply 1 will be from a Setup variable that is over 5000 bytes.
    • Reply 2 will be from a Setup variable that is only 9 bytes long. This reply will be followed by a message indicating that this particular variable will be ignored. This is what we want. We don't want to change this 9-byte variable. Instead, we want to change the bigger 5000+ byte variable.
  16. If everything looks good so far, you are ready to make the change. Type this very carefully:
    • setup_var_3 0x5C1 0x0
    • This stores the value 0x0 into the CFG-Lock parameter, which disables it.
  17. Verify that the change was made by typing:
    • setup_var_3 0x5C1
    • The returned value should be 0x0 instead of 0x1.
  18. Type exit to reboot. Remove the USB flash disk. You are done.
  19. Keep the USB disk safe as it will most likely be needed again in the future. Label the USB disk.

URGENT NOTE:
  • MSR 0xE2 will definitely be relocked whenever the motherboard firmware (BIOS) is updated or re-flashed.
    • In this case, unlock MSR 0xE2 by booting from this USB disk and repeating steps 14 through 18.
  • MSR 0xE2 will likely be relocked whenever CMOS Reset is performed.
    • After each CMOS Reset, boot from this USB disk and repeat step 17 to check if the value of 0x5C1 is still 0x0 (which means MSR 0xE2 is unlocked).
    • If MSR 0xE2 has been locked, boot from this USB disk and repeat steps 14 through 18 to unlock it once again.
 

Attachments

  • Unlock-MSR-E2.zip
    3 MB · Views: 1,331
Last edited:
**Mini-Guide for Fresh Installation of Catalina 10.15.4 and Newer **
** Please do not quote this guide in any post -- use a link instead **
This guide requires unlocking the MSR 0xE2 register. Details are in the procedure.

6-Apr-2020: Reports of System Crashes with 10.15.4 Especially During Large File I/O
9-Apr-2020: Do not use Clover 5109

Warning for MSI RX 5700 XT Owners (only the MSI version):
  • If you have an RX 5700 XT made by MSI, it might not work with this guide so please follow the previous guide (click here) and install 10.15.3 or earlier. All other brands of RX 5700 / 5700 XT can follow the guide below.
  • Also refer to these tips by @digimax.
This Guide...
  • Supports installation via a discrete AMD GPU or internal iGPU (Intel UHD 630).
  • Uses OcQuirks, OcQuirks.plist and FwRuntimeServices (from ReddestDream GitHub site, Revision 15) instead of OsxAptioFix2Drv-free2000.
  • Uses VirtualSMC from the beginning.
  • Applies all custom SSDTs from the beginning. No USB Port Limit patches are needed.
    • Hides Intel CNVi WiFi/BT card from macOS.
    • Enables Thunderbolt hot plug.
    • Configures USB ports and enables high-current delivery.
  • Sets shikigva=16 to allow DRM content playback in TV, Music, and Podcast apps.
  • Uses Clover 5107 or newer.
  • Uses the modified SmallTreeIntel82576 kext that directly supports Intel i211 Ethernet. No need for FakePCIIID.kext and FakePCIID_Intel_GbX.kext.
  • Sets boot parameter agdpmod=pikera to prevent black screen problem with some RX 5700 series GPUs.
  • Sets AppleALC layout ID to 11. This allows the front headphone jack to work just as well as the rear green jack.
  • Assumes there's a Broadcom 94360-based WiFi/BT card (such as Fenvi FV-T919) in the bottom short PCIe x1 slot. If you don't have such a WiFi/BT card, you should still be able to use this guide.
  • Uses Clover kext injection instead of installing kexts in /Library/Extensions.
  • The May 2020 Update - Catalina 10.15.4 Fresh Install.zip also contains these features:
    • NVMeFix.kext for improved power management of NVMe SSDs.
    • USBWakeFixup.kext and associated SSDT-USBW.aml for proper one-key wake from sleep (do not use darkwake boot argument).
    • Boot argument igfxfw=2 to allow macOS to load its GuC (Graphics MicroCode) to the iGPU for improved clock speeds.
    • Uses OcQuirks-22 as the EFI memory driver.
    • Sets shikigva=80 instead of 16.
Preparation:
  • The complete macOS Catalina installer can be downloaded by following the video in this post or the detailed screenshots in this post.
  • This procedure depends on Native NVRAM.
    • This guide will do most of the work for you, but you must unlock your motherboard's MSR 0xE2 register by following the simple Micro-Guide located here.
    • Unlocking MSR 0xE2 register is required. This installation process will fail immediately if this is not done.
  • If you only have the internal iGPU (Intel UHD 630):
    • You must use the on-board iGPU to install Catalina.
    • You must use an HDMI cable from the rear IO panel to your HDMI monitor (do not use a TV).
    • In BIOS, iGPU must be enabled.
    • In BIOS, Initial Display Output should be set to IGFX.
  • If you have a supported AMD GPU (AMD RX 560, RX 570, RX 580, RX 590, Vega 56, Vega 64, Radeon VIII, RX 5700, RX 5700 XT):
    • The card can and should be installed.
    • Connect your monitor (not TV) to the AMD GPU.
  • Set BIOS parameters according to main guide in Post #1.
  • Refer to NOTES 1 through 7 at the top of Post #1 for important compatibility issues.
  • Please use Clover Configurator 5.9.4.0 or newer when making changes to config.plist later in this guide.
Notes:
  1. When installation is completed, Thunderbolt status can be checked by looking at System Information --> PCI instead of System Information --> Thunderbolt.
  2. If using a Samsung EVO 970 Plus NVMe SSD, please ensure it has the latest Samsung firmware. Please see NOTE 5a at the top of Post #1.
  3. Review all 7 NOTES at the top of Post #1.
  4. USB 2.0 devices will not work when connected to any of the USB-C ports. This includes the two Thunderbolt ports on the rear IO panel and a USB-C port on the computer case if your case supports it. USB 3.x devices, however, will function properly. This was done intentionally in order to avoid exceeding the macOS limit of 15 USB ports per controller.
  5. USB-C devices will work when both of these criteria are met:
    • USB-C device natively supports USB 3.x.
    • USB-C cable itself explicitly supports USB 3.x. Most USB-C cables do not support USB 3.x so please check carefully. Here's an example from Amazon.
Step 1: Create USB Install Disk
  • Use a 16 to 32 GB flash drive.
  • Format the USB drive in Disk Utility. Select View --> Show All Devices and click the parent name of your USB drive on left sidebar. Failure to do so will be catastrophic. Then select Erase and enter:
    • Name: Catalina-USB (use exactly this name)
    • Format: MacOS Extended (Journaled) --- do not use APFS here
    • Scheme: GUID Partition Map
  • Download Catalina installer (see bullet 1 under Preparationabove). Check that it's in the Applications folder.
    • Also check that the USB disk has been mounted and its name is Catalina-USB
    • Open a Terminal window and type:
      sudo "/Applications/Install macOS Catalina.app/Contents/Resources/createinstallmedia" --volume /Volumes/Catalina-USB
    • Enter your Mac password when requested.
    • This step will cause your USB install disk to be renamed to Install macOS Catalina.
    • If you encounter any errors, stop and report those errors.
  • Download Clover v5110 through v5122 (avoid v5123 and newer for now) from GitHub by clicking here and downloading the xxxx.pkg file.
    • Launch the Clover installer and allow the app to run (System Preferences --> Security & Privacy --> General).
    • Click Continue, Continue, Change Install Location... and select the USB flash disk!
    • Then click Customize -- don't overlook this.
    • These 2 buttons are located here:
      Screen Shot 2019-11-17 at 4.32.34 AM.png
    • Check that the Customize page looks exactly like this:
      Screen Shot 2019-11-17 at 4.33.04 AM.png
    • Click the Install button.
  • Copy Clover Configurator to the standard partition of the USB flash disk (not the EFI partition).
  • The EFI partition of the USB install disk will already be mounted (Clover installer will do this automatically).
    • Open the EFI Folder on the EFI partition of USB disk. You'll see a CLOVER folder, of course.
    • Open the CLOVER folder.
    • Download the attached Catalina 10.15.4 Fresh Install.zip into your Downloads folder on the Mac (not on the USB disk). May 2020 Update: You may instead download the newer ZIP file: "May 2020 Update - Catalina 10.15.4 Fresh Install.zip".
      • Open the CLOVER/drivers/UEFI folder on the USB disk (EFI partition) and:
        • Delete all files in that folder and empty the trash.
        • Locate the folder Copy-to-drivers-UEFI in the above ZIP file you downloaded.
        • Copy all .efi and .plist files from this folder into CLOVER/drivers/UEFI
      • Open the CLOVER/kexts/Other folder on the USB disk (EFI partition) and:
        • Delete all files in that folder and empty the trash.
        • Locate the folder Copy-to-kexts-Other in the above ZIP file you downloaded.
        • Copy all .kext files from this folder into CLOVER/kexts/Other
      • Open the CLOVER/ACPI/patched folder on the USB disk (EFI partition) and:
        • Locate the Copy-to-ACPI-patched folder in the above ZIP file you downloaded.
        • Copy all .aml files from this folder into CLOVER/ACPI/patched
      • There are two plist files in this ZIP:
        • config-Internal-GPU.plist
        • config-AMD-GPU.plist
        • If you only have the internal iGPU (Intel UHD 630):
          • Copy the file config-Internal-GPU.plist to the CLOVER folder on the USB disk (EFI partition) and rename it to simply config.plist.
        • If you have a supported AMD GPU (AMD RX 560, RX 570, RX 580, RX 590, Vega 56, Vega 64, Radeon VIII, RX 5700, RX 5700 XT):
          • Copy the file config-AMD-GPU.plist to the CLOVER folder on the USB disk (EFI partition) and rename it to simply config.plist.
        • Now run Clover Configurator and open your config.plist from the CLOVER folder on USB disk.
        • We will make changes to the SMBIOS and RtVariables sections as shown in the two screenshots below.
          • First, click the pop-up button in SMBIOS and select iMac19,1 in order to generate serial numbers. This is shown below:
            Screen Shot 2019-12-08 at 10.17.48 AM.png
          • Next, click RtVariables and follow the two steps shown. Step 1 requires you to press Generate to create a ROM ID. Step 2 requires you to copy the Board Serial Number from SMBIOS and paste it into MLB.
            Screen Shot 2019-12-08 at 10.18.06 AM.png
          • If you are using an AMD GPU, and that GPU is not RX 5700 or RX 5700 XT, then you may optionally delete agdpmod=pikera from Boot Arguments as shown:
            Screen Shot 2020-03-28 at 6.52.19 PM.png
        • Everything else is already set in this file. So save it and quit Clover Configurator.
  • Eject the USB flash disk.
Step 2: Install Catalina (note the difference between BIOS Boot Menu and Clover Boot Menu)
  • Insert the USB install disk into the Hackintosh and boot.
  • Press F12 at BIOS Splash screen to bring up the BIOS Boot Menu and select the USB flash disk.
  • When Clover Boot Menu appears, select Boot macOS Install from Install macOS Catalina
  • Follow the onscreen progress and report any issues.
  • When the installer starts, you'll need to run Disk Utility from inside the installer, select your target Catalina NVMe SSD, and format it.
    • Be sure to select View --> Show All Devices and click on the parent name of the Catalina SSD. Failure to do so will be catastrophic.
    • Then select:
      • Name: Catalina (you can change it later)
      • Format: APFS
      • Schema: GUID Partition Map
    • Then begin the macOS installer.
  • There might be one or two reboots.
    • Each time the system reboots, press F12 at BIOS splash screen to open the BIOS Boot Menu.
    • Select the USB install disk from the BIOS Boot Menu.
  • Now you'll be back at the Clover Boot Menu:
    • Whenever you see a boot option called Boot macOS Install from Catalina or Boot macOS Install from Catalina - Data, choose that option.
    • Do not select the USB disk.
  • NOTE 1:
    • MacOS installation will resume and you'll see X Minutes Remaining.
    • It may take up to 10 minutes for the number "X" to begin to count down.
    • So if you see, for example, "28 Minutes Remaining", it may stay like that for 10 minutes before the number 28 counts down.
    • If it takes more than 15-30 minutes to begin the countdown, let us know.
  • If everything goes according to plan, you'll be greeted with the Catalina Welcome screen.
    • Follow the onscreen guide.
    • You may sign in to iCloud when asked.
  • If you encounter any problems, stop and let us know.
  • NOTE 2:
    • If you have a monitor that supports High Dynamic Range (HDR) then it is possible that HDR mode will be enabled, causing washed out colors on the screen. In this case simply open System Preferences --> Displays and uncheck High Dynamic Range as shown:
      Screen Shot 2020-03-28 at 6.59.50 PM.png
Step 3: Post Installation
  • We'll make this really simple.
  • Run Clover Configurator which was copied to the USB flash disk in Step 1.
    • Click Mount EFI on left sidebar of Clover Configurator
    • Mount EFI partitions of (a) USB flash disk and (b) Catalina SSD.
    • Copy the entire EFI Folder from EFI partition of USB disk to EFI partition of Catalina SSD.
    • To stop the detailed log messages from appearing during boot and shutdown, open config.plist from the CLOVER folder and remove the -v Boot Arguments flag.
  • Eject USB flash disk.
  • Open System Preferences --> Energy Saver and uncheck Wake for network access in order to prevent severely degraded WiFi performance after waking from sleep. This is shown below.
    Screen Shot 2019-12-10 at 3.53.05 AM.png
    • Update 31-Mar-2020: Wake for Network Access is no longer degrading WiFi speed after wake-from-sleep. So this feature may be turned on. If you do notice a significant slowdown in WiFi speed after wake, simply turn it off.
  • Reboot directly from Catalina SSD.
  • Does it work? Report any issues.
  • If everything is working, make a full bootable backup. See Post #1, Easy Bootable Backup for instructions.

Installation Complete. You made it!
  • A comprehensive guide to fixing sleep/wake problems has been posted here.
  • If your system is rebooting or freezing regularly:
    • One possible solution might be to remove agdpmod=pikera (if not using RX 5700 or RX 5700 XT). Please see the 3 consecutive posts starting with this one.
    • Another possible cause might be a power supply unit (PSU) that is too old or too weak to accommodate the peak demands of your system (under load).
    • A third possibility (particularly for RX 5700 and RX 5700 XT owners) might be to disable WhateverGreen at least temporarily by adding the boot argument -wegoff
    • Also look at this post about (a) Simplification and (b) Process of Elimination.
  • For latest information about DRM content playback and shikigva values, please see this post by @jaymonkey.
  • If you experience sleep/wake issues, please see this Sleep Aid for Designare Z390.

Optional Extras:
  • If you're experiencing problems with AirPlay and Sidecar, try using shikigva=80 in Clover Configurator --> Boot Arguments. @StefanAM pointed out that Netflix and Sidecar cannot function at the same time. Please see this post.
  • A new version of the EFI memory driver is available in the attached file OcQuirks-22.zip. (Previous OcQuirks-20.1.zip is still available below.) Updating to this version is completely optional and there's no rush to do it. OcQuirks-22 is already included in May 2020 Update - Catalina 10.15.4 Fresh Install.zip.
    • To update:
      • Mount EFI partition of the macOS SSD.
      • Delete the existing EFI memory driver, which consists of these 3 files in CLOVER/drivers/UEFI:
        • OcQuirks.plist
        • OcQuirks.efi
        • FwRuntimeServices.efi
      • Empty the trash.
      • Copy the following three files from OcQuirks-22.zip:
        • OcQuirks.plist
        • OcQuirks.efi
        • OpenRuntime.efi

Please keep in mind that MSR 0xE2 (CFG-Lock) can get relocked automatically (a) when firmware (BIOS) is updated and (b) when CMOS Reset is performed. Please see the Micro-Guide to re-lock MSR 0xE2.


EDITS:
  • 28-Mar-2020: First version.
  • 29-Mar-2020: Added Optional Extra -- OcQuirks-20.1.zip.
  • 28-Apr-2020: Added Optional Extra -- OcQuirks-22.zip.
  • 06-May-2020: Added May 2020 Update - Catalina 10.15.4 Fresh Install.zip -- alternative full set of files for fresh Catalina 10.15.4 installation.
  • 22-Oct-2020: Added a statement to use only Clover versions 5110 through 5122. Avoid Clover 5123 and newer for now.
 

Attachments

  • Catalina 10.15.4 Fresh Install.zip
    1.6 MB · Views: 1,582
  • OcQuirks-20.1.zip
    29.5 KB · Views: 787
  • OcQuirks-22.zip
    30.8 KB · Views: 668
  • May 2020 Update - Catalina 10.15.4 Fresh Install.zip
    1.6 MB · Views: 1,629
Last edited:
(Figured out my mistake :) )

I did a “mount —rw /“ in order to disable “mediaanalysisd”...root was staying RW post reboot.

Just had to:

1) Reboot
2) Do a "mount -ur /"

Thanks,
Lam
 
Last edited:
Issues with clean new install of Catalina 10.15.4.
@CaseySJ
I have a system very similar to yours (Z390designare+i9900+5700XT+64GB+Samsung970 1tb).
I have installed new copy (downloaded on my Mac) of 10.15.4 from scratch using OpenCore 0.5.6.
The system is booting fine. I haven't checked yet if all the USB ports were visible. I am connecting via ethernet and for some reason have bluetooth working (I thought it was not supposed to work along with the Wifi).
Unfortunately the Thunderbolt does not seem to work.
When looking at System report under Thunderbolt. I am getting "Thunderbolt no hardware". I would expect to see something like on my MacBook Pro : Thunderbolt bus. Correct me if I am wrong.
I am using your hot-plug aml file SSDT-Z390-DESIGNARE-TB3HP-V4.aml
Any idea on how to solve the issue? note that I am a newbie.

Forgot to mention that I made all of necessary bios modifications:
VT-d & CSM disabled Thunderbolt no-security Thunderbolt USB enabled.

Thanks for any help
Eric
 
Issues with clean new install of Catalina 10.15.4.
@CaseySJ
I have a system very similar to yours (Z390designare+i9900+5700XT+64GB+Samsung970 1tb).
I have installed new copy (downloaded on my Mac) of 10.15.4 from scratch using OpenCore 0.5.6.
The system is booting fine. I haven't checked yet if all the USB ports were visible. I am connecting via ethernet and for some reason have bluetooth working (I thought it was not supposed to work along with the Wifi).
Unfortunately the Thunderbolt does not seem to work.
When looking at System report under Thunderbolt. I am getting "Thunderbolt no hardware". I would expect to see something like on my MacBook Pro : Thunderbolt bus. Correct me if I am wrong.
I am using your hot-plug aml file SSDT-Z390-DESIGNARE-TB3HP-V4.aml
Any idea on how to solve the issue? note that I am a newbie.

Forgot to mention that I made all of necessary bios modifications:
VT-d & CSM disabled Thunderbolt no-security Thunderbolt USB enabled.

Thanks for any help
Eric
Please see Note 1 from the top of the Catalina Mini-Guide:

Screen Shot 2020-03-28 at 7.20.30 PM.png


Also note that internal Bluetooth does not actually work. It's an illusion. We must use the USB SSDT to disable HS14 and use a Mac-compatible WiFi/BT card such as Fenvi FV-T919.
 
SSDT's are a type of patch that are applied to get on board devices up and running. They are located in your EFI partition on your boot drive like this "EFI/CLOVER/ACPI/patched" see pic. As far as i know this is what the folder should look like to get UAD devices to work, but I am not sure as I haven't been able to get my Apollo 16 to work properly (connects, no audio). Also, after seeing your thread you posted, check the bios settings for thunderbolt on the first page of this thread, they should apply to your board as well.

@jiffyslot may have the answer to all this i suspect.
 

Attachments

  • Screen Shot 2020-03-28 at 23.00.38 1.png
    Screen Shot 2020-03-28 at 23.00.38 1.png
    706.2 KB · Views: 301
Last edited:
Hey all, I'm finally trying to upgrade from Mojave to Catalina and I'm having some issues.


First off, I downloaded the latest versions of Lilu, WhateverGreen, and AppleALC, and placed them in CLOVER/kexts/Other and /Library/Extensions. I then ran Kext Utility. I also disabled everything in Kernel and Kext Patches and then I saved the config.

I ran the Catalina installer, restarted, chose Boot MacOS Install from Samsung, and then got the the issue in the attached image.

I've been searching around but have limited things to go off of... any suggestions? I've tried running the install app again, but upon restart I get the same issue.
Just update clover to 5107...
 
@Loloflatsix Forcing some of the Power states within the firmware should definitely help.

That's how Apple does it particularly aswell.
 
Back
Top