fusion71au Posted April 4, 2023 Share Posted April 4, 2023 (edited) Seems like the OC ExternalDiskIcons quirk/AppleAHCIPort patch no longer works in 13.3 on my system. Despite booting with latest OC 0.9.1 that includes @PMheart's commit edb0419, my internal SATA HDD appeared as orange external drives in 13.3 vs OK in 13.2.1... Spoiler Relevant patches successfully applied according to boot log ... Spoiler 127:794 00:102 OC: Kernel patcher result 4 for kernel (Disable Library Validation Enforcement) - Success 127:896 00:101 OC: Kernel patcher skips kernel (SurPlus v1 - PART 1 of 2 - Patch read_erandom (inlined in _early_random)) patch at 5 due to version 200400 <= 220400 <= 210100 127:998 00:102 OC: Kernel patcher skips kernel (SurPlus v1 - PART 2 of 2 - Patch register_and_init_prng) patch at 6 due to version 200400 <= 220400 <= 210100 128:131 00:132 OCAK: 64-bit Reroute kern.hv_vmm_present patch (1) replace count - 1 128:233 00:101 OC: Kernel patcher result 7 for kernel (Reroute kern.hv_vmm_present patch (1)) - Success 128:334 00:101 OC: Kernel patcher skips kernel (Reroute kern.hv_vmm_present patch (2) Legacy) patch at 8 due to version 200400 <= 220400 <= 219999 128:453 00:119 OCAK: 64-bit Reroute kern.hv_vmm_present patch (2) Ventura replace count - 1 128:553 00:100 OC: Kernel patcher result 9 for kernel (Reroute kern.hv_vmm_present patch (2) Ventura) - Success 129:268 00:714 OCAK: Failed to pk find com.apple.driver.AppleIntelCPUPowerManagement - Not Found 129:380 00:111 OCAK: [OK] Skipping AppleCpuPmCfgLock patch on kernel version 220400 129:480 00:100 OCAK: Patching invalid size E000 with 2ED8000 for com.apple.driver.AppleAHCIPort 129:580 00:099 OCAK: 64-bit IOAHCIPort replace count - 1 129:681 00:101 OCAK: [OK] Patch success com.apple.driver.AppleAHCIPort 129:787 00:105 OCAK: Patching invalid size 17000 with 18A4000 for com.apple.iokit.IOAHCIBlockStorage 129:887 00:100 OCAK: 64-bit IOAHCIBlockStorage trim 13.3+ part 1 replace count - 1 129:988 00:101 OCAK: [OK] Patch success 13.3+ com.apple.iokit.IOAHCIBlockStorage part 1 130:090 00:101 OCAK: 64-bit IOAHCIBlockStorage trim 13.3+ part 2 replace count - 1 130:191 00:101 OCAK: [OK] Patch success 13.3+ com.apple.iokit.IOAHCIBlockStorage part 2 130:294 00:103 OCAK: Patching invalid size 2FFE with 2812000 for com.apple.driver.AppleSMBIOS 130:394 00:099 OCAK: 64-bit CustomSmbiosGuid replace count - 1 130:991 00:596 OCAK: [OK] SMBIOS Patch success 131:102 00:111 OCAK: Patching invalid size 77FF1 with 2F6F000 for com.apple.driver.AppleACPIPlatform 131:204 00:101 OCAK: 64-bit CustomSmbiosGuid replace count - 1 131:303 00:099 OCAK: [OK] SMBIOS Patch success 131:406 00:103 OCAK: Patching invalid size 5FF4 with 284E000 for com.apple.driver.AppleRTC 131:509 00:102 OC: Prelinked patcher result 0 for com.apple.driver.AppleRTC (Disable RTC wake scheduling) - Success 131:610 00:100 OC: Prelinked patcher result 1 for com.apple.driver.AppleRTC (Disable RTC checksum update on poweroff) - Success 131:790 00:180 OCAK: 64-bit ALPM IO Error AppleAHCIPort replace count - 1 131:891 00:101 OC: Prelinked patcher result 2 for com.apple.driver.AppleAHCIPort (ALPM IO Error AppleAHCIPort) - Success 132:000 00:108 OCAK: Patching invalid size 190000 with E38000 for com.apple.filesystems.apfs 132:101 00:101 OC: Prelinked patcher result 3 for com.apple.filesystems.apfs (Force FileVault on Broken Seal) - Success 132:204 00:102 OCAK: Patching invalid size 33FFA with 28EE000 for com.apple.driver.AppleMobileFileIntegrity 132:803 00:598 OCAK: 64-bit Disable _csr_check() in _vnode_check_signature replace count - 1 132:915 00:112 OC: Prelinked patcher result 10 for com.apple.driver.AppleMobileFileIntegrity (Disable _csr_check() in _vnode_check_signature) - Success 133:080 00:164 OCAK: Local relocs 689 on FFFFFF80042CD000 I also noticed that the boot & shutdown processes were spammed with AHCI errors owing to the presence of my DVD-RW drive (described in this post and @J Lamp's post). These went away if I disconnected the drive. Hopefully someone smarter than me can devise an OC patch to prevent these AHCI error messages appearing in 13.3+. Edited April 4, 2023 by fusion71au Added screenshots 3 Link to comment Share on other sites More sharing options...
eSaF Posted April 5, 2023 Share Posted April 5, 2023 6 hours ago, fusion71au said: Seems like the OC ExternalDiskIcons quirk/AppleAHCIPort patch no longer works in 13.3 on my system. 6 hours ago, fusion71au said: I also noticed that the boot & shutdown processes were spammed with AHCI errors owing to the presence of my DVD-RW drive (described in this post and @J Lamp's post). Sorry to know you're having some niggles on your system, I am not having any internal/External identity problem (Orange Icon) as all disks are identified correctly albeit our two systems are of different chipset. The External disk on my system is connected via a USB adapter that I plug and unplug as needed. This holds all my bought programs plus a few handy bits and pieces. But to test the DVD-RW glitch, I have a unit lying around so decided to hook it up and see if I could induce the glitches you described. No ACHI errors at boot up or shutdown and boot times are as normal approx 15 to 20 seconds. I wish I could offer a clear explanation, unfortunately I am lost as to why this is happening on your rig hope you find a solution though. Good luck. Spoiler 4 1 Link to comment Share on other sites More sharing options...
Slice Posted April 5, 2023 Share Posted April 5, 2023 Orange disk icon appeared due to a bug in SATA controller firmware. It can't be corrected. But we can patch the driver "External" -> "Internal" string inside or just replace orange icon by metallic one. 1 Link to comment Share on other sites More sharing options...
miliuco Posted April 5, 2023 Share Posted April 5, 2023 @fusion71au I don't have the orange disk icons issue, all is working as before. Now on OpenCore 0.9.1. But the hardware is very different. 4 Link to comment Share on other sites More sharing options...
Ellybz Posted April 5, 2023 Share Posted April 5, 2023 @fusion71au Same story here. No such odd behaviors are reported on X299. Everything works as intended. And yes I know, I use lots of drives . Spoiler 5 Link to comment Share on other sites More sharing options...
eSaF Posted April 6, 2023 Share Posted April 6, 2023 @fusion71au Hi I've had think about your orange Icon (Internal/External Disk) glitch. It may be a bit far fetch and clutching at straws but did you at any time alter or made an entry into the Info.plist of the NVMe.kext? The reason I came up with this assumption, I was trying to solve the 'Unknown Connection' in 'Disk Utility' for my M.2 drives and made a few alterations to the NVMe.kext Info.plist to correct it and got the result you described (see attached) with some of my disks reading as External which is wrong. Spoiler Link to comment Share on other sites More sharing options...
fusion71au Posted April 6, 2023 Share Posted April 6, 2023 Thanks guys, for all your inputs. The orange disk icons issue is merely cosmetic and TBH I am not too fussed about it. The main annoyance is the boot slowdown and AHCI error spamming due, I assume, to some incompatibility of my old DVD-RW drive with the new AHCI drivers in 13.3+. This probably won't affect all DVD drives or SATA controllers, but I am hoping that maybe an OC patch can suppress error logging (funnily enough, I can still play movies in 13.3 on my DVD drive). 16 hours ago, Slice said: Orange disk icon appeared due to a bug in SATA controller firmware. It can't be corrected. But we can patch the driver "External" -> "Internal" string inside or just replace orange icon by metallic one. I have read that there is a bug in Gigabyte's BIOS for my ancient P55A motherboard that is the main cause of the orange icons. Nevertheless, enabling the External Icons patch for AppleAHCIPort.kext in Clover or OC quirk worked (changing the "External" string to "Internal". string) in older macOS up to 13.2.1 but not 13.3 for my system. The manual custom disk icon method still works (copy/pasting the Internal.icns file from IOStorageFamily.kext/Contents/Resources in Finder-->creates hidden ".VolumeIcon.icns" file on root of volume) - Spoiler 9 hours ago, eSaF said: @fusion71au Hi I've had think about your orange Icon (Internal/External Disk) glitch. It may be a bit far fetch and clutching at straws but did you at any time alter or made an entry into the Info.plist of the NVMe.kext? The reason I came up with this assumption, I was trying to solve the 'Unknown Connection' in 'Disk Utility' for my M.2 drives and made a few alterations to the NVMe.kext Info.plist to correct it and got the result you described (see attached) with some of my disks reading as External which is wrong. Reveal hidden contents Besides root patching with OCLP 0.6.2 for non-metal AMD Terascale 2 graphics, I have not modified any kexts (including NVMe.kext) manually. 4 Link to comment Share on other sites More sharing options...
SavageAUS Posted April 6, 2023 Share Posted April 6, 2023 Hope this is the right place for this. I am working on the "cosmetic" side on my Dell Latitude 3410, GUI & Boot Chime. I cannot for the life of me get the boot chime to work. I have the resources folder and the sounds in the audio folder. I believe config is correct, just get no startup chime. Archive.zip Link to comment Share on other sites More sharing options...
eSaF Posted April 6, 2023 Share Posted April 6, 2023 1 hour ago, SavageAUS said: Hope this is the right place for this. I am working on the "cosmetic" side on my Dell Latitude 3410, GUI & Boot Chime. I cannot for the life of me get the boot chime to work. I have the resources folder and the sounds in the audio folder. I believe config is correct, just get no startup chime. Archive.zip 916.16 kB · 1 download Hi - I had a look at your config.plist and found a few errors (see attached including my working examples). You need to find the correct Codec Value for your system and insert this into the config.plist (Dortania has an extensive list of Codec examples that you can try until you find the correct one for your system) again, see my examples attached. Good luck. Spoiler 1 Link to comment Share on other sites More sharing options...
FirstTimeCustomac Posted April 6, 2023 Share Posted April 6, 2023 (edited) 3 hours ago, SavageAUS said: Hope this is the right place for this. I am working on the "cosmetic" side on my Dell Latitude 3410, GUI & Boot Chime. I cannot for the life of me get the boot chime to work. I have the resources folder and the sounds in the audio folder. I believe config is correct, just get no startup chime. Archive.zip 916.16 kB · 3 downloads It might be helpful to look at your debug log. If OC finds your audio device, perhaps, this may help you to troubleshoot. Edited April 6, 2023 by FirstTimeCustomac 1 Link to comment Share on other sites More sharing options...
feartech Posted April 6, 2023 Share Posted April 6, 2023 1 hour ago, eSaF said: Hi - I had a look at your config.plist and found a few errors (see attached including my working examples). You need to find the correct Codec Value for your system and insert this into the config.plist (Dortania has an extensive list of Codec examples that you can try until you find the correct one for your system) again, see my examples attached. Good luck. Hide contents you could also add your Layout-ID in your audio section and remove the boot argument 1 Link to comment Share on other sites More sharing options...
miliuco Posted April 6, 2023 Share Posted April 6, 2023 @SavageAUS Did you follow the guide? I’ll check your config when I’ll come back to home. https://dortania.github.io/OpenCore-Post-Install/cosmetic/gui.html#setting-up-boot-chime-with-audiodxe Link to comment Share on other sites More sharing options...
SavageAUS Posted April 7, 2023 Share Posted April 7, 2023 Yeah I followed the guide. I have boot chime working on my AMD hack and my other laptop the one in my signature but not this one. The problem is the guide doesn’t match up to what is in OC anymore. It needs updating but I’ll continue to read and use OC debug. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
SavageAUS Posted April 7, 2023 Share Posted April 7, 2023 Just to add more information. I have working native nvram. gfutil output = 00:1f.3 8086:02c8 /PCI0@0/HDEF@1F,3 = PciRoot(0x0)/Pci(0x1F,0x3) ioreg IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1F,3/AppleHDAController@1F,3/IOHDACodecDevice@1F,3,0 Config, debug log and ioreg attached. Spoiler Archive.zip Link to comment Share on other sites More sharing options...
miliuco Posted April 7, 2023 Share Posted April 7, 2023 @SavageAUS I’m pretty sure that the guide is not outdated. It was updated by myself a few months ago. No changes in that OpenCore section after that. Audio chipset model of the motherboard? 2 Link to comment Share on other sites More sharing options...
SavageAUS Posted April 7, 2023 Share Posted April 7, 2023 [mention=1083558]SavageAUS[/mention] I’m pretty sure that the guide is not outdated. It was updated by myself a few months ago. No changes in that OpenCore section after that. Audio chipset model of the motherboard?ALC236 is what I have found mine to be. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
eSaF Posted April 7, 2023 Share Posted April 7, 2023 (edited) 12 minutes ago, SavageAUS said: ALC236 is what I have found mine to be. Now you just have to find the Lay-out ID relevant for that Codec. You'll be be presented with a potential list of numbers i.e 1,2,3,4,5,7,9,10,11 and probably upwards, unfortunately you'll have to try each one until your speakers are working and Headphones are also working and recognised when plugged in. Good luck and keep us posted on progress. PS - This is what I found: Realtek ALC236 0x100001, 0x100002, layout 3, 11, 12, 13, 14, 15, 16, 17, 18, 23, 36, 54, 55, 99 13 (10.9) Edited April 7, 2023 by eSaF 2 Link to comment Share on other sites More sharing options...
Alpha22 Posted April 7, 2023 Share Posted April 7, 2023 Question: wanted to ask to have SIP enabled but not completely is it possible Link to comment Share on other sites More sharing options...
SavageAUS Posted April 7, 2023 Share Posted April 7, 2023 Now you just have to find the Lay-out ID relevant for that Codec. You'll be be presented with a potential list of numbers i.e 1,2,3,4,5,7,9,10,11 and probably upwards, unfortunately you'll have to try each one until your speakers are working and Headphones are also working and recognised when plugged in. Good luck and keep us posted on progress. PS - This is what I found: Realtek ALC236 0x100001, 0x100002, layout 3, 11, 12, 13, 14, 15, 16, 17, 18, 23, 36, 54, 55, 99 13 (10.9) With the layout I am using (15) and have audio working fine. No mic but that’s intel sst or something and will never work. I have tested different layout ids and they all produce sound in the os but not the startup chime. Sent from my iPhone using Tapatalk 1 Link to comment Share on other sites More sharing options...
FirstTimeCustomac Posted April 7, 2023 Share Posted April 7, 2023 10 hours ago, SavageAUS said: Just to add more information. I have working native nvram. gfutil output = 00:1f.3 8086:02c8 /PCI0@0/HDEF@1F,3 = PciRoot(0x0)/Pci(0x1F,0x3) ioreg IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1F,3/AppleHDAController@1F,3/IOHDACodecDevice@1F,3,0 Config, debug log and ioreg attached. In your log, Try adding --force-device=PciRoot(0x0)/Pci(0x1f,0x3) in AudioDXE arguments 4 Link to comment Share on other sites More sharing options...
pkdesign Posted April 7, 2023 Share Posted April 7, 2023 1 hour ago, Alpha22 said: Question: wanted to ask to have SIP enabled but not completely is it possible Absolutely. I do not have SIP completely enabled in order to run some software and I have never had any issues. 3 Link to comment Share on other sites More sharing options...
Alpha22 Posted April 7, 2023 Share Posted April 7, 2023 2 minutes ago, pkdesign said: Absolutely. I do not have SIP completely enabled in order to run some software and I have never had any issues. what I would like, can you advise me what to set in csr-active-config Link to comment Share on other sites More sharing options...
Slice Posted April 7, 2023 Share Posted April 7, 2023 3 hours ago, SavageAUS said: With the layout I am using (15) and have audio working fine. No mic but that’s intel sst or something and will never work. I have tested different layout ids and they all produce sound in the os but not the startup chime. Don't mix sound in macOS (AppleHDA.kext with several layouts) with startup chime produces by AudioDxe.efi working before the system starts. 2 Link to comment Share on other sites More sharing options...
miliuco Posted April 7, 2023 Share Posted April 7, 2023 (edited) As @Slice says, layout-id has nothing to do with boot chime. Try this config.plist, only 3 changes: 2 keys aded in NVRAM >> Add >> 7C436110-AB2A-4BBB-A880-FE41995C9F82 (StartupMute = 00 and SystemAudioVolumeDB = E2) UEFI >> Audio >> AudioOutMask changed to -1. Sure the answer is yes but do you have OCEFIAudio_VoiceOver_Boot.mp3 in Resources/Audio? config.plist Edited April 7, 2023 by miliuco Link to comment Share on other sites More sharing options...
SavageAUS Posted April 8, 2023 Share Posted April 8, 2023 10 hours ago, FirstTimeCustomac said: In your log, Try adding --force-device=PciRoot(0x0)/Pci(0x1f,0x3) in AudioDXE arguments I am not sure where to add AudioDXE arguments? 5 hours ago, miliuco said: As @Slice says, layout-id has nothing to do with boot chime. Try this config.plist, only 3 changes: 2 keys aded in NVRAM >> Add >> 7C436110-AB2A-4BBB-A880-FE41995C9F82 (StartupMute = 00 and SystemAudioVolumeDB = E2) UEFI >> Audio >> AudioOutMask changed to -1. Sure the answer is yes but do you have OCEFIAudio_VoiceOver_Boot.mp3 in Resources/Audio? config.plist 47.46 kB · 1 download Yes I have all the audio files in the resources > audio folder. I made the changes you suggest with no luck unfortunately. I did reset nvram in between to be sure. Perhaps as per the guide mine os one of the devices that needs the file changed? Mines a Dell Latitude 3410. Spoiler Attached new files, Archive.zip Link to comment Share on other sites More sharing options...
Recommended Posts