Hackintosh your HP EliteDesk 800 G2 Tower PC Skylake. This is intented to create a fully functional hackintosh for the HP EliteDesk 800 G2 Tower PC i7-6700 (Skylake).
sources.opencore/IM171_0105_B20-10.12.4.firmware update ACPI Tables.zipand
sources.opencore/IM171_0110_B00 10.13.0GM ACPI Tables.zipyou can find
iMac 17,1ACPI tables from insanelymac. It may be used to create new SSDT patches. All firmwares seems that they are available gdbinit/firmware_vault.
If you face another problem please open a issue.
hardware configuration with the following specs:
full specs from the HP site
Dual monitors works. Patching has been done using hackingtool. HotPlugging a monitor is not required. The following patch has been applied
WhateverGreen: weg @ (DBG) agdpmod using config vit9696 WhateverGreen: igfx @ (DBG) patching framebufferId 0x19120000 connector  busId: 0x05, pipe: 9, type: 0x00000400, flags: 0x00000187 WhateverGreen: igfx @ (DBG) patching framebufferId 0x19120000 connector  busId: 0x06, pipe: 10, type: 0x00000400, flags: 0x00000187 WhateverGreen: igfx @ (DBG) patching framebufferId 0x19120000 connector  busId: 0x04, pipe: 10, type: 0x00000400, flags: 0x00000187 WhateverGreen: igfx @ (DBG) patching framebufferId 0x19120000 connector [-1] busId: 0x00, pipe: 0, type: 0x00000001, flags: 0x00000020 Patch General > Devices/Properties General > Connectors General > Auto Detect Changes Advanced > FB Port Limit 3 Device Id: 0x1912: Intel HD Graphics 530
This configuration works with an
HP EliteDisplay E242 on the top DP port and an
HP EliteDisplay E243i on the bottom DP port. Very rarely when I pass the boot process and once it turns into ‘graphics mode’ (Apple Logo) the machine sometimes hangs there for some seconds and reboots (Framebuffer is crashing).
I noticed that if I have only one monitor on the top DP port (any) the coputer boots fine and then I can hot plug the other monitor once on the logon screen I do not have any problem.
These are the steps in order to install or upgrade your EliteDesk-800. There is a very detailed document on the steps followed and the customizations which can be found in DETAILS.opencore.md.
There is a another document on how I setup my environment including all the tools and utilities I have used ENVIRONMENT.wks.md.
Start by downloading the latest version the customization files from the releases page. It includes:
ELITEDESK800_EFI/: efi directory including all kexts and customization needed
The guide is being written based on the excellent Dortania guides
I have installed macOS on the internal
500GB Samsung V-NAND SSD 860 EVO MZ-76E500 (Model Code: MZ-76E500B/EU).
Make sure that you check with this link to update BIOS:
sp90164: HP EliteDesk 800 G2 TWR/SFF SystemBIOS (N01) / 02.36 Rev.A / Aug 13, 2018
Note: Update the BIOS from the BIOS itself. On a USB stick with an EFI directory place bios file N01_0236.bin in directory EFI/HP/BIOS/new. On Finder create an extra EFI directory under the mounted EFI exactly as OpenCore do.
Get into the
BIOS and make the following changes:
Advanced > Security > TPM Embedded Security > TPM DeviceHidden
Advanced > Security > BIOS SureStart >Unchecked ALL
Advanced > Security > System Management CommandUnchecked
Advanced > Security > SIntel Software Guard Extensions (SGX)Disable
Advanced > Boot Options > UEFI boot orderChecked (do this or else it will not boot from the stick)
Advanced > Boot Options > Audio Alerts During BootUnchecked
Advanced > Secure Boot Configuration >Unchecked ALL
Advanced > Secure Boot Configuration > Configure Legacy Support and Secure BootLegacy Support Enable and Secure Boot Disable
Advanced > System Options > Configure Storage Controller for RAIDUnchecked
Advanced > System Options > VTxChecked
Advanced > System Options > VTdUnchecked
Advanced > System Options > PCI*Unchecked
Advanced > System Options > Allow PCIe/PCI SERR# InterruptChecked
Advanced > Built-In Device Options > Video memory size512MB here
Advanced > Built-In Device Options > Audio DeviceChecked
Advanced > Built-In Device Options > Internal SpeakersChecked
Advanced > Port Options > Serial Port AUnchecked
Advanced > Port Options > SATA*Checked
Advanced > Port Options > *USB*Checked
Advanced > Port Options > USB Charging Port FunctionChecked
Advanced > Port Options > Media Card Reader/SD_RDR USBChecked
Advanced > Port Options > Restrict USB DevicesAllow all USB Devices
Advanced > Power Management Options > Runtime Power ManagementChecked
Advanced > Power Management Options > Extended Idle Power StatesChecked
Advanced > Power Management Options > S5 Maximum Power SavingsChecked
Advanced > Power Management Options > SATA Power ManagementChecked
Advanced > Power Management Options > PCI Express Power ManagementChecked
Advanced > Power Management Options > Power On from Keyboard PortsUnchecked
Advanced > Power Management Options > Unique Sleep State Blink RatesUnchecked
Advanced > Remote Management Options > Active Management (AMT)Unchecked
Advanced > Option ROM Launch Policy > Configure Option ROM Launch Policy > All UEIfor the multimonitor support on boot
CFG Lock removal is not required.
It may be better to remove it. However this cannot be done easily on this BIOS since there is no hidden toggle in the BIOS setup as in others. This is a work in progresss. If you managed to patch it in any way please contact me.
There is a number of information on the Internet. Start here Fixing CFG Lock and see the following reddit posts:
cannot be removed in this BIOS. This is a work in progress.
If you need just a USB stick with OpenCore installation for booting an existing MacOS installation just format the USB stick as following:
Disk Utility > Select USB Device > Erase:
In this step you will add all the required opencore files to the USB flash drive.
Download the latest release from github and unzip the archive. You will find an
ELITEDESK800_EFI directory. Mount the USB Flash Drive’s
EFI partition on
/Volumes/EFI. You can do this with many utilities (e.g. MountEFI or mount_efi.sh).
/Volumes/EFI and rename it to
EFI. It will look like
<key>PlatformInfo</key> <dict> ... <key>MLB</key> <string>XXXXXXXXXXXXXXXXX</string> ... <key>SystemSerialNumber</key> <string>XXXXXXXXXXXX</string> ... <key>SystemUUID</key> <string>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</string> ... </dict>
a valid SMBIOS is really important for Apple Services, iMessage & FaceTime. Check also the guide An iDiot’s Guide To iMessage
During the first time you boot you must clear the NVRAM of the system (Clover and other Bootloader leave traces)
To boot from the USB Flash Drive you can just hit
F9 and you will get the UEFI boot loader. Once you get to Clover hit
space and select
CleanNvram.efi. After it completes power off the computer wait for ten seconds and power on again.
Boot again and Install macOS
At this point OpenCore boot loader is installed only in the USB driver. You are required to install it on your bootable disk. Follow Moving OpenCore from USB to macOS Drive
Since OpenCore does not reccomends to patch for TRIM using the bootloader you need to enable TRIM for all SSDs manually. Open terminal and use command:
sudo trimforce enable. Reboot and check that TRIM is enabled on the
Apple > About this Mac > System Report.
This section is for those who run Clover and want to migrate to OpenCore. You need to:
check your current state:
$ sudo pmset -g System-wide power settings: Currently in use: standby 1 Sleep On Power Button 1 womp 1 autorestart 0 hibernatefile /var/vm/sleepimage proximitywake 1 powernap 1 networkoversleep 0 disksleep 10 standbydelayhigh 86400 sleep 0 (sleep prevented by screensharingd) autopoweroffdelay 28800 hibernatemode 3 autopoweroff 1 ttyskeepawake 1 displaysleep 0 highstandbythreshold 50 standbydelaylow 0
Be aware that hibernation (suspend to disk or S4 sleep) is not supported on hackintosh.
You should disable it:
sudo pmset -a hibernatemode 0 sudo rm /var/vm/sleepimage sudo mkdir /var/vm/sleepimage
Always check your hibernatemode after updates and disable it. System updates tend to re-enable it, although the trick above (making sleepimage a directory) tends to help.
And it may be a good idea to disable the other hibernation related options:
sudo pmset -a autopoweroff 0 sudo pmset -a powernap 0 sudo pmset -a standby 0 sudo pmset -a proxymitywake 0
Upgrade from within macOS. No special action is needed
Big Sur 11.0.1
Use the latest release from here boot in Catalina and upgrade.
GeekBench x64 4.0.3 CPU4796/15263
GeekBench x64 4.0.3 CPU4787/15225
GeekBench x64 4.0.3 GPU/OpenCl21496
GeekBench x64 4.0.3 GPU/OpenCl21479
CINEBENCH R15.038_RC184115 OpenGL55.71fps
CINEBENCH R15.038_RC184115 OpenGL55.53fps
CINEBENCH R15.038_RC184115 CPU824cb
CINEBENCH R15.038_RC184115 CPU821cb
LuxMark-v3.1 OpenCL GPU2544
LuxMark-v3.1 OpenCL GPU2541
LuxMark-v3.1 OpenCL CPU2253
LuxMark-v3.1 OpenCL CPU2274
LuxMark-v3.1 Native C++2569
LuxMark-v3.1 Native C++2532
GeekBench x64 4.3.2 CPU4490/16686
GeekBench x64 4.3.2 GPU/OpenCl32007
GeekBench x64 4.3.2 GPU/Metal23400
CINEBENCH R15.038_RC184115 OpenGL29.91fps
CINEBENCH R15.038_RC184115 CPU810cb
LuxMark-v3.1 OpenCL GPU2141
LuxMark-v3.1 OpenCL CPU1773
AJA System Test Lite SanDisk (with trim) SanDisk SD7SB3Q-256G-1006:217MB/sec write, 400MB/sec read
AJA System Test Lite Seagate Barracuda 7200.14 ST1000DM003-1SB102:140MB/sec write, 161MB/sec read
AJA System Test Lite Western Digital Caviar Green WDC WD10EAVS-14M4B0:84MB/sec write, 91MB/sec read
GeekBench x64 4.3.2 CPU4824/16966
GeekBench x64 4.3.2 GPU/OpenCl32249
GeekBench x64 4.3.2 GPU/Metal23928
CINEBENCH R15.038_RC184115 OpenGL30.46fps
CINEBENCH R15.038_RC184115 CPU760cb
LuxMark-v3.1 OpenCL GPU2240
LuxMark-v3.1 OpenCL CPU1914
Max FPS20.8 (fullscreen/Quality:Medium/Tessellation:Disabled/Anti-aliasing:off/Stereo3D:Disabled)
AJA System Test Lite SanDisk (with trim) Samsung 860 EVO MZ-76E500B/EU:491MB/sec write, 522MB/sec read
AJA System Test Lite Seagate Barracuda 7200.14 ST1000DM003-1SB102:127MB/sec write, 144MB/sec read
AJA System Test Lite Western Digital Caviar Green WDC WD10EAVS-14M4B0:65MB/sec write, 62MB/sec read
GeekBench x64 4.3.2 CPU5128/17340
GeekBench x64 4.3.2 GPU/OpenCl33472
GeekBench x64 4.3.2 GPU/Metal23276
CINEBENCH R15.038_RC184115 OpenGL29.41 fps
CINEBENCH R15.038_RC184115 CPU796cb
LuxMark-v3.1 OpenCL GPU2204
LuxMark-v3.1 OpenCL CPU
AJA System Test Lite SanDisk (with trim) Samsung 860 EVO MZ-76E500B/EU:456MB/sec write, 490MB/sec read
AJA System Test Lite Seagate Barracuda 7200.14 ST1000DM003-1SB102:122MB/sec write, 130MB/sec read
AJA System Test Lite Western Digital Caviar Green WDC WD10EAVS-14M4B0:61MB/sec write, 70MB/sec read
Users may find upgrading OpenCore on an already installed system can result in early boot failures due to
Security > SecureBootModel > Default OCB: LoadImage failed – Security Violation
make sure to check your config.plist against OpenCore Sanity Checker
Apple has introduce SSV (signed system volumes). SSV features a kernel mechanism that verifies the integrity of the system content at runtime, and rejects any data — code and non-code — that doesn’t have a valid cryptographic signature from Apple. In order to make root volume writable you need to disable, mount it, change it, create a new snapshot and boot from that snapshot. I am not responsible if you make your machine unbootable. This may break OS updates. Check how to do it @ macOS 11 Big Sur and Mount root as writable in Big Sur
csrutil authenticated-root disable
/dev/disk1s2s3, you’ll mount
$ mount /dev/disk2s5s1 on / (apfs, sealed, local, read-only, journaled) $ mkdir /Users/xxx/mount sudo mount -o nobrowse -t apfs /dev/disk2s5 /Users/xxx/mount
# Create snapshot. sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs_systemsnapshot -s "ChangedRoot" -v /Users/xxx/mount # Tag snapshot for next boot. sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs_systemsnapshot -r "ChangedRoot" -v /Users/xxx/mount
$ diskutil apfs snapshots disk2s5s1 Snapshots for disk2s5s1 (3 found) | +-- AFD82B0C-23D3-481B-9401-0A17DC46C1EC | Name: com.apple.os.update-779BDF1556C6F688504E24FB29C75AFFABFCB91E701806FFFF35235E19914F1E | XID: 489684 | Purgeable: No | NOTE: This snapshot limits the minimum size of APFS Container disk2 | +-- 4A6FACBE-2667-4127-8143-646C38E3C3B4 | Name: ChangedRoot | XID: 490985 | Purgeable: Yes | +-- 3DC0C93D-F858-4420-AC0B-49FDF23D5C3A Name: NewRoot XID: 9223372036855268389 Purgeable: Yes
You can view Changelog for detailed information.
If you feel so you can buy me a coffee or a beer!
USBPorts, VirtualSMC, and WhateverGreen.