Matgen84 Posted September 29, 2023 Share Posted September 29, 2023 @Slice How to disable HWTarget for SMBIOS iMac20,1, please equivalent to SecurebootModel=Disabled). I believe you can solve the issue with Clover, kexts and blocked necessary for OCLP on Sonoma. Thanks. Link to comment Share on other sites More sharing options...
fabiosun Posted September 29, 2023 Share Posted September 29, 2023 (edited) 45 minutes ago, Matgen84 said: @Slice How to disable HWTarget for SMBIOS iMac20,1, please equivalent to SecurebootModel=Disabled). I believe you can solve the issue with Clover, kexts and blocked necessary for OCLP on Sonoma. Thanks. do you mean this? linked also to this commented parameter in my case? Edited September 29, 2023 by mariosun Link to comment Share on other sites More sharing options...
Matgen84 Posted September 29, 2023 Share Posted September 29, 2023 14 minutes ago, mariosun said: do you mean this? linked also to this commented parameter in my case? I means HWTarget=J185AP for SMBIOS iMac20,1 (Securebootmodel=j185 in my OC config.plist). Because I don't know if comment the key is enough ! ProtectSecureBoot=False for Clover and Opencore config.plist file. 1 Link to comment Share on other sites More sharing options...
fabiosun Posted September 29, 2023 Share Posted September 29, 2023 @Matgen84could you check in your misc/log if you have this line or similar one? 7:791 0:001 OC: Loading Apple Secure Boot with Disabled (level 0) thank you Link to comment Share on other sites More sharing options...
Matgen84 Posted September 29, 2023 Share Posted September 29, 2023 (edited) 1 hour ago, mariosun said: @Matgen84could you check in your misc/log if you have this line or similar one? 7:791 0:001 OC: Loading Apple Secure Boot with Disabled (level 0) thank you @mariosun I'm not at home. So I can't verify a new log file. Previous Clover debug log : with ProtectSecureboot=False and HWTarget=j185AP 131:328 0:024 OC: Loading Apple Secure Boot with Disabled (level 0) Thank you. Edited September 29, 2023 by Matgen84 Link to comment Share on other sites More sharing options...
datafeedexpert Posted October 5, 2023 Share Posted October 5, 2023 (edited) @Slicenew AirportBrcmFixup 2.1.8 not injecting with Clover5155 is there any trick to do so with Ventura 13.6 (22G120) I followed the below steps as per https://github.com/acidanthera/AirportBrcmFixup Installation types Clover Airport Fix + AirportBrcmFixup Clover Airport Fix + AddProperties(fake device-id) + AirportBrcmFixup (preferable) Clover Airport Fix + AirportBrcmFixup + FakePCIID + FakePCIID_Broadcom_WiFi.kext AirportBrcmFixup + FakePCIID + FakePCIID_Broadcom_WiFi.kext Solution Found on : https://applelife.ru/threads/airportbrcmfixup-lilu-plagin-s-naborom-patchej-dlja-wi-fi-kart-broadcom.2355103/page-16#post-751173 Edit : Get the KexttoPatch From Applelife.ru Find: 776F776C5F7465737400776F776C00 Replace: 000000000000000000000000000000 Name: com.apple.driver.AirPort.BrcmNIC Find: 776F776C5F7465737400776F776C00 Replace: 000000000000000000000000000000 Name: com.apple.driver.AirPort.BrcmNIC-MFG Find: 776F776C5F7465737400776F776C00 Replace: 000000000000000000000000000000 Name: com.apple.driver.AirPort.Brcm4360 Edited October 5, 2023 by datafeedexpert Solution Found 4 Link to comment Share on other sites More sharing options...
Matgen84 Posted October 6, 2023 Share Posted October 6, 2023 @datafeedexpert Thanks a lot. Can you post prebootlog. Perhaps, I mistaken. Since macOS 11+, AirPortBrcm4360 has been completely removed. Only AirPortBrcmNIC is used. So either delete the 4360 plugin in AirportBrcmFixUp, or set a boot-args brcm-drivers=2. However, I haven't tested version 2.1.8 on Ventura, because I don't have Ventura installed on my hard disks. Link to comment Share on other sites More sharing options...
datafeedexpert Posted October 6, 2023 Share Posted October 6, 2023 11 minutes ago, Matgen84 said: @datafeedexpert Thanks a lot. Can you post prebootlog. Perhaps, I mistaken. Since macOS 11+, AirPortBrcm4360 has been completely removed. Only AirPortBrcmNIC is used. So either delete the 4360 plugin in AirportBrcmFixUp, or set a boot-args brcm-drivers=2. However, I haven't tested version 2.1.8 on Ventura, because I don't have Ventura installed on my hard disks. preboot.logHere it is 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted October 6, 2023 Share Posted October 6, 2023 (edited) 20 minutes ago, datafeedexpert said: preboot.logHere it is AirportBrcmFixup.kext (v.2.1.9) seems to in Off directory: no injection possible. Move to Other directory. If you kept all the plugins inside AirportBrcmFixup.kext: add brcm-drivers=2 to you boot-args. To point AirPortBrcmNIC. T's suitable to keep only AirPortBrcmNIC, no boot-args needed. 28:460 0:000 Disabled kext: Off\AirportBrcmFixup.kext (v.2.1.9) In my opinion, if you have only one macOS version on your system: it's better to put all yours kexts in Other folder. Edited October 6, 2023 by Matgen84 1 Link to comment Share on other sites More sharing options...
datafeedexpert Posted October 6, 2023 Share Posted October 6, 2023 9 minutes ago, Matgen84 said: AirportBrcmFixup.kext (v.2.1.9) seems to in Off directory: no injection possible. Move to Other directory. If you kept all the plugins inside AirportBrcmFixup.kext: add brcm-drivers=2 to you boot-args. To point AirPortBrcmNIC. T's suitable to keep only AirPortBrcmNIC, no boot-args needed. 28:460 0:000 Disabled kext: Off\AirportBrcmFixup.kext (v.2.1.9) In my opinion, if you have only one macOS version on your system: it's better to put all yours kexts in Other folder. I have a multiple macOS like Catalina , Bigsur, Monterey, Ventura {Windows11 23H2}, Right now moved AirportBrcmFixup.kext to off Folder Because i am using only KexttoPatch Option , Even i dont need brcm-drivers=2 bootarg , i checked Wifi/Bluetooth for all macOS and thats working perfectly... 1 Link to comment Share on other sites More sharing options...
cankiulascmnfye Posted October 7, 2023 Share Posted October 7, 2023 @datafeedexpert AirportBrcmFixup contains 2 kexts as plugins, AirPortBrcm4360_Injector an AirPortBrcmNIC_Injector. In OpenCore you can disable them individually, but when using Clover you should delete AirPortBrcm4360_Injector since it is not compatible past macOS Catalina. And like Matgen84 said: if you have only one version of macOS installed, all required kext should be placed in the "Other" folder. 2 Link to comment Share on other sites More sharing options...
datafeedexpert Posted October 7, 2023 Share Posted October 7, 2023 4 hours ago, cankiulascmnfye said: @datafeedexpert AirportBrcmFixup contains 2 kexts as plugins, AirPortBrcm4360_Injector an AirPortBrcmNIC_Injector. In OpenCore you can disable them individually, but when using Clover you should delete AirPortBrcm4360_Injector since it is not compatible past macOS Catalina. And like Matgen84 said: if you have only one version of macOS installed, all required kext should be placed in the "Other" folder. @cankiulascmnfyeThat i understand perfectly i tried using AirPortBrcmNIC_Injector alone & AirPortBrcmFixup / AirPortBrcmNIC_Injector but Ventura / Monterey cant activate Wifi, I reset / Clear NVRAM after Each & every reboot / Config.plist changes, BTW After that i completely removed AirportBrcmFixup & it's Plugin & used only KexttoPatch Find - Replace Values only & the Wifi works Perfectly even these Find / Replace value works with OC / Clover Both, Link to comment Share on other sites More sharing options...
cankiulascmnfye Posted October 7, 2023 Share Posted October 7, 2023 (edited) 2 hours ago, datafeedexpert said: @cankiulascmnfyeThat i understand perfectly i tried using AirPortBrcmNIC_Injector alone & AirPortBrcmFixup / AirPortBrcmNIC_Injector but Ventura / Monterey cant activate Wifi, I reset / Clear NVRAM after Each & every reboot / Config.plist changes, BTW After that i completely removed AirportBrcmFixup & it's Plugin & used only KexttoPatch Find - Replace Values only & the Wifi works Perfectly even these Find / Replace value works with OC / Clover Both, Which machine are you referring to and what Wifi Card does it have? Edited October 7, 2023 by cankiulascmnfye Link to comment Share on other sites More sharing options...
datafeedexpert Posted October 7, 2023 Share Posted October 7, 2023 2 hours ago, cankiulascmnfye said: Which machine are you referring to and what Wifi Card does it have? HP 600 G1 DM Haswell HD4600 BCM4360NG M.2 Link to comment Share on other sites More sharing options...
LockDown Posted October 20, 2023 Share Posted October 20, 2023 Hi May i know what is nvram2 differ from vanilla? Can i use it on other previouses macOS or even OS X? Link to comment Share on other sites More sharing options...
Slice Posted October 20, 2023 Share Posted October 20, 2023 3 hours ago, LockDown said: Hi May i know what is nvram2 differ from vanilla? Can i use it on other previouses macOS or even OS X? Yes, you can. nvram2 = nvram + additional functions. Some differences in output format. 2 Link to comment Share on other sites More sharing options...
LockDown Posted October 20, 2023 Share Posted October 20, 2023 @Slice is it true that legacy can't boot without openruntime.efi? My Desktop3, won't without it Link to comment Share on other sites More sharing options...
Slice Posted October 20, 2023 Share Posted October 20, 2023 8 minutes ago, LockDown said: @Slice is it true that legacy can't boot without openruntime.efi? My Desktop3, won't without it With old Clover can. But now Clover included Opencore and I don't know if it will not work without openruntime. 1 1 Link to comment Share on other sites More sharing options...
LockDown Posted October 23, 2023 Share Posted October 23, 2023 (edited) Hi @Slice One more thing about nvram2 on my Desktop3 legacy boot... nvram.plist in EFI is always ZERO byts. Its like clover is not saving during shutdown process. Log says that nvram2 is not found I checked the new 80.save_nvram_plist.local and noticed that in line 47, it was changed from nvram to nvram2. Im sure i have nvram2 in /usr/local/bin & the path is working, because if i execute nvram2 in terminal, it works So what i did is, changed $(nvram2 -x -p) to $(/usr/local/bin/nvram2 -x -p) in line 47. And now everything works Maybe /usr/local/bin PATH is not working during shutdown process? Edited October 23, 2023 by LockDown 1 Link to comment Share on other sites More sharing options...
Slice Posted October 23, 2023 Share Posted October 23, 2023 @LockDown, It's new for me. May be you are right and nvram2 should be placed in more system folder like /usb/bin. This is a place for testing. 1 1 Link to comment Share on other sites More sharing options...
chris1111 Posted October 25, 2023 Share Posted October 25, 2023 On 10/23/2023 at 2:52 AM, Slice said: @LockDown, It's new for me. May be you are right and nvram2 should be placed in more system folder like /usb/bin. This is a place for testing. You can not put nvram 2 in /usr/bin in the new macOS System since BigSur 11 For doing this you need a SnapShot Disk 1 Link to comment Share on other sites More sharing options...
LockDown Posted October 26, 2023 Share Posted October 26, 2023 1 hour ago, chris1111 said: You can not put nvram 2 in /usr/bin in the new macOS System since BigSur 11 For doing this you need a SnapShot Disk best to just edit 80.save_nvram_plist.local and change line 47. No need for snapshot 3 Link to comment Share on other sites More sharing options...
Slice Posted October 26, 2023 Share Posted October 26, 2023 6 hours ago, LockDown said: best to just edit 80.save_nvram_plist.local and change line 47. No need for snapshot Thanks! https://github.com/CloverHackyColor/CloverBootloader/commit/164c956e0cf496a408572fb1ca6f57202bba8739 3 Link to comment Share on other sites More sharing options...
naiclub Posted October 30, 2023 Share Posted October 30, 2023 On 10/26/2023 at 1:52 PM, Slice said: Thanks! https://github.com/CloverHackyColor/CloverBootloader/commit/164c956e0cf496a408572fb1ca6f57202bba8739 hello I'd like you to take a look at this. Spoiler Please enter your choice: 7 [CHECK XCODE] WORKSPACE: /Users/baby/CloverBootloader EDK_TOOLS_PATH: /Users/baby/CloverBootloader/BaseTools CONF_PATH: /Users/baby/CloverBootloader/Conf Copying $EDK_TOOLS_PATH/Conf/build_rule.template to /Users/baby/CloverBootloader/Conf/build_rule.txt Copying $EDK_TOOLS_PATH/Conf/tools_def.template to /Users/baby/CloverBootloader/Conf/tools_def.txt Copying $EDK_TOOLS_PATH/Conf/target.template to /Users/baby/CloverBootloader/Conf/target.txt [BUILD CLOVER] TOOLCHAIN_DIR: /Users/baby/CloverBootloader/toolchain MTOC_PREFIX: /Users/baby/CloverBootloader/toolchain/bin/ NASM_PREFIX: /Users/baby/CloverBootloader/toolchain/bin/ NASM_VER: 2.16.01 Initializing workspace recreate Conf folder WORKSPACE: /Users/baby/CloverBootloader EDK_TOOLS_PATH: /Users/baby/CloverBootloader/BaseTools CONF_PATH: /Users/baby/CloverBootloader/Conf Copying $EDK_TOOLS_PATH/Conf/build_rule.template to /Users/baby/CloverBootloader/Conf/build_rule.txt Copying $EDK_TOOLS_PATH/Conf/tools_def.template to /Users/baby/CloverBootloader/Conf/tools_def.txt Copying $EDK_TOOLS_PATH/Conf/target.template to /Users/baby/CloverBootloader/Conf/target.txt Running edk2 build for CloverX64 using the command: build --cmd-len=50000 -D NO_GRUB_DRIVERS_EMBEDDED -D LESS_DEBUG --conf=/Users/baby/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc -a X64 -b RELEASE -t XCODE15 -n 5 Build environment: macOS-14.2-x86_64-i386-64bit Build start time: 12:41:42, Oct.30 2023 tools_def.txt parser: : warning: Line 2903: not correct assignment statement, skipped WORKSPACE = /Users/baby/CloverBootloader EDK_TOOLS_PATH = /Users/baby/CloverBootloader/BaseTools CONF_PATH = /Users/baby/CloverBootloader/Conf PYTHON_COMMAND = python3 Processing meta-data . Architecture(s) = X64 Build target = RELEASE Toolchain = XCODE15 Active Platform = /Users/baby/CloverBootloader/Clover.dsc ..... done! [CC] MemLogLib make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. [CC] Acpi make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. [CC] IoHighLevel make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. [CC] ARShiftU64 make: Nothing to be done for `tbuild'. [CC] CompareMemWrapper [CC] BitField [CC] IoLib [CC] CopyMem [CC] Console [CC] printf_lite [CC] IoLibGcc [CC] CheckSum [CC] CopyMemWrapper [CC] IoLibMmioBuffer [CC] UefiDriverModel [CC] IsZeroBufferWrapper [SLINK] MemLogLibDefault [CC] ChkStkGcc [CC] MemLibGeneric [NASM] IoFifo [CC] Cpu [CC] MemLibGuid [CC] UefiLib [CC] CpuDeadLoop [CC] ScanMem16Wrapper [CC] DivS64x64Remainder [SLINK] BaseIoLibIntrinsic [CC] ScanMem32Wrapper [CC] DivU64x32 [CC] UefiLibPrint [CC] ScanMem64Wrapper [CC] DivU64x32Remainder [CC] ScanMem8Wrapper [CC] UefiNotTiano [CC] DivU64x64Remainder [CC] SetMem [CC] FilePaths [SLINK] UefiLib [CC] SetMem16Wrapper [CC] GetPowerOfTwo32 [CC] SetMem32Wrapper [CC] GetPowerOfTwo64 [CC] SetMem64Wrapper [CC] HighBitSet32 [CC] SetMemWrapper [CC] HighBitSet64 [CC] ZeroMemWrapper [CC] LRotU32 [SLINK] BaseMemoryLib [CC] LRotU64 [CC] LShiftU64 [CC] LinkedList [CC] LongJump [CC] LowBitSet32 [CC] LowBitSet64 [CC] Math64 [CC] ModU64x32 [CC] MultS64x64 make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. [CC] MultU64x32 [CC] AutoGen [CC] AutoGen [CC] DxeMpLib [CC] MultU64x64 [CC] BdsBoot [CC] CustomizedDisplayLib [CC] RRotU32 [CC] RRotU64 [CC] Microcode [CC] CustomizedDisplayLibInternal [CC] RShiftU64 [CC] MpLib [CC] SafeString [SLINK] CustomizedDisplayLib make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. [CC] DebugHelp make: Nothing to be done for `tbuild'. [CC] BdsConnect [CC] SetJump make: Nothing to be done for `tbuild'. [CC] OpenCoreAcpi [CC] DebugPrint [CC] String [NASM] MpFuncs [CC] OcAppleLog [CC] BdsConsole [CC] OpenCoreDevProps [CC] SwapBytes16 [CC] OcLog [CC] SwapBytes32 [CC] OpenCoreKernel [SLINK] OcDebugLogLib [CC] SwapBytes64 [CC] BdsMisc [SLINK] DxeMpInitLib [CC] AcpiDump [CC] AppleKeyMap [CC] SwitchStack [CC] Unaligned [CC] AcpiParser [CC] EventQueue [CC] OpenCoreKernelPatch [NASM] CpuId [CC] DevicePath [CC] KeyHandler [CC] String [CC] OpenCoreMisc [NASM] CpuIdEx [SLINK] GenericBdsLib [CC] OcAppleEventLib [CC] AIK [CC] OcAcpiLib [CC] PointerHandler [CC] OpenCoreNvram [CC] AIKData [NASM] DisableCache [CC] AIKMap [SLINK] OcAppleEventLib [CC] OpenCorePlatform [CC] AIKShim [CC] OcAppleImg4Lib [SLINK] OcAcpiLib make: Nothing to be done for `tbuild'. [CC] AIKSource make: Nothing to be done for `tbuild'. [CC] DER_CertCrl [NASM] DisablePaging64 make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. [CC] CxxSymbols [CC] DER_Decode [CC] AIKTarget [CC] Fat [CC] DER_Digest [CC] AIKTranslate [CC] OpenCoreUefi [CC] DER_Keys [CC] Header [CC] AIM [CC] oids [NASM] EnableCache [CC] DER_Img4Manifest [CC] Macho32 [CC] AIT [CC] Img4oids [CC] OpenCoreUefiAudio [SLINK] OcInputLib [NASM] EnableDisableInterrupts [SLINK] OcAppleImg4Lib [CC] OcAppleDiskImageBlockIo [CC] AsciiStringBuffer [CC] OpenCoreUefiInOut [CC] OcAppleDiskImageLib [CC] FlexArray [CC] Macho64 [CC] OcAppleDiskImageLibInternal [CC] FlexString [CC] GccInline [CC] OpenCoreVault [SLINK] OcFlexArrayLib [SLINK] OcAppleDiskImageLib [NASM] Lfence make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. [CC] ConsoleControl make: Nothing to be done for `tbuild'. [SLINK] OcMainLib [CC] BlitBufferToVideo make: Nothing to be done for `tbuild'. [CC] Aes [CC] ConsoleGop [CC] Relocations [CC] BlitVideoToBuffer [CC] Symbols [NASM] LongJump [CC] Eg2Info [SLINK] OcMachoLib [CC] OcBlitLib [CC] FramebufferInfo make: Nothing to be done for `tbuild'. [CC] BigNumMontgomery [CC] LegacyRegionLock [CC] GopPassThrough [SLINK] OcBlitLib [CC] LegacyRegionUnLock make: Nothing to be done for `tbuild'. [CC] BigNumPrimitives [CC] Non-existing make: Nothing to be done for `tbuild'. make: Nothing to be done for `tbuild'. [CC] AutoGen [NASM] RdRand [CC] OcConsoleLib [CC] MemoryAlloc [CC] Ifconfig /Users/baby/CloverBootloader/OpenCorePkg/Library/OcMemoryLib/MemoryAlloc.c:39:36: error: expected ';' at end of declaration UINTN MapKey = 0 ^ ; 1 error generated. make: *** [/Users/baby/CloverBootloader/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib/OUTPUT/MemoryAlloc.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/baby/CloverBootloader/Build/Clover/RELEASE_XCODE15/X64/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib] build.py... : error F002: Failed to build module /Users/baby/CloverBootloader/OpenCorePkg/Library/OcMemoryLib/OcMemoryLib.inf [X64, XCODE15, RELEASE] - Failed - Build end time: 12:42:01, Oct.30 2023 Build total time: 00:00:20 baby@iMac CloverBootloader % Link to comment Share on other sites More sharing options...
Slice Posted October 30, 2023 Share Posted October 30, 2023 OK, thank for the note expected ';' at end of declaration I can fix at evening. 2 Link to comment Share on other sites More sharing options...
Recommended Posts