Contribute
Register

[Guide] HP ProBook 430 G6 (Whiskey Lake)

Status
Not open for further replies.
hi
I've fixed the remaining battery time (and those annoying warnings!)

Though I have HP ProBook 440 G6 but it seems to be very similar with 430
Anyway be careful with the patch

The bug (IMHO) is very funny you can spot it before you patch and have a laugh )
based on @anor4k work, thanks man! https://www.tonymacx86.com/threads/guide-hp-probook-430-g6-whiskey-lake.282302/page-2#post-2021141

I spend two days on all this ACPI debugging and reading ACPI Spec so likes would be really appreciated if the patch works for you :)

here's the patch
Code:
into device label EC0 code_regex BDC,\s+16 replace_matched begin DC0,8,DC1,8 end;
into device label EC0 code_regex BFC,\s+16 replace_matched begin FC0,8,FC1,8 end;
into device label EC0 code_regex BRTE,\s+16 replace_matched begin RTE0,8,RTE1,8 end;
into device label EC0 code_regex BME,\s+16 replace_matched begin ME0,8,ME1,8 end;
into device label EC0 code_regex BDV,\s+16 replace_matched begin DV0,8,DV1,8 end;
into device label EC0 code_regex BCV1,\s+16 replace_matched begin CV10,8,CV11,8 end;
into device label EC0 code_regex BATE,\s+16 replace_matched begin ATE0,8,ATE1,8 end;
into device label EC0 code_regex BPR,\s+16 replace_matched begin BPR0,8,BPR1,8 end;
into device label EC0 code_regex BCR,\s+16 replace_matched begin CR0,8,CR1,8 end;
into device label EC0 code_regex BRC,\s+16 replace_matched begin RC0,8,RC1,8 end;
into device label EC0 code_regex BCC,\s+16 replace_matched begin CC0,8,CC1,8 end;
into device label EC0 code_regex BPV,\s+16 replace_matched begin PV0,8,PV1,8 end;
into device label EC0 code_regex BCV2,\s+16 replace_matched begin CV20,8,CV21,8 end;
into device label EC0 code_regex BCV3,\s+16 replace_matched begin CV30,8,CV31,8 end;
into device label EC0 code_regex BCV4,\s+16 replace_matched begin CV40,8,CV41,8 end;
into device label EC0 code_regex BATF,\s+16 replace_matched begin ATF0,8,ATF1,8 end;
into device label EC0 code_regex BCL,\s+16 replace_matched begin BCL0,8,BCL1,8 end;
into device label EC0 code_regex MAXC,\s+16 replace_matched begin AXC0,8,AXC1,8 end;
into device label EC0 code_regex BSTS,\s+16 replace_matched begin BST0,8,BST1,8 end;
into device label EC0 code_regex BSN,\s+16 replace_matched begin SN0,8,SN1,8 end;
into device label EC0 code_regex BDAT,\s+16 replace_matched begin BDA0,8,BDA1,8 end;
into device label EC0 code_regex CCBQ,\s+16 replace_matched begin CBQ0,8,CBQ1,8 end;
into device label EC0 code_regex CBT,\s+16 replace_matched begin CBT0,8,CBT1,8 end;
into device label EC0 code_regex ACPR,\s+16 replace_matched begin CPR0,8,CPR1,8 end;

into method label B1B2 remove_entry;
into definitionblock code_regex . insert
begin
Method (B1B2, 2, NotSerialized) { Return(Or(Arg0, ShiftLeft(Arg1, 8))) }\n
end;

into method label BTST code_regex Store\s\(0xFFFFFFFF,\sLocal3\) remove_matched;

into method label GACW code_regex \(ACPR, replaceall_matched begin (B1B2(CPR0,CPR1), end;
into method label GBAW code_regex \(BDV, replaceall_matched begin (B1B2(DV0,DV1), end;
into method label GBAW code_regex \(BDC, replaceall_matched begin (B1B2(DC0,DC1), end;
into method label BTIF code_regex \(BFC, replaceall_matched begin (B1B2(FC0,FC1), end;
into method label BTIF code_regex \(BDV, replaceall_matched begin (B1B2(DV0,DV1), end;
into method label BTIF code_regex \(BSN, replaceall_matched begin (B1B2(SN0,SN1), end;
into method label BTIF code_regex \(BDAT, replaceall_matched begin (B1B2(BDA0,BDA1), end;
into method label BTST code_regex \(BPR, replaceall_matched begin (B1B2(BPR0,BPR1), end;
into method label BTST code_regex \(BRC, replaceall_matched begin (B1B2(RC0,RC1), end;
into method label BTST code_regex \(BPV, replaceall_matched begin (B1B2(PV0,PV1), end;
into method label ITLB code_regex \(BFC, replaceall_matched begin (B1B2(FC0,FC1), end;
into method label GBTI code_regex \(BDC, replaceall_matched begin (B1B2(DC0,DC1), end;
into method label GBTI code_regex \(BFC, replaceall_matched begin (B1B2(FC0,FC1), end;
into method label GBTI code_regex \(BRC, replaceall_matched begin (B1B2(RC0,RC1), end;
into method label GBTI code_regex \(BME, replaceall_matched begin (B1B2(ME0,ME1), end;
into method label GBTI code_regex \(BCC, replaceall_matched begin (B1B2(CC0,CC1), end;
into method label GBTI code_regex \(CBT, replaceall_matched begin (B1B2(CBT0,CBT1), end;
into method label GBTI code_regex \(BPV, replaceall_matched begin (B1B2(PV0,PV1), end;
into method label GBTI code_regex \(BPR, replaceall_matched begin (B1B2(BPR0,BPR1), end;
into method label GBTI code_regex \(BSTS, replaceall_matched begin (B1B2(BST0,BST1), end;
into method label GBTI code_regex \(BDV, replaceall_matched begin (B1B2(DV0,DV1), end;
into method label GBTI code_regex \(BCV1, replaceall_matched begin (B1B2(CV10,CV11), end;
into method label GBTI code_regex \(BCV2, replaceall_matched begin (B1B2(CV20,CV21), end;
into method label GBTI code_regex \(BCV3, replaceall_matched begin (B1B2(CV30,CV31), end;
into method label GBTI code_regex \(BCV4, replaceall_matched begin (B1B2(CV40,CV41), end;
into method label GBTI code_regex \(BSN, replaceall_matched begin (B1B2(SN0,SN1), end;
into method label GBTI code_regex \(BDAT, replaceall_matched begin (B1B2(BDA0,BDA1), end;
into method label GBTI code_regex BDAT replaceall_matched begin B1B2(BDA0,BDA1) end;
into method label GBTI code_regex \(BCR, replaceall_matched begin (B1B2(CR0,CR1), end;
into method label GBTI code_regex \(BRTE, replaceall_matched begin (B1B2(RTE0,RTE1), end;
into method label GBTI code_regex \(BATE, replaceall_matched begin (B1B2(ATE0,ATE1), end;
into method label GBTI code_regex \(BATF, replaceall_matched begin (B1B2(ATF0,ATF1), end;
into method label GBTC code_regex \(MAXC, replaceall_matched begin (B1B2(AXC0,AXC1), end;
into method label SBTC code_regex MAXC\) replaceall_matched begin B1B2(AXC0,AXC1)) end;
into method label GCGC code_regex \(\\\_SB\.PCI0\.LPCB\.EC0\.BPR, replaceall_matched begin (B1B2(\\_SB.PCI0.LPCB.EC0.BPR0,\\_SB.PCI0.LPCB.EC0.BPR1), end;
 
I’ve now sold my Probook 450 g6 as I couldn’t get OSX working properly and the performance was terrible under load in real world applications. When rendering on i5 it easily hit the 15 power limit and I couldn’t undervolt or anything to get the turbo higher leading to 1.6ghz all core. My dual core mid 2014 MacBook Pro with its 28w dual 4287u gave me double performance in davinci resolve renders.
I’d love to have been able to keep my hp as it was way quicker in web browsing but sustained loads and rendering isn’t suited to this laptop as the chip is so gimped even plugged in with power and enough cooling.
Something is wrong somewhere as that is a 4 core processor vs a 2 core processor, even at 15w should trump in performance. To enable undervolt rollback to older bios.
 
any body tried to install opencore in hp probook 450g6 ?
 
View attachment 422055


Finally I managed to make a pure EFI build (without adding anything to /L/E or /S/L/E). Here is How I did this

Hardware

CPU
: Intel Core i5 3.9GHz
RAM: 32Gb 2133 MHz DDR4
GPU: Intel UHD Graphics 620 / PCI [8086:3ea0] - requires Lilu.kext + WhateverGreen.kext, device-id=a53e0000, AAPL,ig-platform-id=0900a53e; HDMI work, but require patching (see notes below), USB Type-C works with glitches (see notes below)
SSD: OCZ-AGILITY3 240 Gb (SATA)
Ethernet: Build-in Realtek RTL8168H / PCI [10ec:8168] - requires RealtekRTL8111.kext
WiFi: HP 915622-001 (chipset Realtek RTL8822BE) - known to be unsupported, replaced with Dell DW1560 (chipset Broadcom BCM94352Z) which needs AirportBrcmFixup.kext + Lilu.kext
Bluetooth: same as above, but requires BrcmFirmwareData.kext v2.2.12 + BrcmPatchRAM2.kext v 2.2.12 + BrcmBluetoothInjector.kext v2.2.12, depends on USB (see notes below). More details are available here
Audio: Intel HD Audio (Realtek ALC236, Intel Kabylake HDMI) / PCI [8086:9dc8] - requires Lilu.kext + AppleALC.kext, layout=3; build-in speakers work, build-in microphone works, headphones socket works
Fingerprint reader: Synaptics / Validity Sensors, Inc. / USB [138a:00ab] - doesn't work
Camera: HP HD Camera / USB [04ca:7095] - works, depends on USB (see notes below)
SD Card Reader: Intel SD Host / PCI [8086:9df5] - doesn't work
LCD: 1920x1080 - backlight requires SSDT-PNLFCFL.aml + WhateverGreen.kext + Lilu.kext; The brightness patch will only enable the slider in SysPrefs->Displays. Keyboard control is a separate issue, as the keyboard driver must generate ACPI events.
Battery Indicator: works, but does not show time remaining.
Sleep: works (USBInjectAll.kext breaks it)
Keyboard: works, requires VoodooPS2Controller.kext (see keyboard & trackpad notes below)
TouchPad: ELAN2514 (compatible with PNP0C50) - works (including gestures), requires VoodooI2C.kext, VoodooI2CHID.kext
FAN: works, require DSDT patch
Lid: open and close is detected
Continuity: AirDrop works, HandOff not tested, InstantHotspot works
CPU Power Management: requires SMCProcessor.kext; provides temperature and voltage values
FileVault: works, requires AppleGenericInput.efi & AppleUiSupport.efi

Code:
$ sysctl -n machdep.cpu.brand_string
Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz

Before you start

1) Update BIOS. As of 08/16/2019 the latest version is 1.8.3.Rev.A
2) Set video memory size to at least 64Mb in BIOS

Installation Instructions

2) Get USB stick. Format it using GUID partition table and Mac OS Extended (Journaled) filesystem. Volume label should be "USB"
3) Copy macOS files from Terminal.app
Code:
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/USB
4) Get Clover UEFI Boot Mode
5) Install Clover using USB as the target
6) Copy VirtualSMC.kext, RealtekRTL8111.kext, VoodooPS2Controller.kext, config.plist (this one)
7) Remove SMCHelper-64.efi
8) Prepare USB mouse because touchpad does not work out of the box. USB port on the left side doesn't work out of the box either
9) Copy SSDT-EC.aml to EFI/CLOVER/ACPI/Patched(Catalina won't boot without it)

Now you should be able to boot your ProBook using this USB stick and install macOS. Note: it may reboot several times before installation completes, this is fine, this is by design.

When done, use USB stick to boot your masOS.

Post Installation Instructions

TBD


Notes on Graphics

For testing I had two external LCDs 1920x1080 both. Both have HDMI interface, but no one has USB Type-C interface. For this reason I had to use a hub and attache HDMI cable to the hub, then attach the hub to laptop's USB Type-C port.

Hub #1 identifies as follows:
Code:
  Product ID:    0x2817
  Vendor ID:    0x2109  (VIA Labs, Inc.)
  Version:    3.a3
  Speed:    Up to 480 Mb/sec
  Manufacturer:    VIA Labs, Inc.
  Location ID:    0x14600000 / 5
  Current Available (mA):    500
  Current Required (mA):    0
  Extra Operating Current (mA):    0
USB Billboard Device   :
  Product ID:    0x8888
  Vendor ID:    0x2109  (VIA Labs, Inc.)
  Version:    0.01
  Serial Number:    0000000000000001
  Speed:    Up to 480 Mb/sec
  Manufacturer:    VIA Labs, Inc.
  Location ID:    0x14650000 / 6
  Current Available (mA):    500
  Current Required (mA):    100
  Extra Operating Current (mA):    0

Hub #2 identifies as follows:
Code:
USB2.0 Hub:
Product ID:    0x2813
  Vendor ID:    0x2109  (VIA Labs, Inc.)
  Version:    90.11
  Speed:    Up to 480 Mb/sec
  Manufacturer:    VIA Labs, Inc.
  Location ID:    0x14600000 / 7
  Current Available (mA):    500
  Current Required (mA):    0
  Extra Operating Current (mA):    0
USB 2.0 BILLBOARD             :
  Product ID:    0x0100
  Vendor ID:    0x2109  (VIA Labs, Inc.)
  Version:    1.22
  Serial Number:    0000000000000001
  Speed:    Up to 480 Mb/sec
  Manufacturer:    VIA Technologies Inc.
  Location ID:    0x14610000 / 8
  Current Available (mA):    500
  Current Required (mA):    100
  Extra Operating Current (mA):    0

By default HDMI port produce no output, and the following patch (config.plist) is needed to enable this port:
Code:
...
    <key>Devices</key>
    <dict>
        <key>Properties</key>
        <dict>
            <key>PciRoot(0x0)/Pci(0x2,0x0)</key>
            <dict>
                <key>AAPL,ig-platform-id</key>
                <data>CQClPg==</data>
                <key>device-id</key>
                <data>pT4AAA==</data>
                <key>framebuffer-patch-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-busid</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-enable</key>
                <data>AQAAAA==</data>
                <key>framebuffer-con1-type</key>
                <data>AAgAAA==</data>
            </dict>
        </dict>
...

Same hardware operates under Windows 10 with no troubles.

Actually AAPL,ig-platform-id=0900A53E is the only one that enables video output thought USB Type-C port. However it works with glitches which makes it almost unusable.

USB Notes
  1. Place the USBInjectAll.kext (for port discovery) into EFI/CLOVER/kexts/Other
  2. Reboot
  3. Run Hackintool then go to General->Installed to check USBInjectAll is installed correctly
    • Eg. USBInjectAll: Yes (Release-0.7.1)
  4. Go to the General->USB tab
    • Plug and unplug a USB 3.0 device into all ports on your system
    • Plug and unplug a TypeC device into all ports (in both orientations)
    • The ports that are active will remain highlighted green
    • Delete all ports that are not highlighted green
  5. Set each port to the appropriate Connector using the drop down list
    • USB ports with devices permanently attached (eg. M.2 Bluetooth card) should be set to “Internal”
    • HSxx ports connected to USB3 ports should be set to USB3
    • TypeC:
      • If it uses the same HSxx/SSxx in both orientations, then it has an internal switch (use “TypeC+Sw”)
      • If it uses a different HSxx/SSxx in each orientation, then it has no switch (use “TypeC”)
  6. Use the “Export” button to generate files to your Desktop
  7. Copy SSDT-UIAC.aml and SSDT-USBX.aml (if created) to EFI/CLOVER/ACPI/patched
  8. You can now perform a clean up and remove USBInjectAll.kext
  9. Reboot
View attachment 435360
Keyboard

Requires VoodooPS2Controller.kext, see below.

In BIOS you may "Swap Fn and Ctrl (Keys)" - this makes keyboard layout closer to Mac.


Trackpad

By default Trackpad is only available for Windows 10. For this reason we'll have to patch DSDT. Boot to Clover, press F4 to save DSDT.aml to EFI partition. Copy this file from original to patched directory. Use MaciASL to apply patches shown at the picture below:
View attachment 422865

I use VoodooPS2Controller.kext for keyboard. It contains keyboard, mouse and trackpad plugins. Last two of them have to be removed.

Now, when ACPI is patched, you may use VoodooI2C.

Enable hiDPI

1920x1080 is too much for 13" build-in display. It would be safer for your eyes to enable hiDPI

View attachment 422718
This could be achieved using one-key-hidpi:

Code:
$ ./hidpi.sh
  _    _   _____   _____    _____    _____
| |  | | |_   _| |  __ \  |  __ \  |_   _|
| |__| |   | |   | |  | | | |__) |   | |
|  __  |   | |   | |  | | |  ___/    | |
| |  | |  _| |_  | |__| | | |       _| |_
|_|  |_| |_____| |_____/  |_|      |_____|
                  
============================================

                      Monitors
--------------------------------------------------------
   Index   |   VendorID   |   ProductID   |   MonitorName
--------------------------------------------------------
    1    |    09e5    |     4608    |
    2    |    410c    |     aac0    |  227E4QH
--------------------------------------------------------
Choose the display: 1
Backing up...

(1) Enable HIDPI
(2) Enable HIDPI (with EDID)
(3) Disable HIDPI

Enter your choice [1~3]: 1

-------------------------------------
|********** Display Icon ***********|
-------------------------------------

(1) iMac
(2) MacBook
(3) MacBook Pro
(4) LG Display
(5) Pro Display XDR
(6) Do not change

Enter your choice [1~6]: 6

------------------------------------------
|********** resolution config ***********|
------------------------------------------

(1) 1080P Display
(2) 1080P Display (use 1424x802, fix underscaled after sleep)
(3) 2K Display
(4) Manual input resolution

Enter your choice: 1
Enabled, please reboot.
Rebooting the logo for the first time will become huge, then it will not be.

Result:
View attachment 422608

Press "like" to let others know that it works for you.

See also:
[Guide] How to Create a macOS Catalina Public Beta Installation USB
[Guide] Broadcom WiFi/Bluetooth
[Guide] Intel Framebuffer patching using WhateverGreen
[Guide] Acer Swift 5 SF514-53t whiskey lake MacOS10.14.5
[Guide] Dell Inspiron 7586 / I7-8565U /Intel UHD 620
[Guide] Patching DSDT/SSDT for LAPTOP backlight control

hi! got just the same as yours 430 g6 with same cpu etc.
thanks for the guide. i followed every step but still can't get into installer. tried both with SSDT-EC.aml and without it but it just make no sense. hope that you can help me somehow. thanks! attached efi & error
 

Attachments

  • photo_2020-07-17_18-44-42.jpg
    photo_2020-07-17_18-44-42.jpg
    237.4 KB · Views: 132
  • EFI.zip
    3.4 MB · Views: 117
hi! got just the same as yours 430 g6 with same cpu etc.
thanks for the guide. i followed every step but still can't get into installer. tried both with SSDT-EC.aml and without it but it just make no sense. hope that you can help me somehow. thanks! attached efi & error


Try mine, I have the same laptop. Don't forget to Disable some feature in BIOS :
- VT-x
- VT-D
- Fast Boot
- Wake on LAN
- Wake On USB (Optional)
- ETC
 

Attachments

  • EFI For HDD.zip
    15.3 MB · Views: 282
  • EFI For USB HP 430 G6.zip
    2.2 MB · Views: 268
Hey @antonio765 You never explained how to get camera working did you ? ;)
 
Hello
Please Help

I own an HP ProBook G6
Everything works except controlling the battery
There is also a problem with the Intel UHD Gragpic 620 4M
Can you help me solve this
 

Attachments

  • EFI.zip
    25.5 MB · Views: 142
Hello
Please Help

I own an HP ProBook G6
Everything works except controlling the battery
There is also a problem with the Intel UHD Gragpic 620 4M
Can you help me solve this

Need correct device properties + set in BIOS video memory = 64mb. Also need to disable Nvidia. Don't use VirtualSMC with FakeSMC.
You can get them for clover here - https://github.com/jinmu333/HP_Probook_440_G6_EFI.
Recommend check my setup for OpenCore - https://github.com/KirillSerogodsky/HP-ProBook-430-440-450-G6-Hackintosh. There is a battery fix: SSDT-EC0(need VirtualSMC + SMCBatteryManager).
 
Last edited:
thanks for the efi folder. i was able to switch from clover to opencore easily.
Enjoy;) I will try to update it as new fixes are found. Add BIOS settings soon. Feel free to help me.:thumbup:
 
Status
Not open for further replies.
Back
Top