Contribute
Register

AppleHDA Realtek Audio [Guide]

toleda

Moderator
Joined
May 20, 2010
Messages
24,301
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
iMac, MacBook Pro, Mac mini
Classic Mac
512K, LC, Power Mac
Mobile Phone
iOS
285763
AppleHDA Realtek Audio_v2 [Guide]

Desktop/Realtek ALC codecs: 885, 887, 888, 889, 892, 898, 1150, 1200 and 1220 on board audio with layouts 1, 2 or 3 and NUC/BRIX codecs: 269/layout 10 and 283/layout 1 only.

Supports all macOS/OS X versions: 10.14, 10.13, 10.12, 10.11, 10.10 and 10.9.

10.14/System Preferences/Sound/Output/Internal Speakers > Motherboard green audio port
360963

Enables macOS Realtek ALC on board audio for Intel desktop/workstation motherboards.

Notes/AppleHDA.kext:
  • macOS does not natively support Intel:
    • Z370/200 Series/X299 Kaby Lake audio (no macOS support)
    • 300/200/100 Series desktop motherboard audio (no HDEF)
    • X299/X99 workstation motherboard audio (no HDEF)
    • X79 workstation motherboard audio (no HDEF)
    • Legacy motherboards (4, 5, X58/no HDEF)
    • Fixes, see IX. Unsupported/Non-working AppleHDA Realtek Audio, below.
  • macOS natively supports Intel:
    • 9/8/7/6 Series desktop motherboard audio (with HDEF)
Change Log
v2.1: 11/29/2018 - MultiBeast 11/Mojave released

v2.0: 10/27/2018 - Mojave support, cloverALC deprecated

Previous thread: Realtek ALC AppleHDA

New install, see I. Before You Install Audio, below
Installation: see II. AppleHDA Realtek Audio Methods, below
Support: see IV. Problem Reporting, below

I. Before You Install Audio - Verify HDEF, identify codec, set Audio ID, disable SIP, mount EFI
  1. Mojave update from previous macOS; new install, skip
    1. See X. Uninstall AppleHDA Realtek Audio (below)
  2. Native AppleHDA.kext, only available from macOS installer
  3. Verify HDEF, see Notes/AppleHDA.kext (above)
  4. Identify codec (motherboard specs web page, manual, etc.)
  5. Set Audio (new install only, no config.plist edit required for upgrade to Mojave)
    1. Select layout
    2. Set layout
      • Xcode/edit: config.plist/Devices/Audio/Inject/layout
      • Example: Desktop/layout = 1 (recommended)
        368876
      • If 3 port motherboard audio, 2 In/1 Out:
        • 5.1 support, repurpose to 3 Out: Desktop/layout = 2
        • native, 2 In/1 Out: Desktop/layout = 3
II. AppleHDA Realtek Audio Methods - A or B

A. acidanthera/AppleALC - AppleALC
Downloads

  1. Install Downloads/AppleALC.kext and Lilu.kext to Library/Extensions with KextBeast
  2. Confirm layout, see I. Before You Install Audio (above)
  3. If applicable, see IX. Unsupported/Non-working AppleHDA Realtek Audio (below):
    • 300/200/100 Series motherboards (HDAS > HDEF)
      • 300-Coffee Lake/200-Kaby Lake/100-Skylake
    • X299 motherboards (CAVS > HDEF)
    • X99 motherboards (ALZA > HDEF)
    • Legacy motherboards (AZAL > HDEF)
  4. Optional (Public Beta)
    1. Add config.plist/Boot/Arguments/ -lilubeta -alcbeta
  5. Restart
B. MultiBeast (MultiBeast 10.4/Audio does not support Mojave)

Download/MultiBeast 11.x - Mojave
  1. Supports AppleALC method, above
  2. Confirm layout, see I. Before You Install Audio (above)
  3. MultiBeast > Drivers > Audio √ AppleALC
    • If applicable,
      • Skylake/Kaby Lake/Coffee Lake motherboards: √ 100 / 200 / 300 Series Audio Support (HDAS > HDEF)
      • X299 motherboards: √ X299 Series Audio Support (CAVS > HDEF)
      • 3 port motherboard audio (2 In/1 Out > 3 Out): √ Optional 3 port (5.1) Audio
      • 3 port motherboard audio (2 In/1 Out, native): √ Optional 3 port (native) Audio
    • Example, AppleALC + 100/200/300 Series motherboard:Screen Shot 2019-04-03 at 3.50.04 PM.png
    • Build/Install/Restart
  4. Success, restart
  5. If not, see X. Problem Reporting (below)
III. Tools - Mount EFI, IOReg, restore AppleHDA, KextBeast, Xcode, MaciASL
IV. Problem Reporting - Description, diagnostics, files, screenshots
  1. 885/887/889/892/898/1150/1220 codec and layout 1/2/3, Desktop support only:
  2. All other codecs and layouts:
V. Requirements - macOS, Intel, native AppleHDA, supported codecs, Clover
  1. macOS (10.10 and newer, SIP)
    1. 10.11 and newer (install/edit native and non native kexts and rebuild cache)
      • CLOVER/config.plist/
        • BooterConfig/0x28
        • CsrActiveConfig/0x3 or 0x67
    2. 10.10 (install/edit native and non native kexts)
      • Clover/config.plist/
        • Boot/Arguments/kext-dev-mode=1
  2. Intel Motherboards
    1. Desktop
      • 300 Series - Z390, Z370, B360, H310, H370, Q370 ... (see VII. Unsupported ..., below)
      • 200 Series - Z270, H270, B250 ... (see VII. Unsupported ..., below)
      • 100 Series - Z170, H170, B150 ... (see VII. Unsupported ..., below)
      • 9 Series - Z97, H97, B95
      • 8 Series - Z87, H87, B85, H81 ...
      • 7 Series - Z77, H77, B75 ...
      • 6 Series - Z68, P67, H67, H61 ...
    2. Workstation
      • X299 (see VII. Unsupported ..., below)
      • X99 (see VII. Unsupported ..., below)
      • X79
  3. Native AppleHDA (See III. Tools/3.Restore native AppleHDA [Guide].pdf)
  4. Audio ALC/Codec and Injection, confirm:
    • Supported Codecs, see VI. Realtek Codecs and Applications (below)
    • Supported Audio IDs, see VII. Audio IDs (below)
    • Working Audio ID Injection, VIII. Layout Injection (below)
VI. Realtek Codecs - Device_ids, applications, Audio ID(s), audio devices
  1. ALC885/0x10ec0885/Desktop/1/All
    1. ALC889A/same as ALC885
  2. ALC887/0x10ec0887_v003002/Desktop/1 or 2 or 3/All
    1. Legacy: ALC887/0x10ec0887_v002002Desktop/1 or 2/All
      1. Intel 4/5 Series motherboards
      2. ALC888B/same as ALC887
  3. ALC888/0x10ec0888_v003002/Desktop/1 or 2 or 3/All
    1. Legacy: ALC888/0x10ec0888_v002002Desktop/1 or 2/All
      1. Intel 4/5 Series motherboards
      2. ALC888S/same as ALC888
  4. ALC889/0x10ec0889/Desktop/1 or 2/All
  5. ALC892/0x10ec0892/Desktop/1 or 2 or 3/All
  6. ALC898/0x10ec0899/Desktop/1 or 2 or 3/All
  7. ALC1150/0x10ec0900/Desktop/1 or 2/All
  8. ALC1220
    1. 1220A/0x10ec1168/Desktop/1 or 2/All
    2. 1220/0x10ec11220/Desktop/1 or 2/All
VII. Audio IDs/Layouts - Recommend Audio ID: 1; special cases, 2 and 3
  1. Audio ID/Layout: 1 (motherboard with 5 or 6 audio ports)
    • Stereo (2 inputs, 3/4 outputs), 5.1 analog surround (3 outputs) and 5.1 digital surround (optical)
      • Motherboard: Pink, Blue, Green, Orange, Black and SPDIF
      • 285767
      • 285766
      • Front Panel: Pink & Green
      • 285769
      • 285768
  2. Audio ID/Layout: 2 (motherboard with 3 audio ports, repurposes inputs/0 to outputs/3)
    • Stereo (1 input, 4 outputs), 5.1 analog surround (3 outputs) and 5.1 digital surround (optical)
      • Motherboard: Green, Pink (> Orange), Blue (> Black) and SPDIF
      • 285770
      • Front Panel: Pink & Green
      • 285771
  3. Audio ID/Layout: 3 (motherboard with 3 audio ports, native inputs and outputs)
    • Stereo (3 inputs, 2 outputs) and 5.1 digital surround (optical)
      • Motherboard: Pink, Blue, Green and SPDIF (No Orange support)
      • 285772
      • Front Panel: Pink & Green (same as Audio ID: 1, above)
  4. Other, see XI. More Information/2. Customization guide (below)
VIII. Layout Injection - Clover
  1. Layout = Audio ID
  2. Mount EFI Partition: Community Software/EFI Mounter v3
  3. Xcode/edit: EFI/CLOVER/config.plist/Devices/Audio/Inject/Layout
IX. Unsupported/Non-working AppleHDA Realtek Audio - Kaby Lake audio, 300/200/100 Series, X299 or X99
  1. Z370/200 Series/X299 (Kaby Lake audio) HD Audio Controller device_id (Select one method, 10.12 and newer)
    1. Clover: Download/config-audio_cloverALC+.plist.zip
      • Xcode/copy: config-audio_cloverALC+.plist/KernelAndKextPatches/KextsToPatch/Item 15/10.12-Kaby_Audio_Controller
      • Xcode/paste: to config.plist/KernelAndKextPatches/KextsToPatch
    2. Other methods:
  2. 300/200/100 Series Intel High Definition Audio
    1. Rename dsdt/HDAS to HDEF
      • Clover: Download/config-audio_cloverALC+.plist.zip
        • Xcode/copy: config-audio_cloverALC+.plist/ACPI/DSDT/Patches/Item 0/100-200-300-Series-Rename HDAS to HDEF
        • Xcode/paste: to config.plist/ACPI/DSDT/Patches/
      • Restart
  3. X299 Intel High Definition Audio (credit BJY1991)
    1. Rename dsdt/CAVS to HDEF
      • Clover: Download/config-audio_cloverALC+.plist.zip
        • Xcode/copy: config-audio_cloverALC+/ACPI/DSDT/Patches/Item 1/X299-Rename CAVS to HDEF
        • Xcode/paste: to config.plist/ACPI/DSDT/Patches/
    2. Restart
  4. X99 Intel High Definition Audio (credit bOLEMO)
    1. Rename dsdt/ALZA to HDEF
      • Clover: Download/config-audio_cloverALC+.plist.zip
      • Xcode/copy: config-audio_cloverALC+.plist/ACPI/DSDT/Patches/Item 2/X99-Rename ALZA to HDEF
      • Xcode/paste: to config.plist/ACPI/DSDT/Patches/
    2. Restart
  5. Legacy motherboards (AZAL > HDEF)
    1. Rename dsdt/AZAL to HDEF
      • Clover: Download/config-audio_cloverALC+.plist.zip
      • Xcode/copy: config-audio_cloverALC+.plist/ACPI/DSDT/Patches/Item 3/Legacy/Azalia - Rename AZAL to HDEF
      • Xcode/paste: to config.plist/ACPI/DSDT/Patches/
    2. Restart
X. Uninstall AppleHDA Realtek Audio - Remove audio by method
  1. cloverALC, remove:
    1. S/L/E/AppleHDA.kext/Contents/Resources/layout1.zml.zlib, layout2.zml.zlib, layout3.zml.zlib, Platforms.zml.zlib
      • or install native AppleHDA.kext with a kext installer (see III. Tools/KextBeast)
    2. config.plist/.../KextsToPatch/AppleHDA (3x)
    3. EFI/CLOVER/kexts/10.xx or other/realtekALC.kext
  2. MultiBeast 9/10, remove:
    1. S/L/E/AppleHDA.kext/Contents/Resources/layout1.zml.zlib, layout2.zml.zlib, layout3.zml.zlib, Platforms.zml.zlib
      • or install native AppleHDA.kext with a kext installer (see III. Tools/KextBeast)
    2. config.plist/.../KextsToPatch/AppleHDA (3x)
    3. /L/E/realtekALC.kext
XI. AppleHDA Realtek Audio - More Information; audio_ALC_guides
  1. Customization - Realtek ALC AppleHDA_v2 [Guide].pdf
    • Manual speaker and headphone selection, Substitute SPDIF-2 Wire Output
  2. Surround Sound - Realtek ALC - AppleHDA [Guide].pdf
    • Players, analog, optical
XII. Deprecated Methods - No 10.14 support
Change Log
v1.3: 9/17/2018: X99/X299/Kaby Lake/Coffee Lake Audio Controller detection, see II. AppleHDA Realtek Audio Methods/1. cloverALC
v1.2: 4/24/2018: Coffee Lake audio support
v1.1: 2/28/18 - cloverALC supports 300/200/X299/X99 audio controller and macOS bundle-id, IX. Unsupported/Non-working AppleHDA Realtek Audio supports 300/200/X299/X99 audio controller and dsdt/audio device rename.
v1.0: 10/14/17 - cloverALC, AppleALC and MultiBeast support macOS, 10.8 to current. realtekALC, pikeralphaALC and AppleHDA8series, NUC.BRIX methods deprecated.

v3.3: 7/29/17 - X299 Audio Support, see Unsupported/Non-working/Non native .../2. X299
v3.2: 5/10/17 - 200 Series/Kaby Lake Audio Support, see below (temporary)
v3.1: 3/6/17 - ALC1220 Beta, see I. AppleHDA Realtek Scripts/4. cloverALC/Beta ...
v3: 8/17/16 - Initial 10.12/Sierra Support/cloverALC, see II. Realtek ALC AppleHDA Scripts
v2.5 - 4/8/16 - x99/AppleHDA.kext/10.11 support, see 2. X99/Intel High Definition Audio
v2.4 -1/25/16 - Uninstall Realtek ALC AppleHDA added
v2.3 - 1/18/16 - Audio/ALC Injection verification (Tools 3.)
v2.2 - 12/14/15 - audio_pikeralpha-110 (Clover version of Piker Alpha/AppleHDA8Series.sh)
v2.1 - 11/28/15 - MultiBeast 8, 100 Series/Skylake support (see Unsupported/Non-working Realtek ALC AppleHDA/1. 100 Series, below) and X99 update (see Unsupported/Non-working Realtek ALC AppleHDA/2. X99, below)
v2.0 - 7/10/2015: El Capitan/10.11.x Update, initial Public Beta support with audio_cloverALC-110 and audio_realtekALC-110 (v2.0 released)
v1.5 - 1/8/2015: audio_cloverALC-100/audio_realtekALC-100 (v1.0.4) release; 887/888 legacy detection, ALC1150 patch fix, Clover/Legacy support, bug fixes
v1.4 - 12/26/2014: Realtek ALC AppleHDA Guides updated, see More Information, below
v1.3 - 11/29/2014: MultiBeast 7.1/Optional HDAEnabler (kext) -> Audio ID: 1 and 2 added
v1.2 - 11/29/2014: BRIX/ALC269, BRIX Pro/ALC283 and NUC/ALC283 Support, see Note 5.
v1.1 - 11/15/2014: x99 audio - Deprecated - 11/28/15
v1.0 - 10/15/2014: Yosemite/10.10.x, Mavericks/10.9.x and Mountain Lion/10.8.x

II. AppleHDA Realtek Audio Methods - Required: a. native AppleHDA.kext, b. EFI mounted

1. cloverALC (c. SIP disabled, d. Clover and e. network required)​
Download/View Raw: audio_cloverALC.command.zip

  1. script
    • USER: set Audio ID
    • detects codec and controller
    • patch kernel cache
    • no edits to any native AppleHDA.kext file
    • 2-4 codec files added to Resources folder
    • injects pinconfigs
    • Clover only
  2. Double Click Downloads/audio_. . .ALC-x0. . .command
  3. Enter Password
  4. Answer questions (y/n)
  5. Success, restart
  6. If not, see X. Problem Reporting (below)
  7. cloverALC/Terminal Saved Output
    • 316581
2. vit9696/AppleALC - AppleALC (Any SIP, any bootloader)​
Downloads

  1. AppleALC
  2. Lilu

  1. Kexts
    1. AppleALC
    2. Lilu
      • patch kernel cache
  2. Install Downloads/AppleALC.kext and Lilu.kext to EFI/CLOVER/kexts/Other
  3. Restart
3. MultiBeast (Codec: see II. Before You Install Audio, below; c. SIP disabled and d. Clover required)​
Download Multibeast (Version 10.x)​

  1. Tool
    • Same technique as cloverALC
  2. Enter Password
  3. MultiBeast/Drivers > Audio > Realtek ALCxxx:
  4. Select Codec √ (see VI. Realtek Codecs, below)
    • Default, installs codec specific files into S/L/E/AppleHDA.kext/ and /L/E
    • ALC885/889a
    • ALC887/888b Legacy v100202 - Intel 4/5 Series motherboards
    • ALC887/888b Current v100302
    • ALC888 Legacy v100202 - Intel 4/5 Series motherboards
    • ALC888
    • ALC889
    • ALC892
    • ALC898
    • ALC1150
    • ALC1220
    • ALC1120A (ASUS ROG STRIX Only)
  5. As appropriate √ (see VII. Audio IDs, below)
    • USER: Default, sets config.plist/Devices/Audio/Inject/1 (Audio ID: 1)
    • Optional 3 Port (5.1) Audio, sets config.plist/Devices/Audio/Inject/2 (Audio ID: 2)
    • Optional HD 3000/HD 4000 HDMI Audio, sets config.plist/Devices/Audio/Inject/3 (Audio ID: 3)
    • 100 / 200 / 300 Series Audio, sets config.plist/ACPI/DSDT/Patches/Rename HDAS to HDEF (note: disables HDMI audio, use ssdt, see VIII. Audio ID Injection, below)
    • 300 Series /X299 Audio Device ID Patch, (MultiBeast 1.2 and newer) sets config.plist/KernelAndKextPatches/KextsToPatch for Kaby Lake audio controller (disables Skylake audio controller, must be removed when macOS natively supports Kaby Lake audio controller)
  6. MultiBeast/Build/Install
  7. Success, restart
  8. If not, see X. Problem Reporting (below)
I. AppleHDA Realtek Scripts
  1. Download script (select one script, Download/View Raw)
    1. audio_realtekALC.command.zip
      • patch kext in place
      • edits AppleHDA.kext binaries and adds files
      • run script after Software Update
      • Chameleon, Clover, Osmosis, others
    2. audio_pikeralphaALC.command.zip
      • patch kernel cache
      • native AppleHDA.kext (signed)
      • installs AppleHDAxxx.kext (ex., L/E/AppleHDA892.kext)
      • Not supported: ALC269, ALC283, ALC1220
      • Clover only
  2. Double Click Downloads/audio_. . .ALC-1x0. . .command
  3. Enter Password
  4. Answer questions (y/n)
  5. Restart
II. Additional AppleHDA Realtek Methods
  1. Piker-Alpha/AppleHDA8series Script - AppleHDA8Series.sh
  2. Download script (see README)
    1. Piker-Alpha/AppleHDA8Series.sh (10.10 working, 10.11/10.12 fix, see below)
      • patch alias
      • no edits to any native AppleHDA.kext file
      • installs AppleHDAxxx.kext (ex., S/L/E/AppleHDA892.kext)
      • Chameleon, Clover, Osmosis, Revoboot, others
  3. Terminal (Select one method)
    1. Clover/ALC audio
      • $ ./AppleHDA8Series.s
    2. ALC audio:
      • $ ./AppleHDA8Series.sh -b AppleHDA
    3. ALC audio and HD4600 HDMI audio:
      • $ ./AppleHDA8Series.sh -b AppleHDA -b AppleHDAController
  4. Enter Password
  5. ... choose desired codec: (1-7)
  6. ... layout-id (y/n)
  7. Answer questions (y/n)
  8. 10.11 fix, see Credit/lisai9093 (below)
  9. Restart
  10. Not supported: ALC269, ALC283, ALC1220
  11. Chameleon, Clover, Osmosis, others
III. Tools
  1. DPCIManager
  2. Audio/ALC Injection: audio_codecdetect.command.zip (select View Raw, double click)
  3. MaciASL
V. Requirements
  1. macOS (10.10 and newer, SIP)
    1. 10.10 and newer/Boot flags
      • Clover/config.plist/
        • Boot/Arguments/kext-dev-mode=1
  2. Intel Motherboards
    1. Desktop
      • 5 Series - P55, H55 ... (see VII. Unsupported ..., below)
    2. Workstation
      • X58
VIII. Audio ID Injection - Clover, dsdt, ssdt, kext; audio_ALCInjection
  1. HDEF/Clover/config.plist/Devices/Audio/Inject/Audio_ID
  2. HDEF/ssdt/layout-id = Audio_ID, see ssdt_hdef
    • Desktop/IORegistryExplorer/Search: HDEF, use with_ioreg:hdef
    • 100/220 Series/IORegistryExplorer/Search: HDAS, use 100-hdas
    • X299/IORegistryExplorer/Search: CAVS, use x299-cavs
    • X99/IORegistryExplorer/Search: ALSA, use x99-alsa
    • Desktop/IORegistryExplorer/Search: AZAL, use with_ioreg:azal
    • Legacy Desktop/IORegistryExplorer/Search: HDEF. no HDEF, use no_ioreg:hdef
  3. HDEF/dsdt/layout-id = Audio_ID
IX. Unsupported/Non-working AppleHDA Realtek Audio -300/200/100 Series, X299, X99, Other, Legacy
  1. 300/200/100 Series Intel High Definition Audio (Workaround requires 1, 2, 3, 4 or 5 and 6)
    1. Rename dsdt/HDAS to HDEF (Select one method)
      1. Clover: Download/config-audio_cloverALC+.plist.zip
        1. copy: config-audio_cloverALC+.plist/ACPI/DSDT/Patches/Item 0/100-200-300-Series-Rename HDAS to HDEF
        2. paste: to config.plist/ACPI/DSDT/Patches/
      2. ssdt injection (Any bootloader. Select Audio ID and install)
        1. Audio ID: 1, ssdt_hdef-1-100-hdas.zip
        2. Audio ID: 2, ssdt_hdef-2-100-hdas.zip
    2. Restart
    3. Install AppleHDA Realtek Audio (see I. ... Installation Methods)
    4. Add Z390/B360/H310/H370/Q370 Series/10.13 only HD Audio Controller device_id (Select one method)
      1. Clover: Download/config-audio_cloverALC+.plist.zip
        1. copy: config-audio_cloverALC+.plist/KernelAndKextPatches/KextsToPatch/Item 18/10.13-Coffee_Audio_Controller
        2. paste: to config.plist/KernelAndKextPatches/KextsToPatch
      2. Other methods:
        1. Quick Fix: 300 (B/H/Q) Series Coffee Lake Audio/Post #1
    5. Add Z370/200 Series/10.14, 10.13 and 10.12 only HD Audio Controller device_id (Select one method)
      1. Clover: Download/config-audio_cloverALC+.plist.zip
        1. copy: config-audio_cloverALC+.plist/KernelAndKextPatches/KextsToPatch/Item 15/10.12-Kaby_Audio_Controller
        2. paste: to config.plist/KernelAndKextPatches/KextsToPatch
      2. Other methods:
        1. Quick Fix: 200/Z370/X299/ Series Kaby Lake Audio/Post #1
        2. No Audio Devices - X299 / 200 Series / 300 Series Patcher
    6. Restart
  2. X299 Intel High Definition Audio (Workaround requires 1, 2, 3, 4 and 5), 10.12+/credit BJY1991
    1. Rename dsdt/CAVS to HDEF (Select one method)
      1. Clover: Download/config-audio_cloverALC+.plist.zip
        1. copy: config.plist/ACPI/DSDT/Patches/Item 1/X299-Rename CAVS to HDEF
        2. paste: to config.plist/ACPI/DSDT/Patches/
      2. ssdt injection (any bootloader):
        1. Audio ID: 1, install ssdt_hdef-1-x299-cavs.zip
    2. Restart
    3. Install AppleHDA Realtek Audio (see I. ... Installation Methods)
    4. Add X299/10.12.x/10.13.x HD Audio Controller device_id (Select one method)\
      1. Clover: Download/config-audio_cloverALC+.plist.zip
        1. copy: config-audio_cloverALC+.plist/KernelAndKextPatches/KextsToPatch/Item 15/10.12-Kaby_Audio_Controller
        2. paste: to config.plist/KernelAndKextPatches/KextsToPatch
      2. Other methods:
        1. Quick Fix: 200 Series/Kaby Lake Audio/Post #1
        2. No Audio Devices - X299 / 200 Series / 300 Series Patcher
    5. Restart
  3. X99 Intel High Definition Audio (Workaround requires 1, 2, 3, 4 and 5), 10.11+/credit bOLEMO
    1. Rename dsdt/ALZA to HDEF (Select one method)
      1. Clover: Download/config-audio_cloverALC+.plist.zip
        1. copy: config-audio_cloverALC+.plist/ACPI/DSDT/Patches/Item 2/X99-Rename ALZA to HDEF
        2. paste: to config.plist/ACPI/DSDT/Patches/
      2. ssdt injection (any bootloader):
        1. Audio ID: 1, install ssdt_hdef-1-x99_alza.zip
    2. Restart
    3. Install AppleHDA Realtek Audio (see I. ... Installation Methods)
    4. Add x99 HD Audio Controller device_id
      1. Clover: Download/config-audio_cloverALC+.plist.zi
        1. copy: config-audio_cloverALC+.plist/KernelAndKextPatches/KextsToPatch/Item 154/10.10-x99_Audio_Controller
        2. paste: to config.plist/KernelAndKextPatches/KextsToPatch
    5. Restart
  4. 887_v100101 and earlier
    1. Workaround: try 887 Legacy (v100201)
  5. 888_v100101 and earlier
    1. Workaround: try 888 Legacy (v100201)
  6. Asus P67H67 3xxx BIOS: Phantom codec
    1. Workaround: 2xxx BIOS downgrade, 7/8 Series motherboard upgrade
  7. MSI motherboards, pre Sandy Bridge
    1. Workaround: 6/7/8 Series motherboard upgrade
  8. AC97 (Front Panel)
    1. Workaround: HD Audio Front panel
XI. AppleHDA Realtek Audio - More Information; audio_ALC_guides
  1. Capabilities - Realtek ALC AppleHDA_v2 [Guide].pdf
    1. Audio_ID Configurations, Surround sound, audio popping, USB start up problem
  2. Screenshots - Realtek ALC AppleHDA_v2.pdf
    1. System Information/Audio/Intel High Definition Audio, System Preferences/Sound/Output
  3. No Audio Devices - Realtek ALC AppleHDA [Guide].pdf
    1. No audio devices, no sound, no codec
  4. No Sound - Realtek ALC AppleHDA [Guide].pdf
    1. Audio devices present, no sound when selected
  5. No Audio After Sleep/Wake - Realtek ALC AppleHDA [Fixes].pdf
    1. No audio devices on wake
X. Uninstall AppleHDA Realtek Audio
  1. realtekALC, remove:
    1. S/L/E/AppleHDA.kext and install the native AppleHDA.kext
  2. AppleALC,kext, remove:EFI/CLOVER/kexts/10.xx or other/AppleALC.kext
    1. EFI/CLOVER/kexts/10.xx or other/Lilu.kext
  3. pikeralphaALC, remove:L/E/AppleHDAxxx.kext (xxx is codec, i.e., AppleHDA892.kext)
    1. config.plist/.../KextsToPatch/AppleHDA (3x)
  4. pikeralpha AppleHDA8Series, remove:
    1. S/L/E/AppleHDAxxx.kext or L/E/AppleHDAxxx.kext (xxx is codec, i.e., AppleHDA892.kext)
XIII. No Boot/No Audio after Software Update - 10.13.2 and newer
After Install/Software Update: reboot, then install audio
No audio/No Boot > Kextcache Problem, see MultiBeast Audio Failure [Solved]

10.13.2+ Desktop after install/no audio (Do not run cloverALC):
  1. Terminal/sudo touch /System/Library/Extensions && sudo kextcache -u /
  2. Restart
10.13.2+ Boot fail after install/no boot:
  1. Boot: Clover/Select Single User (and Verbose, optional)
  2. return (root# appears)
  3. /sbin/mount -uw /
  4. touch /System/Library/Extensions
  5. kextcache -u /
  6. exit (boot continues to Desktop)
  7. Restart

Credit
bOLEMO, post #196, El Capitan: Realtek ALC AppleHDA Audio
lisai9093, Post #5, AppleHDA for El Capitan discussion
THe KiNG [HOW TO] Patch AppleHDA - Knowledge Base - Project OS X Forums
PikeRAlpha New style of AppleHDA.kext patching for Yosemite | Pike's Universum
abxite http://applelife.ru/...06/#post-353647
TimeWalker75a, Post # 20, No sound after waking from sleep
RevoGirl
 
Last edited:
Joined
Oct 7, 2017
Messages
5
CPU
Core i3 6600
Graphics
Gigabyte GTX 1050
Mac
MacBook Air
Mobile Phone
iOS
@toleda Thank you so much for this guide, I'm not gonna lie I was bit confused at first, but that's because I was impatient. The entire guide is spot on if you take a moment to read it through. Thanks again for all your help. I now have a fully working Hackintosh that I couldn't be more excited for. I bought a pair of Logitech Z200 (3.5mm) speakers that work perfectly now because of your guide. Keep up the good work!:headbang::headbang::headbang:
 
Joined
Jul 14, 2010
Messages
31
Motherboard
Intel DZ87KLT-75K
CPU
i7-4770K
Graphics
GTX 770
Mac
MacBook Pro
Mobile Phone
iOS
Fantastic Job!!! I had just soundflower in sound output and no sound from speakers but after using the first method CloverALC I have Internal Speaker, Line out, Digital Out and the soundflower in output list. I installed the original AppleHDA.kext with kextbeast and mount EFI then run the magical script. I have my hackmac sound back. Thanks toleda.
Screen Shot 2017-10-16 at 9.59.20 AM.png
 
Joined
Feb 18, 2011
Messages
24
Motherboard
HP Omen 15-dc0045nr
CPU
i7 8750H/HM370
Graphics
GTX 1070, 1920x1080
Mobile Phone
Android
View attachment 285763

IX. Unsupported/Non-working AppleHDA Realtek Audio - 100/200 Series, X299, X99
  1. 100/200 Series/Intel High Definition Audio (Workaround requires 1, 2, 3 and 4)
    1. Rename dsdt/HDAS to HDEF (Select one method)
      1. Clover: Download/config-audio_cloverALC-130.plist.zip
        • Add config.plist/ACPI/DSDT/Patches/Rename HDAS to HDEF
      2. ssdt injection (Any bootloader. Select Audio ID and install)
    2. Restart
    3. Install AppleHDA Realtek Audio (see I. ... Installation Methods)
      1. 200 Series/10.12.x only HD Audio device_id (Select one method)
    4. Restart
Last step (200 Series Audio Controller patch) only works if I patch <3d70a1> with <3df0a2> instead of just <70a1> with <f0a2>
Thanks for the great guide, now everything is working (New Build, MSI Z270 Tomahawk)
 
Last edited:

toleda

Moderator
Joined
May 20, 2010
Messages
24,301
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
iMac, MacBook Pro, Mac mini
Classic Mac
512K, LC, Power Mac
Mobile Phone
iOS
Last step (200 Series Audio Controller patch) only works if I patch <3d70a1> with <3df0a2> instead of just <70a1> with <f0a2>
Updated, thanks.
 
Last edited:
Joined
Feb 1, 2014
Messages
22
Motherboard
Gigabyte GA-H270M-D3H
CPU
Intel Gen 7 i5 7400
Graphics
Integrated Intel HD630
Mac
iMac
Thank you so much for the detailed guide.

I have been using AppleALC for my Realtek 892 (on GA-H270M-D3H board) and it works except the onboard S/PDIF digital out (choice is available on the panel but no sound output).

Do you think the CloverALC or MultiBeast method can fix this digital out issue?

Thanks!
 
Top