Contribute
Register

[Success] b1's "Mac Mini Killer" with macOS Mojave: i7-8700 | Gigabyte Z370N | RX560 | 16GB RAM

Joined
Mar 13, 2010
Messages
343
Motherboard
Gigabyte Z370N WIFI
CPU
i7-8700
Graphics
RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hi @serg1892 and thanks for your message, it's highly appreciated.

Don't worry, as long as I'm using this setup I'll keep posting updates - maybe I'll switch to OC eventually but Clover does its job just fine for the time being.

I'll keep my answers short knowing that you won't take it personally as a lot of your questions have already been a subject of discussion in this thread.

Let's go, shall we?


1. My EFI contains a DSDT which was patched on F13 for the specific dGPU/IGPU unit and therefore is tied to all sorts of dependencies.

Therefore using a different BIOS version is not a good idea.


2. Not a good idea either, dependencies again.

See, you're using my Hack Pro dGPU EFI and an USB mapping which was created for and on a different (IGPU) unit.

Simply doesn't work.

Just take a look at Ernie & Bert's back and forth on page 94.

Consider mapping your USB ports as a mandatory routine when you do a fresh install and/or update to a major system release version (say 15.x -> 16.x).

It takes about 15mins and isn't hard at all, just follow the posted link(s).


3. Open Clover Configurator, load a copy of your config.plist and generate your own CustomUUID.

Copy the generated value, close Clover Configurator WITHOUT saving your config.plist (you opened a copy of your config, didn’t you?).

Edit your config.plist with a decent Plist Editor and paste in the value you generated previously using Clover Configurator.


Scratch that, just using SMUUID should be fine.


4. Cloning your drive using CCC doesn't clone your EFI partition properly which is why you need your thumb drive to boot.

Using kobaltcore's EFIClone script solves this issue, follow the readme carefully.

Installing Clover on your internal drive and copying my EFI folder to your EFI partition afterwards might solve your problem as well, try.

Did you create your own custom boot entries as advised in the installation notes?
These values are tied to my own drives so you might run into all sorts of issues over time

I'm assuming that your internal drive is first on the list of boot drives in BIOS, right?


Would love to work in Shanghai so if you hear something about open vacancies in the field of Product/UX Design I'd be more than happy to have an after work drink from time to time. :)
 
Last edited:
Joined
Sep 28, 2018
Messages
54
Motherboard
z370n
CPU
i7-8700k
Graphics
VEGA RX 56
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
  5. Mac mini
Classic Mac
  1. iBook
  2. iMac
  3. PowerBook
Mobile Phone
  1. Android
  2. iOS
Captura de pantalla 2021-10-31 a las 14.30.05.png

update to mac os 12.0.1
open core 0.7.4
Z370N Wifi
F10BIOS
DW1560
MSI AIRBOOS RX VEGA 56
Ramon, you broke my heart;
1. My EFI contains a DSDT which was patched on F13 for the specific dGPU/IGPU unit and therefore is tied to all sorts of dependencies.

Therefore using a different BIOS version is not a good idea.
I was using your dsdt and it worked perfectly, but I understand that being custom is not the right thing to do.
I have simplified the efi folder.
Everything works.
Paste in MLB, Serial Number, Board Serial Number, SmUUID.
I'm sure you know it, but I don't know English and I use a translator.
 

Attachments

  • EFI.zip
    10.2 MB · Views: 13
Joined
Jul 30, 2018
Messages
217
Motherboard
GA-Z370N wifi
CPU
i7-8700K
Graphics
HD 630 - RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
View attachment 532746
update to mac os 12.0.1
open core 0.7.4
Z370N Wifi
F10BIOS
DW1560
MSI AIRBOOS RX VEGA 56
Ramon, you broke my heart;

I was using your dsdt and it worked perfectly, but I understand that being custom is not the right thing to do.
I have simplified the efi folder.
Everything works.
Paste in MLB, Serial Number, Board Serial Number, SmUUID.
I'm sure you know it, but I don't know English and I use a translator.
I had bad experience upgrading to Monterey

  1. I have Samsung 970 EVO NVME boot drive and there is some serious issues with its controller and trim in Monterey so it takes >2/3+ minutes to boot. As of now there is no solution
  2. Disk access was slow overall
  3. Airplay screen mirror to Mac not working (airplay 3 to LF TV doesn't work)
  4. My DW1560 was not working and my hackintosh was not able to see any Intrnal/external drives. I found that there is a special BluetoolFixup.kext to use and disable the Bluetoothinjector.kext
  5. Some of my programs were not working under Monterey.
  6. Sleep was not working properly, the machine would randomly wakeup with monitor on. Normally the monitor will not wakeup without second keypress.
Ultimately I went back to Big Sur.
Please share your experience.
 
Joined
Dec 19, 2018
Messages
20
Motherboard
Gigabyte Z370N WiFi
CPU
i7 8700
Graphics
Gigabyte RX 5700 XT Gaming OC 8G
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
Hi there!Thanks for answering my questions, I wish I could say that I have resolved all the issues, but sadly - no.

This is what a wrote previously and was banned, but for another reason. Well, I had time and now kinda managed to resolve everything. Anyway let's go along historical perspective.
My EFI contains a DSDT which was patched on F13 for the specific dGPU/IGPU unit and therefore is tied to all sorts of dependencies.

Therefore using a different BIOS version is not a good idea.

Because of this message I've decided to update BIOS to F13, it went well the system boots normally, although I realized that it did reset BIOS settings after the update, I turned back on the XMP profile 1 and "Internal Graphics - Enabled" ,and like in @b166ar 's initial guide set DVMT Pre-Allocated 128mb, DVMT Total Gfx Mem 256.

I guess that's for Intel UHD graphics to work alongside with 5700xt.

Although before iStatmenus would show Intel UHD graphics, now it doesn’t , but Geekbench 5 still has it, I’m not sure whether QuickSync is working or not, the method how to check whether it’s enabled that @b166ar proposed shows, that it doesn’t .
Screen Shot 2021-11-02 at 11.01.20 AM.png
I searched for other methods how to check it - according VideoProc and MacX Video Converter - I have it working.
Screen Shot 2021-11-02 at 11.04.23 AM.png
Screen Shot 2021-11-02 at 11.00.33 AM.png

It takes about 15mins and isn't hard at all, just follow the posted link(s).

Shame on me - but it took a few hours to realize that I dumb and can't figure it out.

I followed the guide you mentioned a hundred times already and everything before Port Removal Patch was good - I have deleted the USBport.kext with your mapping and put USBInjectAll.kext instead.
Then I started to read about Port Removal Patch - the guide shows how it works in the previous versions of OS

There are the patches you have used before and they disabled of course, I tried a few combinations, but none of them allowed me to see all the ports in Hackintool afterwards, so I kinda gave up.

And it seems like there are hundreds guides for OC' but not for Clover, so Youtube wasn't really helpful either - not a single guide about Port Mapping in Big Sur with Clover.


Apparently, It isn’t possible yet with Clover and Big Sur after 11.3(which I think could be mentioned in the original guide,), what I did - since I still have a backup drive with Catalina 15.7, I booted it with new EFI , followed all the instructions and yeah, now everything works with USB3 speed.
Scratch that, just using SMUUID should be fine.
This is something I can definitely do.

Cloning your drive using CCC doesn't clone your EFI partition properly which is why you need your thumb drive to boot.

Using kobaltcore's EFIClone script solves this issue, follow the readme carefully.

Installing Clover on your internal drive and copying my EFI folder to your EFI partition afterwards might solve your problem as well, try.

Thanks, I think this shouldn't be too hard, but I plan to do it after dealing with the USB port mapping, I'll keep you updated about which method worked for me.

It wasn’t easy actually. Let me explain:

First of all installing Clover into already installed MacOS always returns with an error, the EFI clone script actually does the job, but it still can’t be detected by BIOS(it also has to do something with updating the BIOS to F13),I found the solution here .

It wasn’t really straightforward, I had to actually guess on which partition my EFI is, luckily if it doesn’t find it there it just returns with error(I didn’t know that, so it was a bit scary), "diskutil list" doesn’t have any visual correlation with the results from “map” command in Clover Shell, but yeah now I boot from internal NVME.

Did you create your own custom boot entries as advised in the installation notes?

I made a custom entry for Windows Partition and set to hide “Recovery, Microsoft EFI”, now I only have three options - Gamestation (Windows 10),MacOs Clone(Catalina 10.15.7) and Big Sur Preboot.
WechatIMG22.jpeg

I tried to do a custom one for Big Sur, but guess didn’t dig too deep so it never worked, but I guess it’s more like cosmetic issue - can live with that.

I'm assuming that your internal drive is first on the list of boot drives in BIOS, right?

I guess when BIOS detects properly made EFI folder with Clover - it shows "UEFI OS on a ....." and it did showed it before on the internal NVME drive with OS, now it only shows this "UEFI OS" with thumb drive.

I still can choose the internal NVME to boot first in BIOS and it has EFI with Clover on it, but it just reboots a few times and then boots to Windows by itself.


Resolved this issue, but once again, it isn't only about not properly cloned EFI, also can be after BIOS update.

Would love to work in Shanghai so if you hear something about open vacancies in the field of Product/UX Design I'd be more than happy to have an after work drink from time to time. :)

Sadly, China is closed for 99% of the foreigners now, I can leave and go to my country, but won't be able to come back, people say that at least one more year it's going to be this way.

But I know some IT guys who has a really high salary, and if you a really high level expert you can even be in that 1% that enters.

And here was the text I actually got banned for, I guess I deserved that, won’t do it second time for sure.

My advice to check LinkedIn and other platforms for vacancies.If the company will be really interested in your services they can arrange your arrival here.

Alright, as a conclusion I can say that during past week or so, I've finished few projects with an intense GPU usage for video editing and visual effects, the computer works much faster due the clean instal I guess, so it still worth doing it once a year and have an ability to upgrade all the internal SSDs, CPU and GPU anytime I want.

Long live the Hackintosh!

Thanks!

P.S.My port mapping for all backside ports(six usb type A and one usb type C) and internal (HS10 if I recall correctly for wifi/bluetooth module) that works with @rramon 's Hack Pro EFI you can find in the attachments section.
 

Attachments

  • USBPorts.kext.zip
    1.3 KB · Views: 6
Joined
Jul 30, 2018
Messages
217
Motherboard
GA-Z370N wifi
CPU
i7-8700K
Graphics
HD 630 - RX 570
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
In this guide I will show you how to make your own USB port mapping by simply editing USBPorts.kext with a pList editor.

Some Background
In our Z370N board there are following USB ports

Port 1 to 8 USB 3 (Port 1 & 2 in front rest back)
Port 9 USB C
Port 10 Internal for WiFi & Bluetooth
Port 11 USB 2 (Front)

Remember that to define a USB 3/C you have to define both HS and SS Ports, that is the reason USB3/C are counted as 2 Ports for Apple's 15 port limit.



Download the attached USBPorts.kext
Right click on it
Show Package Contents
Click on Contents folder to find info.plist file
Open this file in a plist editor

Now as shown in my screenshot I will discuss the different coloured sections.

Blue
This you have to edit in both the places as per the SMBIOS definition you have put in your config.plist file. If not put correctly the kext will NOT work

Red
This value We ARE NOT CHANGING for our Mother Board as it will be the same for all Z370N WiFi, but for other users with different Boards will have to change. This value is available by

Click on apple logo in menu bar -> About This Mac -> System Report -> USB
PCI Device ID: + PCI Vendor ID:

Ports Section

You will notice that there are 15 ports defined as per Apple Limit
HS01,HS02,HS05 to HS011 - USB 2 definition
SS01,SS05 to SS08 - USB 3 definition
SS09 - USB C definition

The thing to remember is that USB 3 & C are defined as a pair of HS and SS ports while you define only the HS part for USB 2

Green
UsbConnector value defines the port type
0 = USB 2
3 = USB 3
9 = USB C
255 = Internal

See definition of HS01 & HS02. Both this ports are USB 3 type but for HS01 we have put the value = 3 and for HS02 we have put the value = 0 Because we are defining Port 2 as USB 2 and that is why there is no definition for SS02.

Cyan
The lowest port no 01000000 for USB 2 Port HS01 and this increase sequentially to 0B000000 for HS11.
For SS01 it is 11000000 and for SS09 it is 19000000.

Orange
The value of port-count depend on the last value of SS port definition. In our example it is 19000000. Now suppose if we have not defined USB Ports C which is Port SS09 and the last definition is port SS08 then the port count value will be 18000000

How to Edit and Map
Let us take one example. We are not going to use any of the front side ports and want to define all the back side ports

Rename HS01 to HS03 -> Change port value to 03000000 -> name to HS03
Rename HS02 to HS04 -> Change port value to 04000000 -> UsbConnector to 3 -> name to HS04
Delete HS11 (Frontside USB 2)
Rename SS01 to SS03 -> Change port value to 13000000 -> name to SS03
Copy SS03 definition and paste it before SS05 definition
Rename it to SS04 -> Change port value to 14000000 -> name to SS04
Save the file

DONE!

Screenshot 2021-11-03 at 1.16.39 pm.png
 

Attachments

  • USBPorts.kext.zip
    2.2 KB · Views: 8
Top