Contribute
Register

[Guide] HP Pavilion 15-AB216TX Catalina using OpenCore

Status
Not open for further replies.
Hi mate, you mentioned the AU003TX, will this guide work for it? I haven't been able to find one uptill now.
 
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.
 
Hello! After 10.15.2 update WiFi starts 3-5 minutes after system boot. Does anybody have same issues?
 
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
Code:
sudo "/Applications/Install macOS Catalina.app/Contents/Resources/createinstallmedia" --volume  /Volumes/macOS --nointeraction

- Rename the install media (optional)...

Code:
 sudo diskutil rename "Install macOS High Sierra" install_osx

- Install Clover to formatted USB with following selected
Code:
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
Code:
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)
Code:
 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
- SSDT-PNLF.aml

- 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

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


10. Disable Nvidia GT 940M

[Guide] Disabling discrete graphics in dual-GPU laptops

Apply this patch to SSDT with Discrete Graphics
Code:
into method label _INI parent_label \_SB.PCI0.RP05.PXSX insert
begin
//added to turn Nvidia off\n
External(\_SB.PCI0.RP05.PXSX._OFF, MethodObj)\n
_OFF()\n
end;

Apply this patch to DSDT
Code:
into method label _REG parent_hid PNP0C09 insert
begin
//added to turn Nvidia off\n
If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))\n
{\n
    External(\_SB.PCI0.RP05.PXSX._OFF, MethodObj)\n
    \_SB.PCI0.RP05.PXSX._OFF()\n
}\n
end;

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

RehabMan
Acidanthera
Alexandred
P1LGRIM
Mirone
Mieze
vit9696
would you mind making a in depth video tutorial for the specific laptop.....
 
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
Code:
sudo "/Applications/Install macOS Catalina.app/Contents/Resources/createinstallmedia" --volume  /Volumes/macOS --nointeraction

- Rename the install media (optional)...

Code:
 sudo diskutil rename "Install macOS High Sierra" install_osx

- Install Clover to formatted USB with following selected
Code:
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
Code:
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)
Code:
 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
- SSDT-PNLF.aml

- 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

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


10. Disable Nvidia GT 940M

[Guide] Disabling discrete graphics in dual-GPU laptops

Apply this patch to SSDT with Discrete Graphics
Code:
into method label _INI parent_label \_SB.PCI0.RP05.PXSX insert
begin
//added to turn Nvidia off\n
External(\_SB.PCI0.RP05.PXSX._OFF, MethodObj)\n
_OFF()\n
end;

Apply this patch to DSDT
Code:
into method label _REG parent_hid PNP0C09 insert
begin
//added to turn Nvidia off\n
If (LAnd(LEqual(Arg0,3),LEqual(Arg1,1)))\n
{\n
    External(\_SB.PCI0.RP05.PXSX._OFF, MethodObj)\n
    \_SB.PCI0.RP05.PXSX._OFF()\n
}\n
end;

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

RehabMan
Acidanthera
Alexandred
P1LGRIM
Mirone
Mieze
vit9696

Hi, i'm using an hardware really close to yours.
I'm booting mac os since sierra with your guide and some mod, for that you deserve a thanks big like an house.


I wanna ask you, if is it possible, to help me compiling a SSDT-BATT for my hardware and with mine DSDT,
Cause with yours files i can't make Power Management proper working and can't see tha battery status.

Solution

In the config.plist of this guide there are some ACPI hot patch, making some changes is possible to use the SSDT-BATT provided with this guide.

Change:

GPWR to XPWR (0x6D)
find 47505257 0A
replace 58505257 0A

to:

GPWR to XPWR (0x6D)
find 47505257 02
replace 58505257 02

And for every field with (Battery), cut first 2 numbers of find and replace values.

ex:

BAT0.UPBI to XPBI (Battery)
Find 1A 55504249 00
Replace 1A 58504249 00

to:

BAT0.UPBI to XPBI (Battery)
Find 55504249 00
Replace 58504249 00



That worked for me, possibly for different hardware, but i've found that normally the right values for GPRW patch are ending in 02 and not in 0A.
 
Last edited:
Hi,Thanks for your guide,i Can install catalina on my laptop, my hardware is really same with you except Resolution,there is a result,In the second stage of booting, I will see 8 apples flashing by
Can you tell me which files I need to revise,to make my Hackintosh perfect
Thanks again
 
Hi,Thanks for your guide,i Can install catalina on my laptop, my hardware is really same with you except Resolution,there is a result,In the second stage of booting, I will see 8 apples flashing by
Can you tell me which files I need to revise,to make my Hackintosh perfect
Thanks again
I don't understand exactly, can you provide a screenshot?
also if your resolution is different then change the clover resolution in config.plist file.
 
Hi, i'm using an hardware really close to yours.
I'm booting mac os since sierra with your guide and some mod, for that you deserve a thanks big like an house.


I wanna ask you, if is it possible, to help me compiling a SSDT-BATT for my hardware and with mine DSDT,
Cause with yours files i can't make Power Management proper working and can't see tha battery status.

Solution

In the config.plist of this guide there are some ACPI hot patch, making some changes is possible to use the SSDT-BATT provided with this guide.

Change:

GPWR to XPWR (0x6D)
find 47505257 0A
replace 58505257 0A

to:

GPWR to XPWR (0x6D)
find 47505257 02
replace 58505257 02

And for every field with (Battery), cut first 2 numbers of find and replace values.

ex:

BAT0.UPBI to XPBI (Battery)
Find 1A 55504249 00
Replace 1A 58504249 00

to:

BAT0.UPBI to XPBI (Battery)
Find 55504249 00
Replace 58504249 00



That worked for me, possibly for different hardware, but i've found that normally the right values for GPRW patch are ending in 02 and not in 0A.

Inject plugin-type = 1 property to CPU0 with SSDT-XCPM, CPUFriend.kext & CPUFriendDataProvider.kext handles rest of the stuff.

GPRW to XPRW patch is little complicated at my end, GPRW decodes to 47 50 52 57 and general follow up byte is 02 just as you mentioned but in my case follow up byte is 0A instead of 02 (my Haier laptop works fine with 47 50 52 57 02). but the bad thing is patch still doesn't work as it's supposed to with 47 50 52 57 0A, because it replaces all calls along with method name to XPRW. to put it simply
47 50 52 57 02 : doesn't work at all, SSDT-GPRW.aml fails to load AE_ALREADY_EXISTS
47 50 52 57 0A : Rename GPRW to XPRW but also Renames method calls, as a result the injected GPRW method from SSDT-GPRW.aml will never be called.
08 47 50 52 57 0A : my current implementation that only replaces Method name of GPRW to XPRW. and doesn't rename any of the method call to XPRW.

Rename patches for Battery are fine even when the first byte is removed, originally I added preceding byte to make sure that any method calls aren't renamed. but removing first byte makes it more generic and it should work on wide range of similar HP laptops.

I created the patches using my own DSDT.aml, and yours must be a little different. ACPI files can be different even on same laptop running different bios versions. My ACPI files were never meant to be used by others.
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

The good thing is you got it all working.
 
Last edited:
I don't understand exactly, can you provide a screenshot?
also if your resolution is different then change the clover resolution in config.plist file.

I'm sorry my poor English,I'm not a English speaker.
I have changed config-GUI-Screen resolution to 1920×1080,I try 1366×768、make it empty;
also have 8 apples flashed about 1s in the second phase of startup.
if i use one-key-hidpi I will see 8 apples about 2s.
but if i use other config.plist Graphics memory is only 7M,no such phenomenon.
20200403171749.jpg
 
Battery and Power Management both are working fine (at least for me). I created the patches using my own DSDT.aml, and yours must be a little different. ACPI files can be different even on same laptop running different bios versions.

Possibly u used mixed listing to generate those find/replace patch and avoid calls rename aka method headers bytes (found: here)

But what happens if the method differs slightly between different versions of BIOS or models that are similar, but not exactly the same? In that case, the byte following the 14 will change due to the change in the method length.

Note: Although you could search just for the method name + arg count/flags, it is possible that the same pattern will find a call site to the method which you don't want to change. In the case of the u430 that wasn't the case, so I was able to find/replace with just the method name+flags.
name+flags seems to be more portable between different model/BIOS.

Learned this i looked into SSDT-BATT (the only one i'm using from your guide), merged patched DSDT with non patched, and founded that for my model is the same exactly patch for battery.
My ACPI files were never meant to be used by others.
That's why i'm using only your SSDT-BATT

The good thing is you got it all working.
Amazing, 'cause i was using a whole patched DSDT, and for OpenCore are suggested only hot-patch.
Now I'm booting with OpenCore.
 
Status
Not open for further replies.
Back
Top