Contribute
Register

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

Joined
Jan 7, 2016
Messages
132
Motherboard
HP Elitedesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
HP has released BIOS update 02.14.01 Rev.A that addresses security vulnerabilities for our HP EliteDesk 800 G4 Minis. I have not yet tested with this firmware update. I'd welcome test results from anyone who wants to be adventurous and try the update.
I think this is what I installed on the G5 corresponding to 02.07.01... It worked just fine. There is also an ME update as part of it.
 
Joined
Jan 7, 2016
Messages
132
Motherboard
HP Elitedesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Yeah I am working on the OC bootup chime and got it working from the onboard speakers.

And attached my current EFI with a couple of more fixes as my config.plist was a bit dated. Added sound support for OC. Can even enable audio assist if interested for visual impaired, I've tested it but disabled it. Warning: the EFI is more than 100MB due to all the sound files.
 

Attachments

  • EFI.zip
    95.9 MB · Views: 35
Last edited:
Joined
Sep 22, 2011
Messages
1,129
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Yeah I am working on the OC bootup chime and got it working from the onboard speakers.

And attached my current EFI with a couple of more fixes as my config.plist was a bit dated. Added sound support for OC. Can even enable audio assist if interested for visual impaired, I've tested it but disabled it. Warning: the EFI is more than 100MB due to all the sound files.
Great stuff. To the extent possible, I'd like to standardize on one EFI, so whatever you can do to adopt my ACPI and config.plist would be great. Also, when you post your EFI, sanitize the config.plist so it doesn't include your MLB, Serial Number and UID.
 
Joined
Jan 7, 2016
Messages
132
Motherboard
HP Elitedesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Great stuff. To the extent possible, I'd like to standardize on one EFI, so whatever you can do to adopt my ACPI and config.plist would be great. Also, when you post your EFI, sanitize the config.plist so it doesn't include your MLB, Serial Number and UID.

Sorry for this newb question: What are the pros and cons of the two ACPI approaches? SSDT Vs. Patching in the config?
It seems like the OC preferred approach is to use the SSDT but I don't know what benefits they bring.

On Big Sur... I am trying to download it but boy... the apple server seems to be hammered... Seems like it will take me another day.
 
Last edited:
Joined
Sep 22, 2011
Messages
1,129
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Sorry for this newb question: What are the pros and cons of the two ACPI approaches? SSDT Vs. Patching in the config?
It seems like the OC preferred approach is to use the SSDT but I don't know what benefits they bring.

On Big Sur... I am trying to download it but boy... the apple server seems to be hammered... Seems like it will take me another day.
I didn't mean to say or imply that your solution was wrong - if it works, it's right. And it's perfectly ok (and encouraged) to have more than one solution floating around. It just might be less confusing (and save us all work) if we minimize the amount of conversion that needs to take place between EFI versions as we propose fixes and enhancements. If we're posting EFIs that resemble each other, they will be much easier for each of us to adopt.

I can only provide you with my personal preferences - there isn't one "right" way to do this. There are many in this forum who know WAY more about this stuff than I do. My goal with each hack is to make it look to macOS like a real Mac. I find that the hack is much more likely to be compatible with new releases of MacOS. For example, I had a Device (EC) in my Dell E6410 Laptop DSDT patches before it was actually required in Catalina. As a result, upgrade to Catalina was simple. My ACPI patches (SSDTs) are intended to mimic a real MacMini (based on my review of a real MacMini ACPI extraction and my review of a real MacMini IORegistry dump).

I'm new to the OC config.plist, so I am open to the very likely possibility that I did something wrong in the config.plist. I have a lot to learn about Quirks and other elements of the OC config.plist.

Some points about my ACPI patches (SSDTs)
  1. Some of my SSDTs inject Devices from a real MacMini (XSPI, PPMC, USBX)
  2. There are "generic" SSDTs floating around that are not specific to the MacMini and may actually inject incorrect values (e.g. taking a USBX with higher USB power properties from a desktop may not be "healthy" for our HackMini's which are more like a laptop than a desktop. My USBX is extracted from a real MacMini. I'm not sure where the other USBX's came from).
  3. SSDT-XOSI and SSDT-HPET are based on patching techniques that I've adopted from many ACPI patching trials. They're based on best practices that have worked for me and that have resulted in very stable / reliable builds.
  4. MCHC, SBUS and PLUG are standard patches. SSDT-MCHC is equivalent to CLOVER's "Add MCHC." SSDT-PLUG is equivalent to CLOVERs "PluginType." Device (MCHC) is present in a real MacMini DSDT. The SBUS patch is as old as hackintoshing.
  5. SSDT-AWAC is new for me - I only adopted it after reading about it in the Dortania guide. I'm not even sure our hacks need it.
  6. Since our HP EliteDesk Mini's are designed for Windows, there are branches in the DSDT that are only executed when the appropriate Windows OS version is running. I've seen comments that SSDT-XOSI is a kluge that should be avoided. I don't agree and believe SSDT-XOSI is necessary. In my previous hacks (where I manually patched the DSDT and didn't use the bootloader's "on-the-fly patching), I have modified the DSDT to mimic a specific Windows version when MacOS was running (just like others have done). This is my first hack that uses on-the-fly DSDT patching. I've asked for advice here and didn't get feedback, so I currently have no reason to believe that my SSDT-XOSI is wrong.

Since all of this is my opinion, I'm open to constructive criticism and suggested changes. We're all here to learn!
 
Joined
Jan 7, 2016
Messages
132
Motherboard
HP Elitedesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
@deeveedee
Fair enough. I am making an attempt at upgrading to BS for now. I tested also your ACPI implementation and couldn't really make up any visible difference. I just wasn't sure if there was a benefit to switching.

I was even looking at modifying the bios HP logo... but it doesn't appear to be possible.
 
Joined
Sep 22, 2011
Messages
1,129
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Big Sur just installed on my HackMini8,1 with minimal issues using my EFI here. During install, I experienced loss of real time clock (so I have some tweaking to do), but this never resulted in loss of any BIOS settings and it recovered without me taking any action. The RTC issue was only an annoyance, but not a show stopper. What a painless upgrade! I haven't tested, but BS looks promising on our rigs!

Screen Shot 2020-11-12 at 9.34.17 PM.png


I have changed the title of this thread to include Big Sur.

I performed the update when prompted and just followed the steps. No special actions necessary (except ignoring the RTC issue).

Screen Shot 2020-11-12 at 9.02.50 PM.png


Screen Shot 2020-11-12 at 9.02.38 PM.png
 
Last edited:
Joined
Sep 22, 2011
Messages
1,129
Motherboard
HP EliteDesk 800 G4 Mini
CPU
I7-8700
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
I'm not experiencing any RTC issues after the BS install. Restart, shutdown, sleep/wake all working without issues. Granted, I've only performed minimal testing, but this is an incredible first experience with BS.

Also, I can boot BS Recovery - something I've never done before (with CLOVER).

GeekBench 5 CPU results are same in BS as in Catalina.
 

Attachments

  • Screen Shot 2020-11-12 at 10.16.08 PM.png
    Screen Shot 2020-11-12 at 10.16.08 PM.png
    86.1 KB · Views: 58
Last edited:
Joined
Jan 7, 2016
Messages
132
Motherboard
HP Elitedesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
I managed to customize the BIOS logo. This is painful to figure out. The logo swap requires booting from windows, installing a powershell library, create a 1024x768 apple logo and run a powershell script.

Download and install
HP Client Management Script Library from here

Open windows powershell in secure mode and run
Set-HPFirmwareBootLogo -file custom.jpg

you may need to allow the library to load with this command first if you get an error:

Set-ExecutionPolicy RemoteSigned

Attached is the logo I used.
 

Attachments

  • custom.jpg
    custom.jpg
    15.5 KB · Views: 26
Top