This guide is a work in progress and will be updated as I refine the installation.
This is my first "modern" hack supporting UEFI and my first hack using Clover "on-the-fly" patches. My previous hacks (Laptop: Thinkpad T61 / Nvidia NVS 140m, Laptop: Dell Latitude E6410 / Nvidia G3100m, Desktop: Gigabyte G31 / GeForce 9600, Desktop: Biostar TH55HD / Sapphire Pulse RX580) are all perfectly running Catalina and I patched them all "manually" - all DSDT patches applied with MaciSL with virtually no Clover on-the-fly patching and all booted Legacy Clover. This UEFI hack was MUCH easier and took about 20 hours vs. a combined hundreds of hours for the old hacks. I wanted a hack that was a little more future proof and I think this is it. I hope you enjoy this as much as I am enjoying it. It is a perfect MacMini8,1.
My system specs
HP EliteDesk 800 G4 Mini (I7-8700T / UHD 630 / Q370 Chipset / 32GB DDR4 RAM)
3 x DP Ports (connected to monitors using DP -> DVI adapters)
6 x USB 3.1
1 x USB Type-C 3.1
2 x NVMe SSD (M.2 PCIe x4 2280/2230 combo ports)
1 x SATA6 SSD
1 x Intel Ethernet RJ-45
Conexant CX20632 Audio Codec
SMBIOS MacModel MacMini 8,1
Unsupported M.2 PCIe x1 2230 Intel Wi-Fi (currently disabled in BIOS). I may replace this with Brcm, but am using only Ethernet (IntelMausi) for now.
Installation Steps: To be provided
See attached EFI and /L/E kexts in EliteDesk.zip archive
See installation methodology here
See references here
What is not working
Wi-Fi / Bluetooth (intentional since I have not yet replaced my Intel card).
What is not tested
USB c 3.1 port
What is working
Everything not mentioned above
Sleep / Wake
Multiple displays with IGPU graphics acceleration, hot pluggable display ports and DP->DVI adapters
USB 3.1 ports
Audio (internal speaker and headphone jack)
Auto-sensing headphone jack automatically switches to internal speaker when headphones removed
Known Issues and their solutions
(Reported this as a possible Clover issue - no solution yet) Clover boot loader may default to Recovery volume after a normal shutdown. Work-around is to select your normal macOS volume. This may only happen when Clover is configured to boot LastBootedVolume and may be "fixable" by explicitly setting a boot volume (haven't tested this).
(Watching this - not sure it's a problem) At least one display blanks (sleeps) when plugging / unplugging USB device (observed in front USB 3.1 ports). Display wakes immediately on keyboard and mouse activity, so this is a minor issue but may be indicative of another issue.
(No solution yet - work-around is to use Firefox) Safari has problems loading insanelymac web pages after sleep / wake. Work-around: use Firefox or reboot. I have seen reports in forums where Safari issues are experienced after sleep / wake on a real Mac. Not sure if the problems are related. I suspect that it might be related to streaming video on InsanelyMac pages (since I haven't observed the issue on "static" pages).
Also observed video problem in AppStore after sleep/wake. Console: VideoDecodersUnavailable
(Solved and included in the attached EliteDesk.zip archive) Display does not fully wake after resuming from sleep (needs an extra mouse or keyboard stimulus to fully wake). Solution is to change boot arg darkwake=0 to darkwake=2. Other values of darkwake may work as well, but this is the first I tried and it worked.
(Solved and included in the attached EliteDesk.zip archive) -disablegfxfirmware boot arg is not required with WEG. I inadvertently left this boot arg after I encountered an endless gfx firmware update boot loop while working on my FB patching. This boot arg is no longer necessary after completing FB patching with WEG.
(Solved and included in the attached EliteDesk.zip archive): Sometimes, CMOS time is lost on shutdown or restart. Solution is to enable Clover's Apple RTC fix in config.plist.
(Solved and included in the attached EliteDesk.zip archive) headphone jack doesn't work. Solution is to change HDEF layout-id to 28.
(Solved and included in the attached EliteDesk.zip archive) System freezes on wake from sleep because of a kernel panic related to hda-gfx (my system does not have HDMI and my DP->DVI adapters do not drive monitor speakers). Solution is to add No-hda-gfx property to HDEF as described here. This property is recognized as a Lilu flag and prevents loading hda-gfx.
(Solved and included in the attached EliteDesk.zip archive) Device (PMCR) is not defined. Solution is a SSDT that "injects" the missing device.
(Solved and included in the attached archive) eficheck is loaded (not sure why this is bad, but may be a privacy issue - see here). Solution is to add updated EFICheckDisabler kext that include Q370 chipset. See here.
BIOS Version / Configuration: To be provided
Version: 02.11.01 Rev.A
Clover Configuration: To be provided
UHD 630 Framebuffer Patching: To be provided
Clover (UEFI) r5118
Credits To be provided
I also looked into IOregistryExplorer and see that the connect type is 00400000 there for FB@1 I tried to patch it via setup.plist but it seems that there is no change in IOregistryExplorer. Though the Hackintool sees the change (image attached)
Finaly Success to boot on Sierra 10.12.6 (16G29) with Touchscreen working theres still things to fix but everything is almost working. During the Corvid StayAtHome Period I was able and have time to make this laptop boot on MacOS after a lot of attemps before going back to job. It was the hardest laptop hackintosh install attemp i've done so far and Sierra OS is the only that works. I tried El Capitan and Mojave and its never boot so I not even tested Catalina. I searched on the web and theres no install guide for this specific laptop or no Success install post on this laptop its look like a not very well supported laptop by hackintosh. Maybe some of you can help me correct the things that still not work. Audio work but with voodo (low sound and low quality) I want to make it work with AppleALC to get better quality sound. Thanks in advance
Things that work:
-Trackpad (not the gesture for now) - Backlight Keyboard
-EthernetPort and Wireless (with a wifi dongle. I will change to a broadcom wifi mini-pci chip)
-Brightness Controls with FN key
-Sleep (half working) _ usb ports not work after wake from sleep.
Things that not work or need to be fixed:
-Weird double long booting screen-first loading bar on the right. after real loading bar is visible ?
-Audio (Voodoo) work but with low volume sound- still not success to make work AppleALC.kext method
-SENSORS -CPU-HDD Temperatures, BATTERY LEVEL, ETC…
-USB ports not works after wake from sleep