Contribute
Register

Big Sur on HP EliteDesk 800 G4/G5 Mini - The Perfect MacMini8,1 Hackintosh - OpenCore

Joined
Sep 22, 2011
Messages
1,399
Motherboard
HP EliteDesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Not sure which ones. I have multiple units but all have 3 DP and only one actually runs macOS. I do use audio over DP.
I extracted the DeviceProperties from your posted EFI here. The extracted DeviceProperties are attached. I'd like to post them as a sample solution for 3xDP with audio over DP, but there are some things I'd like to check first (and I'm asking you because I know you're an advanced hacker):
  • Your DeviceProperties don't include hda-gfx. According to this, AppleALC/WEG automatically injects hda-gfx, so your plist should be correct. Does audio over DP work for you without having to define hda-gfx?
  • According to this datasheet, your CPU device-id is 0x3E98. Is there any reason that you include device-id in your DeviceProperties?
  • You are using ig-platform-id <07009B3E> which according to this defines 3xDP ports (see below). Do your graphics still work ok if you don't define framebuffer-con1-enable, framebuffer-con1-pipe and framebuffer-patch-enable? If they work ok without defining these, what is the purpose of defining these properties?
Thanks!

Code:
ID: 3E9B0007, STOLEN: 57 MB, FBMEM: 0 bytes, VRAM: 1536 MB, Flags: 0x00801302
TOTAL STOLEN: 58 MB, TOTAL CURSOR: 1 MB (1572864 bytes), MAX STOLEN: 172 MB, MAX OVERALL: 173 MB (181940224 bytes)
Model name: Intel UHD Graphics 630
Camellia: CamelliaDisabled (0), Freq: 0 Hz, FreqMax: 0 Hz
Mobile: 0, PipeCount: 3, PortCount: 3, FBMemoryCount: 3
[1] busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
[2] busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
[3] busId: 0x06, pipe: 8, type: 0x00000400, flags: 0x000003C7 - ConnectorDP
01050900 00040000 C7030000
02040A00 00040000 C7030000
03060800 00040000 C7030000
 

Attachments

  • DeviceProperties.plist.zip
    1.2 KB · Views: 8
Joined
May 7, 2021
Messages
18
Motherboard
HP EliteDesk 800 G4 Mini
CPU
Intel i5 8500
Graphics
Intel UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. Android
Thank you! You do have audio over DP / HDMI ENABLED (not disabled) with DeviceProperty hda-gfx="onboard-1". Does your rig sleep and wake OK without issues? It should (since you're not using adapters - just checking). Also, your native device-id (see this datasheet for i5-8500) is 0xe392, so you don't need to define device-id = <923E0000>. Excellent.

@NeoNero - I added your DeviceProperties here. Thank you.
- Yes, I have no issues with sleep and wake.
- I remove the device-id = <923E0000>
- How to disable audio DP / HDMI ? I have to cancel DeviceProperty hda-gfx="onboard-1 ?
 
Joined
Sep 22, 2011
Messages
1,399
Motherboard
HP EliteDesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
- Yes, I have no issues with sleep and wake.
- I remove the device-id = <923E0000>
- How to disable audio DP / HDMI ? I have to cancel DeviceProperty hda-gfx="onboard-1 ?
You would remove properties hda-gfx from Audio and Video and add no-hda-gfx to audio. See attached.

If your rig sleeps/wakes ok, you don't need to disable audio over DP/HDMI. Just out of curiosity, why do you want to disable audio over DP/HDMI?
 

Attachments

  • 2xDP+1HDMI_nohdagfx.plist.zip
    1.2 KB · Views: 11
Joined
May 7, 2021
Messages
18
Motherboard
HP EliteDesk 800 G4 Mini
CPU
Intel i5 8500
Graphics
Intel UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. Android
Would you mind attaching your sanitized EFI (remove MLB, ROM, etc. from PlatformInfo>Generic in your config.plist) to your post so that others can see how to load the kexts for Intel Wi-Fi/Bluetooth?
Here is my complete EFI file for my configuration. HP EliteDesk 800 G4 - Intel Core I5 8500 with 2 DP and 1 HDMI Port - 16GB RAM - SSD Samsung 860 EVO SATA 2,5 500 Go - Intel Wifi AX200. The PC is plugged on a 4K monitor using DP.

All works very well and I have no more random black screen after I changer the ports config.
 

Attachments

  • EFI.zip
    38.8 MB · Views: 26
Last edited:
Joined
May 7, 2021
Messages
18
Motherboard
HP EliteDesk 800 G4 Mini
CPU
Intel i5 8500
Graphics
Intel UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. Android
You would remove properties hda-gfx from Audio and Video and add no-hda-gfx to audio. See attached.

If your rig sleeps/wakes ok, you don't need to disable audio over DP/HDMI. Just out of curiosity, why do you want to disable audio over DP/HDMI?
- Ok, if it works, I don't make any change ;)
- I wanted to disable it because I have no speaker in my monitor.
 
Joined
Sep 22, 2011
Messages
1,399
Motherboard
HP EliteDesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
- Ok, if it works, I don't make any change ;)
- I wanted to disable it because I have no speaker in my monitor.
If you want to learn more about DeviceProperties and framebuffer patching, create a bootable USB with your experimental EFI and make changes on the USB. I find that knowing the details about framebuffer patching has helped me to maintain my hackintosh and you'll be able to help others who ask questions. Thank you for contributing!
 
Joined
Jan 7, 2016
Messages
162
Motherboard
HP Elitedesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
  • Your DeviceProperties don't include hda-gfx. According to this, AppleALC/WEG automatically injects hda-gfx, so your plist should be correct. Does audio over DP work for you without having to define hda-gfx?

Yes it does. That is correct. I have no need to define it.
  • According to this datasheet, your CPU device-id is 0x3E98. Is there any reason that you include device-id in your DeviceProperties?

At one point I played with an ES version of this CPU which is the reason why I tinkered with injecting the ID directly to see if it made any difference. I left it there because... it can't hurt.
  • You are using ig-platform-id <07009B3E> which according to this defines 3xDP ports (see below). Do your graphics still work ok if you don't define framebuffer-con1-enable, framebuffer-con1-pipe and framebuffer-patch-enable? If they work ok without defining these, what is the purpose of defining these properties?

This is a tricky question. This was generated by hackintool but I injected this because I was also playing with a DP -> hdmi adapter. Though I use 3 DP, I also wanted my config to work with my adaptor dongle on all 3 ports... which it does after enabling these patches. My monitor has one DP and 4 hdmi ports. I wanted that flexibility just in case... Without it, the DP ports still work but I had problems with the hdmi adaptors.
 
Last edited:
Joined
Sep 22, 2011
Messages
1,399
Motherboard
HP EliteDesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
Yes it does. That is correct. I have no need to define it.


At one point I played with an ES version of this CPU which is the reason why I tinkered with injecting the ID directly to see if it made any difference. I left it there because... it can't hurt.


This is a tricky question. This was generated by hackintool but I injected this because I was also playing with a DP -> hdmi adapter. Though I use 3 DP, I also wanted my config to work with my adaptor dongle on all 3 ports... which it does after enabling these patches. My monitor has one DP and 4 hdmi ports. I wanted that flexibility just in case... Without it, the DP ports still work but I had problems with the hdmi adaptors.
Thanks. That all makes sense. Would you be able to test the attached DeviceProperties to see if this still works ok with 3xDP, Audio over DP and sleep/wake? I removed device-id, framebuffer-con1-enable and framebuffer-con1-pipe (I shouldn't have included framebuffer-patch-enable in my list of unnecessary properties). Thanks!
 

Attachments

  • DeviceProperties.plist.zip
    1.2 KB · Views: 13
Joined
Mar 16, 2016
Messages
37
Motherboard
H61M-G
CPU
I5 2,79
Graphics
NVIDIA GT610
Mac
Classic Mac
Mobile Phone
i command BCM94360NG for wireless and bluetooth

For the moment i have a bluetooth USB but i can't wake when sleep only with mouse USB

With BCM94360NG do you think i can wake ?

Thanks
 
Joined
Sep 22, 2011
Messages
1,399
Motherboard
HP EliteDesk 800 G5 Mini
CPU
i9-9900
Graphics
UHD 630
Mac
  1. Mac mini
Mobile Phone
  1. iOS
i command BCM94360NG for wireless and bluetooth

For the moment i have a bluetooth USB but i can't wake when sleep only with mouse USB

With BCM94360NG do you think i can wake ?

Thanks
I'm not at a hack with Bluetooth right now, so I can't look. Does this help you?
 
Top