Jump to content
1 post in this topic

Recommended Posts

macOS on HP Z640 (Haswell-E)

OpenCore-based EFI for HP Z640 (Haswell-E)

Status: Fully Working | Stable | Daily driver

 

HP Z640

 

This project was created from scratch using the Dortania guide specifically for the HP Z640, but should work on the Z440 and Z480 with a few adjustments.

 

DISCLAIMER: As you embark on your Hackintosh journey you are encouraged to READ the entire below guide and Dortania guides before you start.

 

This Z640 Hackintosh project aims to be an all-in-one maintained hub for Opencore-based hackintoshes on the HP Zx40 family. In short, this Z640-Hackintosh is very stable and is currently my daily driver. I fully recommend this project to anyone looking for an old Mac Pro alternative.

 

To download the preconfigured OpenCore-EFI for HP Z640 use the following link: https://github.com/HJebbour/HP-Z640-Hackintosh

This OpenCore-EFI should work as is with macOS Catalina, Big Sur, Monterey, Ventura, Sonoma and Sequoia (DP1).

 

Important: In order to upgrade to macOS 14.4+ the value of 'Misc -> Security -> SecureBootModel' must be set to 'Disabled' in config.plist until the upgrade completely finishes.

 

Should you find an error, or improve anything, be it in the config itself or in the my documentation, please consider opening an issue or a pull request to contribute.

 

I am not responsible for any damages you may cause.

 

Summary

 

Hardware

HP Z640 (Haswell-E)

These are relevant components on my machine which may differ from yours, keep these in mind as you will need to adjust accordingly, depending on your machine's configuration.

  • CPU: Intel Xeon E5-2699 v3 18-core (2,30 GHz)
  • GPU: AMD Radeon RX 580 8 GB
  • Storage: WDC PC SN720 SDAQNTW-512G-1001 (Using PCIe to M.2 adapter)
  • Memory: 72 GB 2133 MHz DDR4
  • Wi-Fi & BT: Fenvi T919 (Broadcom)
  • BIOS: M60 v02.61 23/03/2023 (Latest version to this date)

 

Working

Video and Audio

  • Full Graphics Acceleration (QE/CI)
  • Audio Output (Front/Back) 
  • Audio Input (Front/Back) 
  • Internal Speaker 
  • Automatic Headphone Output Switching 
  • DRM 

 

Power Management

  • CPU Power Management
  • NVMe Compatibility 
  • Sleep / Wake

 

Connectivity

  • Wi-Fi
  • Bluetooth
  • Ethernet 
  • USB 2.0 / USB 3.0 

 

macOS Continuity

  • iCloud, iMessage, FaceTime 
  • AirDrop 
  • Universal Control 
  • Apple Watch Auto Unlock 
  • Instant Hotspot 
  • Continuity Markup and Sketch 
  • Handoff 
  • Universal Clipboard 
  • SMS & Phone Call via iPhone 
  • AirPlay to Mac 

 

Miscellaneous

  • Multiple Boot 
  • Boot chime


Not Working

  • Sidecar
  • Continuity Camera
  • FireVault 2

 

 

Software

  • OpenCore 1.0.0
  • macOS Sonoma 14.5
  • Windows 11 23H2
  • Ubuntu 22.04.4 LTS
  • Fedora 40
  • ESXi 8
  • Proxmox VE 8.2

 

 

ACPI

  • SSDT-EC
  • SSDT-PLUG
  • SSDT-RTC0-RANGE
  • SSDT-UNC
  • SSDT-HPET
  • SSDT-USBX

 

 

Kexts

  • Lilu 1.6.7
  • VirtualSMC 1.3.2
  • AppleALC 1.9.0
  • IntelMausi 1.0.7
  • NVMeFix 1.1.1
  • Innie 1.3.1
  • SMCProcessor 1.3.2
  • SMCSuperIO 1.3.2
  • RestrictEvents 1.1.3
  • AMFIPass 1.4.0
  • WhateverGreen 1.6.6
  • USBMap
  • RTCMemoryFixup 1.0.7
  • IOSkywalkFamily
  • IO80211FamilyLegacy

 

 

UEFI Drivers

  • OpenRuntime
  • OpenCanopy
  • OpenHfsPlus
  • AudioDxe
  • ResetNvramEntry
  • ToggleSipEntry

 

 

Pre-Install

 

UEFI Settings (BIOS)

- Security

  • System Security

           - Virtualization Technology (VT-x): Enable
           - Intel VT for Directed I/O (VT-d): Disable

- Advanced

  • Boot Options

           - Fast Boot: Disable
           - S5 Wake On LAN: Disable

  • Device Configurations

           - SATA Controller Mode: AHCI

  • Secure Boot Configuration

           - Configure Legacy Support and Secure Boot: Disable Legacy Support and Disable Secure Boot

  • Performance Options

           - Intel Hyper-Threading Technology: Enable

 

Adjustments

Broadwell-E

To enable support for Xeon v4 CPUs, you must change the following values in 'Kernel -> Emulate' under your config.plist file:

  • Cpuid1Data: D4060300 00000000 00000000 00000000
  • Cpuid1Mask: FFFFFFFF 00000000 00000000 00000000

 

 

Haswell-E

To enable support for Xeon v3 CPUs, you must change the following values in 'Kernel -> Emulate' under your config.plist file (Already configured in the included EFI folder):

  • Cpuid1Data: C3060300 00000000 00000000 00000000
  • Cpuid1Mask: FFFFFFFF 00000000 00000000 00000000

 

Z840 Support

  • 2nd LAN port must be disabled in BIOS for Z840 workstations
  • Add the following kexts to enable SAS controller:

           - AstekFusion2Family.kext
           - AstekFusion2Adapter.kext

 

Prepare the Install Media

The provided EFI should work and your HP Z640 should boot and work fine. You will at minimum need to generate SMBIOS values if you want Apple services to work. Note that all error reporting/logging has been turned off in the config.plist. You will have a difficult time trouble shooting with the setup provided.

 

If you simply wish to copy my EFI please do the following:

  1. Generate SMBIOS values using GenSMBIOS and add them in the config.plist (Use MacPro7,1 or iMacPro1,1)
  2. Ensure the value of 'showpicker' is  'true' in the config.plist file to provide the opencore menu when booting
  3. Prepare your install USB
  4. Move the entire EFI folder (with your modifications) to the proper partition on your USB
  5. Install - You'll need to select Escape to get the boot menu options and  boot from the USB each time the computer restarts until you've copied the EFI folder onto the hard drive. You may also need to select the correct boot option during install.

 

Post-Install

 

  1. Move the entire EFI folder from the prepared USB (with your modifications) to the EFI partition on your hard drive or SSD.
  2. If you have a Broadcom wireless card (Wi-Fi & Bluetooth) use the OpenCore Legacy Patcher. The EFI folder is already prepared for OCLP.

 

Screenshots

Neofetch & About This Mac

macOS Sonoma 14.5 on HP Z640

 

OpenCore Boot Picker

OpenCore Boot Picker with Multiboot

 

macOS Sequoia 15 DP1 on HP Z640

macOS Sequoia 15 DP1 on HP Z640

Edited by HJebbour
Typos
  • Like 3
×
×
  • Create New...