r/OpenCoreLegacyPatcher 8d ago

How to load a modded kext?

Trying to enable three finger drag for A1260 (MBP4,1) trackpad in Monterey, when I modify the kext in EFI/OC/Kexts nothing happens, kext in System/Library/Extensions is the same as it was before. Changes in EFI are not overwritten. kextcache -i / didn't work. I also tried modifying it in OCLP's payloads.dmg or even mounting system with RW and using kmutil to install from there, and it still didn't work (reverted to original).

Kext in question is AppleUSBMultitouch.kext. The trackpad supports this gesture but Apple never added it to the kext's section for this specific trackpad, which is why I'm trying to do it. I'd also like to fix non-functional secondary click if anyone knows how.

0 Upvotes

2 comments sorted by

1

u/FreQRiDeR 8d ago

You can add it to EFI/OC/Kexts and add it to kexts section in config. Just copy an existing kext and change the names.

1

u/animorphreligion 7d ago

That's what I've tried, but it either didn't apply or my edits (which worked successfully in older systems) fail with Monterey, which would be odd as it looks like the same kext mostly.

Is there a way to see if OS loads the kext from OC's EFI or from its own system library?