The following is an auto-generated list of AppleALC layout IDs available per each codec.
Open the relevant .md
file inside the vendor folder (e.g. ALC236
vendor is Realtek)
The following guide will help you light that chonk AppleALC.kext
After making sure that AppleALC
stock kext works without any additional edit you can light the kext from ~ 3.7MB to 600KB :)
Do I really need to explain how to identify your codec? If you don't know it, use Hackintool or check your codec dump via OpenCorePkg SysReport feature, like this.
In my case, my audio codec ALC295
- Clone AppleALC and open the source project
- Remove
kern_resources.cpp
from$(source)/AppleALC
as it contains already compiled resources - Remove every codec folder in
$(source)/Resources
except:- the one which name starts with the previously identified codec name (e.g. in my case
ALC295
) PinConfigs.kext
Controllers.plist
Kexts.plist
Vendors.plist
- the one which name starts with the previously identified codec name (e.g. in my case
- Clone MacKernelSDK onto
$(source)
withgit clone https://github.com/acidanthera/MacKernelSDK.git
. - Run
wget https://raw.githubusercontent.com/acidanthera/Lilu/master/Lilu/Scripts/bootstrap.sh && bash bootstrap.sh
onto$(source)
- Open XCode and build the project with
Release
configuration using⇧⌘R
and after it finishes building the project, replace the oldAppleALC.kext
with the newly generated
Run python3 main.py
and see the magic happen.
Created kexts will be in Kexts
folder
If you encounter any issue, please file a bugreport here
- Apple for XCode
- Acidanthera for AppleALC and MacKernelSDK