Jump to content

[GUIDE] Gigabyte GA-Z370N-WIFI + i7 8700K + UHD 630 + Catalina 10.15.5


ludufre
 Share

73 posts in this topic

Recommended Posts

Installing macOS Catalina 10.15.5 on Gigabyte Z370N WIFI + i7 8700K + UHD 630

image.thumb.png.5ae699513a2e4e5fb095b93757238fb2.png



Changelog:

 

06/10/2020 14:51h GMT-0

- Fixed dual screen issue in 10.15.5. Thanks @khamsakamal48

 

05/27/2020 20:02h GMT-0

- Update instructions 10.15.5.

 

03/24/2020 20:23h GMT-0

- Update instructions 10.15.4.

 

01/30/2020 23:54h GMT-0

- Update instructions 10.15.3.

 

12/11/2019 03:58h GMT-0

- Update instructions 10.15.2.

- Updated EFI folder attached.

 

11/30/2019 18:03h GMT-0

- Changed Device -> Graphics platform to fix dual HDMI monitor.

- Updated EFI folder and config.plist

 

11/29/2019 21:28h GMT-0

- Added full EFI folder as requested.

 

11/27/2019 02:33h GMT-0

- Added BIOS profiles for ease.

 

11/25/2019 22:45h GMT-0

- Fixed wrong ethernet link (IntelMausi.kext).

- Thanks to @MiMoHo

 

11/24/2019 04:56h GMT-0

- First version.

 

What works and what does not
 
- Processor: Intel Core i7-8700K -> Tick.png Work. All SpeedStep stages.
- Video Card: Intel UHD 630 -> Tick.png Work. QE/CI and Metal.
- Chipset: Intel Z370 -> Tick.png Work.
- HDMI 2.0 (1st) -> Tick.png Work.

- HDMI (2nd) -> Tick.png Work.

- DP -> Tick.png Work.

- Audio: ALC1220 -> Tick.png Work.

- HDMI Audio -> Tick.png Work.
- WiFi/Bluetooth -> Cross.png Not work. Replaced with BCM94360CS2.

- Ethernet (1st) -> Tick.png Work.
- Ethernet (2nd) -> Tick.png Work.
- USB3.0 -> Tick.png Work.
- Sleep -> Tick.png Work.

- Airdrop, Handoff, Instant Hotspot and Continuity -> Tick.png Work after replaced wireless.

 

 
Todo

 

- Empty

 

What you need to install
 

- Running install of macOS
- One USB flash drive of 8GB or bigger
- macOS Catalina install app
- Clover EFI

- Clover Configurator

- Some KEXTs and SSDT patches


How create create the install flash drive
 
Prepare install flash drive


Format the flash drive with GUID partition mapping and name it "Install".

- Open Disk Utility.
- Click in View, then "Show All Devices".
- Select the destination flash drive, then Erase.
- Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map

 

Create install flash drive

Open terminal and run this command:

sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction

 This will take about 30 minutes.

 

image.png.dbfbb044438583c128d2b973252bc02e.png


Install bootloader

 

Download the CloverEFI from official repository (used 5099) and install only with these options on "Install macOS Catalina":

 
- Install for UEFI booting only
- Install Clover in the ESP
- UEFI Drivers - Recommended Drivers - FSInject (I still don't know if it's really necessary)

- UEFI Drivers - File System drivers - ApfsDriverLoader (Support to APFS partitions)

- UEFI Drivers - File System drivers - VBoxHfs (Support HFS/HFS+ partitions)

- UEFI Drivers - Memory fix drivers - AptioMemoryFix (Fix the memory management of de UEFI/BIOS)

- UEFI Drivers - Additional drivers - NvmExpressDxe (If you are going to use NVMe)

 

FileVault 2

 

If you plan to use FileVault 2, you need to download additional drivers, since what comes with Clover is not up to date and use VirtualSMC instead of FakeSMC.

Follow instructions bellow:

 

From current Clover installation, check these options to USB keyboard/mouse work on password screen:

- UEFI Drivers - Human Interface Devices - UsbKbDxe

- UEFI Drivers - Human Interface Devices - UsbMouseDxe

 

After Clover install will be created a partition named EFI and mounted in Desktop. Usually the path is /Volumes/EFI/.

 

Download the versions 2.1.0 and 2.0.9 of AppleSupportPkg from: https://github.com/acidanthera/AppleSupportPkg/releases

We need the last version of AppleGenericInput.efi that is inside 2.1.0 and last version of AppleUiSupport.efi that is inside 2.0.9.

OR download attached bellow.

 

Put in /Volumes/EFI/EFI/CLOVER/drivers/UEFI/

 

That's it! FileVault 2 will work without problems.

 

1706109418_CapturadeTela2019-11-24as02_09_11.png.53d232f32fb3b4026db757ab3ea2eff1.png564245242_CapturadeTela2019-11-24as02_09_16.png.08bad629cb449d2ffb7cedc4904594dd.png1196653437_CapturadeTela2019-11-24as02_09_40.png.cdfeb89253cd5a676b2b0a507745a424.png

 

 

 

Make things works
 

After Clover install will be created a partition named EFI and mounted in Desktop. Usually the path is /Volumes/EFI/.

 

- Replace the /Volumes/EFI/EFI/CLOVER/config.plist with mine attached below according to your processor version.

- Put all SSDT-*.aml attached below in /Volumes/EFI/EFI/CLOVER/ACPI/patched/

 

Generate your Serial, MLB and SmUUID

 

- Open the replaced config.plist with Clover Configurator (used 5.8.0.0)

- Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.

 

Copy the Clover Configurator to flash drive because you will need later.

 

Download those Kexts and put in /Volumes/EFI/EFI/CLOVER/kexts/Other/

 

- Download the VirtualSMC.kext, SMCProcessor.kext, SMCSuperIO.kext and UEFI driver (put VirutalSmc.efi inside /Volumes/EFI/EFI/drivers/UEFI/). I used the version 1.0.9.

Download the Lilu.kext from here. I used the version 1.3.9.

Download the WhateverGreen.kext from here. I used the version 1.3.4.

Download the AppleALC.kext from here. I used the version 1.4.3.

Download the USBInjectAll.kext from here. I used the version 2018-1108.

- Download the IntelMausi.kext from here. I used the version 1.0.2.

- Download the SmallTree-Intel-211-AT-PCIe-GBE.kext attached bellow to enable second ethernet.

 

Important! If you are coming from my previous Mojave guide, please note that I am using some kexts from other repositories / authors.

 

Wifi and Bluetooth (BCM94360CS)

 

Works out of box (plug 'n' play).

 

 

Now you can start the installation without problem (I guess).

 

 

How install

 

UEFI Setup Configuration and Installation

UEFI configuration
 

My BIOS is F10 (I use an 8th generation processor, so I don't need to upgrade)

 

You can configure manually or load my BIOS profile.

 

Manually:

- Shutdown and insert the flash.
- Power on with DEL pressed to enter BIOS setup.
- Change value: BIOS - CSM Support to Disabled
- Change value: BIOS - Secure Boot to Disabled
- Change value: Peripherals - Initial Display to IGP
- Change value: Chipset - VT-d to DISABLE
- Change value: Chipset - Internal Graphics to ENABLE
- Save & Exit Setup

 

or, BIOS profile

You can use one of my BIOS profiles attached bellow.

It's two versions. One stock (Geekbench 4: 5840/27384) and another with overclock [5.0 GHz] (Geekbench 4: 6360/30348)

- Put the profile in the root of the flash drive at EFI partition.

- Restart with DEL pressed to enter BIOS setup.

- Go to Save & Exit.

- Select Load Profiles.

- Select last option and then the flasdrive in the list.

- And finally choose MACOS_STOCK or MACOS_5GHZ.

- Save & Exit Setup

 

Then:

- Now, hold the F12

- In the list, select your flash drive.

Choose the flash drive (white icon).

 

The installer will start. 



Format destination disk

Format the disk with GUID partition mapping and name it "Macintosh".

- Select Disk Utility in the list, then press Continue.
- Click in View, then "Show All Devices".
- Select the destination Disk, then Erase.
- Name: HD, Format: APFS and Scheme: GUID Partition Map

Close Disk Utility.

Select "Install macOS", then Continue.
Follow instructions in screen.

After install

After first part install the system will reboot. Maybe you have to press ESC again and select the flash drive.
 

Choose the internal disk (gray hdd icon) if not already selected.


The second part of the installation will begin. This will take 16 minutes.


 

Post installation
 

Bootloader


When the second part of install finish, the system will reboot again.

After performing the user initial setup and go to the desktop, you need to make the system disk bootable.

Open the Clover Configurator from flash drive that you copied before.

Mount and open the flash drive EFI partition. (Inside Clover Configurator, Mount EFI -> Select flash drive in Efi Partitions list -> Mount Partition -> Open Partition)

 

Copy the EFI folder to desktop.

 

Go back to Clover Configurator, unmount the EFI partition of the flash drive and mount and open the EFI partition of internal disk.

 

Move the EFI folder from Desktop to EFI partition of the internal disk.

 

Eject the flash drive.

 

Move all Kexts from EFI partition of internal disk to /Library/Extensions and make kext cache, with those commands in Terminal:

sudo mv -R /Volumes/EFI/EFI/CLOVER/kexts/10.15/* /Library/Extensions/
sudo chmod -R 755 /Library/Extensions
sudo chown -R root:wheel /Library/Extensions
sudo kextcache -i /

Restart the system.

 

Last thing

 

Run this command in Terminal to disable hibernation (doesn't work in macOS):

sudo pmset -a hibernatemode 0

 

 

It's done!

 

 

System Updates

 

10.15.2

 

Before install, update the following kexts:

- Lilu.kext. I used version 1.4.0.

WhateverGreen.kext. I used version 1.3.5.

- AppleALC.kext. I used version 1.4.4.

(all download links above)

 

Download the latest CLOVERX64.efi.zip build. I used version 5100.

Mount EFI partition and unzip to:

- /Volumes/EFI/EFI/CLOVER/CLOVERX64.efi

- /Volumes/EFI/EFI/BOOT/BOOTX64.efi (rename the copy of CLOVERX64.efi to BOOTX64.efi

 

Install update. Will reboot at least four time.

 

 

10.15.3

 

Updated with success without changing anything.

 

 

10.15.4

 

Before install, update the following kexts:

- Lilu.kext. I used version 1.4.2.

WhateverGreen.kext. I used version 1.3.7.

- AppleALC.kext. I used version 1.4.7.

- VirtualSMC.kext. I used version 1.3.7.

(all download links above)

 

Download the latest CLOVER installer. I used version 5107.

- Install respecting the configuration mentioned above in "Install bootloader" section.

 

Install update. Will reboot at least four time.

 

 

10.15.5

 

- Same as usual, update all Kexts and Clover.

- Install Update, reboot.

 

If you like me, I had a problem with two monitors. I needed to roll back two Kexts of video from 10.15.4: FixGraphics10.15.5.zip

After replace, fix permissions and cache. Change AAPL,ig-platform-id to 00009B3E to fix it.


 
And last but not least
 
I would like to thank the following community members, by making these dream possible:
@crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas, @khamsakamal48 and all others members involved directly or indirectly.

 

Attachments

 

config.plist v2.zip

EFI v4.zip

Filevault 2 additional drivers.zip

SmallTree-Intel-211-AT-PCIe-GBE.kext.zip

SSDTs.zip

MACOS_5GHZ

MACOS_STOCK

 

 

 

Edited by ludufre
  • Like 8
Link to comment
Share on other sites

Hi @hatemjaber. I could never get bluetooth to work int he past, even in Mojave. The only solution that I found is use native wifi like BCM94360CS2 that I use. With that I have all bluetooth features working perfecltly, even personal hotspot.

 

But, bluetooth in Catalina in unsupported wireless cards is a know problem. (like DW1560, some people get work and some not)

Edited by ludufre
Link to comment
Share on other sites

I'll try to help you, even though I never made it work ... Let's go:

 

From what I understand, your wifi already works, right?
So you already have AirportBrcmFixup.kext, correct?

 

For bluetooth to work, theoretically we have to have the following kexts in /S/L/E:

 

BrcmPatchRAM3.kext

BrcmBluetoothInjector.kext

BrcmFirmwareRepo.kext

 

You have, right?

 

Try and older version that some peopply said is better: https://www.insanelymac.com/applications/core/interface/file/attachment.php?id=335073

Link to comment
Share on other sites

On 11/28/2019 at 2:35 AM, ludufre said:

11/27/2019 02:33h GMT-0

- Added BIOS profiles for ease.

 

Hi ludufre

 

I have a very similar set up and am having problems getting ALC1220 sound to work. Would it be possible to share your EFI folder so I can compare? 

 

Thanks and kind regards.

Link to comment
Share on other sites

11/29/2019 21:28h GMT-0

- Added full EFI folder as requested.

 

@gcc1 don't forget to open the config.plist with Clover Configurator and generate Serial, MLB, etc.

 

On 11/24/2019 at 2:24 AM, ludufre said:

Generate your Serial, MLB and SmUUID

 

- Open the replaced config.plist with Clover Configurator (used 5.8.0.0)

- Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.

 

Link to comment
Share on other sites

Thanks a lot for your guide @ludufre!

 

I have a Gigabyte Z370 Gaming 7, and using your config.plist (with my own 'legit' Serial!) totally fixed my 8700K's IGP output to my 4K Dell monitor.  I had figured out how to fix the "pink" image by setting the display with Whatevergreen to "HDMI" instead of DisplayPort, but your config got Mac OS to recognize the Display as 4K and now the display scaling looks great!

 

I'm using the IGP as a hack while I decided what AMD card to get.  I do miss the RTX 2070 I can use in Windows a little!

 

I'm using a "IOGEAR Bluetooth 4.0 USB Micro Adapter" for Bluetooth and handoff and copy/paste work perfectly, for what that's worth.

 

I also have a ALC1220 like @gcc1 and the sound isn't quite right.  It has "Headphone output," two 2 Line outs, and a Digital Out, but "headphone output" sends it out the "line out."  I will experiment with a different "layout" from https://github.com/acidanthera/AppleALC/tree/master/Resources/ALC1220 and see that helps, like 27 or 28.  But I have a FIIO E10K DAC which works fine, so it's not an emergency.

 

I just wanted to thank you!  Thanks so much for taking the time to post and share.  I've got 4 kids so time to reboot and test config.plist settings is very precious :)

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Hi @TurbineSeaplane.

 

I have never used AMD cards.

 

But if you already have a perfectly working installation on Mojave, theoretically you just need to update Kexts/Bootloader and keep the same config.plist.

 

Take a test: Create the installation stick with your config.plist and the authorized Kexts and see if you can start the installer.

  • Like 1
Link to comment
Share on other sites

1 minute ago, ludufre said:

Hi @TurbineSeaplane.

 

I have never used AMD cards.

 

But if you already have a perfectly working installation on Mojave, theoretically you just need to update Kexts/Bootloader and keep the same config.plist.

 

Take a test: Create the installation stick with your config.plist and the authorized Kexts and see if you can start the installer.


excellent idea...

 

when you say “authorized kexts” - I’m confused. From in your guide?  Or ones I use on Mojave?

Link to comment
Share on other sites

Just now, TurbineSeaplane said:

when you say “authorized kexts” - I’m confused. From in your guide?  Or ones I use on Mojave?

 

Sorry, it was the spell corrector. The right word is "updated".

 

Take a test: Create the installation stick with your config.plist and the updated Kexts and see if you can start the installer.

  • Like 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...