Jump to content

ACPI patch with MASK properties on Clover


Recommended Posts

  • Administrators
Posted

@Slice How can I apply this ACPI patch with MASK property in Clover? Thank you for everything you did for us!

Quote

<dict>
                <key>Base</key>
                <string></string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>Intel 800 #1 - PCHA</string>
                <key>Count</key>
                <integer>1</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>oAAAAJKTUENIQQA=</data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>/wAAAP////////8=</data>
                <key>OemTableId</key>
                <data></data>
                <key>Replace</key>
                <data>o6Ojo6Ojo6Ojo6M=</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data>RFNEVA==</data>
            </dict>
            <dict>
                <key>Base</key>
                <string></string>
                <key>BaseSkip</key>
                <integer>0</integer>
                <key>Comment</key>
                <string>Intel 800 #2 - PCHS</string>
                <key>Count</key>
                <integer>2</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>oAAAAJKTUENIUwoE</data>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data>/wAAAP//////////</data>
                <key>OemTableId</key>
                <data></data>
                <key>Replace</key>
                <data>o6Ojo6Ojo6Ojo6Oj</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
                <key>TableLength</key>
                <integer>0</integer>
                <key>TableSignature</key>
                <data>RFNEVA==</data>
            </dict>

TmCNaMx.png

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

Posted

@MaLd0n,

I am very long time not using such ACPI patches because I prefer to do this 

1. Manual

2. Automatic by DSDT->Fixes

3. RenameDevices

Anyway Patches also exist. We have no FindMask and ReplaceMask because we can use different length of Find and Replace.
you should choose a pattern that unique for this patch idea and you may insert less bytes in Replace than you delete.

Samples:
 

Quote

More advanced hackers can make their own DSDT patches using binary-level

replacement:

<key>Patches</key>

<array>

<dict>

<key>Find</key>

<data>UFhTWAhfQURSAAhfUFJXEgYC</data>

<key>Replace</key>

<data>UFhTWAhfQURSAAhfU1VOCgQIX1BSVxIGAg==</data>

<key>TgtBridge</key>

<data>UFhTW</data>

</dict>

<dict>

<key>Comment</key>

<string>Rename oem _DSM to ZDSM</string>

<key>Disabled</key>

<false/>

<key>Find</key>

<data>

X0RTTQ==

</data>

<key>Replace</key>

<data>

WkRTTQ==

</data>

<key>Skip</key>

<integer>0</integer>

<key>Count</key>

<integer>0</integer>

</dict>

</array>

TgtBridge specifies that the patch will only work within one block defined by this

name

Device (RP02) { .. }

However, this method is no

More instructions here
Clover_Of_Khaki_Color_5160-en.pdf.zip

 

And no, there is no strict matching between Clover's method and Opencore's. We have more abilities.

  • Like 2

1. i5-13400, MSI PRO B760M-P DDR4, BIOS 1E, MSI RX570, ALC897 (VoodooHDA), Tahoe 26.2, Sequoia 15.7.3, ArchLinux, Clover 5167

2. ASUS X200CA, Pentium 2117U, 4GB, HD2500 (Software OpenGL), Mojave 10.14.6, ArchLinux , Clover5162

3. Huananzhi X79M-PRO, Xeon E5-2650v2, RX570, ALC887, RTL8111F, macOS 12.6, 10.14.6, Win10, multiboot by Clover 5150

4. GA 965P-S1, E6300 Conroe, Radeon HD5570, ALC888, OS⌘ 10.11.6 (15G22010), Clover 4928. Still working.

 

  • Administrators
Posted

Thanks. Let me check it!

  • Like 1

-Guides and Tutorials HERE

-Hackintosh Tutorial Database - HERE

-The largest EFI folder collection for Hackintosh HERE

-Support Olarila Vanilla Hackintosh by making a donation HERE

-Professional Hackintosh Support since 2006 HERE

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


×
×
  • Create New...