acidanthera / bugtracker

Acidanthera Bugtracker
374 stars 42 forks source link

Masking does not work with injected kexts #2394

Closed unitedastronomer closed 2 months ago

unitedastronomer commented 2 months ago

I use the BCM57785 Patch in the Kernel -> Patch section (with device-id and compatible injection) to load the native AppleBCM501Ethernet.kext, and it works great in Catalina. However, it was only limited up to 19.xx.x.

In my previous attempts to enable Broadcom ethernet, I have tried to use the CatalinaBCM5701Ethernet.kext provided in the OCLP repo, and use the BCM57785 patch for it as it was from Catalina anyway. I also added the correct identifier and minKernel, however it did not work.

I tried to use a decompiler and find the values on the place mentioned on this apple life thread. When I compared the values from the native Catalina kext and the OCLP version, they were the same. So I tried to find/replace the whole thing without the mask and base, and it only loaded the kext that way.

Andrey1970AppleLife commented 2 months ago

For 11+ use patched kext https://www.applelife.ru/posts/930901