Premade EFI of OpenCore bootloader for HP Z420 is here, running macOS 15!
Current Version: OpenCore 1.0.1 DEBUG with OCLP 2.1.2 running macOS 15.1.1 with success! :D
This repository provides a complete "Plug-and-Play" EFI setup for the OpenCore bootloader, along with all necessary files to install and run macOS on an HP Z420.
- How to download?
- What's Required to Make It Boot?
- Running macOS Sonoma
- Running macOS Ventura
- Running macOS Big Sur and Monterey on your own security risk, ofc
- Installation Guide, general and applicable for all
There are four major ways to obtain an EFI from this repository:
a) Head to release page, expand assets of latest release and download EFI.zip
.
b) Pressing a download button below:
c) Downloading zipped repository:
By selecting Code
-> Downaload ZIP
d) Cloning:
# Clone this repository:
git clone https://github.com/mavethee/Hackintosh-OpenCore-EFI-HP-Z420.git
# Navigate to cloned repository:
cd Hackintosh-OpenCore-EFI-HP-Z420
# Open cloned repository in Finder:
open .
Finally, extract, put EFI
on your USB.
While EFI is premade to address all issues it's a key to understand them, in case of any issues, during install process.
-
Patience and carefully reading docs and understanding the process! :D
-
Lack of AVX2 (Ventura introduced requirement) needs CryptexFixup kext for macOS 13+ to boot, remember to disable f16c sysctl reporting by adding
revpatch=16c
to NVRAM settings. -
For modern AMD GPUs, e.g Polaris and Vega, root patching is required to patch AVX2 driver stack, Navi GPUs are not supported yet.
-
For Metal 1 dGPUs (e.g., Kepler, even tho it reports itself as
Metal 2
capable, it's not), disablemediaanalysisd
with help of RestrictEvents kext and usingrevblock=media
in NVRAM settings. -
With macOS 12.3 Beta 1+, Apple dropped the 'plugin-type' check within X86PlatformPlugin, you need to add ASPP-Override v1.0.1 kext to your
EFI/OC/KEXTS
. -
OCLP works with Sonoma the best with 1.5.0+! But with macOS Sequoia, it is supported since 2.0.0, but as it's active development, latest OCLP is always recommended (and even mandatory!).
-
While Legacy Metal dGPUs work for most part, there are still some issues, see here.
-
Follow OCLP preparation steps (
EFI/OC/config.plist
modification):-
Set SIP to 0x803:
NVRAM
->Add
->7C436110-AB2A-4BBB-A880-FE41995C9F82
->csr-active-config
->03080000
-
Disable Apple Secure Boot:
Misc
->Security
->SecureBootModel
->Disable
-
Disable Signed DMGs loading:
Misc
->Security
->DmgLoading
->Any
-
Reset NVRAM using
ResetNvramEntry.efi
inEFI/OC/DRIVERS
. -
Use AMFIPass v1.4.1 and re-enable AMFI for macOS 14+.
-
If you have an access to real Macs or you're upgrading your Hackintosh to newer macOS release (it's always reccommended in case of huge releases, e.g 14 -> 15), you can create offline installer using OCLP (skipping EFI part for obvious reason - Build and Install OpenCore) but don't forget about AutoPkgInstaller kext for patching the graphics acceleration during install process, which saves you from manual root patching till next macOS update :P
-
-
Install macOS 15, then make sure to grab the latest version of OpenCore Legacy Patcher.
-
As of now, you should have basic understanding of the proccess for older hardware and modern macOS (for maOS 12 and below check), you can head to Installation Guide.
Sources:
- macOS Sequoia and OpenCore Legacy Patcher Support
- Legacy Metal Graphics Support and macOS Ventura - Sequoia
- ...and some of my observations o7
If you're not interested in macOS 14, skip this step, Installation Guide awaits if you read What's Required to Make It Boot? closely :D
Exact same process from end user perspective as with macOS 15, so read section above if you haven't, here's just covered a few basics:
-
To run Sonoma successfully, you need at least OpenCore 0.9.3+ (officially 0.8.3 for AVX2 machines, latest updates are minor, but I recommend sticking to latest) Avoid RSR updates as they don't work with Rosetta Cryptex (Feature seems to be a flop anyways).
-
If you face login sreen issues on 14.1+, stay on 14.0 or disable lockscren and set automatic login before updating to latest. (Seems to be something I've only personally faced, but noting for the record):
Apple logo
->System settings
->Users and Groups
->Automatic login
FIXED: Update to macOS 14.4+ and Root Patch with latest OpenCore Legacy Patcher release (1.4.2 fixed the issue, but latest is more than recommended)
With how mature, macOS 14 now is I suggest sticking with latest release (macOS 14.7 for the time of writting).
Sources:
Current config is prepared for booting Sequoia, so if you want to run Ventura, it's not Monterey, it's basically all the same. If you're not interested in macOS 13, skip this step, Installation Guide awaits if you read What's Required to Make It Boot? closely :D
Not like you have much to read here.
Sources:
- macOS Ventura and OpenCore Legacy Patcher Support
- Idle panic on Metal 1 GPUs during face analysis
- Rapid Security Response with legacy Macs
- Resolve CoreGraphics.framework crashing
- Currently unsupported hardware in Ventura (Most of it's content is now part of What's Required to Make It Boot? section, it's just to keep things clean)
As Apple is moving on, it's not advised to run thoose operating systems and prebuild EFI is not configured to run them properly.
If you're not interested in macOS 12 and below, skip this step, Installation Guide awaits if you read What's Required to Make It Boot? closely :D
Current config is prepared for booting Sequioa, so if you want to run Monterey, revert steps needed for macOS 13+.
-
(Optional as no real effect) Disable skipping the SMBIOS check as it's fully supported on macOS 12 and lower:
-
Remove macOS 13+ related kexts:
EFI/OC/Kexts/CryptexFixup.kext
(Allows non-AVX2 systems)EFI/OC/Kexts/KDKLessWorkaround.kext
(KDKless install)EFI/OC/Kexts/RSRHelper.kext
(Rapid Security Response)
-
macOS Monterey:
This section is split in three parts, make sure to follow instructions for you case.
a) For supported dGPUs, which since macOS 12.0 Beta 7 only AMD dGPUs (you can check here) and just follow the Dortania's OpenCore Install Guide but if you wish to modify this EFI, make sure to follow this steps below:
-
Remove
AutoPkgInstaller.kext
if you have theAutoPkgInstaller.kext
inEFI/OC/KEXTS
from here as it's optional kext for OCLP purposes. -
Revert OCLP prepartion changes by double checking with Dortania's OpenCore Install Guide for steps for dummies, which fully supports this configuration.
b) For unsupported dGPU (Unlike Ventura, you can pick supported dGPU for this system without issues, follow this if macOS 12.0 Beta 7 removed support for your GPU, e.g Kepler):
-
Set SIP to
0x802
:NVRAM
->Add
->7C436110-AB2A-4BBB-A880-FE41995C9F82
->csr-active-config
->02080000
-
Disable Apple Secure Boot:
Misc
->Security
->SecureBootModel
->Disable
-
Disable Signed DMGs loading:
Misc
->Security
->DmgLoading
->Any
-
Reset NVRAM using
ResetNvramEntry.efi
inEFI/OC/DRIVERS
. -
(Optional) For auto root patching your unsupported dGPU, double check if you have the
AutoPkgInstaller.kext
inEFI/OC/KEXTS
from here. -
Flash your config.plist, reboot macOS, and launch OCLP.
-
Follow OCLP prompts and reboot.
c) Steps for all:
- For macOS 12.3 Beta 1+, Apple dropped the 'plugin-type' check within X86PlatformPlugin, double check if you have the ASPP-Override v1.0.1 kext in your
EFI/OC/KEXTS
, see more here.
-
-
macOS Big Sur:
Apple in macOS 11 was generous and didn't removed or dropped most kexts, so support for the hardware is there, but keep in mind it wasn't updated for more than a year now, it's not advised daily driver.
-
You can just follow the Dortania's OpenCore Install Guide and that's pretty much it.
-
If you want, you can also modify this EFI:
-
Remove macOS 12+ and OCLP related kexts:
-
EFI/OC/Kexts/AutoPkgInstaller.kext
(For OCLP purposes), -
EFI/OC/Kexts/ASPP-Override.kext
(For XCPM disabling on 12.3 Beta 1+).
-
-
Remove OCLP prepartion steps, mentioned in Monterey step for supported dGPUs.
-
-
-
With that done, you can head to Installation Guide.
Internal USB 3.0 doesn't work, but USB 2.0 ports should function properly.
USB mapping is important (as it's broken since macOS 11.3+), so consider using USBMap's QUICKSTART guide here.
For USB 3.0, consider using the Inatek KT4004 PCIe expansion card, which has native support.
To install macOS successfully:
-
Use EFI from the
EFI
folder (if USB detection issues persist, see the USB section at the end of this README). -
Avoid using the present SMBIOS, as it's likely invalid. Regenerate using GenSMBIOS for working iServices.
- Ethernet
- Audio
- USB (except internal USB3 ports)
- iServices (iMessage, FaceTime, AppStore, iCloud, etc.)
- Internal USB3 ports, use PCIe ones, keep in mind they wont be visable by BIOS.
- Sleep (Clicking sounds on wake-up attempt)
- Fan Monitoring (needs to be manually mapped in config.plist?)