Contribute
Register

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

Yes, let's say you have Clover installed in the EFI partitions of drives A, B, and C. And assume that all three drives have Mojave. So the Clover Boot Menu will have at least these options:
  • Boot macOS from A
  • Boot Recovery from A
  • Boot macOS from B
  • Boot Recovery from B
  • Boot macOS from C
  • Boot Recovery from C
If you press F12 at BIOS splash screen and boot from Drive B, for example, then the entire Clover configuration from drive B will be in effect regardless of which disk volume you subsequent select. Even if you select Boot macOS from A or Boot macOS from C, the Clover configuration from Drive B will be in effect. This means:
  • config.plist from Drive B
  • kexts from Drive B
  • ACPI/patched from Drive B
  • EFI drivers from Drive B
This does indeed help us recover from a broken or corrupted EFI partition.


Native NVRAM is not involved in this particular case, as far as I know. Bluetooth devices typically need to be paired to their host controllers. You cannot use the Magic Mouse in macOS without first going through a pairing process with the Bluetooth controller inside your computer. Once the device is paired, information about the pairing is stored in NVRAM so subsequent reboots into macOS do not require re-pairing.

But in BIOS and Clover, the pairing information is not used. In fact, when you buy a new Mac with Magic Mouse and Magic Keyboard, those devices have to work out-of-the-box without being paired.

So the firmware on both Magic Mouse and Magic Keyboard was programmed to connect directly to an Apple WiFi/BT module while the computer is in the pre-boot stage.
Thanks so much!
As you said I had to first boot macOS and pair my keyboard, but from that moment it seems the pairing is active even when macOS is not booted, because as I said I’m able to use it at BIOS screen. What drives me crazy is why some people have this functionality while others don’t get the keyboard to work on BIOS
 
The IOReg indicates that all 4 internal USB 2.0 ports on F_USB1 and F_USB2 are actually connected to a 4-port USB hub on HS11. Because macOS imposes a limit of 15 USB ports, this has the advantage of being counted as 1 port. But the disadvantage is that we cannot independently set the ports to Internal or External. Bluetooth is connected, and there's a Sandisk Ultra and Sandisk Cruzer.

Because HS11 is a USB hub, we should set the Type to 0xFF. We should not change anything on HS12. If you have the original USB SSDT, please undo any changes made to HS12.

Also note that the Fractal Design USB SSDT from this build guide is not suitable for your motherboard. Instead, it would be best to go through this user-friendly procedure to create a custom USB SSDT:

As to why Bluetooth stops working, does it only happen when running Rig Manager? Are there any similar problem reports on the Rig Manager website? If you move the WiFi/BT card to a long slot, does it make any difference?

Thanks Casey - so I set HS12 back to "Zero" and left HS11 as 0xFF. It took two unsuccessful restarts with one kernel panic before I was back in macOS - no idea why.

I guess your discovery of the Internal USB Hub explains why the front USB 2 port kept working, so I decided to try to recreate the crash - which unfortunately was easy in Rig Manager.

But I realized not only Bluetooth stopped working, but several other/all USB ports (so not only the ones mapped to HS11).

I have searched for other people experiencing similar problems with Rig Manager but found none. Can you think of anything else worth testing before I wrap my head around creating a custom USB SSDT? I know that the one I have been using isn't perfect but I have learned which outputs provide real USB 3 speeds - so I don't mind unless this is what causes the crashes as well.
 
Hi all,

I have two somewhat interesting problems:

1. My computer will sleep and wake properly for days or a week. But sometimes I'll hit the keyboard, the hardware will be awake but nothing ever wakes up on my monitors. I usually hit the reset button or have to do a hard shut off to get Mac OS to boot and it will work for the next couple days. Sleeping properly puts the hardware to sleep.
2. My hack also shuts down abruptly when running the Heaven Unreal engine benchmark on ultra.


Hardware:

Processor: 8-Core Intel Core i9
Ram: 16 GB 2133 MHz DDR4 (2 8 gig same brand)
Graphics: AMD Radeon VII 16 GB
Software Build: 10.15 (19A583)
Selected clover build: iMac,19
Display: Dual BenQ 24 inch Displays (one HDMI, one display port)

Clover version: 5070
 

Attachments

  • EFI.zip
    16.1 MB · Views: 96
Last edited:
Thanks so much!
As you said I had to first boot macOS and pair my keyboard, but from that moment it seems the pairing is active even when macOS is not booted, because as I said I’m able to use it at BIOS screen. What drives me crazy is why some people have this functionality while others don’t get the keyboard to work on BIOS
Do all of these people have the same WiFi/BT module? We have already seen that not all WiFi/BT modules/cards are created equal. The FBWB has some peculiarities. The Padarsey (from my initial build) has its peculiarities. The Fenvi, however, seems to be the most compatible.

I would be curious to know if some Fenvi owners have this functionality while other Fenvi owners do not. Also note that Apple Magic Mouse 2 and Magic Keyboard 2 are needed (if I recall correctly).
 
Thanks Casey - so I set HS12 back to "Zero" and left HS11 as 0xFF. It took two unsuccessful restarts with one kernel panic before I was back in macOS - no idea why.

I guess your discovery of the Internal USB Hub explains why the front USB 2 port kept working, so I decided to try to recreate the crash - which unfortunately was easy in Rig Manager.

But I realized not only Bluetooth stopped working, but several other/all USB ports (so not only the ones mapped to HS11).

I have searched for other people experiencing similar problems with Rig Manager but found none. Can you think of anything else worth testing before I wrap my head around creating a custom USB SSDT? I know that the one I have been using isn't perfect but I have learned which outputs provide real USB 3 speeds - so I don't mind unless this is what causes the crashes as well.
If all USB ports stopped working, then it's actually better from a troubleshooting perspective! Suggestions:
  • Can you test the same use case on a real Mac? Does the same problem occur?
  • Can you test the same use case on a different Hackintosh if you have access to one?
I'm trying to determine whether the fault lies in Rig Manager itself.
 
Do all of these people have the same WiFi/BT module? We have already seen that not all WiFi/BT modules/cards are created equal. The FBWB has some peculiarities. The Padarsey (from my initial build) has its peculiarities. The Fenvi, however, seems to be the most compatible.

I would be curious to know if some Fenvi owners have this functionality while other Fenvi owners do not. Also note that Apple Magic Mouse 2 and Magic Keyboard 2 are needed (if I recall correctly).
I can't recall for sure but I remember reading people here saying they didn't have keyboard support on BIOS, while I for example have (using Fenvi 919). I'm also using the original Magic Keyboard (first generation)
 
Hi all,

I have two somewhat interesting problems:

1. My computer will sleep and wake properly for days or a week. But sometimes I'll hit the keyboard, the hardware will be awake but nothing ever wakes up on my monitors. I usually hit the reset button or have to do a hard shut off to get Mac OS to boot and it will work for the next couple days. Sleeping properly puts the hardware to sleep. The only thing I haven't done is flashed the motherboard because I am scared to update that, but if you think it will help I will do it.
2. My hack also shuts down abruptly when running the Heaven Unreal engine benchmark on ultra.


Hardware:

Processor: 8-Core Intel Core i9
Ram: 16 GB 2133 MHz DDR4 (2 8 gig same brand)
Graphics: AMD Radeon VII 16 GB
Software Build: 10.15 (19A583)
Selected clover build: iMac,19
Display: Dual BenQ 24 inch Displays (one HDMI, one display port)

Clover version: 5070
Hello @mrl4214,

Welcome to the forum. Because you're asking for help please enter your CPU, GPU and Motherboard information into your profile by clicking here.

Screen Shot 2019-10-11 at 2.02.16 PM.png

Issue 1: Sleep fails to wake monitor after a few days
  • You won't like this answer, but the sleep/wake functionality on many Hackintoshes (especially Z390) is not reliable over long periods of time.
  • With NVMe hard drives, today's systems can boot up very quickly, so we recommend shutting them down every couple of days.
  • But let me open this question to everyone: Do you also experience sleep/wake failure after <N> attempts? Or sleep/wake works repeatedly and you've never seen a wake-failure?
Issue 2: System shuts down abruptly when running Heaven Unreal on Ultra.
  • Are you monitoring CPU and GPU temperatures during this time? Do those temps climb into the critical region?
  • Is your CPU cooler doing an effective job?
  • Do the blower fans on your GPU turn on? Is there enough space around the GPU fans for air flow?
 
I can't recall for sure but I remember reading people here saying they didn't have keyboard support on BIOS, while I for example have (using Fenvi 919). I'm also using the original Magic Keyboard (first generation)
I may be in that camp whose Magic Mouse Gen 1 does not work in BIOS. Let me check later this evening.
 
Hi CaseySJ,
I'm coming back to you for the "fixing audio procedure" (I know, I tend to push things when I don't need it, haha), because I have some time this weekend to have a look at it. I noticed that if I plug a headphone directly in the case (on the front panel) the sound "jump" time to time, getting louder then back to normal. Is that what this trick is supposed to fix? I don't really need it anyway, I am just curious.

You were saying you could help to do, how should I proceed? You said I could post my config.plist and that you can edit it for me (if you don't mind) if I remove the serial numbers from SMBIOS. how can I do such things?

Also, I plan to install Windows in one of the internal SSD. Do you have a tutorial link or something like this?

Thank you for all your help, my computer is running perfectly for 6 months without a problem.
 
@FriFlo @MuffinCrumbs @totototo @digumo

These are all good arguments and I think we are all in agreement on the essential points.
  • We should use an alternative memory driver if it works. The Build Guide will continue to recommend OsxAptioFix2Drv-free2000 for the time being because it allows everyone to come on board with a working system. Later they can and should switch to something else if it works.
  • If I remove my WiFi/BT card, I can use AptioMemoryFix. If others disable their iGPU, they can use AptioMemoryFix. So this type of tradeoff should also be considered. If you're okay without iGPU (e.g. SMBIOS iMacPro1,1) then this is a valid tradeoff.
  • As development of OpenCore and FwFirmwareServices proceeds, we may have a truly viable alternative to both AptioMemoryFix and OsxAptioFix2Drv-free2000. Thanks to @MuffinCrumbs and @rj510 for raising awareness of this coming alternative to Clover.
    • My experiments with alpha builds of OpenCore, unfortunately, ended in boot failures 100% of the time (specifically, errors involving some missing biometric device). Will try again as OC matures; I understand it's at public beta stage now.
A couple more comments and I'll leave it at that...
  • @MuffinCrumbs is right, "that people would defend their use of things. Defend how they use the driver." I use the driver because I have no alternative and because there have not been any ill effects so far. This does not ensure long-term safety by any means. Even a future bug in AptioMemoryFix or FwFirmwareServices could brick your system. FwFirmwareServices have just entered Beta, so you're putting yourself at extra risk.
    • Regular full backups are the single most effective guarantor of our long-term computational well-being. Nothing else comes close.
      • Memory modules can fail (and they have).
      • CPUs can burn out from overheating and overclocking.
      • Motherboards can get bricked from a firmware update gone wrong.
      • Power surges and spikes can burn out power supplies.
      • An EFI memory driver can brick the motherboard.
      • Even a bug in a "safe" memory driver can brick the motherboard.
  • All of these are valid risks. We face these risks every day. And the "protection" we use is Carbon Copy Cloner -- to use @digumo's analogy of an STD.

Without much clue about hardware or software, this makes a lot of sense to me. Hey, this is a hackintosh - it is not a supported system anyway, so, everybody has to know, there is a risk that hardware goes wrong with any supported system and with a hack, there always might be additional risk! If you mind that, go and buy a $6000+ mac pro! :cool:
We can build 3-4 Designare builds (at higher specs) even for that base price and there isn't a chance that base mac pro will outperform these.
In case I need GPU support, can't update to Catalina or buy the FENVI card or something doesn't work anymore for whatever reason, I will return to free2000 without a doubt!

I must say, I like how we can discuss things here with a cordial manner. There are many places you can't have that.
I won't really comment on much. I'm sure I could say a lot though.

FwRuntimeServices.efi is actually almost the same as AptioMemoryFix, just highly "modular" and regulated. There will most likely be more added to the booter configuration, eventually. This said, under no circumstances does it overwrite memory, regardless of not finding proper allocation. Following the history of AptioMemoryFix, it was one of the solutions to not use any methods overwriting the memory. However, It is correct to say that a hackintosh is perhaps not as stable as MacOS, and therefore, one would back it up. This is highly recommended, regardless of any solutions used.

Sure, a hackintosh isn't a real Mac. But you want it to run as smooth as possible. i.e. you choose the right SMBIOS profile for several reasons, one being PowerManagement. If you have an i9 9900 or i7 9700, you'd most likely not go for iMac 15,1 SMBIOS profile, another reason could be to have proper AGDP signalling.

I would argue, it's all about knowing the risk. I'm not happy about using OsxAptioFix2Drv-free2000 however for right now it allows me to enable Sidecar and this functionality I need for testing my iOS builds. I think Using something and Knowing the risks can be responsible if you're educated and go in to the proposition with your eyes open. If CaseySJ's board bricks he's not going to go run back to the community crying and complaining, he's going to say "darn the bullet caught up to me" and then he's going to shell out for a new board. That is an educated risk. Others who come in to this sport need to be aware as well, but as CaseySJ points out we have many many assassins waiting in the shadows to do in our precious machines. We fight to stay in front of them and for some we are lucky enough to keep a good distance (my Catalina upgrade went completely smooth, knock on wood), others face the dragon and decide to retreat and fight another day (@rondark). It's always a crapshoot, but I feel there is a higher level of demonization going on here for CaseySJ's choice of promoting the use of this driver. It's less of a choice than it is a lack of options. His build (and same as mine) does not lend it self to running any other memory driver at this time. I am, and will, totally take up the challenge to find an alternative (your suggestion of trying other slide= choices and or decoding the memory map to see if the proper slide= can be calculated). I need to educate myself first, I'm a network cloud architect not a hardware engineer so I have some studying to do.

I guess in the end I would say we are all responsible people and responsible for our own choices. Go in to this hobby with your eyes open to the wonders and splendor but also the risks, work, and sometimes frustration that it can bring. Nothing is free.....

Fair point. This is why I'd suggest to perhaps set a disclaimer for the use of AptioFix2Drv-Free2000. Unless it has already been done so.


Do you have any pointers on the net where I can learn about this process? I've performed some searches but they have been fruitless. Thank you for any direction you can provide..

Well, here is a little guide:

Get the error and note it down, note down the pages of the allocation problem.
Go into Clover > EFI Shell > memmap

You will get an output with the listings of "Type" "START" "END" "# Pages" "Attribution".

lets take the unrealistic error of 0x1A (your noted up error might be different, this is just an example).

Now that you've found the available larger "# Pages", check its "START" value, for the same type: "available".

Screenshot 2019-10-11 at 22.44.04.png


In this picture, you can probably see that we've found available "# pages" above the site of 0x1A. This would be 0x1E.
Now following this through, we've found the "START" value, being 0x18A4000.

Now that we got a "START" value, note it down.

In most cases, the kernel is allocated at 100000 with the included slide address (slide value *200000)

So let's start with the calculation (0x18A4000-0x100000)/0x200000 = 0xB

Since this is in Base-16, you'd have to convert it to decimals. 0xB = 11.

In this case, slide=11

You can use the calculator inbuilt with Hackintool or the Calculator in MacOS with Programmer settings.

This is based from what Vit9696 posted in the AptioMemoryFix thread, from the link CaseySJ posted.
Vit9696 also describes it in a different thorough way. I suggest that one reads his posts regarding this.

**I must apologise, I am not as good as CaseySJ at making any guides or descriptions. I am fully blind, and I use screenreader and braille display. My 11 year-old nephew helped me with the picture by labelling everything. The picture is taken from the Intel EFI Specification sheet.**
 
Last edited:
Back
Top