Contribute
Register

[Guide] HP Elite 8300 & 6300 Pro (all form factors) using Clover UEFI hotpatch

Sniki

Moderator
Joined
Jan 5, 2016
Messages
1,696
Motherboard
Lenovo V330 - 15IKB
CPU
i5-8250U
Graphics
UHD 620 /1920x1080
Mobile Phone
iOS
271652

Introduction
Welcome to my HP 8300 & 6300 (all form factors) macOS Catalina guide.
The inspiration to get one of these Desktops came from @trs96 and his great guides that he created for macOS High Sierra & macOS Sierra.
Below you can find @pastrychef @trs96 and my previous guide:

Link to @pastrychef User Build HP Elite 8300 SFF guide
Link to @trs96 macOS Sierra guide
Link to @trs96 macOS High Sierra guide
Link to my macOS Mojave guide

Overview
This guide uses official Clover Bootloader builds as that's what i am more familiar with. I'm also using the Clover UEFI hotpatching method as opposed to DSDT edits for working audio, graphics, USB, etc.
I will add the Unibeast & Multibeast installation steps later for those who prefer it or as a complete replacement later.
All the files such as: config.plist, SSDTs, kexts, customizations, scripts and tools will be maintained on my github repo for better and faster updates.
Everything in there will be documented so that everyone can read commits and see what has changed and updated from last time checked.

Upgrades
- Work in progress

Graphics Cards
- Work in progress

Wireless and Bluetooth Cards
- Work in progress


What works
- Intel HD4000 Graphics QE/CI
- Audio (All inputs and outputs)
- USB 3.0 and 2.0 Ports
- Intel Gigabit Ethernet
- Sleep and Wake
- Display Port & Display Port Audio
- CPU & GPU Power Management
- Serial Port
- Wireless and Bluetooth (with compatible card)
- iMessage and Facetime

What doesn't work
- VGA Port (there may be a possible fix but not worth the effort as almost no one uses it anymore)

What you need
- One of the HP 6300 or 8300 form factors
- macOS Catalina downloaded from the Mac App Store
- 8GB+ USB Flash drive
- Downloaded HP6300-HP8300 Repository from my Github (Click on HP6300-HP8300) and download as zip like in the picture shown below:
413160

BIOS

Step 1: Update Bios

Determine which BIOS revision is installed on your HP PC. Tap on F10 repeatedly after powering on to enter the BIOS. Then go to File → System Information → System BIOS. Many of these will come with v02.05 installed. If it is older than v02.83, you’ll want to flash it to the v02.99 Rev. A version. This step is mandatory for the install of Sierra, High Sierra, Mojave or Catalina to work properly.

Here's the link to the post where @trs96 describe the BIOS flash method using the .BIN file for 2.99 or 3.04.
https://www.tonymacx86.com/threads/...fordable-customac.224812/page-47#post-1570668

Step 2: Configuration
Tap on F10 repeatedly after powering on to enter the BIOS

Go to Storage tab > Storage Options:
SATA emulation: AHCI
Removable Media Boot: Enabled

Go to Security tab:
Network Boot: Disabled
Secure Boot Configuration:
Legacy Support: Disabled
Secure Boot: Disabled
Fast Boot - Enabled

Special Note (Must read)
Before proceeding with this guide, i would highly suggest that you begin with a clean install rather than upgrading from your previous setup as the method and kexts are different than what you might be currently using on your HP Desktop PC.

If your HP desktop is setup by using my previous macOS Mojave guide: https://www.tonymacx86.com/threads/guide-hp-elite-8300-hp-6300-pro-using-clover-uefi-hotpatch.265384/
You can update directly from macOS Mojave.

Direct update from Mojave:
1. Backup all your data (if something goes wrong, you will be able to restore them)
2. Download latest Clover Bootloader
3. Download all the latest kexts (currently attached at the end of the guide as they haven't released prebuilt kexts for macOS Catalina yet.
4. Replace the old ones on EFI/Clover/kexts/Other & by installing newest ones into Library/Extensions
5. Use my latest files from Repo (SSDT-HP.aml & config.plist) and replace with old ones.
5. Proceed with the update.

Creating USB Installer

I would suggest everyone to go read the @RehabMan guide on how to boot USB Installer as it covers everything that you will need or face during setup.
Link: https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

Step 1:
Download Clover Bootloader:
https://sourceforge.net/projects/cloverefiboot/

Step 2:
Format USB Drive as "HFS+J" with "GPT Partition Table" and make sure to name it: install_osx

Step 3:
Download macOS Catalina from the Mac App Store, after the download process has been finished, create the USB Installer by opening Terminal and writing the following command:
Code:
sudo "/Applications/Install macOS Catalina.app/Contents/Resources/createinstallmedia" --volume  /Volumes/install_osx --nointeraction
Press "Enter" and it will ask for your "User" password, type your Password, wait for the process, wait for the process to end, it should take around 10-30 minutes.

Step 4:
Download all the needed kexts for "Pre" and "Post" installation. I listed all the needed kexts down below which are in form of links and as soon as you click on them, they should send you straight to the download page:

Lilu.kext
VirtualSMC.kext
SMCProcessor.kext
SMCSuperIO.kext

WhateverGreen.kext
AppleALC.kext
IntelMausi.kext
USBInjectAll.kext
CodecCommander.kext
VoodooTSCSync.kext
EFICheckDisabler.kext (attached at the end of the guide)

Step 5:
Prepare USB Drive with the correct configuration, kexts, Bootloader, config.plist and ACPI.
Install Clover Bootloader by carefully following the steps explained down below:
Warning! if you accidentally install Clover Bootloader into the partition of the real MacBook, Mac Mini, iMac or Mac Pro that you are using, you might brick it !, so be careful and choose the USB drive for installation !
Open Clover bootloader installer, click on continue, agree, continue and when you reach this screen:
413161

Make sure to click on Change Install Location... and then select the USB Drive as shown in the screenshot down below:
413162

Now click "Continue", after this step, click on "Customize" as seen in the screenshot down below:
413163

This brings us into the customization section of Clover Bootloader where we select the appropriate configuration for our hardware like shown in the screenshot down below:
413165

Select/Checkmark the settings as listed on the screenshot above or written down below:

- Clover for UEFI booting only
- Install Clover in the ESP

Make sure you don't touch the UEFI Drivers as they are already pre-configured but just in case to make sure everything is correct, make sure to check the picture down below to see if all the needed drivers are selected accordingly:
413166


Themes

Select the themes that you want to install which you can configure later on as for now my config.plist file uses the "Embedded" theme as Dark.
Now click "Install", it will open a prompt for your "User" password, write password and press Enter, the installation will start.


Pre Installation

As soon as bootloader installation ends, your EFI partition of the USB Drive will be mounted (will show up on desktop).
Open the EFI partition of your USB Drive and go to:
EFI/Clover/ and delete config.plist, copy the config.plist that you downloaded from my repo and paste it there.
Into EFI/Clover/ACPI/Patched, add the SSDT-HP.aml from my repo
Into EFI/Clover/Drivers64UEFI, make sure to add HFSPlus.efi (click on it to download it).
Into EFI/Clover/kexts/Other, make sure to add the following kexts listed down below:

Lilu.kext
VirtualSMC.kext
SMCProcessor.kext
SMCSuperIO.kext

WhateverGreen.kext
AppleALC.kext
IntelMausi.kext
USBInjectAll.kext
CodecCommander.kext
VoodooTSCSync.kext
EFICheckDisabler.kext (attached at the end of the guide)

Step 6:
Backup all your important data because we will continue with the installation process on the next step/chapter.
Backup Clover Bootloader installer into the USB Drive for installation (not on the USB EFI folder !)
Backup my HP6300-HP8300 folder downloaded from the Github repository
You can simply create a Hackintosh folder into desktop, backup/copy the two above and paste them on that hackintosh folder.
Copy that Hackintosh folder and paste it on the USB Drive "Install macOS Catalina Beta" or whatever name it has.


Installation

Step 1:

Reboot your Desktop PC, after the screen turns on, press F9 repeatedly to enter into the Boot Menu.
On the Boot Menu, choose the USB Drive and press "Enter"
Now it should bring you into the Clover Bootloader menu, select Install macOS Catalina Beta (USB Drive) and press enter.
The Installer now should boot and reach installation menu.

Step 2:
From the installation menu, open Disk Utility, select the partition that you plan to install macOS, format it as APFS and for the purpose of this guide we will name it "Mac". Exit Disk Utility after the format process has finished, this will bring you back to the Installer Main Menu.
Now select install macOS Catalina Public Beta, agree to the "terms and conditions", select your HDD/SSD that you formatted and the installation process will begin. this will be the part 1 install. Part 1 should take around 5 minutes.

Step 3:
Desktop-PC will automatically reboot when Part 1 installation ends. now as soon as Clover Bootloader menu shows up, this time you select the "Mac" partition to boot from, the installer will continue with Part 2 now and show the progress bar with time remaining under the Apple boot logo.
Note: Sometimes as soon as the time remaining shows up under the Apple boot logo, the Desktop-PC will reboot once more, if this happens, choose again to boot from the "Mac" partition and part 2 installation will continue and complete.
After the installation has been completed, Desktop-PC will reboot and bring you to the part 3 - first boot user setup.

Step 4:
Select Language, Continue, Connecting to Internet is optional or you can skip it for now.
When you reach the menu to sign with your Apple ID, make sure to skip this step, it will be important if you want to setup iMessage & FaceTime.


Post Installation

Step 1:

Run Apps from anywhere is now missing from SysPrefs > Security & Privacy > General.
Open terminal and enter the following command:
Code:
sudo spctl --master-disable
This allows you to install Applications downloaded from Internet / Outside of the Mac App Store.

Step 2:
Open Clover Bootloader installer and continue with bootloader installation into the HDD/SSD that we installed macOS.
The procedures are exactly the same as on the Creating USB Installer - Step 5 of the guide, except that this time, instead of the USB Drive, we select the "Mac" HDD/SSD that we installed macOS.

Step 3:
Now we need to install all the needed kexts into the HDD/SSD where we installed macOS: the "Mac" partition.
All kexts should be installed into /Library/Extensions

Download all the kexts if you still didn't:

Lilu.kext
VirtualSMC.kext
SMCProcessor.kext
SMCSuperIO.kext

WhateverGreen.kext
AppleALC.kext
IntelMausi.kext
USBInjectAll.kext
CodecCommander.kext
VoodooTSCSync.kext
EFICheckDisabler.kext (attached at the end of the guide)

Extract them and make sure to copy each & only the ones listed above by selecting the "Release" folder of the kexts.
Create a folder on desktop called "kexts", copy all the listed kexts into that "kexts" folder into desktop
Open Terminal and write this command to install kexts into Library/Extensions/:
Code:
cd desktop/kexts
sudo cp -R *.kext /Library/Extensions/
Hit enter, write your Username password and all the kexts will be copied/installed into /Library/Extensions
Now we need to rebuild caches with the following terminal command:
Code:
sudo kextcache -i /
Wait for the process to end, after the process is completed, reboot.

Step 4: Disable Hibernation
Be aware that hibernation (suspend to disk or S4 sleep) is not supported on hackintosh.

You should disable it:
Code:
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:
Code:
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
Step 5:
Create a new folder on desktop and name it: tools
copy hda-verb, patchmatic, iasl and paste them on the "tools" folder that you created on desktop

Get "hda-verb" from the CodecCommander.zip that you downloaded from the kext links
Get "patchmatic" by clicking on this: Link
Get "iasl" by click on this: Link

Open terminal and write the following commands to install these tools:
Code:
cd desktop/tools
sudo cp iasl /usr/local/bin
sudo cp patchmatic /usr/local/bin
sudo cp hda-verb /usr/local/bin

Power Management
Power Management contrary to what many desktop guides use to say, for me it's not something only necessary for laptops, but it is really important to be properly implemented for Desktops as well.

Without proper Power Management your Desktop:
- Won't be able to reach it's maximum performance (no idle frequency, not reaching max turbo boost, overclock speed, etc)
- Won't be stable, crashes, freezes, hangs, etc.
- Excessive Power Consumption, fans spinning all time, Noise, Heat, etc.

In this guide we have two options of Power Management implementation:

1.XCPM Only
This is a newer method that works really well on Haswell+, not so good on some Ivy Bridge CPUs, but does work well on the CPUs that these HP Desktops use.
With this method, we don't need the Custom SSDT.aml create from ssdtPRGen.sh script but instead we have Power Management if set/enable these two settings on config.plist:
- config.plist /ACPI/SSDT/Generate/PluginType=Yes
- config.plist /KernelAndKextPatches/KernelXCPM=Yes

This method of Power Management if used can be universal for all Processors as you don't need to create separate SSDT for Power Management if you use different processor.
However Single core performance seems to be better with the 2nd method listed below (which i use for my Desktop):

2.Custom SSDT.aml using ssdtPRGen.sh
If you have problems on your HP desktop PC with XCPM Only Power Management method, make sure to disable the two settings explained above and set them to "No" like below:
- config.plist /ACPI/SSDT/Generate/PluginType=No
- config.plist /KernelAndKextPatches/KernelXCPM=No

To prepare, you only need to do the first two commands:
Code:
cd ~
curl -o ./ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh
chmod +x ./ssdtPRGen.sh
With newer CPUs, you might want to use the beta branch:
Code:
cd ~
curl -o ./ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh
chmod +x ./ssdtPRGen.sh
Then you can run the script:
Code:
./ssdtPRGen.sh
For some Ivy Bridge CPUs, you may need to use the "-w 2" or "-w 3" (non-beta branch, "-c 2" or "-c 3" for the beta branch).

When it asks if you want to copy to /Extra just respond 'n'. Same for opening ssdt.dsl... respond 'n'.

The results are at ~/Library/ssdtPRGen/SSDT.aml.

Assuming your EFI partition is mounted at /Volumes/EFI, copy that file to EFI partition, /EFI/Clover/ACPI/patched/SSDT.aml

Code:
cd ~
cp ~/Library/ssdtPRGen/ssdt.aml /Volumes/EFI/EFI/Clover/ACPI/patched/SSDT.aml
For full informations and details follow the Rehabman guide (same applies for desktops as well):
https://www.tonymacx86.com/threads/guide-native-power-management-for-laptops.175801/

iMessage and FaceTime
In order to setup your hackintosh machine to use Apple Services, iMessage & FaceTime, please follow @P1LGRIM guide:
https://www.tonymacx86.com/threads/an-idiots-guide-to-imessage.196827/

It has step by step screenshot and written instructions for you to easily fix/setup.

Customization
- This section to be added soon.

System Logo
- to be added soon
Computer Name
- to be added soon
Clover Themes
- to be added soon
Drive Icons
- to be added soon


Enjoy !

Light


413175



Dark

413176


Problem Reporting

It is impossible to diagnose a problem without data that shows how your system is configured.

Also, impossible to analyze any data that you might provide without a clear understanding of your hardware. So make sure your profile is filled as per the first question in this FAQ, "Q. Where do I start?".

If you can't boot, a bare minimum is:
- Boot verbose, attach photo
- Attach EFI/Clover folder as ZIP (press F2 then F4 at main Clover screen just before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Note: Some Keyboards swap Fn+Fx for Fx. For those Keyboards, press Fn+F2 then Fn+F4. If you're not sure, press F2, then F4, then Fn+F2, then Fn+F4. You can also verify by pressing F1 (or Fn+F1) to see which one brings the menu.

If you can boot, but are having some other problem, describe the problem clearly and provide data...

Download patchmatic: https://bitbucket.org/RehabMan/os-x-maciasl-patchmatic/downloads/RehabMan-patchmatic-2015-0107.zip
Extract the 'patchmatic' binary from the ZIP. Copy it to /usr/bin, such that you have the binary at /usr/bin/patchmatic.

In terminal,
Code:
if [ -d ~/Downloads/RehabMan ]; then rm -R ~/Downloads/RehabMan; fi
mkdir ~/Downloads/RehabMan
cd ~/Downloads/RehabMan
patchmatic -extract
Note: It is easier if you use copy/paste instead of typing the commands manually.

Attach contents of Downloads/RehabMan directory as ZIP.

Attach ioreg as ZIP: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.

Provide output (in Terminal):
Code:
kextstat|grep -y acpiplat
kextstat|grep -y appleintelcpu
kextstat|grep -y applelpc
kextstat|grep -y applehda
ls -l /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zml*
pmset -g assertions
pmset -g
system_profiler SPSerialATADataType|grep TRIM
Attach EFI/Clover folder as ZIP (press F2 then F4 at main Clover screen just before collecting). Please eliminate 'themes' directory. Provide only EFI/Clover, not the entire EFI folder.

Note: Some Keyboards swap Fn+Fx for Fx. For those Keyboards, press Fn+F2 then Fn+F4. If you're not sure, press F2, then F4, then Fn+F2, then Fn+F4. You can also verify by pressing F1 (or Fn+F1) to see which one brings the menu.

For 10.11 and later, attach output of (in Terminal):
Code:
sudo kextcache -i /
Older versions:
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /
Compress all files as ZIP. Do not use external links. Attach all files using site attachments only.


Q. Is there a script that will collect all Problem Reporting data automatically?

Yes! (almost)

User @black.dragon74 has created a script (gen_debug.sh) that automates most of the "Problem Reporting" tasks (as described in the previous question).

The part it cannot do is pressing F2 and F4 for you at the main Clover screen.
And of course, it only works for the case you can boot into your system. If you have a problem booting, you must obtain and collect the verbose boot photo manually (and EFI/Clover).

Full details are here:
https://www.tonymacx86.com/threads/tool-generate-proper-problem-reporting-files.235953/
 

Attachments

Last edited:

Sniki

Moderator
Joined
Jan 5, 2016
Messages
1,696
Motherboard
Lenovo V330 - 15IKB
CPU
i5-8250U
Graphics
UHD 620 /1920x1080
Mobile Phone
iOS
Reserved for future Post #2
 

Sniki

Moderator
Joined
Jan 5, 2016
Messages
1,696
Motherboard
Lenovo V330 - 15IKB
CPU
i5-8250U
Graphics
UHD 620 /1920x1080
Mobile Phone
iOS
Reserved for future post #3
 

trs96

Moderator
Joined
Jul 31, 2012
Messages
14,782
Motherboard
GA-Z97X-UD3H-BK
CPU
i5-4690K
Graphics
HD4600 / RX 570
Mac
iMac, Mac mini
Mobile Phone
Android
Excellent work on this. HD4000 is still fully supported in Catalina so these HP desktops are a great choice for an entry level PC for conversion to a CustoMac. You can run most any version of macOS from Mountain Lion all the way up through Catalina. They are ultra reliable. Any replacement parts you might need can be bought on Ebay at very low prices. Size is small enough to put on your desk and they are relatively quiet with their use of 90mm case fans that are PWM controlled.

I do highly recommend the i7-3770 to anyone that doesn't have one yet. The best deal in the USA currently is on Amazon. You can buy the exact same system that Sniki has, follow the guide and have a 100% working Catalina system. Still the best desktop hackintosh value there is.

https://www.amazon.com/dp/B01M4P54KA/?tag=tonymacx86com-20

Screen Shot 7.jpg


These are from a professional MS authorized refurbisher. You will get one in good condition. Specs are great too. Will be nearly as fast as anything that you build new with a quad core CPU. With this hardware and the guide above, your success is guaranteed. Read carefully, take your time and follow all the steps.
If you want a quad core i5-3470 instead, those go for 60 dollars less. Remember that you'll have to spend some money on a low profile graphics card if you go with this system. A Quadro K600 is the lowest cost choice that works.
https://www.newegg.com/p/27N-001E-00077?Description=k600%20quadro&cm_re=k600_quadro-_-9SIAEEN96A4349-_-Product If you have the HP 6300/8300 SFF get one with a low profile bracket.

The most popular choice is the GT 710 which has HDMI 2.0 output that works with a 4K TV. If you want the best graphics available for the SFF model, get the MSI RX 560 LP. Will make editing in FCP X or iMovie buttery smooth. Get your popcorn ready. https://www.newegg.com/msi-radeon-rx-560-4gt-lp-oc/p/N82E16814137308
413205

Newegg has an 8300 SFF model with i5-3470 for about $108. One of the lowest prices you'll find.

The HP 6300 Pro is selling at around $133 on Amazon. Only downside is that you get just one Sata 3.0 connector on the motherboard. The other three are Sata 2.0 spec ports.

413251

The blue colored connector (Sata 0) is Sata3 spec @ 6Gb/s speeds. Others function at 3Gb/s speeds maximum.
Connect your SSD boot drive to Sata 0 and your other slower drives to Sata ports 1 or 2. The black port can be
used for eSata or another internal HDD if you'd like.

 
Last edited:
Joined
Feb 1, 2011
Messages
43
Motherboard
HP EliteDesk 8300 SFF
CPU
i5-3470
Graphics
GT 710
Mac
Mac mini
Mobile Phone
iOS
Upgraded to to Catalina, no issues.

Screen Shot 2019-10-09 at 11.45.24 PM.png
 
Joined
Oct 10, 2013
Messages
23
Motherboard
HP 8300 Tower
CPU
i7 3770
Graphics
GTX 1050 Ti
awesome work.
HP8300 + i7 3770 + AMD RX560 + BCM943602CS card, everything work OOB. including WIFI/BT/HandOff, yes, and iMessage as well.
i followed the old guide so i have a gtx 1050 but i've been wanting to upgrade from High Sierra, hows the performance of the rx560 compared to the gtx 1050 and which kind did you use in your hp?

also wondering if im really missing out on anything. been out of the loop since setting up my computer since its been running so good, the only thing ive been wanting is dark mode really lol
 
Joined
Feb 1, 2011
Messages
43
Motherboard
HP EliteDesk 8300 SFF
CPU
i5-3470
Graphics
GT 710
Mac
Mac mini
Mobile Phone
iOS
i followed the old guide so i have a gtx 1050 but i've been wanting to upgrade from High Sierra, hows the performance of the rx560 compared to the gtx 1050 and which kind did you use in your hp?

also wondering if im really missing out on anything. been out of the loop since setting up my computer since its been running so good, the only thing ive been wanting is dark mode really lol
Read that wrong. But still my 710 works great LOL


I have a NVIDIA GeForce GT 710 1023 MB which isnt as good as your card and I see no issues. I run dual monitors 1080p. Never had a issue playing 1080p videos. I dont game at all, so I dont know anything about gaming performance. Not sure if that helps. As far as upgrading an reason, thats more of a personal thing. I was on Sierra for the longest time and just recently joined the latest crowd.
 
Joined
Mar 16, 2015
Messages
75
Motherboard
HP 8300 SFF-V3.08
CPU
i5-3470
Graphics
GT 640
Mac
Mac mini, Mac Pro
Classic Mac
Power Mac, Quadra, SE/30
i followed the old guide so i have a gtx 1050 but i've been wanting to upgrade from High Sierra,

I want you to make the above HP version and share it with everyone.
 
Joined
Sep 20, 2016
Messages
3
i followed the old guide so i have a gtx 1050 but i've been wanting to upgrade from High Sierra, hows the performance of the rx560 compared to the gtx 1050 and which kind did you use in your hp?

also wondering if im really missing out on anything. been out of the loop since setting up my computer since its been running so good, the only thing ive been wanting is dark mode really lol
i do not have a gtx1050 card, so i am not sure which one performs better between these two card. for all of my daily work (not gaming) with a 32" 4k 60hz monitor, rx560 performs very very smoothly.
 
Top