Jump to content

[GUIDE] HP EliteBook 8570p


AlphaGoob
 Share

3 posts in this topic

Recommended Posts

 Information:

  • Easy step by step setup with Windows
  • No knowledge of DSDT/SSDT patching needed

// What you need:

  • A PC with Windows installed.
  • USB 2.0 drive with a minimal storage of 16 GB
  • The pre-installation and post-installation files from my GitHub
  • Internet connection to your laptop with a ethernet cable

// Links:

// My specifications:

  • HP EliteBook 8570p
  • Intel core i5 3210M (Ivy Bridge)
  • Intel HD 4000
  • Intel 7 series chipset
  • Intel 82579L ethernet
  • Intel Centrino Ultimate-N 6300 AGN (633ANHMW)
  • Audio IDT Codec (Layout-ID 2)
  • SSD (multiple brands possible)

// Tested on:

  • macOS 10.13 High Sierra
  • macOS 10.14 Mojave
  • macOS 10.15 Catalina

// What works:

  • Keyboard and trackpad
  • Audio (speakers and microphone)
  • USB ports
  • Camera
  • Battery status
  • Graphics
  • Ethernet
  • iCloud (App store, iMessage and FaceTime) and Airplay

// Not Working:

  • WiFi
  • Bluetooth

Before starting

// Notes:

  • I’m not a experienced hackintosh-er. I assume the SSDT’s, DSDT’s and config files can be done better, but it all works very stable. If you have any suggestion or adjustments please contact me. I would be glad to change and test it out.

// Tips:

  • Use a USB mouse at the catalina installer. Your trackpad will be very slow. It is solved in the post-installation.
  • Boot the installation of macOS in Verbose mode. The loading bar will sometimes not move but in verbose you will see all progress. Do this by pressing the space bar in Clover on you macOS Installation and select Verbose.
  • If you don’t have another drive to boot (for example Windows) you can setup Clover Configurator so it doesn’t show the selection screen. For that go to Boot option in Clover Configurator and select “Fast”.

Pre-installation

// BIOS Settings:

  1. Update your BIOS to the latest version
  2. Open your BIOS settings with F10
  3. Restore your BIOS defaults
  4. Check the following settings:
    • Boot settings - Custom Logo (Optional for Apple logo at boot)
    • Boot settings - Disable fast boot
    • Boot settings - Boot mode - UEFI hybrid (with CSM)
    • Boot settings - Disable Secure boot (disabled if greyed out)
    • Device configuration - Disable Wake on USB
    • Built-in Device Options - Disable LAN/WLAN switching
    • Built-in Device Options - Wake on LAN - Disable
    • Port Options - Disable serial port
    • Port Options - Disable 1394 port

// Making a USB installation:

  1. Install Python and don’t forget to select “Add python to path” in the installer
  2. Open GibMacOS (gibmacos.bat) as administrator
  3. Select recovery mode with “R”
  4. Select the option for Catalina with “full install” in the note
  5. GibMacOS will create some folders, open them until you see a .pkg file
  6. Copy the path of the PKG file
  7. Insert your USB Stick at a usb port on your motherboard
    • In this case it are the USB ports under your power button.
  8. Open GibMacOS (makeinstall.bat) as administrator
  9. Select your USB drive with the corresponding number
  10. If the installer ask for your recovery path paste it here (pkg of step 6)
    • This can take up to 15 minutes

// Preparing the USB drive:

  1. Delete all files in the following folders on your USB drive
    • /EFI/BOOT/BOOTX64.efi
    • /EFI/CLOVER/drivers/BIOS
    • /EFI/CLOVER/drivers/UEFI
    • /EFI/CLOVER/kexts/Other
  2. Delete the CLOVERX64.efi and config.plist in your /EFI/CLOVER folder
  3. Open Clover pre-installation folder
  4. Copy /EFI/CLOVER/ACPI to the /EFI/CLOVER/ folder on your USB drive
  5. Copy all files from the following folders in the pre-installation folder to your USB drive
    • /EFI/BOOT/
    • /EFI/CLOVER/drivers/BIOS
    • /EFI/CLOVER/drivers/UEFI
    • /EFI/CLOVER/kexts/Other
  6. And finally copy CLOVERX64.EFI, config.plist and drivers64UEFI to the clover folder on your USB drive.
  7. Check the Clover folder. You now should have a copy of my Clover folder (a full copy won’t work, that’s why i use all the steps)

// Install MacOS Catalina:

  1. Restart your laptop
  2. Press F9 for your boot menu
  3. Select Boot from EFI file
  4. Navigate to /EFI/BOOT/BOOTX64.efi
  5. Select this option and Clover will load
  6. In clover, hit Enter on MacOS recovery installation
  7. In the MacOS Installation open Disk Utility
  8. Remove all volumes on the Internal SSD
  9. Select Container Disk1 and select Erase
  10. Name your disk (i like “Hackintosh HD”)
  11. Select APFS as structure, and click erase.
  12. Close the disk utility and open the MacOS Installer
  13. Follow the instructions in the installer
  14. Your laptop will reboot and show Clover again select the installer from your internal SSD instead of the USB Drive.
    • This can take up to 30 minutes
  15. If your laptop reboots for the second time and shows Clover select Boot macOS from internal HDD.
    • This can take up to 10 minutes

Post-installation

// Clover Configurator:

  1. Go to Finder > Settings
  2. Enable your hard drive to show on your desktop
  3. Unzip Clover Configurator
  4. Move Clover Configurator to your Apps folder on your hard drive

// Setup your EFI disk:

  1. Open Clover Configurator
    • If you start Clover Configurator for the first time you need to go to Security in your settings panel and enable Clover to start.
  2. Click on Mount Efi and select Mount Partition. A Partition will show on your desktop
  3. Rename the partitition to “HP_TOOLS” (for HP Custom boot logo)
  4. Move the Hewlett-Packard folder to your EFI partition (for HP Custom boot logo)
  5. Replace the EFI folder with the post-installation clover folder.
    • If you don’t want to use my bootloader theme you can delete the bootcamp_alpha folder from /EFI/CLOVER/themes/

// Make SMBios suitable for iCloud:

  1. Open Clover Configurator
  2. Select File > Open and open the config.plist you just moved to your EFI/CLOVER/
  3. Click on SMBIOS
  4. Select “Generate New” under both System - Serial Number as System - SmUUID

// Enable Audio:

  1. Install VoodooHDA
  2. Click next until you see the screen “Installationtype” Now select “Edit” on the left.
  3. Unfold the first option (VoodooHDA Clover UEFI/ESP and select macOS Catalina.
  4. Click Install. You will get voodoohda.kext in your clover folder and a extra menu in your preferences.
  5. Go to your system preferences
  6. Select VoodooHDA
  7. On the left select Microphone (Both)
  8. Slide the Monitor slider all the way down.

// Disable hibernate (Your system will freeze at sleep otherwise):

  1. Open up your terminal and run the following commands
  2. sudo pmset -a hibernatemode 0
  3. sudo rm /var/vm/sleepimage
  4. sudo mkdir /var/vm/sleepimage

All Done!

Troubleshooting:

To get as far as i am now i did a lot of troubleshooting. I hope the information below can help someone with the same issues.

// KEXT | Not working

  • AirportBrcmFixup.kext - Not working for Broadcom 4312 chips
  • AppleIntelCPUPowerManagement.kext - No Effect on the i5 3210m
  • AppleIntelE1000.kext - Use IntelMausiEthernet.kext and clover 4988 instead of 5000+ (bug with IntelMausi in newer builds)
  • AppleIntelE1000e.kext - Use IntelMausiEthernet.kext and clover 4988 instead of 5000+ (bug with IntelMausi in newer builds)
  • ApplePS2SmartTouchPad.kext - Use voodoops2controller.kext instead.
  • BrcmFirmwareRepo.kext - Will cause macOS to boot slow (apfs_keybag_init: 1583: Failed to initialize volume keybag, err = 2)
  • BrcmNonPatchRAM2.kext - Will cause macOS to boot slow (apfs_keybag_init: 1583: Failed to initialize volume keybag, err = 2)
  • BrcmPatchRAM2.kext - Will cause macOS to boot slow (apfs_keybag_init: 1583: Failed to initialize volume keybag, err = 2)
  • IntelMausi.kext - Use IntelMausiEthernet.kext and clover 4988 instead of 5000+ (bug with IntelMausi in newer builds)
  • USBInjectAll.kext - This laptop only has USB 2.0. Eveytime you plugin a USB device it will say "USB Device Disabled, Unplug the device using too much power to re-enable USB Devices".

// KEXT | Partly working

  • IO80211Family.kext (Broadcom 4312 | BRCM94312) - It will show the correct WiFi card but you cannot find any network or connect. The card isn't supported from Sierra and above.

// Drivers | Not working

  • AptioInputFix.efi - End RandomSeed / End LoadRamDisk error. Use OsxAptioFixDrv-64.efi instead
  • DataHubDxe-64.efi - ACPI Error: Method parse/execution failed. Removing it will fix the problem.
  • EmuVariableUefi-64.efi - macOS not booting at all. Use OsxAptioFixDrv-64.efi instead
  • OsxAptioFix2Drv-64.efi - End RandomSeed / End LoadRamDisk error. Use OsxAptioFixDrv-64.efi instead
  • OsxAptioFix3Drv-64.efi - End RandomSeed / End LoadRamDisk error. Use OsxAptioFixDrv-64.efi instead
  • OsxAptioFix3Drv.efi - End RandomSeed / End LoadRamDisk error. Use OsxAptioFixDrv-64.efi instead
  • VBoxHfs.efi - Not needed for APFS files

// Battery status

  • There was an issue in my DSDT. There wasn’t a specific patch available but with a DSDT from another user i managed to get it working. I just needed to patch his DSDT for use with the Intel HD 4000. If you combine it with ACPIBatteryManager.kext it will work.

// macOS slow boot (apfs_keybag_init:1583: Failed to initialize volume keybag, err = 2

  • In the Rehabman guide i used he automaticly installed BrcmPatchRam2.kext and BrcmFirmwareRepo.kext. On Mojave and High Sierra they worked fine, but in Catalina this caused the OS to took almost 5 times as long to boot (1:19 from clover).

// Touchpad not working or slow

  • I started to work with VirtualSMC.kext. But after some troubleshooting it seems that FakeSMC.kext works beter for this laptop. After i changes to FakeSMC the trackpad works. For some reason it also is very slow in the macOS installer.

// No internet via ethernet in macOS installer

  • I could start the installer of macOS very easily but i didn’t have a internet connection via ethernet (en0). after some searching I found out that IntelMausiEthernet.kext won’t work on newer clover versions (i used 5103 at first). After downgrading to Clover 4988 my ethernet was working again.

// Catalina won’t boot or give a black screen after loading

  • The first time is started Catalina with Clover it wasn’t working. On the other hand Mojave was working like a charm. I troubleshooted everything on Mojave and then use the mac upgrade from the app store to upgrade to Catalina. It worked! After that i only needed to do some basic troubleshooting for after the upgrade to Catalina. Catalina can be difficult to troubleshoot because of the APFS system it uses. Almost all faults at boot will result in a APFS error.

// MacOS won’t boot (End LoadRAMDisk, End RandomSeed, +++++)

  • I needed to map out my RAM. I did this with ProperTree. If you need it you can edit my config.plist and find my ram. Just edit your brand etc. and you are good to go!

// MacOS won’t Boot (Error loading kernel cache (0x9) or ACPI Error: Method parse/execution failed or apfs_module_start:1689: load: com.apple)

  • It seems that osxaptiofix3drv-64.efi is not working. You need to use OsxAptioFixDrv-64.efi. You will find this EFI in my files on GitHub.

// Siri won't hear my voice

  • If Siri doesn’t recognize your microphone or you have a lot of noise on your microphone please repeat step 5 to 8. macOS sometimes randomly set the monitor slider up again.

// SIP protection

  • Even with SIP turned off mac has a super-super-root user in the form of a virtual disk. Disable it:
  • sudo mount -uw /
  • killall Finder
Link to comment
Share on other sites

  • 1 month later...

Hi, I just tried your guide but even though I followed everything step by step twice, making sure to replace the files with the ones from your clover, I can't get past the Mac screen at the installation point where it tells me I need an internet connection. 

 

Did you do your first install with Mojave or with Catalina? I was trying with Catalina but i see that you mention getting Catalina to work by first installing mojave. Would you recommend that I do the same and try to install mojave first? Thank you.

Link to comment
Share on other sites

  • 1 year later...
On 5/26/2020 at 10:52 AM, AlphaGoob said:

 Information:

  • Easy step by step setup with Windows
  • No knowledge of DSDT/SSDT patching needed

// What you need:

  • A PC with Windows installed.
  • USB 2.0 drive with a minimal storage of 16 GB
  • The pre-installation and post-installation files from my GitHub
  • Internet connection to your laptop with a ethernet cable

// Links:

// My specifications:

  • HP EliteBook 8570p
  • Intel core i5 3210M (Ivy Bridge)
  • Intel HD 4000
  • Intel 7 series chipset
  • Intel 82579L ethernet
  • Intel Centrino Ultimate-N 6300 AGN (633ANHMW)
  • Audio IDT Codec (Layout-ID 2)
  • SSD (multiple brands possible)

// Tested on:

  • macOS 10.13 High Sierra
  • macOS 10.14 Mojave
  • macOS 10.15 Catalina

// What works:

  • Keyboard and trackpad
  • Audio (speakers and microphone)
  • USB ports
  • Camera
  • Battery status
  • Graphics
  • Ethernet
  • iCloud (App store, iMessage and FaceTime) and Airplay

// Not Working:

  • WiFi
  • Bluetooth

Before starting

// Notes:

  • I’m not a experienced hackintosh-er. I assume the SSDT’s, DSDT’s and config files can be done better, but it all works very stable. If you have any suggestion or adjustments please contact me. I would be glad to change and test it out.

// Tips:

  • Use a USB mouse at the catalina installer. Your trackpad will be very slow. It is solved in the post-installation.
  • Boot the installation of macOS in Verbose mode. The loading bar will sometimes not move but in verbose you will see all progress. Do this by pressing the space bar in Clover on you macOS Installation and select Verbose.
  • If you don’t have another drive to boot (for example Windows) you can setup Clover Configurator so it doesn’t show the selection screen. For that go to Boot option in Clover Configurator and select “Fast”.

Pre-installation

// BIOS Settings:

  1. Update your BIOS to the latest version
  2. Open your BIOS settings with F10
  3. Restore your BIOS defaults
  4. Check the following settings:
    • Boot settings - Custom Logo (Optional for Apple logo at boot)
    • Boot settings - Disable fast boot
    • Boot settings - Boot mode - UEFI hybrid (with CSM)
    • Boot settings - Disable Secure boot (disabled if greyed out)
    • Device configuration - Disable Wake on USB
    • Built-in Device Options - Disable LAN/WLAN switching
    • Built-in Device Options - Wake on LAN - Disable
    • Port Options - Disable serial port
    • Port Options - Disable 1394 port

// Making a USB installation:

  1. Install Python and don’t forget to select “Add python to path” in the installer
  2. Open GibMacOS (gibmacos.bat) as administrator
  3. Select recovery mode with “R”
  4. Select the option for Catalina with “full install” in the note
  5. GibMacOS will create some folders, open them until you see a .pkg file
  6. Copy the path of the PKG file
  7. Insert your USB Stick at a usb port on your motherboard
    • In this case it are the USB ports under your power button.
  8. Open GibMacOS (makeinstall.bat) as administrator
  9. Select your USB drive with the corresponding number
  10. If the installer ask for your recovery path paste it here (pkg of step 6)
    • This can take up to 15 minutes

// Preparing the USB drive:

  1. Delete all files in the following folders on your USB drive
    • /EFI/BOOT/BOOTX64.efi
    • /EFI/CLOVER/drivers/BIOS
    • /EFI/CLOVER/drivers/UEFI
    • /EFI/CLOVER/kexts/Other
  2. Delete the CLOVERX64.efi and config.plist in your /EFI/CLOVER folder
  3. Open Clover pre-installation folder
  4. Copy /EFI/CLOVER/ACPI to the /EFI/CLOVER/ folder on your USB drive
  5. Copy all files from the following folders in the pre-installation folder to your USB drive
    • /EFI/BOOT/
    • /EFI/CLOVER/drivers/BIOS
    • /EFI/CLOVER/drivers/UEFI
    • /EFI/CLOVER/kexts/Other
  6. And finally copy CLOVERX64.EFI, config.plist and drivers64UEFI to the clover folder on your USB drive.
  7. Check the Clover folder. You now should have a copy of my Clover folder (a full copy won’t work, that’s why i use all the steps)

// Install MacOS Catalina:

  1. Restart your laptop
  2. Press F9 for your boot menu
  3. Select Boot from EFI file
  4. Navigate to /EFI/BOOT/BOOTX64.efi
  5. Select this option and Clover will load
  6. In clover, hit Enter on MacOS recovery installation
  7. In the MacOS Installation open Disk Utility
  8. Remove all volumes on the Internal SSD
  9. Select Container Disk1 and select Erase
  10. Name your disk (i like “Hackintosh HD”)
  11. Select APFS as structure, and click erase.
  12. Close the disk utility and open the MacOS Installer
  13. Follow the instructions in the installer
  14. Your laptop will reboot and show Clover again select the installer from your internal SSD instead of the USB Drive.
    • This can take up to 30 minutes
  15. If your laptop reboots for the second time and shows Clover select Boot macOS from internal HDD.
    • This can take up to 10 minutes

Post-installation

// Clover Configurator:

  1. Go to Finder > Settings
  2. Enable your hard drive to show on your desktop
  3. Unzip Clover Configurator
  4. Move Clover Configurator to your Apps folder on your hard drive

// Setup your EFI disk:

  1. Open Clover Configurator
    • If you start Clover Configurator for the first time you need to go to Security in your settings panel and enable Clover to start.
  2. Click on Mount Efi and select Mount Partition. A Partition will show on your desktop
  3. Rename the partitition to “HP_TOOLS” (for HP Custom boot logo)
  4. Move the Hewlett-Packard folder to your EFI partition (for HP Custom boot logo)
  5. Replace the EFI folder with the post-installation clover folder.
    • If you don’t want to use my bootloader theme you can delete the bootcamp_alpha folder from /EFI/CLOVER/themes/

// Make SMBios suitable for iCloud:

  1. Open Clover Configurator
  2. Select File > Open and open the config.plist you just moved to your EFI/CLOVER/
  3. Click on SMBIOS
  4. Select “Generate New” under both System - Serial Number as System - SmUUID

// Enable Audio:

  1. Install VoodooHDA
  2. Click next until you see the screen “Installationtype” Now select “Edit” on the left.
  3. Unfold the first option (VoodooHDA Clover UEFI/ESP and select macOS Catalina.
  4. Click Install. You will get voodoohda.kext in your clover folder and a extra menu in your preferences.
  5. Go to your system preferences
  6. Select VoodooHDA
  7. On the left select Microphone (Both)
  8. Slide the Monitor slider all the way down.

// Disable hibernate (Your system will freeze at sleep otherwise):

  1. Open up your terminal and run the following commands
  2. sudo pmset -a hibernatemode 0
  3. sudo rm /var/vm/sleepimage
  4. sudo mkdir /var/vm/sleepimage

All Done!

Troubleshooting:

To get as far as i am now i did a lot of troubleshooting. I hope the information below can help someone with the same issues.

// KEXT | Not working

  • AirportBrcmFixup.kext - Not working for Broadcom 4312 chips
  • AppleIntelCPUPowerManagement.kext - No Effect on the i5 3210m
  • AppleIntelE1000.kext - Use IntelMausiEthernet.kext and clover 4988 instead of 5000+ (bug with IntelMausi in newer builds)
  • AppleIntelE1000e.kext - Use IntelMausiEthernet.kext and clover 4988 instead of 5000+ (bug with IntelMausi in newer builds)
  • ApplePS2SmartTouchPad.kext - Use voodoops2controller.kext instead.
  • BrcmFirmwareRepo.kext - Will cause macOS to boot slow (apfs_keybag_init: 1583: Failed to initialize volume keybag, err = 2)
  • BrcmNonPatchRAM2.kext - Will cause macOS to boot slow (apfs_keybag_init: 1583: Failed to initialize volume keybag, err = 2)
  • BrcmPatchRAM2.kext - Will cause macOS to boot slow (apfs_keybag_init: 1583: Failed to initialize volume keybag, err = 2)
  • IntelMausi.kext - Use IntelMausiEthernet.kext and clover 4988 instead of 5000+ (bug with IntelMausi in newer builds)
  • USBInjectAll.kext - This laptop only has USB 2.0. Eveytime you plugin a USB device it will say "USB Device Disabled, Unplug the device using too much power to re-enable USB Devices".

// KEXT | Partly working

  • IO80211Family.kext (Broadcom 4312 | BRCM94312) - It will show the correct WiFi card but you cannot find any network or connect. The card isn't supported from Sierra and above.

// Drivers | Not working

  • AptioInputFix.efi - End RandomSeed / End LoadRamDisk error. Use OsxAptioFixDrv-64.efi instead
  • DataHubDxe-64.efi - ACPI Error: Method parse/execution failed. Removing it will fix the problem.
  • EmuVariableUefi-64.efi - macOS not booting at all. Use OsxAptioFixDrv-64.efi instead
  • OsxAptioFix2Drv-64.efi - End RandomSeed / End LoadRamDisk error. Use OsxAptioFixDrv-64.efi instead
  • OsxAptioFix3Drv-64.efi - End RandomSeed / End LoadRamDisk error. Use OsxAptioFixDrv-64.efi instead
  • OsxAptioFix3Drv.efi - End RandomSeed / End LoadRamDisk error. Use OsxAptioFixDrv-64.efi instead
  • VBoxHfs.efi - Not needed for APFS files

// Battery status

  • There was an issue in my DSDT. There wasn’t a specific patch available but with a DSDT from another user i managed to get it working. I just needed to patch his DSDT for use with the Intel HD 4000. If you combine it with ACPIBatteryManager.kext it will work.

// macOS slow boot (apfs_keybag_init:1583: Failed to initialize volume keybag, err = 2

  • In the Rehabman guide i used he automaticly installed BrcmPatchRam2.kext and BrcmFirmwareRepo.kext. On Mojave and High Sierra they worked fine, but in Catalina this caused the OS to took almost 5 times as long to boot (1:19 from clover).

// Touchpad not working or slow

  • I started to work with VirtualSMC.kext. But after some troubleshooting it seems that FakeSMC.kext works beter for this laptop. After i changes to FakeSMC the trackpad works. For some reason it also is very slow in the macOS installer.

// No internet via ethernet in macOS installer

  • I could start the installer of macOS very easily but i didn’t have a internet connection via ethernet (en0). after some searching I found out that IntelMausiEthernet.kext won’t work on newer clover versions (i used 5103 at first). After downgrading to Clover 4988 my ethernet was working again.

// Catalina won’t boot or give a black screen after loading

  • The first time is started Catalina with Clover it wasn’t working. On the other hand Mojave was working like a charm. I troubleshooted everything on Mojave and then use the mac upgrade from the app store to upgrade to Catalina. It worked! After that i only needed to do some basic troubleshooting for after the upgrade to Catalina. Catalina can be difficult to troubleshoot because of the APFS system it uses. Almost all faults at boot will result in a APFS error.

// MacOS won’t boot (End LoadRAMDisk, End RandomSeed, +++++)

  • I needed to map out my RAM. I did this with ProperTree. If you need it you can edit my config.plist and find my ram. Just edit your brand etc. and you are good to go!

// MacOS won’t Boot (Error loading kernel cache (0x9) or ACPI Error: Method parse/execution failed or apfs_module_start:1689: load: com.apple)

  • It seems that osxaptiofix3drv-64.efi is not working. You need to use OsxAptioFixDrv-64.efi. You will find this EFI in my files on GitHub.

// Siri won't hear my voice

  • If Siri doesn’t recognize your microphone or you have a lot of noise on your microphone please repeat step 5 to 8. macOS sometimes randomly set the monitor slider up again.

// SIP protection

  • Even with SIP turned off mac has a super-super-root user in the form of a virtual disk. Disable it:
  • sudo mount -uw /
  • killall Finder

Here is my OC folder where everything works... to a degree. The limitation is on the Wifi and Bluetooth drivers. What they are limited to is described in the OpenIntellWireless drivers wiki.

Link to comment
Share on other sites

 Share

×
×
  • Create New...