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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By buges
      I have a lynx aes16 pci card installed in my system which works when it wants to!
      Sometimes it's fine and sometimes it just stops or digitally stutters, manually unloading and reloading the kext makes no difference and when i reboot i get the following message:
      >>>> Lynx.kExt: No interrupts processed for one second! [0]. Restarting Devices!
      It works perfectly in windows, and never had a problem when i was using an asus Z170, so i think it might be a gigabyte issue.
      Any help would be great
    • By Wolfield
      I have a receiver with 7.1 channels, in which I transmit the formats Dolby Digital and DTS without problems by Windows, through the HDMI output of HD4000. On that same Laptop, I have the Hackintosh, with the High Sierra 10.13.6, and with audio enabled using AppleALC, but in the audio preferences, I can not enable the Digital audio format. Also did not find players like Mirillis SplashPro (which I have used in Windows) with the option of HDMI output Bitstream. Is it possible to enable this digital output on Hackintosh?
    • By ITzTravelInTime
      Hi guys i am a small developer, i really like to use my sound blaster cards on my machines and i love also coding, so when i find the source code for the kx audio driver on git hub and then Eugene, the creator of kx audio driver decided to no longer maintain the project, i decided to start working on a mod of this driver. 
      With my mod, created starting from the sources of the last version of kx audio driver, and also by using apple developer documentation for pci and audio drivers as reference, i am working to achieve 2 things mainly: get all the cards supported by the driver to work with all the recent versions os macOS and add support for other cards that are not officially supported by the driver that works or could, but needs to be more properly supported.
      This driver is made to support cards based on the E-mu 10k1, 10k2 and similars (like what is used by audigy rx and audigy 4 cards).
      Supported cards are:
       - most of the sound blaster live!, live! 5.1 and live! 5.1 digital series
       - sound blaster 512
       - sound blaster 256
       - other creative and e-mu sound cards based on the 10k1 chip (cards with the ES1370/ES1371/ES1372/ES1373 chips are not supported)
       - sound blaster Audigy series (1 st gen)
       - sound blaster Audigy 2  and audigy 2 zs series
       - E-MU cards based on the 10k2 sound chip
       - Some Audigy 4 cards (SB0610 only) and the audigy 4 pro
       - Sound blaster Audigy RX (sb0155)
       - other creative and e-mu cards based on the (10k2, 10k2,5 and CA10300 based cards)
      NOT supported cards:
       - Any ISA Sound card
       - ES1370/ES1371/ES1372/ES1373 based sound cards
       - CMI8738/CMI8788 based cards
       - Any CA0106 based card and cards with similar architectures (like sound blaster live! 24 bit, sound blaster audigy SE SB0570, audigy LS and similars, but audigy SA is supported)
       - Any sound blaster x-fi (some of them works on macOS using a modified version of voodoo hda)
       - Any sound blaster recon3D
       - Any sound blaster Z/ZS/ZX and similar series
       - Any sound blaster AE5 series
      In the time being the things i have modded or added with this mod are:
      - increased the simple buffer frames number with different values for emu10k1 based cards and emu10k2 based cards (including recent audigy 4 and rx) to reduce and all the audio cracking issues and possibly fixing all of them on a lot of cards
      - added a more proper support for the pci express sound blaster audigy rx (which basically is an audigy 4 with a pcie bridge chip) 
      - added more fancy names for the cards in the settings and other menus (so the name will be, for example, SB live! 5.1 SB0060 instead of kx SB0060 [e880] witch was shown in the original driver)
      - added support to sample rate changing and added lots of sample rates (from 8 khz to 176,4 khz) to accomodate any possible usecase (note that 10k1 sound cards are limited up to 48khz sample rate, and 10k2 based cards are limited to 176,4 khz because of issues getting 192 khz to work, for now the driver goes up to 176,4 khz for such cards) 
      - added boot args to manage the driver:
      Boot args to use with the kx audio driver mod: -kx_disable or -kxdisable or -kxoff This will prevent the driver from doing any initialization work, so the driver is basically disabled, use it to boot your ssytem in case the driver is giving you issues and kernel panics while you are trying to boot/using your system, so you are able to remove this driver or replace it with another version of it or to do some truble shooting. -kx_debug or -kxdebug or -kxspec Will show more debug info about the card, mainly the i/o port address and the kind of bus that it uses -kx_exp_deb or -kx_beta or -kxbeta Will enable experimental and probably not working or unstable features like showing inputs for the card or 192 khz sampling rate, use it only for testing and debug purposes, this may likely cause instability and problems in the everyday usage! Use it at your own risk! -kx_original or -kxoriginal This will basically turn off almost all the mods of this mod, so the driver will come to work as it was before modding it, this can be usefoul as a "safe mode" like feture to have a working driver in case of problems with features of the mod, so using this means no crsking issues improvements, only 48 khz sample rate and only features of the non-modded kx audio driver for mac os x  
      - created a script file to use with the driver for installing the driver and also to load/unload, update, repolace it and it's libraries.
      What i'd like to implement but i don't know how to do:
       - I'd like mainly to add a more proper support to the pci bridge chip of the audigy rx,
       - have audio inputs working,
       - fix the support when using more than one card, to get all the cards shown in the settings and other menus,
       - have the gameport/midi port of older cards to be used in mac os as a midi in/out
      If other developers would like to join and help me, you can, and also an hand from other people with testing and feedback will be nice.
      link for the kext only (if you have clover put it in [your clover efi folder]/clover/kexts/[your macOS version]/ so it will not be deleted when updating macOS):
               - download from the downloads section:          kX Audio Driver Mod by ITzTravelInTime 1.01                                                                                    - external download:                                      https://dl.dropboxus...Driver.kext.zip   link for the installer pack (the best way to install it, but you have to reinstall it when you upgrade macOS, remeber to fix kext permitions and rebuild the kernelcache if you want to remove the kext from it's install directory without using the unistall feature of the provvided script):              - download:                                                   https://dl.dropboxus...aller pack.zip   Source code from Git Hub:          -  github repo:                                               https://github.com/ITzTravelInTime/kx-audio-driver   NOTE: Some system because of some problems with the HPET may need to use FixHPET in clover and to install the kext in /System/Library/Extensions or to do other kind of hpet mods to run the driver properly, but only on some systems, most systems should not require it