• Become a Premium Member for $25/year with no ads to improve your community experience.

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
8,169
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
13.x
Bootloader
  1. OpenCore (UEFI)
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Fix Audio Distortion when using Headphones on Laptops [Clover/OpenCore]

An EliteMacx86 Exclusive Guide - This guide covers fixing of Audio Distortion when using Headphones on Laptops using Clover and OpenCore.

Overview


After enabling the Audio, you might encounter audio distortion/crackling sound when using headphones on laptops. To fix this issue, follow the steps below.

Some Audio Codecs which requires this fix
  • Realtek ALC233/ALC3236
  • Realtek ALC236
  • Realtek ALC255
  • Realtek ALC256/ALC3246
  • Realtek ALC292
  • Realtek ALC294
  • Realtek ALC298
  • Realtek ALC299
Using VoodooHDA, this can be fixed for most of the times. But as per the laptop FAQ, VoodooHDA is not recommended.

STEP 1: Add Required Kext

The very first step is to install the required kext in order to fix the distortion.

1. Download CodecCommander.kext.
2. Extract the kext from the Release folder.
3. Mount your ESP.

For Clover:

If you're using Clover, copy the kext to EFI/Clover/Kext/Others directory.

For OpenCore:

1. If you're using OpenCore, copy the kext to the EFI/OC/Kexts directory.
2. Open your config.plist and add CodecCommander.kext entry in the Kernel>Add section of your config.plist.

STEP 2: Install HDAVerb

The next step is to install the HDAVerb which will update the pin widget control when using Headphones.

1. From the Release folder of CodecCommander you extracted in STEP#1, copy hda-verb to the /Users/YourUserName/ directory.

STEP 3: Installing Jack Fix

The next step is to install the Jack Fix script which will execute the command silently in the background.

1. Download the Jack Fix script attached below.
2. Open the Jack Fix script using any text editor.
3. Replace YourUserName with your actual username in line 2 and line 3.
4. Save changes to the script.
5. Copy the Jack Fix script to the/Users/YourUserName/ directory.

STEP 4: Execute Jack Fix

Now the next step is to execute the Jack Fix script.

1. Double-click on the Jack Fix to execute the script.
2. Monitor the Audio, and execute the script. The distortion should be fixed now.


Note:
This will also fix switching issues for Headphones and Microphone Outputs. The script works for AppleHDA, AppleALC, CloverHDA, ADummyHDA and VoodooHDA.


Q. Is there any way to execute/run this script automatically?
A. Yes. In System Preferences, go to Users & Groups, select Login items, add Jack Fix to Login Items.

Screen Shot 2019-03-29 at 6.55.51 AM.png

Problem Reporting

Details
  1. Audio Codec
  2. macOS version/CPU/GPU
  3. Copy of IOReg
  4. Method used for enabling Audio
  5. Installed CodecCommander.kext
  6. Kextcache output
Screen shots:
  • DPCIManager/Status
  • System Information/Hardware/Audio/Intel High Definition Audio (All available devices)
  • System Preferences/Sound/Output
  • System Preferences/Sound/Input
Files:
  • For Clover, compress EFI/Clover, exclude the themes folder.
  • For OpenCore, compress EFI/OC.
Notes:
  • Do not include complete EFI folder.
  • Put all files in a folder with your name, compress files as Zip and attach files using site attachments only.
  • Do not use any external links.

Credits:
EliteMacx86
RehabMan
Mahmoud
St0kki
 

Attachments

Last edited:
It really works!!!
 
  • Like
Reactions: Mirone
It works like a charm. Just what I needed. Today I got audio in Mojave Thanks to this wonderful site, Mirone's AppleHDA patcher, and Rehadman CodeC Comander, and credits to the Jack fix developer, I don't know who is.
 
Last edited by a moderator:
  • Like
Reactions: EliteMacx86
It works like a charm. Just what I needed. Today I got audio in Mojave Thanks to this wonderful site, Mirone's AppleHDA patcher, and Rehadman Code Comander, and credits to the Jack fix developer, I don't know who is.
Thanks for the appreciation. A long time ago, i had this issue so began to test with friend's laptops which had same issue. I tried to search and when debugging, i found the what was causing it and finally got the idea from the CodecCommander. Wrote a script and it works like a charm. EliteMacx86, Admin of EliteMacx86 forums is the developer of this fix. As it was a Jack related issue so i choose the name as "Jack Fix" and yes, it does the job. Happy to share.
 
  • Like
Reactions: decros
I made some minor changes and I posted HERE I hope you do not mind.
thanks bro!
It has been so long!
That's great. As long as the original guide is linked and credit is given, i'm ok with it.
:)
 
  • Like
Reactions: Mirone
@EliteMacx86.
you're right, credits and links are fixed there.
 
  • Like
Reactions: EliteMacx86
Hey just wanted to say, this guide worked for me on my Alienware R5 17 - after a day of messing around with AppleALC and what not, I tried VoodooHDA + your guide and it works 100%!!

Thank you! :)
 
  • Like
Reactions: EliteMacx86
Hey just wanted to say, this guide worked for me on my Alienware R5 17 - after a day of messing around with AppleALC and what not, I tried VoodooHDA + your guide and it works 100%!!
Great!
Thank you! :)
You're welcome
My script works with AppleHDA, AppleALC, CloverHDA and VoodooHDA. BTW, what's your Audio Codec?
 

Forum statistics

Threads
1,886
Messages
17,478
Members
27,157
Latest member
rockrider