How To Fix Kernel Panic (KP) Reboot After Sleep/Wake Catalina 10.15.4 On Haswell HD4600

Catalina 10.15.4 with the supplemental update seems to be the trouble maker for most hackintoshes compared to the 10.15.3. The new Clover boot loader is quite buggy. The Haswell HD4400 and HD4600 have kernel panic reboot after sleep/wake when using AppleAlc.kext (1.4.8) to patch IDT 92HD91Bxx sounds with Lilu.kext 1.4.3. The only way to work around this is to add No-hda-gfx=AAAAAAAAAA= in the device property. This one will solve the reboot kp but it disables the HDMI digital sound.

xcode_kp_applealc_fix text_kp_applealc_fix

<key>Properties</key>
<dict>
<key>PciRoot(0x0)/Pci(0x1b,0x0)</key>
<dict>
<key>No-hda-gfx</key>
<data>AAAAAAAAAAA=</data>
<key>layout-id</key>
<data>DAAAAA==</data>
<key>model</key>
<string>8 Series/C220 Series Chipset High Definition Audio Controller</string>
</dict>
<key>PciRoot(0x0)/Pci(0x2,0x0)</key>
<dict>
<key>AAPL,ig-platform-id</key>
<data>BgAmCg==</data>
<key>AAPL,slot-name</key>
<string>Internal@0,2,0</string>
<key>device-id</key>
<data>EgQAAA==</data>
<key>device_type</key>
<string>VGA compatible controller</string>
<key>hda-gfx</key>
<string>onboard-1</string>
<key>model</key>
<string>Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller</string>
</dict>
</dict>

For Haswell HD4400, if we patched the kernel it works with no KP reboot and HDMI works perfectly.

text_code_kernel_patch_catalina_haswell xcode_kp_catalina_fix_haswell

<key>KernelToPatch</key>
<array>
<dict>
<key>Comment</key>
<string>Fix Catalina ALC KP after wake (credit vit9696)</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>Y29tLmFwcGxlAF9fa2VybmVsX18A</data>
<key>MatchOS</key>
<string>10.15.4</string>
<key>Replace</key>
<data>bm90LmFwcGxlAF9fa2VybmVsX18A</data>
</dict>


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.