Jump to content

OpenCore custom patch "Failed to pk find com.apple.driver.AppleIntelFramebufferAzul"


4 posts in this topic

Recommended Posts

Thanks to OpenCore 0.6.6 and friends I have been able to fairly easy set up bigSur 11.2.1 on an Esprimo Q920 i5-4590T HD4600 (MacMini7,1). Everything is working correctly including graphics with WhateverGreen.


However, I want to experiment with some custom tinkering. I want to change a few bytes in AppleIntelFramebufferAzul. So I wrote a patch and put it in config.plist:


                <string>TEST ignore result validateSourceSize AppleIntelFramebufferAzul</string>


The bytes are sure there in AppleIntelFramebufferAzul:

test@Mac-mini ~ % xxd -g 0 -c 32 /System/Library/Extensions/AppleIntelFramebufferAzul.kext/Contents/MacOS/AppleIntelFramebufferAzul |grep "$(echo 'McCEyXVt'|base64 -D|xxd -p)"
0000f240: b600000089c131c084c9756d48ff052d63060048ff05365e0600458b86d80100  ......1...umH..-c..H..6^..E.....


However the patch does not get applied:

58:389 00:035 OCAK: Failed to pk find com.apple.driver.AppleIntelFramebufferAzul - Not Found
58:389 00:000 OC: Prelinked patcher result 0 for com.apple.driver.AppleIntelFramebufferAzul (TEST ignore result validateSourceSize AppleIntelFramebufferAzul) - Not Found


Can anybody help me understand why does the patch does not get applied?



Link to comment
Share on other sites

I found the answer to why the patch does not get applied here:





the kernel caches are now separated in 3 files (kernel collections): boot kernel extensions, auxiliary kernel extensions, and user kernel extensions. First two are built by Apple and are never modified by the end user. Last two are loaded by the kernel and thus are unavailable during boot. All GPU drivers belong to auxiliary kernel collection, making the only possible way to patch them is via Lilu and friends.


  • Like 1
Link to comment
Share on other sites

  • 2 years later...

  • Create New...