Jump to content

El Capitan: Realtek ALC AppleHDA Audio

388 posts in this topic

Recommended Posts


Works here too, ALC1150, Z87, El Cap, Chameleon.


It complains on startup about extra characters at line 177 but still works ok.

Share this post

Link to post
Share on other sites

The thing you must do - before running the GREAT  audio_realtekALC-110.command, is to check if you already have set the layout-id to Audio-ID  1,2 or 3.

Mostly it was set before to other layout-id , like 12  (x0C) or 885. (in dsdt HDA part or by injection chameleon other injectors like bootloaders or kexts)

If you set the rigtht AUDIO ID (= layout-id) all other things (the patch, backup old unpatched kext) will be made by the patch script.


Look this part above about the many ways (1. to 5., below listed)  to set the AUDIO-ID (= layout-id) - you only have use ONE of that:

Audio ID Injectionaudio_ALCInjection : 01,02 or 03

  1. HDEF/kext/no dsdt/HDAEnabler_.kext = Audio_ID
  2. HDEF/dsdt/layout-id = Audio_ID,
  3. HDEF/ssdt/layout-id = Audio_ID
  4. HDEF/Clover/config.plist/Devices/Audio/Inject = Audio_ID
  5. HDEF/Chameleon/Extra/org.chameleon.Boot.plist
    1. HDAEnabler = Yes
    2. HDEFLayoutID = 01000000 or 02000000 or 03000000


If  you use dsdt way - in list above 2. , it  looks like:

  Device (HDEF)

                Method (_DSM, 4, NotSerialized)
                    Store (Package (0x04)
                            Buffer (0x04)
                                0x01, 0x00, 0x00, 0x00    // in the past often was set to x0C or others
                            Buffer (Zero) {}
                        }, Local0)

Share this post

Link to post
Share on other sites

I have ACL892 but cant make it work, can you please help me step by step?

first of all what method u wanna use ?

Clover way or AppleHDA.kext way?

Share this post

Link to post
Share on other sites

first of all what method u wanna use ?

Clover way or AppleHDA.kext way?



"Piker-Alpha/patch alias" but it's not important, please help me with your method. I use MSI H77GMA45 with ACL892. 


Share this post

Link to post
Share on other sites

Hi! your post helps is very cool. The only "but" that I have is the method to obtain the native AppleHDA not work for El Capitan. The installation package of El Capitan has changed. I got looking at the search box but it had not been for that I would not have found. Thank you. :thumbsup_anim:

Share this post

Link to post
Share on other sites

I have a Realtek ALC889

I'm still using an AppleHDA patched kext (i'm using it since Osx Lion) and it works very well also with El Capitan .


BTW i will give a try ....

Share this post

Link to post
Share on other sites

the method to obtain the native AppleHDA not work for El Capitan.

Run the El Capitan Installer over the current EL Capitan install to restore native AppleHDA.kext.

Share this post

Link to post
Share on other sites



I have a P5Q motherboard with a ALC 888S-VD sound card. This model is excluded from the above tuto. It makes days that I'm looking for a solution to get it working on el Capitan. Has someone any clue for this issue ?


Thank you 

Share this post

Link to post
Share on other sites

Hello Toleda


Thank you for the very quick answer. Here is below my sound card détails:


Audio device: 0x80863A3E

Sub device: 0x104382FE

Code ID: 0x10EC0888

Revision: 0x0101

Codec name: Realtek ALC888S-VD


Your support is very ap​preciated

Share this post

Link to post
Share on other sites

Code ID: 0x10EC0888

Revision: 0x0101

Codec is 888/00101

Legacy is 888/00201

Run either Post #1/Realtek ALC AppleHDA Scripts


Legacy: y

Continue: y

Reply with script/Terminal/Export Text As...

Share this post

Link to post
Share on other sites

Thanks Toleda. The sound panel is ok now.

However, I have a strange behavior from my computer. The first time after applied your patch and restarted, the sound was bad. I shut down the computer and after 1 night, I started it again. then the sound was very good and thought the problem was definitely resolved. After restarted again, the issue rise again : bad sound. It comes again with an issue with the time clock which is not accurate (too slow).

Don't you have any idea on the reason of such behavior ?

Share this post

Link to post
Share on other sites

It comes again with an issue with the time clock which is not accurate (too slow).

Don't you have any idea on the reason of such behavior ?


Share this post

Link to post
Share on other sites

Hello everyone,


Can someone please tell me what I`m doing wrong?

 don't have sound yet and, I tried all Three Methods that you suggested in the first post of this topic.


1. method: realtekALC/patch kext in place

audio_realtekALC-110.command.zip  - didn`t help

You can see the log in "audio_realtekALC-110_v1.0h.command.txt.zip"


2. method: cloverALC/patch kernel cache  - didn't help


3. method: Piker-Alpha/patch alias  - didn't help

When i tried ./AppleHDA8Series.sh -a 887 -l 3 -d /System/Library/Extensions

in terminal, I got message "/System/Library/Extensions/FakeSMC.kext was installed improperly and cannot be used."

Do I need to reinstall it somehow or just delete from Extensions and change with other FakeSMC?


Then, I tried to manually select model of my Realtek with:

./AppleHDA8Series.sh -b AppleHDA

then i choose the second option (Realtek ALC  887 (0x10EC0887 / 283904135)) and with layout-id : 0 -

I got message "Looking in: /System/Library/Extensions/FakeSMC.kext for ConfigData

Error: ConfigData NOT found!"

You can see the log in "terminal-layout 0.txt"


When I tried to change layout-id from 0 to 1, I got a message that everything is OK and "ConfigData for Realtek ALC 887 found!",  but after restart I still don't have a sound card installed. I got the same message also for layout-id=2 and 3

You can see the log in "terminal-layout 1.txtterminal-layout 2.txt and terminal-layout 3.txt"


I will also upload a log file from IOReg, DPCIManager and Console file from last boot.


My configuration is:

System Version: OS X 10.11 (15A284) / Kernel Version: Darwin 15.0.0 / 

MSI H61M-P31 (audio by Realtek ALC887, network by Realtek 8111E) / Intel i5-2500k / 8GB DDR3 / Saphire HD5870 / HDD1: 64GB SSD / HDD2: 2TB 3.5" 



Thank you all guys in advance for all your time and effort.



nOOb’s iMac.ioreg.zip


terminal-layout 0.txt

Terminal-layout 1.txt

Terminal-layout 2.txt

Terminal-layout 3.txt

Share this post

Link to post
Share on other sites



I finally found the solution.

I have analyzed both logs when the computer had good and bad sound. With Excel, I have compared each lines and found some différences. On the first log, the CPU was loaded with a certain speed and on the other log, the CPU speed was different. See below:


Log1                                                                                                 Log2


FSBFrequency=422MHz DMIvalue=333330kHz FSBFrequency=633MHz DMIvalue=333330kHz

Finally: Bus=333295kHz CPU=3000MHz Finally: Bus=499937kHz CPU=3000MHz




 I have then fixed the correct speed by copying the data of the Log1 into Clover (CPU part / Frequency MHz and Bus Speed kHZ).


I have restarted my computer and everything is going fine now.


CONCLUSION: Check your CPU speed in Clover !


Share this post

Link to post
Share on other sites

Can someone please tell me what I`m doing wrong?

Audio ID injection not set,;see Post #1, Audio ID Injection (required)

You can see the log in  "audio_realtekALC-110_v1.0h.command.txt.zip"; not attached

Pike's script /10.11 not supported; see Piker-Alpha AppleHDA8sries Script, Step 7

For addition support; see Post #1, Problem Reporting

restarted my computer and everything is going fine now.


Share this post

Link to post
Share on other sites

Hey, Toleda!
Can you help me?
I have
MB: ASUS P6TSE with ALC1200

Video: GTX 770(4gb, GIGABYTE)
Proc: intel core i7 920 @2.67
Is there any way to enable HDMI audio?
OSX 10.10

Share this post

Link to post
Share on other sites

I have a strange bug behavior.

System: Asus X99 Deluxe, Yosemite OS X 10.10.5 (14F1021), as well as on El Capitan 10.11.1

Using AppleHDA 2.6.3-toledaALC1150

Using Clover Audio Inject (layout 1), SSDT to fix ALZA to HDEF and Clover kextpatch for AppleHDAController 208C to 208D (X99 ALC Onboard Audio).


This worked fine for a long time, and I realized today that the front left and right speakers are not working (when they were in the past), more exactly the volume is very very low. I check audio configuration, and it is not from there.

I switched speakers to be sure it was not from the speakers themselves, and it is not.

For some reasons, now, the volume for the integrated output is way way lower than the others (so low that it is not usable).

The volume for the 2 other integrated line outputs are fine.


Any idea on what is happening?

Share this post

Link to post
Share on other sites

Not strange; external amp, expected

See X99-DELUXE | Motherboards | ASUS USA/Flawless audio. . . /Audio Amplifier. . .

Install 1150 edited Dolnor/EAPD-Codec-Commander



I was using codec commander (for sleep problems), and when I moved from Chameleon to Clover, I put it in Clover kexts… I still had sound on the 5.1 system, so I did not pay attention, but it stopped loading as it has to be in S/L/E to work properly apparently… I just moved it back in S/L/E and miracle it works again.


Thank you toleda!


Any chance to see the 10.11 AppleHDA working on the X99 (patched of course)? 10.9.4 one is still working fine, but for how long…

Share this post

Link to post
Share on other sites

Audio through my analog ports is working after audio_cloverALC-110.command, but I am struggling to customize the install to get the S/PDIF output working. I really prefer to use the digital outputs for sound quality, so I bought this small addition to go with my board:




It connects the S/PDIF header from the board to ports on the back of the case. It definitely has power, as the laser for the optical output is working. I have tried both the optical and coaxial S/PDIF outputs from the attached board. Seeing that neither was working, I tried to follow the instructions here:




The relevant section says:


7. Substitute SPDIF-2 Wire Output: Replaces SPDIFOut Optical with motherboard SPDIF 2 wire SPDIF audio output device

Credit: intamara: Lion HDMI Audio - Part 2a: DSDT Edits/Discrete - AMD/Nvidia - Page 29, Post 289
A. Edit Platforms.xml/zml
1. Open Item/PathMapID
2. Open the current SPDIFOut (last item)
3. Edit this path map as follows:
4. Current:
⁃ Item 0/NodeID/Number/30
⁃ Item 1/NodeID/Number/6
5. New:
⁃ Item 0/NodeID/Number/17
⁃ Item 1/NodeID/Number/16
B. Edit HDAHardwareConfigDriver/info.plist or realtekALC/Info.plist
1. Open Item/CodecID
2. Verify CodecID/LayoutID
3. Edit ConfigData (1150 only, edit each entry, 21 to 01)
⁃ Find: 21171cf0 21171d00 21171e00 21171f40
⁃ Replace: 21171ca0 21171d01 21171e43 21171f99
⁃ Find: 21e71c90 21e71d61 21e71e4b 21e71f01
⁃ Replace: 21e71cf0 21e71d00 21e71e00 21e71f40
C. Save, install and restart
It appears that I can edit Platforms.zml as described, but I can't find the same items in the Platforms.xml to edit. Also, the structure of the HDAHardwareConfigDriver/info.plist seems to be different than is described, and I cannot figure out how to achieve the edits listed. I must say that I am a bit confused about the item numbers, as everything in the plists is an item. According to the guide, Realtek 887 is item 1. Specs for the motherboard say Realtek 887, and so did the audio_cloverALC-110.command install script. DPCIManager lists the audio codec as Realtek 888B, but apparently this is the same as 887.
ASUS H97M-PLUS — BIOS v2404, i3-4370, ASUS GeForce GTX 750 Ti STRIX
Had to do some workarounds to attach files as some formats are not allowed for posts on this board. Hopefully this will be enough information for someone with more knowledge to assist me.
One last thought. In the tools listed for inflating and deflating the zlib files here:
The instructions for the perl script leave a .xml file that Xcode reads as xml. To get it to read as a plist, I just appended .plist to the file, which worked great. Then I thought, why not just add this when inflating the .xml. This also worked. Here are the commands:
Last login: Sat Oct 24 16:41:19 on ttys000
Anachronauts-iMac:~ anachronaut$ cd /Users/anachronaut/Desktop/New\ Folder 
Anachronauts-iMac:New Folder anachronaut$ perl zlib.pl inflate Platforms.xml.zlib>Platforms.xml.plist
Anachronauts-iMac:New Folder anachronaut$ perl zlib.pl inflate Platforms.zml.zlib>Platforms.zml.plist
Anachronauts-iMac:New Folder anachronaut$

Run the El Capitan Installer over the current EL Capitan install to restore native AppleHDA.kext.


I extracted the AppleHDA.kext from the El Capitan installer. It was only in one place, and seems to be complete. It is working on my computer after the audio_CloverALC110.command script.









Anachronaut’s iMac IOReg.tiff




Audio Clover 110 audio script.txt

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.


  • Similar Content

    • By vivek.gk
      Hi all ,
      Just finished successful install of mojave(10.14.6) everything is working except for sound for the matter ,
      i do not have much knowledge on patch and stuff , even though tried AppleAlc layout-id which did not work for me ,
      i tried voodohda also which did not work either it ends up in panic .
      with DCPI manager it says audio controller 
      PCI Subvendor: 0x225d103c not sure what is my supported alc here .  
      i am attaching darwin dump and dsdt extracted aml and config plist used (rehabman(config.plist for intel4600)
      could some one guide me through this as i am newbie to this .
    • By Mieze
      This project is dedicated to Lucy, my lovely little Tyrannofelis Rex. 

      LucyRTL8125Ethernet is an open source driver for the Realtek RTL8125 family of 2.5GBit Ethernet controllers.
      Key Features of the Driver
      Supports all versions of Realtek's RTL8125 2.5GBit Ethernet Controllers found on recent boards. Support for multisegment packets relieving the network stack of unnecessary copy operations when assembling packets for transmission. No-copy receive and transmit. Only small packets are copied on reception because creating a copy is more efficient than allocating a new buffer. TCP, UDP and IPv4 checksum offload (receive and transmit). TCP segmentation offload over IPv4 and IPv6. Support for TCP/IPv4, UDP/IPv4, TCP/IPv6 and UDP/IPv6 checksum offload. Supports jumbo frames up to 9000 bytes (strongly recommended for 2.5GBit operation). Fully optimized for Catalina (doesn't work with Mojave and below). Note that older versions of macOS might not support 2.5GB Ethernet. Supports Wake on LAN (untested). Supports VLAN (untested). Support for Energy Efficient Ethernet (EEE) which can be disabled by setting enableEEE to NO in the drivers Info.plist without rebuild. The default is YES. The driver is published under GPLv2.  
      Current Status
      The driver has been tested successfully under Catalina (10.15.4 and above) and, according to first tests, is working stable. I haven't experienced any Kernel Panics during my tests and is working stable on my primary work machine. The driver has been designed to work with Catalina but might also work with Mojave, provided you build from source with Xcode 10.. Please keep in mind that support for 2.5GBit Ethernet was introduced in Mojave (or maybe High Sierra?) so that there is no way to make it work with Sierra or below.  
      Known Issues
      Using autoselect medium it seems to prefer negotiating a connection speed of 1Gbit with my switch so that I had to select 2.5GBit/s manually in order to achieve this speed but it might be different with other switches.   Installation
      You might want to install the driver to /L/E as usual but it's also ok to use Clover's injection function (installation in the EFI folder). Use your favorite kext installation tool for installation or perform the installation manually (for Clover injection). It's your call!  
      Make sure you have followed the installation instructions especially when you have issues with certain domains while the others are working fine. Use the debug version to collect log data when trying to track down problems. The kernel log messages can be retrieved with "log show --predicate "processID == 0" --debug" in order to retrieve kernel logs. Include the log data when asking for support or giving feedback. I'm an engineer, not a clairvoyant. Don't copy and paste large amounts of log data to your post. Create an archive with the log data and attach it to your post. In case you don't want to make your log data publicly accessible, contact me via PM and I will provide you a mail address to send it directly to me.  Delete the following files: /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist /Library/Preferences/SystemConfiguration/preferences.plist In Terminal run netstat -s in order to display network statistics. Carefully examine the data for any unusual activity like a high number of packets with bad IP header checksums, etc. In case auto-configuration of the link layer connection doesn't work it might be necessary to select the medium manually in System Preferences under Network for the interface. Use Wireshark to create a packet dump in order to collect diagnostic information. Keep in mind that there are many manufacturers of network equipment. Although Ethernet is an IEEE standard, different implementations may show different behavior causing incompatibilities. In case you are having trouble try a different switch or a different cable.  
      Version 1.0.0d6 (2020-06-14) Fixed chip recognition. Version 1.0.0d3 (2020-04-20) First working development release.  
      Getting the driver
      Source code can be found on GitHub: https://github.com/Mieze/LucyRTL8125Ethernet You'll find the lastest prebuilt binary here in this thread (see below).  
    • By Slice
      Some users claim that using VoodooHDA they hear loud bump at system start and sound in system comes with noise.
      Although this can be repaired with existing drivers I propose a version that do this automatically.
      It started silently and have very clear output. The file is compiled as 32/64 and works from 10.6 up to 10.12.
      The sources is in my signature.
      There is a VoodooHDA,prefPane compatible with Sierra

      Now there is a version 2.9.0 by Zenith432.
      It can work with multichannel sound and play it on 5.1 analog system.

      d10 - Fix issues involving AudioControls
      Fix issue with scratch on slow CPU
      More checks for memory allocation. More clear sound anyway. 
      IOAudioFamily.kext.zip -- it's a pity this kext works up to 10.14.5 and is not working in 10.14.6 and up.
    • By Tristana
      Hello, and thank you for your help!
      Ever since installing my new Sapphire Radeon Pulse RX580, I've been having issues with audio freezing up for the whole system- seemingly the coreaudiod process crashing / my USB audio interface not working. It feels random but seems to correlate with playing youtube videos, streaming audio in Finder, playing sound files from chat clients like Telegram/Discord and such. The system otherwise works as normal, with only audio related functions breaking. Sometimes instead of a full freeze / crash, the sample rate of audio will just drop significantly, causing a lot of aliasing.
      I followed this guide here, though it is outdated and some KEXTs have been merged with WhateverGreen. The shikigva=4 & -rad4200 boot arguments weren't available in WhateverGreen so I didn't add any boot arguments.
      My issue was not fixed by this. I also learned that USBInjectAll hadn't been given a custom SSDT and so I made one, which I have included at the end of this post. I also disabled the 15 port patch which had been left on. My USB ports now show up properly (though I've excluded my mobo's type-c port to meet the 15 port limit). My audio issues still have not been fixed, though.

      On High Sierra, the crash was irrecoverable- opening sound in system prefs just froze up, and I have to reset the system to get audio back. In Catalina, I seem to be able to choose a different audio device then go back to my external interface to reset the driver and get sound back.

      Thank you for any help / ideas you can offer!

      UPDATE: Issue still persists. I'm now using a USBPorts.kext created by Hackintool and have updated my list of current kexts below.



    • By Kailash
      I successfully managed to install Hackintosh on my Lenovo Ideapad 520 but now I don't have audio, brightness control feature or battery indicator. My audio driver is an ALC230. I am new to all this. What do I do to solve this? I have attached my EFI files below.