Contribute
Register

[GUIDE] Catalina on HP EliteDesk 800 G4/G5 Mini - The Perfect MacMini8,1 Hackintosh - CLOVER & OC

Joined
Sep 22, 2011
Messages
855
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
For the moment I didn't found the problem. I have tried with all possible BusIDs values but the same problem occurs. I will continue investigating.

One additional question about the 65w EliteDesk (I am thinking about searching one of it to change mine), searching in forums I see that i7-8700 can reach almost 200w when Turbo. Have you tried if your i7-8700 throttles when stressed because of temperature or not sufficient power with the included 90w PSU?

After you configure BusIDs that are valid for DP ports (e.g. replacing BusID 0x01 with BusID 0x05), you may need to experiment with other framebuffer values as well. For example, you may need to change AAPL,ig-platform-id to 0x3E9B0007 (reverse byte order 0x07009B3E). Read this entire document and see how I experimented here.

The i7-8700 is rated at 65W TDP. However, I have read that it can dissipate more power during turbo boost. Since the i7-8700 GeekBench5 scores that I have posted in this thread fall short of a real MacMini8,1, I suspect that I am seeing some thermal limiting. The PSU is not likely to be the issue - the performance is limited by cooling and the ability for the heatsink to dissipate heat in this tiny package. Regardless, I am very pleased with the performance of this HackMini8,1.

EDIT: @chanquete69 One other thing that I have mentioned in my known issues: try adding the graphics properties described here. Do they make any difference for you?

EDIT2: @chanquete69 I was playing with BusID values to see if I could give you more advice. On my system (with DP->DVI adapters) values 0x01, 0x02 and 0x04 are required for framebuffer-con0-busid, framebuffer-con1-busid and framebuffer-con2-busid respectively. If I were trying to guess BusIDs for your system (with DP connectors and no adapters), I would try 0x02, 0x04 and 0x05 (in that order for framebuffer-con0-busid, framebuffer-con1-busid and framebuffer-con2-busid respectively). I'd also make sure that the connector types were all DP (0x0400). Of course you would need the reverse byte order for each of these values in your config.plist. If that didn't work with AAPL,ig-platform-id = 0x3e920000, I would try AAPL,ig-platform-id = 0x3e9b0007 (again, you would need to change the values to reverse byte order before entering in your config.plist). Have you had any luck with your system?
 
Last edited:
Joined
Sep 22, 2011
Messages
855
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
I have confirmed that my SATA caddy modification here works perfectly with the 65W G4 Mini and its HD fan assembly. Two M.2 2280 SSDs and one SATA6 HD fit/work perfectly and the HD cooling fan helps with SSD/HD temps. Note that the 65W G4 Mini issues a boot warning if the system is booted without an HD fan assembly when the SATA drive caddy is installed. The 35W unit does not require the HD fan assembly (and thus does not issue a boot warning if it is not installed).

thumbnail_IMG_1211.jpg
thumbnail_IMG_1212.jpg
 

Attachments

  • thumbnail_IMG_1211.jpg
    thumbnail_IMG_1211.jpg
    307.9 KB · Views: 16
  • thumbnail_IMG_1212.jpg
    thumbnail_IMG_1212.jpg
    313 KB · Views: 16
  • Screen Shot 2020-08-31 at 12.28.14 PM.png
    Screen Shot 2020-08-31 at 12.28.14 PM.png
    71.9 KB · Views: 18
Last edited:
Joined
Sep 22, 2011
Messages
855
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
I have attached my latest EFI and /L/E kexts to Post #1 in the "EliteDesk800 G4 Mini - Rev 1.1.zip" archive. The changes in this updated archive are documented here in the Revision History. As with previous EFIs, if you use my config.plist, you must replace all "XX-MASKED-XX" values with your own (MLB, Board Serial Number, System Serial Number, SmuUUID, Custom UUID). You can use CLOVER Configurator to set these values.

Also, I still do not have a supported Wi-Fi/Bluetooth module, so SSDT-UIAC.aml does not include the USB port mapping for Bluetooth. See Known Issues.

If your system does not exactly match the system specs that I've detailed in Post #1, then copying my EFI may be incorrect for your system. See Known Issues.
 
Joined
Jun 7, 2015
Messages
35
Motherboard
HP EliteDesk 800 G4 Mini
CPU
i5-8500T
Graphics
HD630
Mac
  1. MacBook Air
Mobile Phone
  1. Android
External 90W brick. I haven't researched the internal RX560, so I'm not sure if I need to obtain a higher wattage brick to power the RX560. My "new" G4 Mini that I purchase has a vented cover (the cover on my 35W i7-8700T unit is sealed). I suspect the vented cover is required for the internal RX560.

The platform is still pretty fresh and not well presented on second hand market (at least where I'm from). I couldn't find any hardware mods done by community (ie. replacing CPU to higher W or Gen, adding RX560 etc.) which would be interesting. I would particularly be interested in obtaining RX560, but can't find a part number or any information besides that it exists and comes pre-installed in some instances. It also requires a massive PSU brick half the size of PC as can be seen below:



I'll keep researching into this and post my findings here if any.
Thanks for supporting this thread deeveedee
 
Joined
Sep 22, 2011
Messages
855
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
I would particularly be interested in obtaining RX560, but can't find a part number or any information ...

I believe the part number for the RX560X card is L21466-001 or L21467-001.

As shown in the attached picture, I believe that the add-on RX560X card may be limited to a single display port. If that's the case, I won't be pursuing this upgrade option.

EDIT: It also appears that the RX560X card can only be installed with one M.2 NVMe SSD and without the SATA6 caddy. I understand the trade-off given the limited space in this G4 Mini. Still, it's truly amazing that this little device is so incredibly capable. I have a NUC and I prefer the HP EliteDesk 800 G4 Mini.
 

Attachments

  • rx560x.jpg
    rx560x.jpg
    285.6 KB · Views: 27
Last edited:
Joined
Sep 22, 2011
Messages
855
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
I am currently testing with CLOVER r5122. I have replaced AptioMemoryFix.efi with OCQuirks.efi / OpenRuntime.efi. So far, I have not noticed any difference in behavior or performance. Attached is a GeekBench5 CPU benchmark after migrating to CLOVER r5122 / OCQuirks (from r5119 / AptioMemoryFix.efi). See r5119 performance here.

EDIT: A note about migrating from AptioMemoryFix.efi to OCQuirks.efi: I didn't know what I was doing when I migrated from AptioMemoryFix.efi to OCQuirks, so I guessed the following steps which seems to have worked:
  1. Save a copy of my r5119 EFI
  2. Remove my r5119 EFI from my boot disk
  3. Install CLOVER r5122 with the options specified in Post #1 of this thread. When configuring CLOVER r5122 installation options, instead of AptioMemoryFix driver, I selected OCQuirks.
  4. Save the newly installed, default config.plist as config-org.plist
  5. Replace the newly installed ACPI/patched, config.plist and kexts with the ACPI/patched, config.plist and kexts that I saved in Step 1.
  6. Copy the Quirks section from the config-org.plist saved in Step #4 to config.plist. Note that when you have a Quirks section in your CLOVER config.plist, you do not need a separate OCQuirks config.plist
  7. Reboot with the new EFI

After rebooting with the new EFI, if you open the new r5122 config.plist in the latest Clover Configurator, you will see and be able to edit Quirks (which are saved in the CLOVER config.plist). You do not need a separate config.plist for Quirks.

EDIT2: A new CLOVER config.plist with Quirks is attached. If you use my config.plist, you will need to replace the XX-MASKED-XX values with your own values and you should review Known Issues.
 

Attachments

  • Screen Shot 2020-09-03 at 3.01.09 PM.png
    Screen Shot 2020-09-03 at 3.01.09 PM.png
    84.7 KB · Views: 14
  • config.plist.zip
    2.7 KB · Views: 19
Last edited:
Joined
Dec 10, 2010
Messages
231
Motherboard
Gigabyte Z390 Aorus Elite
CPU
i3-9100
Graphics
RX 580
Mac
  1. iMac
Mobile Phone
  1. iOS
I am currently testing with CLOVER r5122. I have replaced AptioMemoryFix.efi with OCQuirks.efi / OpenRuntime.efi. So far, I have not noticed any difference in behavior or performance...

I've followed your steps and now I'm with OC Quirks without the Quirks config.plist file. The system seems to be going just as well as before, if anything I would tell you that it goes faster on the screen that shows the BIOS boot until the Clover menu appears, before it stopped approx. 5-6" on that screen and now stops approx. 2". In the rest I do not appreciate differences.

Note: after trying for several hours I have observed a curious detail: if there is no OcQuirks.plist file in the drivers / UEFI folder, sleep is broken, it goes to sleep well but when you exit and recover the screen there is a kernel panic, nothing responds and I have to turn off by hand. If the OcQuirks.plist file exists, this problem disappears.
 
Last edited:
Joined
Sep 22, 2011
Messages
855
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Note: after trying for several hours I have observed a curious detail: if there is no OcQuirks.plist file in the drivers / UEFI folder, sleep is broken, it goes to sleep well but when you exit and recover the screen there is a kernel panic, nothing responds and I have to turn off by hand. If the OcQuirks.plist file exists, this problem disappears.

My system sleeps/wakes without any problems and I do not have a separate OCQuirks config.plist. Are you sure that the OCQuirks config.plist has the exact same options as the Quirks block in your CLOVER config.plist? Note that if you follow my instructions here, the Quirks block in the CLOVER config.plist will have ONLY the default Quirks options set by the CLOVER installer. It will not contain any additional Quirks (e.g. those Quirks that might be required for your chipset).

Be sure to compare the Quirks options in the CLOVER config.plist with the options in your separate OCQuirks config.plist. If you want help, please post your debug files. It would be best for you to post your system-specific questions in your thread and I can help/answer there.
 
Joined
Sep 22, 2011
Messages
855
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
I am currently running/testing with a revised CLOVER config.plist for the reasons explained here.

EDIT: My system booted to black screens while using a CLOVER config.plist without pipes and without "dummy" con3 properties. This gives me more reason to suspect that UHD 630 graphics needs the pipes and/or dummy properties.
 
Last edited:
Joined
Sep 22, 2011
Messages
855
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
I had to satisfy my own curiosity about CLOVER's "Plugin Type" for CPU Power Management, so I created an SSDT.aml using ssdtPRGen (new versions of ssdtPRGen support Coffee Lake and specifically the i7-8700). I don't notice ANY difference in performance when using the SSDT.aml vs. CLOVER's "Plugin Type." I'm not surprised, but feel better seeing it for myself.
 
Top