So I tried removing AppleALC.kext. Before trying to patch AppleHDA again, I checked a few things. It seems Removing AppleALC didn't change anything except that I lose my internal speaker. I still don't have correct mirror options and it still crashes if booting with lid closed and I do one of the following 2 things: 1. put it to sleep and wake it up or; 2. open the lid.
What surprises me is that I still have HDMI audio working properly. I thought to get HDMI audio work I need to have AppleALC or patched AppleHDA. But now I have neither. Could you please help me check what is going on here? PR files attached. Is CodeCommander alone good enough to make HDMI audio work?
The HDMI audio works when the connector type is (automatically changed to) 0004 0000. If I boot the laptop with lid closed, the connector type is 0008 0000 instead, then I do NOT have the HDMI audio (and it crashes when I open the lid). It almost makes me think 0004 0000 is the correct connector type for me! so confused now
Does OS check patch have anything to do with this? I used Windows 8 section when I patched DSDT, but I just found that Clover Wiki recommends Windows 2001:
https://clover-wiki.zetam.org/Fixing-DSDT#DSDT-mask
Is using Windows2001 still the current recommendation?