deeveedee Posted July 29, 2023 Share Posted July 29, 2023 18 minutes ago, Max.1974 said: Im thinking its close a little bit to get this works without OLCP Rooting. OCLP post-install patches install the Apple Wi-Fi framework for legacy Wi-Fi (the framework that was removed in Sonoma). I will be very surprised if you have working legacy Wi-Fi without OCLP post-install patches. 3 Link to comment Share on other sites More sharing options...
Max.1974 Posted July 29, 2023 Share Posted July 29, 2023 1 hour ago, deeveedee said: OCLP post-install patches install the Apple Wi-Fi framework for legacy Wi-Fi (the framework that was removed in Sonoma). I will be very surprised if you have working legacy Wi-Fi without OCLP post-install patches. My dear brother, im sure that will be the way to works this wireless. Recognize everything. But im not install ACLP. New and fresh install Link to comment Share on other sites More sharing options...
jsl2000 Posted July 29, 2023 Share Posted July 29, 2023 4 hours ago, deeveedee said: I have Wi-Fi working with BCM 94352HMB. I'm not sure that this is all necessary, but here is what I did: EDIT: I have not yet finished reviewing my solution, but early indications are that the key was replacing AirportBrcmFixup.kext. I am using the attached kext and Wi-Fi is working perfectly with my BCM 94352HMB device. This is the kext that is included with OCLP 0.6.9 07.28.23 nightly build. Replace AirportBrcmFixup.kext 2.1.7 in OC/Kexts with the AirportBrcmFixup.kext 2.1.7 in the OCLP-Generated EFI (they have the same version, but have different sizes) Reveal hidden contents config.plist should not have VMM kernel patches and should have revpatch=sbvmm (for RestrictEvents.kext 1.1.2) AMFI should be disabled with amfi=0x80 and kernel patch Implement ACPI patch (SSDT) to spoof device "pci14e4,4353" (not sure this is necessary - My SMBIOS is MBP6,2 and this is the actual device in a real MBP6,2) *** Deleted - Not necessary *** Implement ACPI binary rename (config.plist) RP02.PXSX -> RP02.ARPT *** Deleted - Not necessary *** Apply legacy wi-fi post-install patches with 0.6.9n 07.28.23 (use nightly build, not custom build. No python mods necessary). For some reason, the latest OCLP 0.6.9 nightly build was able to patch my hack. Previous versions did not have any patches available. I am not sure if this is a change in the OCLP build (I don't see any commits, so I don't think so) or because I spoofed Wi-Fi device. Maybe the new AirportBrcmFixup.kext was necessary? Maybe revpatch=sbvmm was necessary? I am posting this with FireFox in Sonoma 14.0 Beta 4 on my Mac over BCM94352 Wi-Fi 😀 AirportBrcmFixup.kext.zip 18.37 kB · 2 downloads Thanks for your help and this new kext which enable my BCM4352 working at Sonoma now ! 4 Link to comment Share on other sites More sharing options...
kinhhoang161 Posted July 29, 2023 Share Posted July 29, 2023 8 hours ago, deeveedee said: I have Wi-Fi working with BCM 94352HMB. I'm not sure that this is all necessary, but here is what I did: EDIT: I have not yet finished reviewing my solution, but early indications are that the key was replacing AirportBrcmFixup.kext. I am using the attached kext and Wi-Fi is working perfectly with my BCM 94352HMB device. This is the kext that is included with OCLP 0.6.9 07.28.23 nightly build. Replace AirportBrcmFixup.kext 2.1.7 in OC/Kexts with the AirportBrcmFixup.kext 2.1.7 in the OCLP-Generated EFI (they have the same version, but have different sizes) Reveal hidden contents config.plist should not have VMM kernel patches and should have revpatch=sbvmm (for RestrictEvents.kext 1.1.2) AMFI should be disabled with amfi=0x80 and kernel patch Implement ACPI patch (SSDT) to spoof device "pci14e4,4353" (not sure this is necessary - My SMBIOS is MBP6,2 and this is the actual device in a real MBP6,2) *** Deleted - Not necessary *** Implement ACPI binary rename (config.plist) RP02.PXSX -> RP02.ARPT *** Deleted - Not necessary *** Apply legacy wi-fi post-install patches with 0.6.9n 07.28.23 (use nightly build, not custom build. No python mods necessary). For some reason, the latest OCLP 0.6.9 nightly build was able to patch my hack. Previous versions did not have any patches available. I am not sure if this is a change in the OCLP build (I don't see any commits, so I don't think so) or because I spoofed Wi-Fi device. Maybe the new AirportBrcmFixup.kext was necessary? Maybe revpatch=sbvmm was necessary? I am posting this with FireFox in Sonoma 14.0 Beta 4 on my Mac over BCM94352 Wi-Fi 😀 AirportBrcmFixup.kext.zip 18.37 kB · 5 downloads Greate work, thank you very much, but once we have AirportBrcmFixup.kext, do we still need IO80211FamilyLegacy.kext/Contents/PlugIns/AirPortBrcmNIC.kext? can you show kext folder or config.plist please 1 Link to comment Share on other sites More sharing options...
Blesh Posted July 29, 2023 Share Posted July 29, 2023 If you are experiencing the same WiFi problem as me, where the connection to the WiFi router is working but you cannot seem to connect to the internet, there may be a solution. I discovered that the App "little snitch" was still running and blocking my internet access. (Thoug I uninstalled it) To resolve this issue, I had to go to Settings -> Network -> VPN&Filters -> Filters&Proxies and delete "little snitch". After doing so, I was able to go online immediately. 2 Link to comment Share on other sites More sharing options...
deeveedee Posted July 29, 2023 Share Posted July 29, 2023 (edited) 3 hours ago, kinhhoang161 said: Greate work, thank you very much, but once we have AirportBrcmFixup.kext, do we still need IO80211FamilyLegacy.kext/Contents/PlugIns/AirPortBrcmNIC.kext? can you show kext folder or config.plist please See attached. Others have their own techniques, but for me, I find it easiest to generate an Open Core EFI with OCLP (use the option "Build and Install Open Core" and then I examine the resulting OCLP-Generated EFI. That is how I discovered the change in AirportBrcmFixup.kext. Spoiler Edited July 29, 2023 by deeveedee 2 1 Link to comment Share on other sites More sharing options...
kinhhoang161 Posted July 29, 2023 Share Posted July 29, 2023 (edited) @deeveedee thanks. but i dont understand why we need add revpatch=sbvmm. i thought it just allowing OTA updates for unsupported models on macOS 11.3 or newerand if i use the installer in the usb to install do i need revpatch=sbvmm? Edited July 29, 2023 by kinhhoang161 1 Link to comment Share on other sites More sharing options...
deeveedee Posted July 29, 2023 Share Posted July 29, 2023 (edited) @kinhhoang161 You are watching my work in progress. I may have done more than I needed to. I only just discovered the working solution. It is very possible that I did more than necessary, so I'm sure my solution will be refined. Even if revpatch=sbvmm (with RestrictEvents.kext) is not needed, it is my preferred approach over the VMM kernel patches that I need for my hack (SMBIOS MBP6,2). Your approach may be different. EDIT: Also see this. With my MBP6,2, I need VMM kernel patches to perform a clean macOS install (not an upgrade). There are still some things about this legacy hacking that I'm learning, so I won't be surprised if some of my steps are unnecessary or overly complicated. Edited July 29, 2023 by deeveedee 2 Link to comment Share on other sites More sharing options...
kinhhoang161 Posted July 29, 2023 Share Posted July 29, 2023 2 minutes ago, deeveedee said: @kinhhoang161 You are watching my work in progress. I may have done more than I needed to. I only just discovered the working solution. It is very possible that I did more than necessary, so I'm sure my solution will be refined. Even if revpatch=sbvmm (with RestrictEvents.kext) is not needed, it is my preferred approach over the VMM kernel patches that I need for my hack (SMBIOS MBP6,2). Your approach may be different. now i understood, thanks for your work and the explanation 2 Link to comment Share on other sites More sharing options...
deeveedee Posted July 29, 2023 Share Posted July 29, 2023 (edited) EDIT: Leaving this post below for historical purposes, but the post below is incorrect. See my revised conclusion here. ========================================= It does appear that the key to working Sonoma Wi-Fi with the BCM 94352HMB was replacement of the Acidanthera AirportBrcmFixup.kext 2.1.7 with AirportBrcmFixup.kext 2.1.7 included with OCLP 0.6.9 (different kexts, same version). See here. I don't see any commits in the Acidanthera repo (yet). I'd be curious to know the change if anyone knows. EDIT: Maybe in the Dortania nightly builds? I haven't checked yet. *** Nope - not yet. Edited July 31, 2023 by deeveedee 1 Link to comment Share on other sites More sharing options...
MacWill Posted July 29, 2023 Share Posted July 29, 2023 Z590 Vision G. SMBIOS 20.2. All the recipe made, when applying the OCLP root patch came the message "Unsupported Host OS". What is missing? Link to comment Share on other sites More sharing options...
deeveedee Posted July 29, 2023 Share Posted July 29, 2023 3 minutes ago, MacWill said: Z590 Vision G. SMBIOS 20.2. All the recipe made, when applying the OCLP root patch came the message "Unsupported Host OS". What is missing? Follow my steps here. I saw the same error at some point during my attempts. I think it may be that sbvmm is required (with RestrictEvents.kext 1.1.2) or the new AirportBrcmFixup.kext is needed. I haven't tested further to determine the exact cause of the error, but my posted steps resolved this for me. 2 1 Link to comment Share on other sites More sharing options...
Max.1974 Posted July 29, 2023 Share Posted July 29, 2023 (edited) 3 hours ago, deeveedee said: See attached. Others have their own techniques, but for me, I find it easiest to generate an Open Core EFI with OCLP (use the option "Build and Install Open Core" and then I examine the resulting OCLP-Generated EFI. That is how I discovered the change in AirportBrcmFixup.kext. Reveal hidden contents Thanks for sharing my friend!! It's possible you share config steps on OCLP that you did? Very helpful Edited July 29, 2023 by Max.1974 Link to comment Share on other sites More sharing options...
cankiulascmnfye Posted July 29, 2023 Share Posted July 29, 2023 3 hours ago, MacWill said: Z590 Vision G. SMBIOS 20.2. All the recipe made, when applying the OCLP root patch came the message "Unsupported Host OS". What is missing? You need the 0.6.9 nightly build if you want to patch Sonoma. 1 1 Link to comment Share on other sites More sharing options...
deeveedee Posted July 29, 2023 Share Posted July 29, 2023 (edited) 6 hours ago, Max.1974 said: It's possible you share config steps on OCLP that you did? I have attached a sample config.plist here. Just follow the steps I outline in the post and reference the attached sample config.plist. Please understand that the config.plist is based on my work with my own hack (SMBIOS MBP6,2) and is specific to what I needed to do for BCM 94352HMB Wi-Fi, so there may be elements of my solution that do not apply to your own solution. If you generate an OC EFI with OCLP 0.6.9 (Use OCLP's "Build and Install Open Core" and then choose "View Build Log" (thank you @cankiulascmnfye for the tip to "View Build Log" instead of "Install"), you will find the required Kexts. Use OCLP 0.6.9 Nightly build to apply post-install patches after you boot with your new EFI. EDIT: Note that before you can "Build and Install Open Core," you may need to set an SMBIOS Model "Target" if OCLP doesn't automatically detect one (OCLP never detects the SMBIOS model on my hack). To set an SMBIOS Model Target, choose Settings in OCLP GUI Spoiler and then select your Target SMBIOS model from the pull down menu. Spoiler Then click "Return" Spoiler and then "Build and Install Open Core." When prompted, select "View Build Log" and follow the path to the OCLP-generated OC EFI. *** OCLP is designed for Real Macs. Never use OCLP to generate an OC EFI for your hackintosh. I only use OCLP's generated OC EFI as a reference *** Edited July 29, 2023 by deeveedee 2 2 Link to comment Share on other sites More sharing options...
Max.1974 Posted July 29, 2023 Share Posted July 29, 2023 Thanks again my friend !! @deeveedee Link to comment Share on other sites More sharing options...
ThriftLover Posted July 29, 2023 Share Posted July 29, 2023 21 hours ago, deeveedee said: Replace AirportBrcmFixup.kext 2.1.7 in OC/Kexts with the AirportBrcmFixup.kext 2.1.7 in the OCLP-Generated EFI (they have the same version, but have different sizes) Hide contents Hmm... Weird. I noticed that they are of a different size because the AirportBrcmFixup.kext from OCLP does not have AirPortBrcm4360_Injector.kext in its PlugIn folder. If you delete AirPortBrcm4360_Injector.kext the size is exactly the same. NO changes in info.plist or the contents of AirportBrcmFixup binary after comparing them in BBEdit. AirportBrcmFixup.kext from iMac18,3 generated EFI also have a different size which is actually missing both AirPortBrcm4360_Injector.kext and AirPortBrcmNIC_Injector.kext but other than that I didn't notice any difference. 2 Link to comment Share on other sites More sharing options...
deeveedee Posted July 29, 2023 Share Posted July 29, 2023 (edited) On 7/29/2023 at 4:03 PM, ThriftLover said: Hmm... Weird. I noticed that they are of a different size because the AirportBrcmFixup.kext from OCLP does not have AirPortBrcm4360_Injector.kext in its PlugIn folder. If you delete AirPortBrcm4360_Injector.kext the size is exactly the same. NO changes in info.plist or the contents of AirportBrcmFixup binary after comparing them in BBEdit. AirportBrcmFixup.kext from iMac18,3 generated EFI also have a different size which is actually missing both AirPortBrcm4360_Injector.kext and AirPortBrcmNIC_Injector.kext but other than that I didn't notice any difference. EDIT: @ThriftLover - you were right to think this was weird. I was experimenting with device spoofing and different versions of AirportBrcmFixup.kext as I explain here and misinterpreted my test results. It was the spoofing and NOT the AirportBrcmFixup.kext version that resulted in successful Wi-Fi patching in Sonoma. See my mea culpa here. Leaving my comments below for historical purposes, but my conclusions below are wrong. ============================================= Good find. EDIT: kextstat in Sonoma shows these Brcm kexts on my hack (same as in Ventura) Spoiler EDIT2: The OC config.plist generated by OCLP 0.6.9 does inject the Brcm plugin kext. Spoiler If the kext change really is just removal of the plugins, why not just remove the plugin from the config.plist (or disable it) instead of modifying the kext? EDIT3: @ThriftLover If I disable the AirPortBrcmNIC_Injector.kext kext injection in my config.plist, Wi-Fi no longer works in Sonoma. The OCLP Devs are clearly working more magic than we know. Could it be that somehow, OCLP 0.6.9 post-install patching is partially injecting the plugin kext (thus the removal of the plugins from AirportBrcmFixup.kext) and that OC's Kernel > Add processing is only part of the full kext injection? I don't doubt that you are correct (that the difference between the two AirportBrcmFixup.kexts is the removal of the plugins). Without knowing anything about this and I am making a complete guess, I would say that the plugins are removed from AirportBrcmFixup.kext, so that they don't override kext injection which includes a "partial kext injection" by the post-install patches. Edited July 31, 2023 by deeveedee 2 Link to comment Share on other sites More sharing options...
surenmunoo Posted July 29, 2023 Share Posted July 29, 2023 (edited) So, After many trys and many days and nights of Frustrations, I finally got WIFI working and Sonoma booting quickly. I read what @deeveedee posted about getting his wifi working and creating an EFI from OCLP and using that has a reference point to get this going. I did the same and voila, working. Now if someone can look at my config and see why I can't get my usb ports to show in Hackintool. I created all new SSDT's using SSDTTime in windows and just threw all of them in ACPI due to frustration or maybe that amfi.kext is causing the issue ***EDIT *** USB ports now working after some SSDTD changes and a new USB mapping config.plist.zip Edited July 30, 2023 by surenmunoo 4 Link to comment Share on other sites More sharing options...
Aguys Posted July 29, 2023 Share Posted July 29, 2023 AW-CE123H (BCM94352HMB) working on already patched system. 3 Link to comment Share on other sites More sharing options...
surenmunoo Posted July 30, 2023 Share Posted July 30, 2023 Anyone else that has the I226-V network on their Sonoma not working after doing the patch to get Wifi working, what did you do to fix it. Mine shows up but does not get an IP address. Link to comment Share on other sites More sharing options...
grinlight Posted July 30, 2023 Share Posted July 30, 2023 Hi anyone, Where can I get AMFIPass.kext v 1.3.1 ? Thanks Link to comment Share on other sites More sharing options...
surenmunoo Posted July 30, 2023 Share Posted July 30, 2023 25 minutes ago, grinlight said: Hi anyone, Where can I get AMFIPass.kext v 1.3.1 ? Thanks Here it is AMFIPass.kext.zip Link to comment Share on other sites More sharing options...
mnfesq Posted July 30, 2023 Share Posted July 30, 2023 On 7/26/2023 at 12:15 AM, cankiulascmnfye said: @surenmunoo In the notes of the Sonoma OCLP Development bracnh it says, that you still have to apply root patches with OCLP 068 afterwards to make it work: Source: https://github.com/dortania/OpenCore-Legacy-Patcher/pull/1077#issuecomment-1646934494 I disabled AMFI and Firefox and WhatsApp for Mac both stopped working. Anyone have a possible solution or workaround? Link to comment Share on other sites More sharing options...
AppleBreak Posted July 30, 2023 Share Posted July 30, 2023 5 minutes ago, mnfesq said: I disabled AMFI and Firefox and WhatsApp for Mac both stopped working. Anyone have a possible solution or workaround? Please try AMFIPass.kext with -amfipassbeta boot flag and remove amfi=0x80 5 1 Link to comment Share on other sites More sharing options...
Recommended Posts