Jump to content
Meowthra

AGPM Patch

3 posts in this topic

Recommended Posts

Posted (edited)

#####################################
### AGPM X86PlatformPlugin
#####################################
Clover New Version:

    <key>ACPI</key>
    <dict>
        <key>SSDT</key>
        <dict>
            <key>Generate</key>
            <dict>
                <key>PluginType</key>
                <true/>
            </dict>
            <key>PluginType</key>
            <string>1</string>
        </dict>
    </dict>

or Using SSDT
Clover setting:

    <key>ACPI</key>
    <dict>
        <key>DropTables</key>
        <array>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>CpuPm</string>
            </dict>
        </array>
    </dict>

SSDT:

DefinitionBlock ("iASLoFN85L.aml", "SSDT", 1, "PmRef", "CpuPm", 0x00003000)
{
    External (\_PR_.CPU0, DeviceObj)
    Scope (\_PR.CPU0)
    {
        Method (_DSM, 4, NotSerialized)
        {
            If (LEqual (Arg2, Zero))
            {
                Return (Buffer (One)
                {
                    0x03
                })
            }
            Return (Package (0x02)
            {
                "plugin-type", 
                One
            })
        }
    }
}

Compile as SSDT.aml

copy SSDT.aml to EFI/CLOVER/ACPI/patched/

 

5yxuWVw.png

 

Edited by Meowthra

Share this post


Link to post
Share on other sites
Advertisement

What do the those binary patches of AGPM kext actually do?

 

Mavericks:

               \/\/\/\/\/\/
Find:    4585F60F849A020000
Replace: 4585F6909090909090
               /\/\/\/\/\/\

 

Mojave:

               \/\/\/\/\/\/
Find:    4585FF0F84CB020000
Replace: 4585FF909090909090
               /\/\/\/\/\/\

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×