Q. Audio is not working. How to fix?
Best result with patched AppleHDA. Google 'patch AppleHDA guide'. Search for suitable AppleHDA or patch it yourself. Apply appropriate DSDT patches.
Mirone has a guide for patching AppleHDA as well as a collection of already patched AppleHDA:
Patching guide:
http://www.insanelymac.com/forum/topic/295001-guide-to-patch-applehda-for-your-codec/#entry1980947
Here is another AppleHDA patching guide:
http://osxarena.com/2015/03/best-all-in-one-patch-applehda-guide/
AppleHDA collection:
http://www.insanelymac.com/forum/topic/298663-applehda-for-yosemite/
AppleHDAPatcher:
http://www.insanelymac.com/forum/topic/297562-applehdapatcher/
DSDT patches for patched AppleHDA are covered in the DSDT/SSDT patching guide:
http://www.tonymacx86.com/el-capitan-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html
Note: Many laptops use audio chips that have EAPD. If yours does (check your codec dump from Linux), you'll need CodecCommander:
https://github.com/RehabMan/EAPD-Codec-Commander
Note: When using AppleHDA injectors (so-called "dummy HDA"), you must rebuild cache in a very specific way when audio is lost.
- boot without caches (press spacebar for Clover menu, choose from resulting menu)
- rebuild cache:
- boot normally
You can also try VoodooHDA.kext (available in Multibeast)