[Guide] HP Pavilion 15-AB216TX Catalina using Clover UEFI hotpatch

May 31, 2019
Hi mate, you mentioned the AU003TX, will this guide work for it? I haven't been able to find one uptill now.
May 10, 2012
HP Pavilion 15-AB216TX
HD 5500
Mobile Phone
Hi mate, you mentioned the AU003TX, will this guide work for it? I haven't been able to find one uptill now.
i installed Mojave on a AU003TX some time ago. Most of the hardware is same except CPU that is 6th Gen Intel Core and dedicated GPU doesn't matter as it will be disabled. try this config.plist to get iGPU working. My Guide will work for everything else. i'm not sure about the audio codec, but i remember it worked with AppleALC so you might have to find correct layout-id to get audio working.
Let me know if you encounter any issue.
Aug 14, 2018
HP Pavilion 17-ab207ur
HD 630 / GTX 1050 Mobile
Mobile Phone
Hello! After 10.15.2 update WiFi starts 3-5 minutes after system boot. Does anybody have same issues?
Nov 19, 2019
intel core i7 5500u
intel 5500u nvidia 940m
Mobile Phone
The purpose of this guide is to provide a step-by-step guide to installing macOS Catalina on the HP Pavilion 15-AB216TX laptop.

Note: This guide will also work with Mojave, High Sierra, Sierra or El Capitan

1. Computer Specification

HP Pavilion 15-AB216TX

Intel® Core™ i5-5200U @2.2Ghz

12GB RAM DDR3L 1600Mhz

Intel® HD Graphics 5500 (Broadwell)

Nvidia Geforce GT 940M (Disabled in DSDT)

128GB SanDisk SD6SB1M-128G-1006

1TB 5400 RPM SATA (2nd HDD Caddy)

Realtek ALC290 Audio Controller

RTL8101E Fast Ethernet

RTL8723BE (1x1) and BT 4.0 Combo (Replaced with DELL-DW1830 (BCM943602BAED + BT 4.1))

2. What you need

- HP Pavilion 15-AB216TX or Similar Hardware

- Latest Clover EFI bootloader

- macOS Catalina (or version of macOS that you want to install) downloaded from the Mac App Store

- 16GB+ USB stick

- Access to Mac or Hackintosh.

- (Optional) Broadcom BCM94352Z/BCM943602BAED for native WiFi.

- DVMT Pre-Allocation memory change with Shell Command doesn't Work on this Machine, Apply Binary PATCH Stolen Memory assertion to avoid Kernel Panic and Enable Full Graphics Acceleration with Clover. WhateverGreen is the preferred method (as of Mojave) for Graphics injection and Binary Patching.

3. BIOS settings

- UEFI boot is enabled

- secure boot is disabled

- enable Legacy Boot (but UEFI first) and you may experience less boot time glitches

4. Pre-Installation

Prior to installing macOS, it is a good idea to create an OEM recovery USB from Windows. If anything goes wrong and you want/need to get back to Windows, you can restore it via the USB. Use the utility provided by HP to accomplish this.

Always backup data you don’t want to lose. I take no responsibility for damaging your computer or data loss. This guide will lead you to do a “clean installation” which means formatting your main drive.

5. Preparing USB and initial Installation

Prepare a USB with 16GB or more, format by Disk Utility:

- Click Erase

- Format: Mac OS Extended (Journaled)

- Scheme: GUID Partition Map

View attachment 431666

- Download Install macOS Catalina app from App Store (or version of macOS that you want to install)

- Download Latest Clover EFI

- Open terminal app and paste this piece of code
sudo "/Applications/Install macOS" --volume  /Volumes/macOS --nointeraction
- Rename the install media (optional)...

 sudo diskutil rename "Install macOS High Sierra" install_osx
- Install Clover to formatted USB with following selected
Install for UEFI Booting only
Install clover in ESP
UEFI Drivers->Recommended Drivers->AudioDxe
UEFI Drivers->Recommended Drivers->FSInject
UEFI Drivers->File System Drivers->ApfsDriverLoader
UEFI Drivers->Memory Fix Drivers->AptioMemoryFix
- If you have a dual GPU (Intel + AMD or Intel + Nvidia), then you have to place SSDT-DiscreteSpoof.aml to
EFI -> Clover -> ACPI -> Patched
more info for this Bug at [FIX] "Window Server Service only ran for 0 seconds" with dual-GPU

- Mount EFI Partition, replace config.plist (with config.plist from attached .zip)
- copy hotpatch SSDT's to EFI/Clover/ACPI/Patched/
- copy kexts to EFI/Clover/kexts/Others/

- Restart and press F9 to choose Boot devices > Boot from EFI file > choose your EFI partition > EFI > Boot > BOOTX64.efi

- Clover bootloader screen shows up, select "Boot OS X Install from install_osx".

- Use Disk Utility to format your drive as GPT, create a APFS partition and install macOS Catalina to your formatted partition

- System will restart after copying files from USB drive

- After Restart press F9 to choose Boot devices > Boot from EFI file > choose your EFI partition > EFI > Boot > BOOTX64.efi

- Clover bootloader screen shows up, select "Boot OS X from (Install macOS Catalina)"

- When its done after reboot, select "Boot OS X from (your install target partition)"

- If everything goes well, you can boot straight to desktop.

Clover: run the Clover Installer package:

- select the target of the install to "YourPartition" using "Change Install Location"

- select "Customize" (the default is a legacy install -- we need to change it)

- check "Install for UEFI booting only", "Install Clover in the ESP" will automatically select

- check following from UEFI Drivers
UEFI Drivers->Recommended Drivers->AudioDxe
UEFI Drivers->Recommended Drivers->FSInject
UEFI Drivers->File System Drivers->ApfsDriverLoader
UEFI Drivers->Memory Fix Drivers->AptioMemoryFix
- select "Install RC scripts on target volume" and/or "Install all RC scripts on all other boot volumes”.

- manually copy VirtualSMC.efi to EFI/Clover/drivers/UEFI/ (not included in clover installer)

6. Kexts

Place these Kexts in /Library/Extensions

- AppleALC (layout id 28 injected via Clover)
- set config.plist -> Devices -> Audio -> Inject = 28 or layout id according to your codec.

- VirtualSMC (with SMCBatteryManger and SMCProcessor)

- Lilu

- CPUFriend (with attached CPUFriendDataProvider or create your own)

- RealtekRTL8100

- USBInjectAll

- VoodooPS2Controller

- WhateverGreen

- AirportBrcmFixup (only if you replaced Wi-Fi/BT module with supported Broadcom Module)

- BrcmBluetoothInjector.kext or [BrcmFirmwareRepo.kext + BrcmPatchRAM2.kext] (only if you replaced Wi-Fi/BT module with supported Broadcom Module)

Note: these Kexts can also be placed in EFI/Clover/Kexts/Other/ but /Library/Extensions/ is the preferred location

- Intel Framebuffer Patching
patches are applied to linked config.plist, patches include patch for DVMT to prevent Kernel Panic, remove unused 3rd port and change port number from 3 to 2 (this fixes the Lag/Freeze at Login screen at startup right after entering password). patch to perform injection of ig-platform-id. It can also be used to perform find/replace patches.
For more details check [Guide] Intel Framebuffer patching using WhateverGreen

7. Patching DSDT/SSDTs

Follow Rehabman’s Guide [Guide] Patching LAPTOP DSDT/SSDTs

Summary DSDT/SSDTs Patching

- Press F4 at Clover Bootloader to Extract ACPI Tables to EFI/Clover/ACPI/origin/

- Build the latest iasl from github or get pre-build iasl binary

- Disassemble with refs.txt

- With BIOS F.91 Rev.A I had 1 error in DSDT.aml fixed by commenting External MDBG line

View attachment 431677

- 3 more errors (same solution for all three) in SSDT with Dedicated GPU fixed by changing PCAP to Package {PCAP}
View attachment 431676

- apply "Battery HP G6 2221ss" Patch to DSDT.dsl save it because it needs two more patches then you can compile the .aml

Note: for some Sky Lake or above Pavilions (tested myself on AU003TX)
 into method label INIT parent_label ACEL replace_content begin // code removed\n end;
- uncomment this code, else battery would show but remain stuck unless the EC memory resets and it remains stuck in other OS (Windows/Linux)

8. Brightness Fix

[Guide] Laptop backlight control using AppleBacklightFixup.kext

this technique requires two components:
- WhateverGreen

- Copy the SSDT-PNLF.aml from attached .zip to EFI/Clover/ACPI/Patched/

9. Brightness Keys

[Guide] Patching DSDT/SSDT for LAPTOP backlight control
Apply this patch to DSDT.aml

into method label _Q10 replace_content
// Brightness Down\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0405)\n
into method label _Q11 replace_content
// Brightness Up\n
    Notify(\_SB.PCI0.LPCB.PS2K, 0x0406)\n

10. Disable Nvidia GT 940M

[Guide] Disabling discrete graphics in dual-GPU laptops

Apply this patch to SSDT with Discrete Graphics
into method label _INI parent_label \_SB.PCI0.RP05.PXSX insert
//added to turn Nvidia off\n
External(\_SB.PCI0.RP05.PXSX._OFF, MethodObj)\n
Apply this patch to DSDT
into method label _REG parent_hid PNP0C09 insert
//added to turn Nvidia off\n
If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))\n
    External(\_SB.PCI0.RP05.PXSX._OFF, MethodObj)\n
compile .aml's for DSDT & SSDT and place in EFI/Clover/ACPI/Patched along with SSDT-PNLF.aml and SSDT-XOSI.aml

11. Native Power Management

This part refers to [Guide] Native Power Management for Laptops.

- set config.plist/ACPI/SSDT/Generate/GenerateCStates=No

- set config.plist/ACPI/SSDT/Generate/GeneratePStates=No

- set config.plist/ACPI/SSDT/DropOEM=No

- set config.plist/ACPI/SSDT/Generate/PluginType=true

- set config.plist/ACPI/AutoMerge=true (not required if using 'hotpatch')

-> Clover Hot Patch
it's preferred to patch your own ACPI files (static) following the above steps and if everything work fine as expected then you should follow [Guide] Using Clover to "hotpatch" ACPI (only if you want)
sample Hot Patched SSDT's are attached along with the required rename patches in the config.plist, these might work for you, but you should patch your own ACPI files

12. Clover Bios setup

I used the rename trick for long time (bootmgfw.efi to bootmgfw-orig.efi and then place CLOVERX64.efi renamed as bootmgfw.efi) but after each windows update I had to again rename it. and recently windows started replacing it at each boot. so I came up with this trick: I copied the CLOVERX64.efi form EFI/Clover/ created a new folder named ubuntu inside EFI folder and placed CLOVERX64.efi in EFI/ubuntu/ then renamed CLOVERX64.efi to grubx64.efi. now Bios think that Grub is installed. and finally in Bios Boot Order move ubuntu to top.
(you have to repeat this process after every Clover Bootloader update)

13. iMessage

Attached config.plist doesn't contain Serial, Board Serial. there is no need to use serials form Macs. just follow An iDiot's Guide To iMessage and you'll get iMessage/FaceTime working.

14. Credits

would you mind making a in depth video tutorial for the specific laptop.....