Contribute
Register

Help with battery Hotpatch HP OMEN X 17-AP020NR

Status
Not open for further replies.
Joined
Sep 9, 2018
Messages
32
Motherboard
HP Laptop MB CM238 chipset
CPU
i7-7820HK
Graphics
GTX 1080 8GB
Any device or method you plan to replace in hotpatch SSDTs must be renamed in DSDT to avoid conflicts.
Refer to the ACPI hotpatch guide. Read/understand carefully.
I'm trying not to use DSDT, and in clover, I have the patched methods renamed. When I use the battery hotpatch without the DSDT and the renames in clover, thats when I get those errors.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Joined
Sep 9, 2018
Messages
32
Motherboard
HP Laptop MB CM238 chipset
CPU
i7-7820HK
Graphics
GTX 1080 8GB
With hotpatch, you rename such methods with config.plist/ACPI/DSDT/Patches.
Refer to my hotpatch guide for details.
I have, these are my patches:
XML:
            <key>Patches</key>
            <array>
                <dict>
                    <key>Comment</key>
                    <string>change HDAS to HDEF</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    SERBUw==
                    </data>
                    <key>Replace</key>
                    <data>
                    SERFRg==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change EC0 to EC</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    RUMwXw==
                    </data>
                    <key>Replace</key>
                    <data>
                    RUNfXw==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change SAT0 to SATA</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    U0FUMA==
                    </data>
                    <key>Replace</key>
                    <data>
                    U0FUQQ==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change GPRW to XPRW</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    FEAGR1BSVwI=
                    </data>
                    <key>Replace</key>
                    <data>
                    FEAGWFBSVwI=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change _OSI to XOSI</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    X09TSQ==
                    </data>
                    <key>Replace</key>
                    <data>
                    WE9TSQ==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery GBIF to XBIX</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    R0JJRgE=
                    </data>
                    <key>Replace</key>
                    <data>
                    WEJJWAE=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery GBCO to XBCO</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    R0JDTwg=
                    </data>
                    <key>Replace</key>
                    <data>
                    WEJDTwg=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery INIT to XNIT</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    SU5JVAg=
                    </data>
                    <key>Replace</key>
                    <data>
                    WE5JVAg=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery CLRI to XLRI</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    Q0xSSQg=
                    </data>
                    <key>Replace</key>
                    <data>
                    WExSSQg=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery UPBI to XPBI</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    VVBCSQA=
                    </data>
                    <key>Replace</key>
                    <data>
                    WFBCSQA=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery UPBS to XPBS</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    VVBCUwA=
                    </data>
                    <key>Replace</key>
                    <data>
                    WFBCUwA=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery SMRD to XMRD</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    U01SRAQ=
                    </data>
                    <key>Replace</key>
                    <data>
                    WE1SRAQ=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery SMWR to XMWR</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    U01XUgQ=
                    </data>
                    <key>Replace</key>
                    <data>
                    WE1XUgQ=
                    </data>
                </dict>
            </array>
Could there be anything wrong with these? I disabled them right now but obviously they weren't when I tried.
 

RehabMan

Moderator
Joined
May 2, 2012
Messages
183,775
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
I have, these are my patches:
XML:
            <key>Patches</key>
            <array>
                <dict>
                    <key>Comment</key>
                    <string>change HDAS to HDEF</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    SERBUw==
                    </data>
                    <key>Replace</key>
                    <data>
                    SERFRg==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change EC0 to EC</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    RUMwXw==
                    </data>
                    <key>Replace</key>
                    <data>
                    RUNfXw==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change SAT0 to SATA</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    U0FUMA==
                    </data>
                    <key>Replace</key>
                    <data>
                    U0FUQQ==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change GPRW to XPRW</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    FEAGR1BSVwI=
                    </data>
                    <key>Replace</key>
                    <data>
                    FEAGWFBSVwI=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>change _OSI to XOSI</string>
                    <key>Disabled</key>
                    <false/>
                    <key>Find</key>
                    <data>
                    X09TSQ==
                    </data>
                    <key>Replace</key>
                    <data>
                    WE9TSQ==
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery GBIF to XBIX</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    R0JJRgE=
                    </data>
                    <key>Replace</key>
                    <data>
                    WEJJWAE=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery GBCO to XBCO</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    R0JDTwg=
                    </data>
                    <key>Replace</key>
                    <data>
                    WEJDTwg=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery INIT to XNIT</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    SU5JVAg=
                    </data>
                    <key>Replace</key>
                    <data>
                    WE5JVAg=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery CLRI to XLRI</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    Q0xSSQg=
                    </data>
                    <key>Replace</key>
                    <data>
                    WExSSQg=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery UPBI to XPBI</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    VVBCSQA=
                    </data>
                    <key>Replace</key>
                    <data>
                    WFBCSQA=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery UPBS to XPBS</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    VVBCUwA=
                    </data>
                    <key>Replace</key>
                    <data>
                    WFBCUwA=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery SMRD to XMRD</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    U01SRAQ=
                    </data>
                    <key>Replace</key>
                    <data>
                    WE1SRAQ=
                    </data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>battery SMWR to XMWR</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>
                    U01XUgQ=
                    </data>
                    <key>Replace</key>
                    <data>
                    WE1XUgQ=
                    </data>
                </dict>
            </array>
Could there be anything wrong with these? I disabled them right now but obviously they weren't when I tried.

You can check whether the renames are effective by looking at the output from 'patchmatic -extract'.
 
Joined
Sep 9, 2018
Messages
32
Motherboard
HP Laptop MB CM238 chipset
CPU
i7-7820HK
Graphics
GTX 1080 8GB
You can check whether the renames are effective by looking at the output from 'patchmatic -extract'.
The renames were effective as I checked the output and only the method names were renamed. when I do the sanity check against this DSDT with SSDT-BATT.aml, I still get the same error:
Code:
Firmware Error (ACPI): Failure creating [\_SB.WMID], AE_ALREADY_EXISTS (20180427/dswload-498)
 
Joined
Sep 9, 2018
Messages
32
Motherboard
HP Laptop MB CM238 chipset
CPU
i7-7820HK
Graphics
GTX 1080 8GB
You can check whether the renames are effective by looking at the output from 'patchmatic -extract'.
OK, so I fixed that error. The sanity check now works, but now I get no battery status. I'll upload problem files in a bit.
EDIT: I forgot to disable "change EC0 to EC", doing so fixed my problem, and now I have a battery hotpatch, YAY!
EDIT2: Celebrated early, didn't test very thoroughly so I didn't notice until now that the percentages are horribly wrong, guess I'll get my problem reporting files...
 
Last edited:
Joined
Sep 9, 2018
Messages
32
Motherboard
HP Laptop MB CM238 chipset
CPU
i7-7820HK
Graphics
GTX 1080 8GB
The renames were effective as I checked the output and only the method names were renamed. when I do the sanity check against this DSDT with SSDT-BATT.aml, I still get the same error:
Code:
Firmware Error (ACPI): Failure creating [\_SB.WMID], AE_ALREADY_EXISTS (20180427/dswload-498)
Here they are
 

Attachments

  • debug_6325.zip
    3.8 MB · Views: 119
Status
Not open for further replies.
Top