EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

How to Enable Audio on macOS [Clover/OpenCore]

An EliteMacx86 Exclusive Guide - This guide covers implementation of Audio on macOS using Clover and OpenCore.

Overview


Audio is an integral part of computer and needs to be enabled. This guide can be used for Desktops and Laptops. This will enable native macOS AppleHDA Audio.

This will enable on-board audio for desktop motherboards. This guide provides files and instructions for enabling native macOS AppleHDA Audio. This guide uses the AppleALC by vit9696 which is one of the easiest method to enable native audio without modifying original AppleHDA. There are several other methods but this seems more reliable. If you follow any other method and unfortunately the audio doesn't works, it can be difficult to roll-back in order to follow the another method. This method is easy to roll-back and works after update. Before using this guide, we recommend you to perform a clean installation of macOS.

Requirements

Supported VendorsRealtek, Conexant, IDT, Analog Devices, Cirrus Logic
macOS VersionmacOS Sierra and Later
AppleHDA.kextVanilla/Original AppleHDA.kext in S/L/E

Get Codec Information


The very first step is to get the codec information. Getting codec information is necessary as without knowing the audio codec, it will create chaos while following the guide as each codec is unique and needs different edits. To get the codec information, there are few ways.
  1. The easiest method to obtain the codec information is to visit your motherboard manufacturer site and look for the Audio information under the specification section.
  2. Use DPCIManager and look for the codec information under status tab.
  3. Use Hackintool and look for the codec information under Sound tab
  4. Use a Linux or Ubuntu and in terminal, type:
Code:
cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt
or
Code:
cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt

Adding required kexts
The next step is to add the required kexts to enable audio. AppleALC doesn't works standalone. AppleALC and Lilu is needed together to work with conjunction in order to enable the audio.

Download AppleALC and Lilu from the downloads section of this forum.
Mount your ESP.

For Clover:
If you're using Clover, copy both the kexts to EFI/Clover/Kext/Others

For OpenCore:
If you're using OpenCore, copy both the kexts to EFI/OC/Kexts. You'll also need to add the kext entries in Kernel section of your config.plist.

Notes :
  • Download the latest version for better support.
  • Download only RELEASE.zip file.
  • If the kext is already present in the directory, replace them with a new version
  • Do not use AppleALC.kext.dSYM and Lilu.kext.dSYM
Rename Audio Device and set Layout ID


After placing the kexts, the next step is to rename the audio device and set the device id to enable audio.
Open your config.plist file
Navigate to Acpi tab and add the following patch in DSDT, patches section of your config.plist.

For Clover:
Navigate to Acpi tab and add the following patch in DSDT, patches section of your config.plist.

CommentFind* [HEX]Replace [HEX]Disabled
change HDAS to HDEF4844415348444546NO

To set the Layout ID, go to boot section and set layout in "alcid=xx", where xx represents your Layout ID.

For OpenCore:
Navigate to AACPI section and add the following patch in patch section of your config.plist.

TableSignature*TableLengthFindReplaceCommentEnabled
DSDT04844415348444546Rename HDAS to HDEF (Audio)YES

To set the Layout ID, go to NVRAM section and under "7C436110-AB2A-4BBB-A880-FE41995C9F82" as a UUID, under boot-arg, set layout in "alcid=xx", where xx represents your Layout ID.

The audio ID depends on the audio codec your motherboard uses. The common layout ID for the common audio codecs has been listed below. The tested layout IDs are marked bold and we recommend to use them to avoid any issues.
For a complete list of supported codecs and the Audio ID, see AppleALC Supported Codecs

Common Audio Codecs and Layout IDs


Codec NameLayout IDType
Realtek ALC122011Desktop and Laptop
Realtek S1220A1, 11Desktop
Realtek ALC115011Desktop
Realtek ALC89299Desktop
Realtek ALC8883Desktop
Realtek ALC8877Desktop
Realtek ALC66811Desktop
Realtek ALC66211Desktop
Realtek ALC22922Laptop
Realtek ALC23013Laptop
Realtek ALC2353Laptop
Realtek ALC25513Laptop
Realtek ALC2823Laptop
Realtek ALC2953Laptop
Realtek ALC2983Laptop
Realtek ALC32343Laptop
Conexant CX80503Laptop
Conexant CX207573Laptop

Restart your System


After performing all the above steps, restart your system for the applied changes to take effect.
You can see a WiFi icon in the menu bar now. If not, you can enable it from System Preferences>Network>WiFi>Show Wi-Fi status in menu bar.

Setting Audio Output/Input


After restarting your system, you'll need to setup audio output and input through your rear audio jack located at back panel and headphones jack located at the front panel. You will need to set your output device to Internal Speakers for sound to work.
  1. Open System Preferences
  2. Select Sound
  3. Under Sound Effects tab, select

  • Play feedback when volume is changed
  • Select Show volume in menu bar

Configure Sound Effects.png

  1. Click on Output
  2. Select Internal Speakers
Configure Audio Output.png

Note :
  • When using Headphones, the Output is automatically switched to Headphones.
Problem Reporting


Details :
  1. Audio Codec
  2. macOS version
  3. Copy of IOReg
  4. Installed AppleALC.kext and Lilu.kext
Screen shots :
  • DPCIManager/Status
  • System Information/Hardware/Audio/Intel High Definition Audio (not Devices)
  • System Preferences/Sound/Output
  • System Preferences/Sound/Input
Files:
  • For Clover, compress EFI/Clover, exclude the themes folder.
  • For OpenCore, compress EFI/OC.
Notes:
  • Do not include complete EFI folder.
  • Put all files in a folder with your name, compress files as Zip and attach files using site attachments only.
  • Do not use any external links.

Credits :
vit9696
toleda
RehabMan
 
Last edited:

mhendawy

Member
Joined
Jan 2, 2019
Motherboard
HP 450 G4
CPU
Intel Core i7-7500U
Graphics
Intel HD graphic 620
OS X/macOS
10.14.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hello,

please be informed that i followed the mentioned guide , but i had a problem in the headphone jack as the system cant detect it when i attach the headphone.

MacOS version : Mojave 10.14.6
PR attached
noting that i removed the ALC & lilu kext from EFI folder as it already attached individually.
 

Attachments

  • PR.zip
    1.9 MB · Views: 203
  • EFI .zip
    1.9 MB · Views: 176

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Hello,

please be informed that i followed the mentioned guide , but i had a problem in the headphone jack as the system cant detect it when i attach the headphone.

MacOS version : Mojave 10.14.6
PR attached
noting that i removed the ALC & lilu kext from EFI folder as it already attached individually.
Incomplete PR files attached. Kextcache output is missing.

Here are following issues.
- HDAS to HDEF rename is twice. Remove the last one.
- Duplicate drivers are installed. Make sure you have the latest Clover and as per the system, a Laptop is specified in your profile, so follow the guide here:
 

mhendawy

Member
Joined
Jan 2, 2019
Motherboard
HP 450 G4
CPU
Intel Core i7-7500U
Graphics
Intel HD graphic 620
OS X/macOS
10.14.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Hello,

please be informed that i completed the PR files by adding the kext cache output.
- Removed the duplicate HDAS.
-Duplicate Drivers are installed ?
-Clover version is the latest version ( 5.14.1.0)
 

Attachments

  • PR.zip
    2 MB · Views: 141
  • EFI.zip
    1.9 MB · Views: 140

abd

New member
Joined
Mar 13, 2021
Motherboard
hp
CPU
Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz
Graphics
Intel HD Graphics 4000
OS X/macOS
10.15.x
Bootloader
  1. Clover (UEFI)
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
thankssssssss
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS

Nikos365

New member
Joined
Jul 15, 2021
Motherboard
Asrock dg3 fm2+
CPU
AMD A10-7850
Graphics
Asus strix AMD RadeonRX480 8GB
OS X/macOS
10.15.x
Bootloader
  1. OpenCore
Mac
  1. iMac
Mobile Phone
  1. Android

How to Enable Audio on macOS [Clover/OpenCore]

An EliteMacx86 Exclusive Guide - This guide covers implementation of Audio on macOS using Clover and OpenCore.

Overview


Audio is an integral part of computer and needs to be enabled. This guide can be used for Desktops and Laptops. This will enable native macOS AppleHDA Audio.

This will enable on-board audio for desktop motherboards. This guide provides files and instructions for enabling native macOS AppleHDA Audio. This guide uses the AppleALC by vit9696 which is one of the easiest method to enable native audio without modifying original AppleHDA. There are several other methods but this seems more reliable. If you follow any other method and unfortunately the audio doesn't works, it can be difficult to roll-back in order to follow the another method. This method is easy to roll-back and works after update. Before using this guide, we recommend you to perform a clean installation of macOS.

Requirements

Supported VendorsRealtek, Conexant, IDT, Analog Devices, Cirrus Logic
macOS VersionmacOS Sierra and Later
AppleHDA.kextVanilla/Original AppleHDA.kext in S/L/E

Get Codec Information


The very first step is to get the codec information. Getting codec information is necessary as without knowing the audio codec, it will create chaos while following the guide as each codec is unique and needs different edits. To get the codec information, there are few ways.
  1. The easiest method to obtain the codec information is to visit your motherboard manufacturer site and look for the Audio information under the specification section.
  2. Use DPCIManager and look for the codec information under status tab.
  3. Use Hackintool and look for the codec information under Sound tab
  4. Use a Linux or Ubuntu and in terminal, type:
Code:
cat /proc/asound/card0/codec#1 > ~/Desktop/codec_dump.txt
or
Code:
cat /proc/asound/card0/codec#0 > ~/Desktop/codec_dump.txt

Adding required kexts
The next step is to add the required kexts to enable audio. AppleALC doesn't works standalone. AppleALC and Lilu is needed together to work with conjunction in order to enable the audio.

Download AppleALC and Lilu from the downloads section of this forum.
Mount your ESP.

For Clover:
If you're using Clover, copy both the kexts to EFI/Clover/Kext/Others

For OpenCore:
If you're using OpenCore, copy both the kexts to EFI/OC/Kexts. You'll also need to add the kext entries in Kernel section of your config.plist.

Notes :
  • Download the latest version for better support.
  • Download only RELEASE.zip file.
  • If the kext is already present in the directory, replace them with a new version
  • Do not use AppleALC.kext.dSYM and Lilu.kext.dSYM
Rename Audio Device and set Layout ID


After placing the kexts, the next step is to rename the audio device and set the device id to enable audio.
Open your config.plist file
Navigate to Acpi tab and add the following patch in DSDT, patches section of your config.plist.

For Clover:
Navigate to Acpi tab and add the following patch in DSDT, patches section of your config.plist.

CommentFind* [HEX]Replace [HEX]Disabled
change HDAS to HDEF4844415348444546NO

To set the Layout ID, go to boot section and set layout in "alcid=xx", where xx represents your Layout ID.

For OpenCore:
Navigate to AACPI section and add the following patch in patch section of your config.plist.

TableSignature*TableLengthFindReplaceCommentEnabled
DSDT04844415348444546Rename HDAS to HDEF (Audio)YES

To set the Layout ID, go to NVRAM section and under "7C436110-AB2A-4BBB-A880-FE41995C9F82" as a UUID, under boot-arg, set layout in "alcid=xx", where xx represents your Layout ID.

The audio ID depends on the audio codec your motherboard uses. The common layout ID for the common audio codecs has been listed below. The tested layout IDs are marked bold and we recommend to use them to avoid any issues.
For a complete list of supported codecs and the Audio ID, see AppleALC Supported Codecs

Common Audio Codecs and Layout IDs


Codec NameLayout IDType
Realtek ALC122011Desktop and Laptop
Realtek S1220A1, 11Desktop
Realtek ALC115011Desktop
Realtek ALC89299Desktop
Realtek ALC8883Desktop
Realtek ALC8877Desktop
Realtek ALC66811Desktop
Realtek ALC66211Desktop
Realtek ALC22922Laptop
Realtek ALC23013Laptop
Realtek ALC2353Laptop
Realtek ALC25513Laptop
Realtek ALC2823Laptop
Realtek ALC2953Laptop
Realtek ALC2983Laptop
Realtek ALC32343Laptop
Conexant CX80503Laptop
Conexant CX207573Laptop

Restart your System


After performing all the above steps, restart your system for the applied changes to take effect.
You can see a WiFi icon in the menu bar now. If not, you can enable it from System Preferences>Network>WiFi>Show Wi-Fi status in menu bar.

Setting Audio Output/Input


After restarting your system, you'll need to setup audio output and input through your rear audio jack located at back panel and headphones jack located at the front panel. You will need to set your output device to Internal Speakers for sound to work.
  1. Open System Preferences
  2. Select Sound
  3. Under Sound Effects tab, select

  • Play feedback when volume is changed
  • Select Show volume in menu bar


  1. Click on Output
  2. Select Internal Speakers

Note :
  • When using Headphones, the Output is automatically switched to Headphones.
Problem Reporting


Details :
  1. Audio Codec
  2. macOS version
  3. Copy of IOReg
  4. Installed AppleALC.kext and Lilu.kext
Screen shots :
  • DPCIManager/Status
  • System Information/Hardware/Audio/Intel High Definition Audio (not Devices)
  • System Preferences/Sound/Output
  • System Preferences/Sound/Input
Files:
  • For Clover, compress EFI/Clover, exclude the themes folder.
  • For OpenCore, compress EFI/OC.
Notes:
  • Do not include complete EFI folder.
  • Put all files in a folder with your name, compress files as Zip and attach files using site attachments only.
  • Do not use any external links.

Credits :
vit9696
toleda
RehabMan
Hello, there
I'm Using Catalina 10.15.7 I have realtekALC 662v2 with AppleALC AppleHDA Lilu successfully loaded, but when I tried by changing the ids numbers according to GitHub pages the sound does not work. I'm using OpenCore and I change the id numbers by putting the boot arg alcid=5,7,11,12,13,15,17,18,66. I use Plisteditor pro. I don't know how to use opencoreconfigurator or make sound work properly. Any suggestions and help?

Thanks
Any help would appreciated
 

Nikos365

New member
Joined
Jul 15, 2021
Motherboard
Asrock dg3 fm2+
CPU
AMD A10-7850
Graphics
Asus strix AMD RadeonRX480 8GB
OS X/macOS
10.15.x
Bootloader
  1. OpenCore
Mac
  1. iMac
Mobile Phone
  1. Android
Hello, there
I'm Using Catalina 10.15.7 I have realtekALC 662v2 with AppleALC AppleHDA Lilu successfully loaded, but when I tried by changing the ids numbers according to GitHub pages the sound does not work. I'm using OpenCore and I change the id numbers by putting the boot arg alcid=5,7,11,12,13,15,17,18,66. I use Plisteditor pro. I don't know how to use opencoreconfigurator or make sound work properly. Any suggestions and help?

Thanks
Any help would appreciated
Which verison can i use if i can use it to the patch to the patch section?
 

Nikos365

New member
Joined
Jul 15, 2021
Motherboard
Asrock dg3 fm2+
CPU
AMD A10-7850
Graphics
Asus strix AMD RadeonRX480 8GB
OS X/macOS
10.15.x
Bootloader
  1. OpenCore
Mac
  1. iMac
Mobile Phone
  1. Android

Nikos365

New member
Joined
Jul 15, 2021
Motherboard
Asrock dg3 fm2+
CPU
AMD A10-7850
Graphics
Asus strix AMD RadeonRX480 8GB
OS X/macOS
10.15.x
Bootloader
  1. OpenCore
Mac
  1. iMac
Mobile Phone
  1. Android
My specs Are:
Amd A-10 7850
Asrcock dg3+ fm2
16GB RAM
Asus Strix radeon rx480 8gb
 

Similar threads

Forum statistics

Threads
518
Messages
4,939
Members
4,457
Latest member
himsic