Contribute
Register

Audio - Realtek ALC AppleHDA [Guide]

Status
Not open for further replies.

toleda

Moderator
Joined
May 19, 2010
Messages
22,845
Motherboard
Asus Maximus VII Impact
CPU
Core 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
1606607351239.png

Audio - Realtek ALC AppleHDA [Guide]
Realtek ALC/Desktop: 269*, 283*, 885, 887, 888, 892, 898 and 1150 on board audio
(* BRIX/NUC only)
Supports macOS/OS X: 10.12, 10.11, 10.10, 10.9 and 10.8

This thread is deprecated, see AppleHDA Realtek Audio.

Enables OS X Realtek ALC on board audio for Intel desktop motherboards. El Capitan requires native AppleHDA.kext. Codec specific script edits binaries and installs specific files. Depending on user requirements, select appropriate Realtek ALC Installation Method.

Recommendations (native AppleHDA and Clover required)
  1. MultiBeast: determine installed audio codec before running MultiBeast.
  2. cloverALC: detects audio codec, verifies audio configuration and installs codec specific files.
Change Log
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

10.12 Only, see Quick Fix: 200 Series/Kaby Lake Audio
  1. 200 Series/Kaby Lake Audio Support (10.12.4 through 10.12.6)
  2. X299 Audio Support (10.12.6)
Before You Install Audio
  1. All methods/all macOS versions, 10.8 and newer, see Before You Install Audio/Post #1
  2. MultiBeast 8 and newer. 10.11 and newer, Before You Install Audio/MultiBeast/Post #2
Realtek ALC Installation Methods
  1. Audio codec/ALC Injection? audio_codecdetect.command.zip (Select View Raw, double click)
  2. Native AppleHDA.kext? Restore native AppleHDA [Guide].pdf
  3. Select one method appropriate to your system configuration (Clover patched or binary patched)
    1. all methods work; if no audio , see Troubleshooting/Problem Reporting (below)
    2. if the method does not work, no method will work
  4. Uninstall Realtek ALC AppleHDA, below
    1. remove method to install a different method
I. MultiBeast Realtek ALC AppleHDA (MultiBeast 8 and newer, same as cloverALC method)
  1. Download Multibeast
  2. Enter Password
  3. MultiBeast/Drivers > Audio > Realtek ALCxxx > √ ALCxxx
    1. Clover (config.plist/Devices/Audio/Inject/1 - Audio ID: 1, default)
    2. Select Codec √
      • ALC269 (BRIX only)
      • ALC283 (BRIXPro and NUC only)
      • ALC885/889a
      • ALC887/888b Legacy v100202
      • ALC887/888b Current v100302
      • ALC888 Legacy v100202
      • ALC888
      • ALC889
      • ALC892
      • ALC898
      • ALC1150
    3. As appropriate √
      • Optional 100/200 Series Audio (200 series, see, 10.12 Only above)
      • Optional 3 Port (5.1) Audio (Audio ID: 2)
      • Optional HD 3000/HD 4000 HDMI Audio (Audio ID: 3)
  4. MultiBeast/Build/Install
  5. Success, restart
  6. If not, see Troubleshooting/Problem Reporting (below)
II. Realtek ALC AppleHDA Scripts
  1. Download script (select one script, Download/View Raw)
    1. audio_cloverALC.command.zip
      • patch kernel cache
      • no edits to any native AppleHDA.kext file
      • 2-4 files added to Resources folder
    2. audio_realtekALC.command.zip(do not install with Clover bootloader)
      • patch kext in place
      • edits AppleHDA.kext binaries and adds files
      • run script after Software Update
    3. audio_pikeralphaALC.command.zip
      1. patch kernel cache
      2. native AppleHDA.kext (signed)
      3. installs AppleHDAxxx.kext (ex., L/E/AppleHDA892.kext)
      4. not supported: ALC269 and ALC283
    4. cloverALC/Beta/ALC1220/macOS 10.12.3 and newer/both versions supported
      1. audio_cloverALC-1220-120.command.zip
        1. ALC1220: 200 Series motherboards with 108 db SNR (device_id: 0x1168)
          • S1220A/Asus/ROG Strix Z2xx with 113 db SNR
        2. ALC1220S: premium 200 Series motherboards (device_id: 0x1220)
          • S1220/Asus/ROG Maximus IX ... with i2S output
          • 1220/Gigabyte/Z270X-... with 120 db SNR and Smart Headphone Amp
      2. Installation, same as 2-6, below, except:
        1. Additional questions:
          1. Confirm 200 Series audio (y/n), y
          2. Confirm ALC1200/S Beta files (y/n), y
  2. Double Click Downloads/audio_. . .ALC-....command
  3. Enter Password
  4. Answer questions (y/n)
  5. Success, restart
  6. If not, see Troubleshooting/Problem Reporting (below)
III. Additional AppleHDA Realtek Methods
  1. vit9696/AppleALC - AppleALC
    1. Downloads
      1. AppleALC_v1.1.2 or newer
      2. Lilu
    2. Install Downloads/AppleALC.kext and Lilu.kext to EFI/CLOVER/kexts/Other
    3. Restart
    4. Chameleon, Clover, Osmosis, others
  2. Piker-Alpha AppleHDA8series Script
    1. Download script (see README)
      1. Piker-Alpha/AppleHDA8Series.sh(10.10 working, 10.11TBA, 10.11 fix, see below)
        • patch alias
        • no edits to any native AppleHDA.kext file
        • installs AppleHDAxxx.kext (ex., S/L/E/AppleHDA892.kext)
    2. Terminal (select one)
      1. ALC audio/Clover patch:
        • $ ./AppleHDA8Series.sh
      2. ALC audio:
        • $ ./AppleHDA8Series.sh -b AppleHDA
      3. ALC audio and HD4600 HDMI audio:
        • $ ./AppleHDA8Series.sh -b AppleHDA -b AppleHDAController
    3. Enter Password
    4. ... choose desired codec: (1-7)
    5. ... layout-id (y/n)
    6. Answer questions (y/n)
    7. 10.11 fix, see Credit/lisai9093 (below)
    8. Success, restart
    9. If not, see Troubleshooting/Problem Reporting (below)
    10. Chameleon, Clover, Osmosis, others
Requirements
  1. OS X versions supported:
    1. Seirra/10.12+, see Notes 1 and 2, below
    2. El Capitan/10.11+, see Notes 1 and 2, below
    3. Yosemite/10.10+, see Notes 1 and 2, below
    4. Mavericks/10.9+
    5. Snow Leopard/10.8+
  2. Realtek ALC, one of the following Device_ID - Codec Name
    1. Supported motherboard on board audio codecs
      • 10ec0269 - ALC269
      • 10ec0283 - ALC283
      • 10ec0885 - ALC885/ALC889a
      • 10ec0887 (v100202 and v100302) - ALC887/ALC888b
      • 10ec0888 (v100202 and v100302) - ALC888/ALC888s
      • 10ec0889 - ALC889
      • 10ec0892 - ALC892
      • 10ec0899 - ALC898
      • 10ec0900 - ALC1150
      • 10ec1168 - ALC1220A
      • 10ec1220 - ALC1220
    2. Verification, see Notes 3, below
  3. Supported Audio-IDs (Audio_ID = layout-id), select one
    1. Audio IDs
      • Audio_ID: 1 - 3/5/6 port Realtek ALC onboard audio (default)
        • Inputs: Pink (motherboard/mb and front panel/fp), Blue (mb)
        • Outputs: Green (mb and fp), Orange (mb), Black (mb), Optical
      • Audio_ID: 2 - 3 port (5.1) Realtek ALC onboard audio
        • Inputs: Pink (fp)
        • Outputs: Green (mb and fp), Orange (Pink/mb), Black (Blue/mb), Optical
      • Audio_ID: 3 - 3/5/6 port Realtek ALC onboard audio with
        • HD3000/HD4000 HDMI audio only
        • Inputs: Pink (mb and fp), Blue (mb)
        • Outputs: Green (mb and fp), Black (mb), Optical
    2. Details
      • Audio_IDs: 1 and 2 support analog 5.1 surround sound, 3 does not
      • Audio_IDs: 1, 2 and 3 require HDMI audio dsdt edits/ssdts for HDMI audio
  4. Audio_ID Injection (Select one method)
    1. Supported Realtek ALC Injection methods, see toleda/audio_ALCInjection
      • HDEF/kext/No dsdt/HDAEnabler_.kext = Audio_ID (Deprecated)
      • HDEF/dsdt/layout-id = Audio_ID,
      • HDEF/ssdt/layout-id = Audio_ID, see ssdt_hdef
      • HDEF/Clover/Config.plist/Devices/Audio/Inject = Audio_ID
      • HDEF/Chameleon Installer/Customize/Setting/ (Deprecated)
        • HDAEnabler = Yes
        • HDEF Layout = 01000000 or 02000000 or 03000000
    2. Verification, see Notes 4, below
Notes
  1. OS X System Protection
    1. Sierra/10.12.x (Disable SIP, Mandatory)
    2. El Capitan/10.11.x (Disable SIP, Mandatory)
    3. Yosemite/10.10.x (Allow unsigned kexts)
      • Add (Mandatory): kext-dev-mode=1
      • Remove Kernel Flags/npci=0x3000
  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
    3. For MultiBeast/OS X/AppleHDA.kext version table
      1. Temporary Solution for Mavericks Audio Issues
  3. Audio Codec Verification/DPCIManager see Tools2.
    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 Tools3.
    1. Search: HDEF
    2. Locate: layout-id (right pane, scroll down)
    3. Verify:
      • <01 00 00 00> or
      • <02 00 00 00> or
      • <03 00 00 00>
  5. BRIX/ALC269, BRIX Pro/ALC283 and NUC/ALC283 Support
    1. Installation methods
      • MultiBeast
      • realtekALC/patch in place
      • cloverALC/Clover patched
    2. Audio Devices
      • ALC269 - BRIX/Headphones and SPDIF out
      • ALC283 - BRIX Pro and NUC Headphones/Microphone (iPhone headset is not supported)
      • HDMI audio with dsdt edits or ssdt: see HDMI Audio AppleHDA
Unsupported/Non-working/Non native Realtek ALC AppleHDA
  1. 100/200 Series/Intel High Definition Audio (Workaround requires 1, 2, 3, 4 and 5)
    1. 200 Series support: macOS/10.12.4 or newer
    2. Rename dsdt/HDAS to HDEF (Select one method)
      1. MultiBeast 8.2 and newer
        • Drivers > Audio > RealtekALCxxx > 100 Series Audio
        • Disables HDEF/HDMI audio ssdts
      2. Clover: Download config-audio_cloverALC-100series.plist.zip
        • Add config.plist/ACPI/DSDT/Patches/Rename HDAS to HDEF
        • Disables HDEF/HDMI audio ssdts
      3. ssdt injection (Any bootloader. Select Audio ID and install)
    3. Restart
    4. Install Realtek ALC Audio (see Realtek ALC Installation Methods)
    5. Restart
  2. X299/Intel High Definition Audio (Workaround requires 1, 2, 3 and 4), 10.12+/credit BJY1991
    1. Rename dsdt/CAVS to HDEF (Select one method)
      1. Clover: Download/config-audio_cloverALC-x299.plist.zip
        • Add config.plist/ACPI/DSDT/Patches/Item 0 (Rename CAVS to HDEF)
      2. ssdt injection (any bootloader):
    2. Restart
    3. Install Realtek ALC Audio (see Realtek ALC Installation Methods)
      1. X299/10.12.x onlyHD Audio device_id (Select one method)

    4. 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-x99.plist.zip
        • Add config.plist/ACPI/DSDT/Patches/Rename ALZA to HDEF
      2. ssdt injection (any bootloader):
    2. Restart
    3. Install Realtek ALC Audio (see Realtek ALC Installation Methods)
    4. Add x99 HD Audio device_id (Select one method)
      1. Clover: Download/config-audio_cloverALC-x99.plist.zip(Select one, appropriate version)
        • Add config.plist/KernelAndKextPatches/KextsToPatch/10.10-10.11+x99-ALC-Onboard-Audio
        • Add config.plist/KernelAndKextPatches/KextsToPatch/110.9.4-10.9.5-x99-ALC-Onboard-Audio
      2. Patched AppleHDA.kext (RealtekALC)
    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
Realtek ALC Speakers
  1. Audio ID: 1 and 3, match speaker connector color to same motherboard/case port color
  2. Audio ID: 2 (3 port motherboard audio)
    • Plug black connector into blue motherboard port for rear speakers
    • Plug green connector into green motherboard port for front speakers
    • Plug orange connector into pink motherboard port for center/sub speakers
    • Front panel: Match connector color to same case port color
Optional Installs
  1. 5.1/Surround Sound, see Surround Sound Realtek ALC AppleHDA
  2. Connect Audio Input to Audio Output
More Information - toleda/audio_ALC_guides
  • Realtek ALC AppleHDA.pdf
    • ex., Audio_ID Configurations, System Preferences/Sound/Output, System Information/Audio/Intel High Definition Audio
  • Customization.pdf
    • ex., Manual speaker and headphone selection, Substitute SPDIF-2 Wire Output
  • Surround Sound.pdf
    • ex,. Players, configurations, Analog, Optical, HDMI, USB
  • No Audio Devices.pdf
  • No Audio After Sleep/Wake.pdf
  • No Sound.pdf
Previous MultiBeast Editions - Patched AppleHDA.kext (match OS X/MultiBeast version)
Note: MultiBeast must be run after each Software update to restore Realtek ALCxxx audio

Yosemite/10.10.5/MultiBeast 7.5.0, Downloads - tonymacx86.com
  1. MultiBeast/Drivers/Audio/Realtek ALCxxx
    1. MultiBeast/Drivers > Audio > Realtek ALCxxx > √ ALC
      1. Clover (config.plist/Devices/Audio/Inject/1)
        1. plus √ Optional EFI Installed Bootloader Support
      2. Chameleon
        1. plus √ Optional HDAEnabler > Audio ID: 1 (if required)
    2. MultiBeast/Build/Install
    3. Enter Password
    4. Restart
Mavericks/10.9.5/MultiBeast 6.5.1, see Downloads - tonymacx86.com
  1. MultiBeast/Drivers/Audio/Realtek ALCxxx
    1. MultiBeast/Select:
      1. Clover (config.plist/Devices/Audio/Inject/1 (or 2, or 3)
        1. Drivers > Audio > Realtek ALCxxx > With DSDT √ ALC
      2. Chameleon (installs HDAEnabler1.kext)
        1. Drivers > Audio > Realtek ALCxxx > Without DSDT √ ALC
    2. MultiBeast/Install
    3. Enter Password
    4. Restart
Mountain Lion/10.8.5/MultiBeast 5.5.5, see Downloads - tonymacx86.com
MultiBeast Archives (all other versions), Downloads - tonymacx86.com

Previous OS X Versions
  1. Mavericks: Audio - Realtek ALC AppleHDA [Guide]
  2. Mountain Lion: Optimized AppleHDA for Realtek ALC8xx
Uninstall Realtek ALC AppleHDA
  1. MultiBeast 8.0+, remove:
    1. S/L/E/AppleHDA.kext and install the native AppleHDA.kext
      1. or S/L/E/AppleHDA.kext/Contents/Resources/layout1.zml.zlib, layout2.zml.zlib, layout3.zml.zlib, Platforms.ml.zlib
    2. config.plist/.../KextsToPatch/AppleHDA (3x)
    3. L/E/realtekALC.kext
  2. cloverALC, remove:
    1. Install native AppleHDA.kext with a kext installer (KextBeast)
      1. or S/L/E/AppleHDA.kext/Contents/Resources/layout1.zml.zlib, layout2.zml.zlib, layout3.zml.zlib, Platforms.zml.zlib
    2. config.plist/.../KextsToPatch/AppleHDA (3x)
    3. EFI/CLOVER/kexts/10.xx or other/realtekALC.kext
  3. pikeralphaALC, remove:
    1. L/E/AppleHDAxxx.kext
    2. config.plist/.../KextsToPatch/AppleHDA (2x)
  4. realtekALC, remove:
    1. S/L/E/AppleHDA.kext and install the native AppleHDA.kext
  5. AppleALC.kext, remove:
    1. EFI/CLOVER/kexts/10.xx or other/AppleALC.kext
    2. EFI/CLOVER/kexts/10.xx or other/Lilu.kext
  6. Piker-Alpha AppleHDA8Series, remove:
    1. S/L/E/AppleHDAxxx.kext or L/E/AppleHDAxxx.kext
  7. MultiBeast/pre 8.0, remove:
    1. S/L/E/AppleHDA.kext and install the native AppleHDA.kext
Tools
  1. DPCIManager
  2. IORegistry Explorer (choose one)
    1. IORegistryExplorer_v2.1.zip
    2. IOJones
  3. Audio/ALC Injection: audio_codecdetect.command.zip
  4. Kext Install utilities, i.e., Kext Wizard, Kext Utility, DPCIManager, etc.
Troubleshooting/Problem Reporting (Posts to this thread reporting problems will be removed, post to the thread linked, do not post a new thread)
  1. No Audio Devices - Realtek ALC AppleHDA
  2. No Sound - Realtek ALC AppleHDA
  3. No Audio After Sleep/Wake - Realtek ALC AppleHDA
Credit
THe KiNG [HOW TO] Patch AppleHDA - Knowledge Base - Project OS X Forums (archived).
PikeRAlpha New style of AppleHDA.kext patching for Yosemite | Pike's Universum
abxite http://applelife.ru/...06/#post-353647
lisai9093 AppleHDA for El Capitan discussion
OLEMO, post #196, El Capitan: Realtek ALC AppleHDA Audio
RevoGirl
 
Last edited by a moderator:
Z77-DS3H, rev 1.0 -- I did patch-in-place of AppleHDA -- thanks, toleda, that was great. But then no sound after sleep. Used the app you recommended in another post, CodecCommander, and all is well, working flawlessly.
 
Updates:
v1.3 - 11/29/2014: MultiBeast 7.1/Optional HDAEnabler (kext) -> Audio ID: 1 and 2 added
v1.2 - 11/29/2014: MultiBeast 7.1/BRIX/ALC269, BRIX Pro/ALC283 and NUC/ALC283 Support added
v1.1 - 11/15/2014: x99 audio, see Post #1
 
Thanks Toleda and others!

I used cloverALC/Clover patched with:
  • Yosemite 10.10.1
  • Clover r3033
  • GigaByte Z97X-UD3H-BK (ALC1150) - Audio_ID: 1
:thumbup:
 
Thank you toleda and others who worked on this!

I have been having issues with audio and this new version with ALC1150 and Audio_ID: 1 chosen in Multibeast fixes all audio issues.

Thanks!
 
Thanks for the guide, worked on my GA-x79-UD5 with Yosemite !!
 
More Information - toleda/audio_ALC_guides

[*]Customization - Realtek ALC AppleHDA_v2 [Guide].pdf

  • ex., Manual speaker and headphone selection, Substitute SPDIF-2 Wire Output


from the PDF:
7. Substitute SPDIF-2 Wire Output: Replaces SPDIFOut Optical with motherboard SPDIF 2 wire SPDIF audio output device
(the Gigabyte GA-p97x-ud7 th doesn't have COAX/RCA S/PDIF out, so that's not an option)

8. SPDIF OpticalOut/Encoded Digital Audio - Not supported in 10.10+/10.9+

So, are you saying S/PDIF TOSLINK (optical) will not work at all with ALC1150?


Thanks.
 
the Gigabyte GA-p97x-ud7 th doesn't have COAX/RCA S/PDIF out, so that's not an option

So, are you saying S/PDIF TOSLINK (optical) will not work at all with ALC1150?
It is an option, motherboard spec/Internal IO Connectors:
12. 1 x S/PDIF Out header
Purchase an adapter
Use Procedure 7. Substitute SPDIF-2 Wire Output in the Customization guide

No, specific players support Encoded Digital Audio over optical, see Surround Sound Realtek ALC AppleHDA
 
Status
Not open for further replies.
Back
Top