Contribute
Register

Mavericks: Audio - Realtek ALC AppleHDA [Guide]

Status
Not open for further replies.

toleda

Moderator
Joined
May 19, 2010
Messages
22,834
Motherboard
Asus Maximus VII Impact
CPU
i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
2787035531_066ba1ee85.jpeg

Mavericks:
Audio

Realtek ALC AppleHDA

For Realtek ALC885 through ALC1150 on board audio codecs

Change Log

  1. v2.1 - 8/15/2014 - 9 Series/EAPD added to 887, 892, 898, 1150, credit: kidalive
  2. v2.0 - 8/12/2014 - v2 AppleHDA.kext patch scripts available; easier, simpler and faster. See Realtek ALC AppleHDA Audio Patching Methods, below
  3. v1.3 - 6/5/2014 - 9series/Mavericks/10.9.3 and newer AppleHDA support, see Notes 6
  4. v1.2 - 5/29/2014: 10.9.3 AppleHDA.kext and MultiBeast 6.3/New Audio Options
  5. v1.1 - 3/5/2014 - Three Realtek ALC AppleHDA.kext Patching Methods
  6. v1.0 - 10/22/13 - Mavericks Release
Mavericks/New Feature

  1. "Internal Microphone" - Noise Cancelation selectable, credit: EvgeniX
  2. AMD HD7xxx HDMI audio support
New User/First Time/Mavericks Audio

  1. Determine motherboard audio codec (Realtek ALCxxx)
    1. Source: User manual, specifications, website
    2. Supported: ALC885, 887, 888, 889, 892, 898 or 1150
    3. Audio Codec is: ALCxxx
  2. Recommended Audio Selections
    1. Audio ID: 1
    2. Kext Injection
    3. ALCxxx
  3. MultiBeast 6.3 and newer
    1. Select audio codec
      1. See Requirements/2. Realtek ALC - below
    2. Select audio option (none or one)
      1. Optional 3 port (5.1) audio
      2. Optional HD3000/HD4000 HDMI audio
      3. Optional EFI Installed Bootloader Support
Requirements

  1. OS X versions supported:
    1. Mavericks/10.9/AppleHDA.kext_v2.5.2 and newer, see Notes 1 and 2, below
  2. Realtek ALC, one of the following Device_ID - Codec Name
    1. Supported motherboard on board audio codecs
      1. 10ec0885 - ALC885/ALC889a
      2. 10ec0887 (v100302) - ALC887/ALC888b
      3. 10ec0888 (v100302) - ALC888/ALC888s
      4. 10ec0889 - ALC889
      5. 10ec0892 - ALC892
      6. 10ec0899 - ALC898
      7. 10ec0900 - ALC1150
    2. Verification, see Notes 3, below
  3. Supported Audio-IDs (Audio_ID = layout-id), select one
    1. Audio IDs
      1. Audio_ID: 1 - 5/6 port Realtek ALC onboard audio and HD5K/AMD/Nvidia HDMI audio
      2. Audio_ID: 2 - 3 port Realtek ALC onboard audio and HD5K/AMD/Nvidia HDMI audio
      3. Audio_ID: 3 - 3/5/6 port Realtek ALC onboard audio and HD3K/HD4K/AMD/Nvidia HDMI audio
    2. Details
      1. Audio_IDs: 1 and 2 support analog 5.1 surround sound, 3 does not
      2. Audio_IDs: 1, 2 and 3 require HDMI audio dsdt edits/ssdts for HDMI audio
      3. Auido ID: 3 not supported with ALC1150
  4. Audio_ID Injection
    1. Supported Realtek ALC Injection methods
      1. MultiBeast, see Realtek ALC AppleHDA.kext Installation, below
      2. Installation, see toleda/audio_ALCInjection
        1. MultiBeast 6.3 and newer
          1. With DSDT/Without DSDT options removed
            1. Simple
          2. S/L/E/HDAEnabler1.kext removed
            1. Invasive
          3. New choices
            1. Select audio codec
              1. See 2. Realtek ALC - above
            2. Select audio option (none or one)
              1. Optional 3 port (5.1) audio
              2. Optional HD3000/HD4000 HDMI audio
              3. Optional EFI Installed Bootloader Support
          4. New Audio Enabler/HDAEnabler.dylib
            1. How to Use HDAEnabler module with Chimera
            2. Replaces S/L/E/HDAEnabler1.kext
            3. Extra/HDAEnabler.dylib
            4. Extra/org.chameleon.Boot.plist - new boot flags
              1. HDAEnabler=Yes
              2. HDEFLayoutID=1, 2 or 3
        2. MultiBeast 6.0 through 6.2.2
          1. kext/HDEF/No dsdt/HDAEnabler_.kext = Audio_ID
        3. dsdt/HDEF/layout-id = Audio_ID
          1. [Guide]-Add_or_Edit_HDEF-dsdt.pdf
          2. Select Optional EFI Installed Bootloader Support
        4. ssdt/HDEF/layout-id = Audio_ID
          1. [Guide]-Add_HDEF-ssdt.pdf
          2. Select Optional EFI Installed Bootloader Support
        5. Clover/Config.plist/Devices/Audio/Inject = Audio_ID
          1. [Guide]-Add_HDEF-Clover.pdf
          2. Select Optional EFI Installed Bootloader Support
    2. Verification, see Notes 4, below
Realtek ALC AppleHDA.kext Installation

  1. MultiBeast 6.3 and newer
    1. Installs Realtek ALC AppleHDA.kext with
      1. Default - Audio ID: 1
        1. Extra/
          1. HDAEnabler.dylib
          2. org.chameleon.Boot.plist/HDAEnabler=Yes
          3. org.chameleon.Boot.plist/HDEFLayoutID=01000000
      2. Optional 3 port (5.1) audio - Audio ID: 2
        1. Extra/
          1. HDAEnabler.dylib
          2. org.chameleon.Boot.plist/HDAEnabler=Yes
          3. org.chameleon.Boot.plist/HDEFLayoutID=02000000
      3. Optional HD3000/HD4000 HDMI audio - Audio ID: 3
        1. Extra/
          1. HDAEnabler.dylib
          2. org.chameleon.Boot.plist/HDAEnabler=Yes
          3. org.chameleon.Boot.plist/HDEFLayoutID=03000000
      4. Optional EFI Installed Bootloader Support
        1. Extra - No Change
  2. MultiBeast 6.0 through 6.2.2 -
    1. Installs Realtek ALC AppleHDA.kext and Audio_ID kext injection
      1. Audio_ID: 1, HDEF/kext/No dsdt/HDAEnabler1.kext
        1. Select: Drivers > Audio > Realtek ALCxxx > Without DSDT √ ALC
      2. Audio_ID: 2, HDEF/kext/No dsdt/HDAEnabler2.kext
        1. Select: Drivers > Audio > Realtek ALCxxx > Without DSDT √ ALC
        2. and √ Optional 3 Port Audio Enabler
    2. Installs only Realtek ALC AppleHDA.kext
      1. Audio_ID: 1, 2 or 3, with Injection (HDEF/dsdt/ssdt/Clover - yes, kext - no)
        1. Select: Drivers > Audio > Realtek ALCxxx > With DSDT √ ALC
v2 Realtek ALC AppleHDA Audio Patching Methods - select one

realtekALC/patch in place
- new script detects the codec and patches the native AppleHDA.kext for ALC onboard audio. Run the same script to restore audio after Software Update. The resulting kext is the same as MultiBeast installs.

Piker-Alpha AppleHDA8series - installs an audio support kext for ALC onboard audio.
AppleHDA.kext remains native and the technique survives most Software Updates.
Credit: Piker-Alpha

cloverALC/Clover patched AppleHDA - automatically detects codec and installs all audio files and patches for ALC onboard audio. Audio survives most Software Updates. Install once and done. Credit: abxite

  1. realtekALC/patch in place
    1. Bootloaders: Chimera, Chameleon, Clover
    2. Software Update: run same script after update restart
    3. More Info: toleda/audio_RealtekALC
    4. Installation - realtekALC
      1. Download: (View Raw) audio_realtekALC-90_v2.command.zip
      2. Double click: Downloads/audio_realtekALC-90_patch_v2.command
      3. Password?
      4. Verify Codec? (885, 887, 888, 889, 892, 898, 1150 only)
      5. Legacy_v100202 - y/n? (887, 888 only)
      6. Enable HD4600 HDMI audio - y/n? (887, 892, 898, 1150 only)
      7. Restart
      8. Verify Patched AppleHDA kext installed
        1. S/L/E/AppleHDA.kext_vx.x-toledaALCxxx
      9. Verify ALC onboard audio
        1. System Preferences/Sound/Output/select audio device
  2. Piker-Alpha AppleHDA8series
    1. Bootloaders: Chimera, Chameleon, Clover
    2. Software Update: persistent, no action required
    3. More Info: toleda/audio_pikeralphaALC
    4. Installation - AppleHDA8Series
      1. Piker-Alpha/AppleHDA8Series.sh
      2. Download Zip
      3. $ cd Downloads/AppleHDA8Series.sh-master
      4. Chameleon/Chimera/Clover - no AppleHDA binary patch
        1. $ ./AppleHDA8Series.sh -b AppleHDA
        2. $ ./AppleHDA8Series.sh -b AppleHDA -b AppleHDAController
      5. Clover - with AppleHDA kext patch(es)
        1. $ ./AppleHDA8Series.sh
      6. Password
      7. Codec
      8. Layout
      9. Install S/L/E
      10. Reboot
      11. Verify ALC AppleHDA8Series kext installed
        1. S/L/E/AppleHDAxxx
      12. Verify ALC onboard audio
        1. System Preferences/Sound/Output/select audio device
  3. cloverALC/Clover patched AppleHDA
    1. Bootloaders: Clover
    2. Software Update: persistent, no action required
    3. More Info: toleda/audio_CloverALC
    4. Installation - cloverALC (See Note 3)
      1. audio_cloverALC-90_v2.command.zip
      2. Download (View Raw)
      3. Double click Downloads/clover-90_patch_v2.command
      4. Password?
      5. Verify Codec? (885, 887, 888, 889, 892, 898, 1150 only)
      6. Legacy_v100202 - y/n? (887, 888 only)
      7. Restart
      8. Verify ALC onboard audio
        1. System Preferences/Sound/Output/select audio device
Notes

  1. 10.9 and newer, Boot flag npci=0x3000 disables audio
    1. Remove npci=0x3000 from Extra/org.chameleon.Boot.plist
  2. AppleHDA.kext version matters
    1. AppleHDA.kext can be the same as or earlier than the installed OS X version
    2. AppleHDA.kext does not work if newer than the installed OS X version
      1. 10.8.5 AppleHDA.kext installed in 10.8.4 OS X - no audio devices
  3. Audio Codec Verification/DPCIManager see Tools 2.
    1. See Status/Codec ID/Revision, note Codec ID
    2. Verify Requirements/2. Realtek ALC/1. Supported audio codecs, above
  4. Audio_ID verification/IORegistryExplorer see Tools 3.
    1. Search: HDEF
    2. Locate: layout-id (right pane, scroll down)
    3. Verify:
      1. <01 00 00 00>
      2. <02 00 00 00>
      3. <03 00 00 00>
    4. If your layout-id is not listed, see toleda/audio_ALCInjection
  5. Sound Assertions (line varies by version)
    1. MaximumBootBeepVolume/Sound assertion in AppleHDAEngine at line 581
      1. See Dmitry, AppleIntelFramebufferAzul.kext (part III) | Pike's Universum
      2. ​Ignore
  6. 9series/Mavericks/10.9.3 and newer AppleHDA support
    1. Patched AppleHDA.kext/Terminal script: audio_alc_9series-hda-93_patch.command.zip
      1. Download (Select View Raw)
      2. Downloads/audio_alc_9series-hda-93_patch.command
      3. Double click on file name
      4. Enter Password at Prompt
      5. Save Log: Terminal/Shell/Export Text As../Terminal Saved Output/Desktop
      6. Restart
    2. Clover: config-audio_cloverALC-9series.plist.zip
    3. AppleHDAController binary patch edit:
      1. Find: 20 8C
      2. Replace (4x): A0 8C
      3. Save
      4. Install
      5. Restart
Unsupported/Non-working Realtek ALC AppleHDA.kext

  1. 887_v100202 and earlier
    1. Workaround: alternate Platforms.xml.zlib (Try MultiBeast/ALC887 Legacy)
  2. 888_v100202 and earlier
    1. Workaround: alternate Platforms.xml.zlib (Try MultiBeast/ALC888 Legacy)
  3. Asus P8P67 3xxx BIOS: Phantom codec
    1. Workaround: 2xxx BIOS downgrade, 7/8 Series upgrade
  4. MSI motherboards, pre Sandy Bridge
    1. Workaround: 6/7/8 Series upgrade
  5. AC97
    1. Workaround: HD Audio
Realtek ALC Speakers

  1. Audio ID: 1 and 3
    1. Match speaker connector color to same motherboard/case port color
  2. Audio ID: 2 (3 port motherboard audio)
    1. Plug black connector into blue motherboard port for rear speakers
    2. Plug green connector into green motherboard port for front speakers
    3. Plug orange connector into pink motherboard port for center/sub speakers
    4. Front panel: Match connector color to same case port color
Optional Installs

  1. Configure 5.1 Surround Sound Aggregate Device (Not available with Audio ID: 3)
    1. Applications/Utilities/Audio MIDI Setup
    2. See tonymacx86 - How to enable 5.1-channel analogue audio in OS X
  2. Connect Audio Input to Audio Output
    1. LineIn - http://www.rogueamoeba.com/freebies/
More Information - toleda/audio_ALCInjection

  1. M-Realtek ALC AppleHDA Capabilities.pdf
    1. ex., Audio_ID Configurations, Surround sound, audio popping, USB start up problem
  2. M-Realtek ALC AppleHDA Customization.pdf
    1. ex., Manual speaker and headphone selection, Substitute SPDIF-2 Wire Output
  3. M-Realtek ALC AppleHDA Screenshots.pdf
    1. ex., System Information/Audio/Intel High Definition Audio, System Preferences/Sound/Output
  4. M-Realtek ALC AppleHDA No Audio.pdf
    1. ex., No audio devices, no sound, no codec
Tools

  1. MaciASL: http://maciasl.sourceforge.net/
  2. DPCIManager: http://sourceforge.net/projects/dpcimanager/
  3. IORegistryExplorer (use IOReg_v2.1: https://github.com/toleda/audio_ALCInjection/blob/master/IORegistryExplorer_v2.1.zip
  4. IOJones: Alternative to IORegistryExplorer: IOJones
  5. Kext Install utilities, i.e., Kext Wizard, Kext Utility, DPCIManager, etc.
Troubleshooting

  1. See Mavericks: No Audio - Realtek ALC AppleHDA
  2. See M-Realtek ALC AppleHDA Capabilities.pdf - toleda/audio_ALCInjection
Problem Reporting

  1. See/Post Mavericks: No Audio - Realtek ALC AppleHDA
Credit
THe KiNG [HOW TO] Patch AppleHDA - Knowledge Base - Project OS X Forums
VHC888 ALC889A, Gigabyte (Intel): now having a working front mic - InsanelyMac Forum
PikeRAlpha New style of AppleHDA.kext patching (take II) | Pike's Universum
EvgeniX Mountain Lion Realtek ALC AppleHDA Audio - OSx86 10.8 (Mountain Lion) - InsanelyMac Forum
abxite
RevoGirl

MultiBeast 6.0 and newer: Drivers > Audio > Realtek ALCxxx >
Without DSDT √ ALCxxx (ex., ALC898)
multibeast_v6.0-ALCxxx.png
 
Last edited by a moderator:
I'm still looking for a way to patch AppleHDA for the Realtek ALC668. Is there another guide for mine?
 
I am on Mavericks and have ALC888 and used multibeast to install the w/o DSDT ALC888 Legacy v100202. no luck...

In this guide Requirements >2 >1 supported codecs says -

"#3. 10ec0888 (v100202 and v100302) - ALC888/ALC888s"

Then under Unsupported/Non-working Realtek ALC AppleHDA.kext it lists
888_v100202 and earlier

So i'm totally confused, if it is supported or unsupported??

Then it says "Workaround: alternate Platforms.xml.zlib" which I have no idea what that means...

I used IORegistryExplorer and can verify

  1. <01 00 00 00>

Can anyone shed some light on what to do here?
 
Unsupported/Non-working Realtek ALC AppleHDA.kext


  1. 888_v100202 and earlier
    1. Workaround: alternate Platforms.xml.zlib (Try MultiBeast/ALC888 Legacy)

Well as stated I tried this and had no success. On my previous Snow Leopard install, I had audio working... It may have been with Voodoo I really don't remember bc I didn't have any issues, but using voodoo on this Mavericks install, I had no volume control, using the slider did not change the volume except for mute. I wouldn't care except that even with the speaker volume 100% its not loud at all.. Any suggestions for this?

Can I add in an audio card? If so any suggestions?

Thanks for your help!
 
Just thought i'd update, Voodoo 2.7.3 works better, audio is full volume.
 
Hi

I have a Maximus VI Gene motherboard with Supreme FX audio chip which is an ALC1150 if I understand well.

I have installed OS X 10.9 on this machine.

I tried installing audio with Multibeast 6.0 following your guide but it did not work just with ""Without DSDT > ALC1150". I also added AppleHDA.kext version 2.5.6 supposed to be compatible with OS X 10.9 but same thing, no audio.

Any clues on what I may be doing wrong ?

Thank you
 
Hello,

My System:
Supermicro X8DAH+-F
nVidia GTX 460
Realtek ALC888 (according to manual)
10.9 Mavericks

I've tried kexts from online and when I look up the device shows up as "ALC888S-VD" but the manual lists it as ALC888. Anyways, the kexts I tried would list the devices right but I can't hear any audio.

I tried MultiBeast using both "887/888 Legacy and Current versions" since I saw one of your post saying 888s is indeed 887. It lists the device in System information, but there is no audio devices to select under System Preferences->Sound.

Now, I used ALC888 Legacy and Current version. I don't get audio from both. But in Legacy version I have the option to select audio devices under System Preferences->Sound.

I'm attaching screenshot of System Information and IOReg file using "ALC888 Legacy" version.


Please help!
 

Attachments

  • Sys Information.png
    Sys Information.png
    171.6 KB · Views: 2,745
  • Chris's Mac Pro.ioreg
    2.5 MB · Views: 456
Status
Not open for further replies.
Back
Top