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:
    20,594
    Mobo:
    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:
    20,594
    Mobo:
    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.1 - 10/14/2017: High Sierra Update

    v1.0 - 4/19/2017: Initial Release

    Requirements
    • Clean macOS install (recommended)
      • Otherwise, remove any previously failed audio methods
    • Native AppleHDA.kext
    • IOReg/HDEF
    • Audio ID: 1, 2, or 3 (not 0)
    • BIOS/.../Peripherals/Intel High Definition Audio/Enabled
    Installation
    • SIP disabled
    • 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. Disable SIP (10.11 and newer, if enabled)
      1. Clover: config.plist/RtVariables/CsrActiveConfig/0x3 or 0x67
      2. Restart
    4. Mount EFI partition (Clover only)
      1. Community Software/EFI Mounter v3
    5. Unsupported Audio/AppleHDA (if supported, proceed to 6. IOReg/HDEF)
      1. Not supported
        • 100/200 Series Audio: HDAS
        • X299 Audio: CAVS
        • X99 Audio: ALSA
        • 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: CodecDevice (if HDEF@1B or HDEF@1F,3 present, proceed to 7. Realtek Codec)
        1. IOReg Search: HDAS/ALSA/AZAL, etc. (ignore HDAU)
          • Fix failed, try another method, see 5. IX. Unsupported/Non-working AppleHDA Realtek Audio
          • Note: audio installation fails with no codec detected
        2. IOReg/CodecDevice screenshot Screen Shot 2017-04-18 at 2.42.48 PM.png
    7. 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
    8. 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
          1. See 9. 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
    9. Audio_ID Injection (if layout-id is 1, 2, or 3, skip to 10. Ready to install audio)
      1. Supported: ssdt recommended, Clover, dsdt edits
        1. Install Audio ID injection
        2. Restart
      2. Verify: audio_codecdetect.command.zip (select View Raw, double click)
        1. If Audio ID: 0, Audio ID injection not working; try another method
      3. Methods:AppleHDA Realtek Audio/Post #1/VIII. Audio ID Injection
    10. Ready to install audio, see Installation/Methods (above)
     
    Last edited: Oct 15, 2017 at 3:01 AM
  2. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    20,594
    Mobo:
    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:
    20,594
    Mobo:
    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. Clover: config.plist/RtVariables/CsrActiveConfig/0x3 or 0x67
      2. 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 6. Realtek Codec)
        1. Screenshot - IOReg/Search: HDEF (HDEF@1B or HDEF@1F,3 valid): Screen Shot 2017-04-18 at 2.42.18 PM.png
      3. 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
      4. If no HDEF, installing MultiBeast audio will fail
        1. See Problem Reporting, Post #1; full stop
    6. Realtek Codec
      1. Supported/Codec Name (Device ID):
        • 885/889a (0885)
        • 887/888b (0887)
        • 888/888s (0888)
        • 889 (0889)
        • 892 (0892)
        • 898 (0899)
        • 1150 (0900)
        • 1220 (1220)
        • 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
    7. Ready to install MultiBeast audio
    Install MultiBeast Audio (previous selections are not preserved)
    1. MultiBeast > Drivers > Audio > RealtekALCxxx
      1. √ ALC Codec Name
      2. √ 100 Series Audio (if 100/200 Series motherboard)
      3. Options (Audio ID: 1, 2 or 3)
        1. None (Audio ID: 1)
          • Inputs: Pink (motherboard/mb and front panel/fp), Blue (mb)
          • Outputs: Green (mb and fp), Orange (mb), Black (mb), Optical
        2. √ Optional 3 Port (5.1) Audio (Audio ID: 2)
          • Inputs: Pink (fp)
          • Outputs: Green (mb and fp), Orange (Pink/mb), Black (Blue/mb), Optical
        3. √ Optional HD3000/HD4000 HDMI Audio (Audio ID: 3)
          • Inputs: Pink (mb and fp), Blue (mb)
          • Outputs: Green (mb and fp), Black (mb), Optical
      4. Screenshot/MultiBeast > Drivers > Audio: Screen Shot 2017-04-18 at 3.14.41 PM.png
    2. Build
    3. Install
    4. Restart
     
    ep9es likes this.
    Last edited: Oct 15, 2017 at 2:57 AM
  3. CarluenaDoctor

    CarluenaDoctor

    Joined:
    May 22, 2017
    Messages:
    105
    Mobo:
    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:
    105
    Mobo:
    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:
    20,594
    Mobo:
    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:
    20,594
    Mobo:
    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:
    105
    Mobo:
    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:
    105
    Mobo:
    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:
    20,594
    Mobo:
    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:
    20,594
    Mobo:
    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:
    105
    Mobo:
    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:
    105
    Mobo:
    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:
    44
    Mobo:
    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:
    44
    Mobo:
    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:
    105
    Mobo:
    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:
    105
    Mobo:
    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
    Mobo:
    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
    Mobo:
    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