Info.plist Clover patch

Hi. I have a RX480, which is getting sleep issues on 10.13.2. It was found out that to fix the issue you need to change the following value on AMD9500Controller.kext from 0 to 5 (in my case, which is a Strix card with 5 ports).

https://pasteboard.co/GZIUWDl.png

The patching actually works if modified directly on the kext. However, I've been trying to make a Clover info.plist kext patch for it, which is not working.

This is the patch I've made, which will (was supposed to) find and replace the following strings:

From:

<key>CFG_FB_LIMIT</key><integer>0</integer>

To:

<key>CFG_FB_LIMIT</key><integer>5</integer>

Here is the patch:


<dict> <key>Comment</key> <string>RX480 Sleep Fix</string> <key>Name</key> <string>AMD9500Controller</string> <key>InfoPlistPatch</key> <true/> <key>Find</key> <data>PGtleT5DRkdfRkJfTElNSVQ8L2tleT48aW50ZWdlcj4wPC9pbnRlZ2VyPg==</data> <key>Replace</key> <data>PGtleT5DRkdfRkJfTElNSVQ8L2tleT48aW50ZWdlcj41PC9pbnRlZ2VyPg==</data> </dict>

Could someone help me out with this? Thanks.

submitted by /u/AndreLuisOS
[link] [comments]