Before You Install Audio - Desktop/Realtek/AppleHDA [Guide]

Discussion in 'Audio' started by toleda, Apr 19, 2017.

  1. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    22,790
    Motherboard:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Apr 19, 2017 at 4:55 AM #1
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    22,790
    Motherboard:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    [​IMG]
    MacOS/Desktop/Realtek/Audio Success/First Steps


    macOS has not natively supported any Realtek audio codecs since the MacPro3,1/ALC885. Codec specific BIOS and OS binary edits enable nearly native macOS audio. There are many macOS audio solutions, however, all solutions require BIOS edits. This guide identifies the necessary steps to ensure macOS audio success on the first try.

    Change Log
    v1.2 - 4/25/2018: Coffee Lake audio support

    v1.1 - 10/14/2017: High Sierra Update
    v1.0 - 4/19/2017: Initial Release

    Requirements
    • BIOS/.../Peripherals/Intel High Definition Audio/Enabled
    • Clean macOS install (recommended)
      • Otherwise, remove any previously failed audio methods
    • Native AppleHDA.kext
    • IOReg/HDEF
    • Audio ID: 1, 2, or 3 (not 0)
    Installation
    • SIP disabled (If SIP enabled, disable and restart)
    • EFI partition mounted
    • Methods/cloverALC, AppleALC (MultiBeast, see Post #2)
    • Restart
    IOReg
    Problem Reporting
    For MultiBeast/Desktop/Realtek see Post #2/Before You Install Audio: MultiBeast ...

    All Methods
    Before You Install Audio: All Methods/Desktop/Realtek

    All macOS versions, 10.8 and newer
    1. Remove previous installed methods (skip, if clean install)
      1. AppleHDA Realtek Audio/Post #1/X. Uninstall AppleHDA Realtek Audio
    2. Native AppleHDA required (skip, if clean install)
      1. Restore native AppleHDA [Guide].pdf
    3. Mount EFI partition (Clover only)
      1. Community Software/EFI Mounter v3
    4. Disable SIP (10.11 and newer, if enabled)
      1. Explaining OS X El Capitan Security Changes
      2. Clover: config.plist/RtVariables/CsrActiveConfig/0x3 or 0x67
      3. Restart
    5. Unsupported Audio/AppleHDA (if supported, proceed to 6. IOReg/HDEF)
      1. Not supported
        1. 300/200/100 Series Audio: HDAS
        2. X299 Audio: CAVS
        3. X99 Audio: ALSA
        4. Legacy Audio: AZAL
      2. Fixes: AppleHDA Realtek Audio/Post #1/IX. Unsupported/Non-working AppleHDA Realtek Audio
      3. Install fix
      4. Restart
      5. Return to 4. Mount EFI partition
    6. IOReg/HDEF
      1. Supported: HDEF
      2. IOReg/Search: HDEF, (if HDEF@1B or HDEF@1F,3 present, proceed to 7. IOReg/CodecDevice)
      3. IOReg Search: HDAS/ALSA/AZAL, etc. (ignore HDAU)
        1. Fix failed, remove; try another method, see 5. Unsupported Audio/2. Fixes (above)
      4. Install fix
      5. Restart
      6. Return to 3. Mount EFI partition
    7. IOReg/CodecDevice
      1. Supported: AppleHDAController
      2. IOReg/Search: CodecDevice (if CodecDevice present, proceed to 8. Realtek Codec)
      3. IOReg/CodecDevice screenshot Screen Shot 2017-04-18 at 2.42.48 PM.png
      4. If no CodecDevice
        1. 300 (B/H/Q) Series motherboards, see Quick Fix: 300 (B/H/Q) Series Coffee Lake Audio
        2. Z370/X299/200 Series motherboards, see Quick Fix: Z370/200/X299/ Series Kaby Lake Audio
      5. Install fix
      6. Restart
      7. Return to 3. Mount EFI partition
    8. Realtek Codec (detected by cloverALC, realtekALC, pikeraokhaALC, and AppleALC, skip)
      1. Supported: 885, 887, 888, 889, 892, 898, 1150, 1220
      2. IOReg/Search: CodecDevice (note IOHDACodecVendorID)
        1. Realtek: 0x10ec
        2. Codec/Device ID: 0900 (ALC1150)
        3. If no 0x10ec, not supported; full stop
      3. Verify: AppleHDA Realtek Audio/Post #1/VI. Realtek Codecs
    9. Audio_ID (determine Audio ID, set Audio ID Injection, restart, verify)
      1. Supported: 1 (recommended), 2 (3 port/5.1), or 3 (HD3000/HD4000 HDMI audio)
      2. IOReg/Search: HDEF, note lHDEF/layout-id
        1. OK (Audio ID/decimal = layout-id/hex)
          1. 01 00 00 00
          2. 02 00 00 00
          3. 03 00 00 00
        2. NOK: 00 00 00 00 or greater than 5
          • See 10. Audio ID Injection
        3. IOReg/HDEF/layout-id screenshot Screen Shot 2017-04-18 at 2.42.18 PM.png
      3. Verify: AppleHDA Realtek Audio/Post #1/VII. Audio IDs
    10. Audio_ID Injection (if layout-id is 1, 2, or 3, skip to 12. Ready to install audio
      1. Supported: audio ssdt, Clover, dsdt edits
      2. Methods: AppleHDA Realtek Audio/Post #1/VIII. Audio ID Injection
      3. Install fix
      4. Restart
      5. Return to 9. Audio_ID
    11. Any changes, restart
    12. Ready to install audio, see Installation/Methods (above)
     
    SeBaez, afiezie, ep9es and 3 others like this.
    Last edited: Apr 25, 2018
  2. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    22,790
    Motherboard:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Apr 30, 2017 at 1:57 AM #2
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    22,790
    Motherboard:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    MultiBeast
    Before You Install Audio: MultiBeast/Desktop/Realtek

    All macOS versions, 10.11 and newer
    1. Remove previous installed methods (skip, if clean install)
      1. AppleHDA Realtek Audio/Post #1/X. Uninstall AppleHDA Realtek Audio
    2. Native AppleHDA required (skip, if clean install)
      1. Restore native AppleHDA [Guide].pdf
    3. Disable SIP (10.11 and newer, if enabled)
      1. Explaining OS X El Capitan Security Changes
      2. Clover: config.plist/RtVariables/CsrActiveConfig/0x3 or 0x67
      3. Restart
    4. Mount EFI partition (Clover only)
      1. Community Software/EFI Mounter v3
    5. IOReg/HDEF
      1. Supported: HDEF
      2. IOReg/Search: HDEF (if HDEF present, proceed to
      3. 6. IOReg/CodecDevice)
        1. Screenshot - IOReg/Search: HDEF (HDEF@1B or HDEF@1F,3 valid): Screen Shot 2017-04-18 at 2.42.18 PM.png
      4. IOReg/Search: HDAS
        1. if HDAS present, install one HDAS > HDEF method (A or B, below)
        2. Restart
        3. Return to 4. Mount EFI partition
      5. If no HDEF, installing MultiBeast audio will fail
        1. See Problem Reporting, Post #1; full stop
    6. IOReg/CodecDevice
      1. Supported: AppleHDAController
      2. IOReg/Search: CodecDevice (if CodecDevice present, proceed to 7. Realtek Codec)
      3. If no CodecDevice
        1. 300 (B/H/Q) Series motherboards
        2. Z370/200/X299 Series motherboards
          • MultiBeast 10.2 and newer: MultiBeast > Drivers > Audio > RealtekALCxxx >
          • √ 200 / 300 Series /X299 Audio Device ID Patch
      4. Install fix
      5. Restart
      6. Return to 3. Mount EFI partition
    7. Realtek Codec
      1. Supported/Codec Name (Device ID):
        1. 885/889a (0885)
        2. 887/888b (0887)
        3. 888/888s (0888)
        4. 889 (0889)
        5. 892 (0892)
        6. 898 (0899)
        7. 1150 (0900)
        8. 1220 (1220)
        9. 1220A (1168)
      2. IOReg/Search: CodecDevice (note IOHDACodecVendorID)
        1. Realtek: 0x10ec
          • If no 0x10ec, not supported; full stop
        2. Codec/Device ID: 0900 (ALC1150)
          • If codec not in list above, not supported; full stop
        3. Determine Codec Name from Codec Device ID
        4. Screenshot - IOReg/Search: CodecDevice: Screen Shot 2017-04-18 at 2.42.48 PM.png
    8. Any changes, restart
    9. Ready to install MultiBeast audio
    Install MultiBeast Audio (previous selections are not preserved)
    1. Restart, see MultiBeast Audio Failure [Solved]
    2. MultiBeast > Drivers > Audio > RealtekALCxxx
      1. √ ALC Codec Name
        • manufacturer/motherboard web page/Specifications/Audio/Realtek ALCxxx codec
          • no Realtek codec, try MultiBeast > Drivers > Audio > Voodoo
        • only one solution works, trial and error always fails
        • Legacy, 4 Series motherboards and previous
      2. √ 100 / 200 / 300 Series Audio
        • do not select, 5/X58/6/7/X79/8/9/X99 Series motherboards
      3. √ 200 / 300 Series /X299 Audio Device ID Patch
        • do not select, 5/X58/6/7/X79/8/9/X99/100 Series motherboards
        • ignore when macOS native Kaby Lake audio controller support is available
      4. Options (Audio ID: 1, 2 or 3)
        • None (Audio ID: 1)
          • default, works with all motherboards
          • Inputs: Pink (motherboard/mb and front panel/fp), Blue (mb)
          • Outputs: Green (mb and fp), Orange (mb), Black (mb), Optical
        • √ Optional 3 Port (5.1) Audio (Audio ID: 2)
          • do not select, motherboard with 5 or 5 audio ports
          • Inputs: Pink (fp)
          • Outputs: Green (mb and fp), Orange (Pink/mb), Black (Blue/mb), Optical
        • √ Optional HD3000/HD4000 HDMI Audio (Audio ID: 3)
          • 6/7 Series motherboards only
          • Inputs: Pink (mb and fp), Blue (mb)
          • Outputs: Green (mb and fp), Black (mb), Optical
      5. Screenshot/MultiBeast 10.2 > Drivers > Audio: Screen Shot 2017-12-19 at 6.06.32 PM.png
    3. Build
    4. Install
    5. Restart
     
    AlfredBackersohn, timw0650 and ep9es like this.
    Last edited: Apr 25, 2018
  3. CarluenaDoctor

    CarluenaDoctor

    Joined:
    May 22, 2017
    Messages:
    104
    Motherboard:
    ASUS Z170I Pro Gaming (Mini-ITX)
    CPU:
    i5-6600K
    Graphics:
    Nvidia GTX 1050Ti (4GB)
    Mac:
    iMac
    Mobile Phone:
    iOS
    May 28, 2017 at 7:34 PM #3
    CarluenaDoctor

    CarluenaDoctor

    Joined:
    May 22, 2017
    Messages:
    104
    Motherboard:
    ASUS Z170I Pro Gaming (Mini-ITX)
    CPU:
    i5-6600K
    Graphics:
    Nvidia GTX 1050Ti (4GB)
    Mac:
    iMac
    Mobile Phone:
    iOS
    Hi, my mobo has "7.1 CH HD Audio with Content Protection (Realtek ALC892 Audio Codec)"

    Is this one

    upload_2017-5-28_20-32-49.png

    So, I think that the green is for audio speakers output and the pink for a microphone.

    ¿How do I install the drivers for them to work? I am very very very new to this .kext world
     
  4. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    22,790
    Motherboard:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    May 28, 2017 at 10:21 PM #4
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    22,790
    Motherboard:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
  5. CarluenaDoctor

    CarluenaDoctor

    Joined:
    May 22, 2017
    Messages:
    104
    Motherboard:
    ASUS Z170I Pro Gaming (Mini-ITX)
    CPU:
    i5-6600K
    Graphics:
    Nvidia GTX 1050Ti (4GB)
    Mac:
    iMac
    Mobile Phone:
    iOS
    May 28, 2017 at 10:26 PM #5
    CarluenaDoctor

    CarluenaDoctor

    Joined:
    May 22, 2017
    Messages:
    104
    Motherboard:
    ASUS Z170I Pro Gaming (Mini-ITX)
    CPU:
    i5-6600K
    Graphics:
    Nvidia GTX 1050Ti (4GB)
    Mac:
    iMac
    Mobile Phone:
    iOS
    Sorry for my not understanding, is there any tutorial for unexperienced people on installing the ALC892 audio ?

    Is any difference on using a 5.1 audio vs a 7.1 only using Left and Right and no 6-8 speakers?

    Edit: I am only using HDMI for image, I have a mini stereo configuration

    [​IMG]
     
  6. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    22,790
    Motherboard:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    May 28, 2017 at 10:40 PM #6
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    22,790
    Motherboard:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Big difference, 2 speakers = stereo only. 2nd notice, off topic.
    MultiBeast/892 audio, see Post #2.
    Not working, see Post #1/Problem Reporting
     
  7. CarluenaDoctor

    CarluenaDoctor

    Joined:
    May 22, 2017
    Messages:
    104
    Motherboard:
    ASUS Z170I Pro Gaming (Mini-ITX)
    CPU:
    i5-6600K
    Graphics:
    Nvidia GTX 1050Ti (4GB)
    Mac:
    iMac
    Mobile Phone:
    iOS
    May 28, 2017 at 10:53 PM #7
    CarluenaDoctor

    CarluenaDoctor

    Joined:
    May 22, 2017
    Messages:
    104
    Motherboard:
    ASUS Z170I Pro Gaming (Mini-ITX)
    CPU:
    i5-6600K
    Graphics:
    Nvidia GTX 1050Ti (4GB)
    Mac:
    iMac
    Mobile Phone:
    iOS
    Will try, thx for the supporting!

    Best hackintosh community :)
     
  8. OlliverAira

    OlliverAira

    Joined:
    Apr 6, 2017
    Messages:
    58
    Motherboard:
    Asus Z-170 A
    CPU:
    i5-6500
    Graphics:
    MSI GeForce GTX 1060 OC
    Jul 4, 2017 at 7:54 AM #8
    OlliverAira

    OlliverAira

    Joined:
    Apr 6, 2017
    Messages:
    58
    Motherboard:
    Asus Z-170 A
    CPU:
    i5-6500
    Graphics:
    MSI GeForce GTX 1060 OC
    Hi, how did you fix your audio? I have a little bit hard understanding this tutorial
     
  9. CarluenaDoctor

    CarluenaDoctor

    Joined:
    May 22, 2017
    Messages:
    104
    Motherboard:
    ASUS Z170I Pro Gaming (Mini-ITX)
    CPU:
    i5-6600K
    Graphics:
    Nvidia GTX 1050Ti (4GB)
    Mac:
    iMac
    Mobile Phone:
    iOS
    Jul 4, 2017 at 8:14 AM #9
    CarluenaDoctor

    CarluenaDoctor

    Joined:
    May 22, 2017
    Messages:
    104
    Motherboard:
    ASUS Z170I Pro Gaming (Mini-ITX)
    CPU:
    i5-6600K
    Graphics:
    Nvidia GTX 1050Ti (4GB)
    Mac:
    iMac
    Mobile Phone:
    iOS
    Sorry, I didn't, my mobo wasn't working and I bought a different one. It was a faulty one..
     
  10. Boontang99

    Boontang99

    Joined:
    Jun 18, 2017
    Messages:
    18
    Motherboard:
    Asus Z-170 Sabertooth
    CPU:
    Intel i5-6600k
    Graphics:
    GTX 970
    Mobile Phone:
    iOS
    Jul 13, 2017 at 3:15 PM #10
    Boontang99

    Boontang99

    Joined:
    Jun 18, 2017
    Messages:
    18
    Motherboard:
    Asus Z-170 Sabertooth
    CPU:
    Intel i5-6600k
    Graphics:
    GTX 970
    Mobile Phone:
    iOS
    How is step 5 completed? Where do I have to go to get to IOReg/HDEF?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice