Contribute
Register

[Guide] HP ProBook 430 G3 (SkyLake) - High Sierra

Status
Not open for further replies.
So if you want to know *why* the non-working one is not working, you would make one change at a time to make the non-working one match the working one. A bit time consuming and tedious, but you might learn something in the process.

Today I upgraded Clover to the latest version 4220. Now I have exactly the same problem: headphones work for me, HDMI works, built-in microphone works, but built-in speakers do not produce any sound.

So I guess the root cause is in Clover installer. It breaks something important.
 
Today I upgraded Clover to the latest version 4220. Now I have exactly the same problem: headphones work for me, HDMI works, built-in microphone works, but built-in speakers do not produce any sound.

So I guess the root cause is in Clover installer. It breaks something important.

No "Problem Reporting" files attached.
Compare your current EFI/Clover with the backup that the Clover installer made.
 
No "Problem Reporting" files attached.
Compare your current EFI/Clover with the backup that the Clover installer made.

It seems that there were no changes to config files

Code:
$ diff -u -r EFI-old EFI-new
Binary files EFI-old/BOOT/BOOTX64.efi and EFI-new/BOOT/BOOTX64.efi differ
Binary files EFI-old/CLOVER/CLOVERX64.efi and EFI-new/CLOVER/CLOVERX64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/AppleImageCodec-64.efi and EFI-new/CLOVER/drivers64UEFI/AppleImageCodec-64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/AppleUITheme-64.efi and EFI-new/CLOVER/drivers64UEFI/AppleUITheme-64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/CsmVideoDxe-64.efi and EFI-new/CLOVER/drivers64UEFI/CsmVideoDxe-64.efi differ
Only in EFI-new/CLOVER/drivers64UEFI: EmuVariableUefi-64.efi
Binary files EFI-old/CLOVER/drivers64UEFI/FSInject-64.efi and EFI-new/CLOVER/drivers64UEFI/FSInject-64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/FirmwareVolume-64.efi and EFI-new/CLOVER/drivers64UEFI/FirmwareVolume-64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/SMCHelper-64.efi and EFI-new/CLOVER/drivers64UEFI/SMCHelper-64.efi differ
 
It seems that there were no changes to config files

Code:
$ diff -u -r EFI-old EFI-new
Binary files EFI-old/BOOT/BOOTX64.efi and EFI-new/BOOT/BOOTX64.efi differ
Binary files EFI-old/CLOVER/CLOVERX64.efi and EFI-new/CLOVER/CLOVERX64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/AppleImageCodec-64.efi and EFI-new/CLOVER/drivers64UEFI/AppleImageCodec-64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/AppleUITheme-64.efi and EFI-new/CLOVER/drivers64UEFI/AppleUITheme-64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/CsmVideoDxe-64.efi and EFI-new/CLOVER/drivers64UEFI/CsmVideoDxe-64.efi differ
Only in EFI-new/CLOVER/drivers64UEFI: EmuVariableUefi-64.efi
Binary files EFI-old/CLOVER/drivers64UEFI/FSInject-64.efi and EFI-new/CLOVER/drivers64UEFI/FSInject-64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/FirmwareVolume-64.efi and EFI-new/CLOVER/drivers64UEFI/FirmwareVolume-64.efi differ
Binary files EFI-old/CLOVER/drivers64UEFI/SMCHelper-64.efi and EFI-new/CLOVER/drivers64UEFI/SMCHelper-64.efi differ

Note:
Code:
Only in EFI-new/CLOVER/drivers64UEFI: EmuVariableUefi-64.efi
 
Note:
Code:
Only in EFI-new/CLOVER/drivers64UEFI: EmuVariableUefi-64.efi

Holy crap! I removed EmuVariableUefi-64.efi, then rebooted and built-in speakers are fine now.
 
Holy crap! I removed EmuVariableUefi-64.efi, then rebooted and built-in speakers are fine now.

Now you should probably test NVRAM to make sure it is still working.
 
13dc7da5-2644-46dd-9d36-8d2e40b3769b-png.206452


Hardware
- CPU Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
- GPU build-in Intel HD Graphics 520. Works for me. HDMI video works out of the box, I attached a Full HD monitor (1920x1080) and it works just fine. GPU consumes 1.5Gb of memory, I found no way to reduce this amount so far. Later I attached one more monitor using VGA slot, all the three monitors are working fine together.
- RAM 4Gb DDR4 was replaced with 2x8Gb DDR4 Kingston ValueRAM KVR21S15D8/8 2133 MHz, 17000 Mb/s.
- Hard drive. For testing purposes I used 500Gb HDD which comes with laptop and works out of the box.
- Ethernet. RealtekRTL8111.kext works for me.
- WiFi Intel 3165 - known to be unsupported. Replaced with Dell DW1560 (chipset Broadcom BCM94352Z). Everything except AirDrop seems to be working. I published notes about AirDrop a separate thread: https://www.tonymacx86.com/threads/airdrop.203219/
- Keyboard and touchpad requires additional driver (see below)
- WebCamera [04f2:b51d] Chicony works (detected as a USB device)
- Fingerprint Reader. [138a:003f] Validity Sensors, Inc. VFS495 - I have no clue how to make it work. And I don't really need it.
- Card Reader Realtek RTS522A [10ec:522a] - http://www.insanelymac.com/forum/to...ek-rtsx-sdhc-card-readers/page-3#entry2376387
- Audio [8086:9d70] Intel Sunrise Point-LP HD Audio, Codecs: Conexant CX20724, Intel Skylake HDMI. Work for me (both).
- Bluetooth [8087:0a2a] works (detected as a USB device)
- VT-x works (Note: need to disable 3d acceleration in vmware fusion to avoid crashes)

Before you start
1) Update BIOS to the latest version. You can find self-extracting archive files here https://support.hp.com/us-en/drivers/selfservice/hp-probook-430-g3-notebook-pc/7834547 Today the latest BIOS version available is v1.17
2) Set video memory size in BIOS to 64MB
3) Enable "Launch Hotkeys without Fn keypress" in BIOS settings. This will let you use volume buttons in the top of your keyboard.
4) There is one more option "Swap Fn and Ctrl (Keys)" which seems to be designed for mac users. I prefer to turn it on.

Install instructions:
1) Get Install macOS High Sierra Beta.app to your /Applications folder https://itunes.apple.com/us/app/macos-high-sierra-beta/id1209167288?mt=12
2) Format flash drive like that
Code:
diskutil partitionDisk /dev/disk2 GPT JHFS+ HighSierraInstallUSB 0b
3) Copy files:
Code:
sudo /Applications/Install\ macOS\ High\ Sierra\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/HighSierraInstallUSB --applicationpath  /Applications/Install\ macOS\ High\ Sierra\ Beta.app --nointeraction
now you have a macOS installation USB stick. Next we'll make it compatible with PCs.
4) Get the latest Clover from Sourceforge and install it to the USB stick like that:
View attachment 272111
5) Move kexts from EFI/CLOVER/kexts/10.11 to EFI/CLOVER/kexts/Other
6) Boot using this USB stick and install macOS
7) Reboot, use USB stick to boot your fresh operating system
8) install clover to your hard drive as you did it above with USB stick. Basic options are:
- Install for UEFI booting only
- Install Clover in the ESP
- Drivers64UEFI > CsmVideoDxe-64 (Clover needs it to switch to screen resolution 1366x768)
- Drivers64UEFI > OsxAptioFix2Drv-64

(Optional) An if you want to save some options like keyboard brightness or sound level during reboot, you need NVRAM. For this reason you may need to add two more options:
- Drivers64UEFI > EmuVariableUefi-64
- Install RC scripts on target volume
And in this case you'll need to reboot twice (daemon will be launched during the first reboot)


Note 1: if you choose to use new APFS filesystem, you'll have to add apfs.efi driver to EFI/CLOVER/drivers64UEFI folder.
Note 2: Do NOT use Multibeast. Install vanilla Clover.
Note 3: I used USB mouse and keyboard to complete the installation because build-in input devices were not recognized

Audio notes (optional)
Now you have a bootable instance of macOS, so let's make a short break.

The reason for this manual to happen is that I had some issues with Rehabman's scripts (https://www.tonymacx86.com/threads/...book-using-clover-uefi-hotpatch-10-11.189416/). The issue is that this bunch of scripts contains Mirone's audio codec. This codec make friends with HDMI but doesn't make friends with audio jack. First of all I never use my HDMI monitor as audio output device. But it does not behave well during sleep, sometimes macOS just crashes instead of sleep and I suspect this is due to this HDMI audio.

Thus I decided to give a try to AppleALC. The result was exactly as I expected. MacOS does not recognize HDMI as an audio output device and audio jack works like a charm.

If you want to use alternative audio driver, you need to apply the patch attached during next step. Also you'll have to update Lilu.kext and set layout id to 3 in config.plist.


Just change 7 to 5 here: https://github.com/RehabMan/HP-ProB...b/master/hotpatch/include/layout7_HDEF.asl#L9

Post Installation:
IMPORTANT! Backup original AppleHDA.kext. Rehabman's scrips overwrite it, so you'll have to reinstall macOS from scratch in case you'd like to give a try to AppleALC.
- Build a bunch of kexts and install them like that:
Code:
mkdir ~/Projects
cd ~/Projects
git clone https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch probook.git
cd ~/Projects/probook.git
./download.sh
./install_downloads.sh
- I assume that you have copied SSDTs with EFI folder, but if you haven't, than build and install them:
Code:
cd ~/Projects/probook.git
./build.sh
./install_acpi.sh install_4x0g3_skylake
- copy config
Code:
cp config/config_4x0s_G3_Skylake.plist /Volumes/EFI/EFI/CLOVER/config.plist
- Reboot, clean kext cache:
Code:
sudo touch /System/Library/Extensions && sudo kextcache -u /
I had to reboot twice before patched AppleHDA.kext was recognized.

Final screenshot:

View attachment 269024

Final Tuning:
Code:
sudo pmset -a hibernatemode 0
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
sudo rm /var/vm/sleepimage
Setting all of these parameters to zero should disable sleep image file completely due to pmset man page

Hi,

I followed your guide, theres just one little problem. The battery percentage it´s not workin
 
Hi,

I followed your guide, theres just one little problem. The battery percentage it´s not workin

Shutdown your laptop. Unplug battery. Press power-on button and hold for 1 minute. Plug-in battery back and boot.
 
Status
Not open for further replies.
Back
Top