Contribute
Register

[Guide] HP ProBook/EliteBook/Zbook using Clover UEFI hotpatch

Feartech

Moderator
Joined
Aug 3, 2013
Messages
18,004
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
here is my folder, selected I passed it but now it restarts without accessing the mac
you have multiple files in drivers/UEFI folder, remove the ones with -64 at the end

use an updated config.plist from the laptop guide:
 
Joined
Sep 11, 2018
Messages
7
Motherboard
Intel
CPU
Intel i7
Graphics
mx150
Mac
MacBook Pro
Classic Mac
Apple
Mobile Phone
Android
you may please create the efi folder because using this config nelas guide I go back to the IGPU error
hp Elitebook 840 g2 Broadwell (no AMD grafic)
 

Feartech

Moderator
Joined
Aug 3, 2013
Messages
18,004
Motherboard
Asus N752VX-OpenCore
CPU
i7-6700HQ / HM170
Graphics
HD 530 1920 x 1080
Mac
iMac
Mobile Phone
iOS
you may please create the efi folder because using this config nelas guide I go back to the IGPU error
hp Elitebook 840 g2 Broadwell (no AMD grafic)
not really, I don't have the same hardware as you
 
Joined
Jul 21, 2011
Messages
8
Motherboard
MBP
CPU
i7
Graphics
RTX
Mac
MacBook Pro, Mac mini
Zbook G2 17 High Sierra succesfully installed using this guide.
Almost everything worked after hotpatch.

Still needed after guide:
I Updated all kexts except for VoodooPS2Controller (kept rehabman's version) and moved them all to EFI->Clover->kexts->Other
-SD card reader kext. -> Sinetek-rtsx from github works.
Injected my NVME device as SSDT-NVME.aml

Code:
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20180427 (64-bit version)(RM)
* Copyright (c) 2000 - 2018 Intel Corporation
*
* Disassembling to non-symbolic legacy ASL operators
*
* Disassembly of iASLjgy4o7.aml, Fri Jul  3 15:27:45 2020
*
* Original Table Header:
*     Signature        "SSDT"
*     Length           0x0000008E (142)
*     Revision         0x02
*     Checksum         0x7C
*     OEM ID           "hack"
*     OEM Table ID     "nvme"
*     OEM Revision     0x00000000 (0)
*     Compiler ID      "INTL"
*     Compiler Version 0x20180427 (538444839)
*/
DefinitionBlock ("", "SSDT", 2, "hack", "nvme", 0x00000000)
{
    External (_SB_.PCI0.RP05, DeviceObj)    // (from opcode)

    Scope (\_SB.PCI0.RP05)
    {
        Device (NVME)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Method (\_SB.PCI0.RP05.NVME._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LNot (Arg2))
                {
                    Return (Buffer (One)
                    {
                         0x03                                         
                    })
                }

                Return (Package (0x02)
                {
                    "built-in",
                    Buffer (One)
                    {
                         0x00                                         
                    }
                })
            }
        }
    }
}
-Nvidia K3100M I had to flash vga rom to the card first using windows and NVflash, and now OSX and Windows both recognize and boot perfectly with the card. (credit to EdwardGeo)
(I used this ROM https://www.techpowerup.com/vgabios/172759/172759)
-Modified the hotpatch generated SSDT-zbG2h.aml Under Device RMCF changed -> Name (DGPU, 0x03) to Name (DGPU, Zero) to activate the card.
Don't do this unless the card ROM is flashed or OSX will not boot!
-Duplicated config.plist and have one that disables and one that enables the Nvidia card on boot args.
For Nvidia card, add bootflag darkwake=0 (to fix wake from sleep)
To disable the GPU, you need to add the bootflag -wegnoegpu and there's no need for darkwake.
External displays and dock work only with the Nvidia card enabled.
The reason you might want to boot without Nvidia card is to save battery, and if the computer goes to sleep and you close the lid after, you won't be able to wake it after.
Same goes if you have an external display connected and the laptop goes to sleep.

Replaced the intel wifi card with HP Broadcom BCM94352HMB and using a M.2 (NGFF) Key A/E/A+E to Mini PCI-E Adapter with FFC Cable, I managed to get (almost perfect) wifi and Bt. getting the antennas to work was a bit of a hack, but in the end it works. (it's also a bit crammed in there with the NVME and the adaptor and wifi, but the case closes without a problem)
The only thing is I'm supposed to get 800mb/s out of the adapter and I'm only getting 300mb/s, even in windows, so maybe there's more to how the actual adapter works. Also the radio on/off button on the Zbook stays orange and doesn't work. But other than that both wifi and BT work flawlessly using:
BrcmBluetoothInjector.kext, BrcmFirmwareData.kext and BrcmPatchRam3.kext

And finally to get 100% out of this great machine, I'm still working on Thunderbolt.
It kind of works as is if you boot with a device connected, but it is a fluke. It recognizes the device as a PCI card that can be ejected (kernel panic if you try) and sleep causes KP as well.
I've tried injecting devices and a Falcon Ridge Thunderbolt ROM, and I feel I'm very close to getting true Thunderbolt drivers support, and then it's just a matter of force powering the TB device with a SSDT to have hotswap.
 
Last edited:
Joined
Jun 13, 2016
Messages
87
Motherboard
Elitebk 840 G1
CPU
i5-4310U
Graphics
HD 4400, 1600x900
Mobile Phone
Android
Zbook G2 17 High Sierra succesfully installed using this guide.
Almost everything worked after hotpatch.

Still needed after guide:
I Updated all kexts except for VoodooPS2Controller (kept rehabman's version) and moved them all to EFI->Clover->kexts->Other
-SD card reader kext. -> Sinetek-rtsx from github works.
Injected my NVME device as SSDT-NVME.aml

Code:
/*
* Intel ACPI Component Architecture
* AML/ASL+ Disassembler version 20180427 (64-bit version)(RM)
* Copyright (c) 2000 - 2018 Intel Corporation
*
* Disassembling to non-symbolic legacy ASL operators
*
* Disassembly of iASLjgy4o7.aml, Fri Jul  3 15:27:45 2020
*
* Original Table Header:
*     Signature        "SSDT"
*     Length           0x0000008E (142)
*     Revision         0x02
*     Checksum         0x7C
*     OEM ID           "hack"
*     OEM Table ID     "nvme"
*     OEM Revision     0x00000000 (0)
*     Compiler ID      "INTL"
*     Compiler Version 0x20180427 (538444839)
*/
DefinitionBlock ("", "SSDT", 2, "hack", "nvme", 0x00000000)
{
    External (_SB_.PCI0.RP05, DeviceObj)    // (from opcode)

    Scope (\_SB.PCI0.RP05)
    {
        Device (NVME)
        {
            Name (_ADR, Zero)  // _ADR: Address
            Method (\_SB.PCI0.RP05.NVME._DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LNot (Arg2))
                {
                    Return (Buffer (One)
                    {
                         0x03                                       
                    })
                }

                Return (Package (0x02)
                {
                    "built-in",
                    Buffer (One)
                    {
                         0x00                                       
                    }
                })
            }
        }
    }
}
-Nvidia K3100M I had to flash vga rom to the card first using windows and NVflash, and now OSX and Windows both recognize and boot perfectly with the card. (credit to EdwardGeo)
(I used this ROM https://www.techpowerup.com/vgabios/172759/172759)
-Modified the hotpatch generated SSDT-zbG2h.aml Under Device RMCF changed -> Name (DGPU, 0x03) to Name (DGPU, Zero) to activate the card.
Don't do this unless the card ROM is flashed or OSX will not boot!
-Duplicated config.plist and have one that disables and one that enables the Nvidia card on boot args.
For Nvidia card, add bootflag darkwake=0 (to fix wake from sleep)
To disable the GPU, you need to add the bootflag -wegnoegpu and there's no need for darkwake.
External displays and dock work only with the Nvidia card enabled.
The reason you might want to boot without Nvidia card is to save battery, and if the computer goes to sleep and you close the lid after, you won't be able to wake it after.
Same goes if you have an external display connected and the laptop goes to sleep.

Replaced the intel wifi card with HP Broadcom BCM94352HMB and using a M.2 (NGFF) Key A/E/A+E to Mini PCI-E Adapter with FFC Cable, I managed to get (almost perfect) wifi and Bt. getting the antennas to work was a bit of a hack, but in the end it works. (it's also a bit crammed in there with the NVME and the adaptor and wifi, but the case closes without a problem)
The only thing is I'm supposed to get 800mb/s out of the adapter and I'm only getting 300mb/s, even in windows, so maybe there's more to how the actual adapter works. Also the radio on/off button on the Zbook stays orange and doesn't work. But other than that both wifi and BT work flawlessly using:
BrcmBluetoothInjector.kext, BrcmFirmwareData.kext and BrcmPatchRam3.kext

And finally to get 100% out of this great machine, I'm still working on Thunderbolt.
It kind of works as is if you boot with a device connected, but it is a fluke. It recognizes the device as a PCI card that can be ejected (kernel panic if you try) and sleep causes KP as well.
I've tried injecting devices and a Falcon Ridge Thunderbolt ROM, and I feel I'm very close to getting true Thunderbolt drivers support, and then it's just a matter of force powering the TB device with a SSDT to have hotswap.
Thanks for sharing, i always suspected the lack of rom was the reason nobody was using the zbooks, while Dell M4800 has no issue with k2100m. I suggest you mod the card VBIOS to get lower voltages and better ram speed, do some testing in windows to find stable values, kepler mobile gpu can usually work at 0.7v idle and undervolt about 0.07v on all the curve compared to the default values, and ram usually clocks 400mhz higher. I got very good results on k2100m cards i got on dell workstations.
 
Joined
Jun 20, 2020
Messages
2
Motherboard
intel
CPU
i7
Graphics
intel
Mac
iMac
Classic Mac
Centris, iMac
Mobile Phone
Android
Finally got catalina to work. This EFI works for HP EliteBook 8x70p/8570w/8770w
When I try to install 10.15 on 8770w, I get stuck at the end of the Apple logo and it doesn't move forward. Please help.
 
Joined
Nov 22, 2014
Messages
9
Motherboard
HP Elitebook 840 G1 (Clover)
CPU
I5 4300U
Graphics
HD 4400
Mobile Phone
iOS
I have been following Rehabman post #1 since High Sierra and Mojave. I am preparing to upgrade to Catalina but don't see a similar thread like this. Try the UniBeast and it simply hangs on boot somewhere. I think I must update the kext somewhere (mine are from Mojave era). Trying to search this forum but there are 190 pages to go through and I wonder if someone can point me to the post that I can start reading. I haven't seen Rehabman's repo has any new update (also curious where he is now). My laptop is Elitebook 840 G1/Intel Graphics 4400/BCM94360HMB wifi card (the one with 3 antennas).
 
Joined
Nov 22, 2014
Messages
9
Motherboard
HP Elitebook 840 G1 (Clover)
CPU
I5 4300U
Graphics
HD 4400
Mobile Phone
iOS
I have been following Rehabman post #1 since High Sierra and Mojave. I am preparing to upgrade to Catalina but don't see a similar thread like this. Try the UniBeast and it simply hangs on boot somewhere. I think I must update the kext somewhere (mine are from Mojave era). Trying to search this forum but there are 190 pages to go through and I wonder if someone can point me to the post that I can start reading. I haven't seen Rehabman's repo has any new update (also curious where he is now). My laptop is Elitebook 840 G1/Intel Graphics 4400/BCM94360HMB wifi card (the one with 3 antennas).
I will reply to myself. I follow https://github.com/Hologos/hackintosh-hp-elitebook-840-g3 and have upgraded to Catalina on my 840 G1. One problem I hit along the way is clover 2.4k and 2.5k structure difference but that is not hard to solve.
 
Joined
Apr 9, 2020
Messages
12
Motherboard
HP Probook 4740s
CPU
Intel(R) Core(TM) i7-3632QM CPU @ 2.20GHz
Graphics
HD4000
Will this method work for Catalina?
I don't think so.
Once Catalina is installed on another partition of the drive with the same parameters, but external keyboard and mouse will not work.
Mojave work. Catalina not.
How do I fix it?
What are your ideas?
 
Joined
Jul 11, 2020
Messages
2
Motherboard
HP PROBOOK 4740S C4Z36EA
CPU
Intel® Core™ i3-3110M (2.40 GHz, 3 MB L3 cache, 2 cores)
Graphics
Intel HD 4000 + AMD Radeon HD 7650M (1 GB dedicated DDR3)
Hello!

I have ProBook 4740s (C4Z36EA) with Mojave and LG monitor 24MK600M-B (HDMI connection).

External monitor not detected.

Can you help me?
 

Attachments

Top