A Beginner's Guide: How to Patch AppleHDA for Laptops

Mirone

Member
Joined
Nov 19, 2018
Motherboard
GA-Z270M-D3H
CPU
Intel Core i7 - 7700K
Graphics
AMD - RX 560
OS X/macOS
10.15 (Beta)
Bootloader
Clover (UEFI)
Mobile Phone
iOS
Hi @Mirone
Do you've any clue why the Microphone doesn't works on ALC255? Used patch from AppleHDA patcher.
I have to see the patches used in version 1.8 and compare with version 1.9.
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
10.14.6
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS

Mirone

Member
Joined
Nov 19, 2018
Motherboard
GA-Z270M-D3H
CPU
Intel Core i7 - 7700K
Graphics
AMD - RX 560
OS X/macOS
10.15 (Beta)
Bootloader
Clover (UEFI)
Mobile Phone
iOS
@EliteMacx86 ,
If it is for a codec in question, I need to check the patch for this codec, for me it works fine
with my ALC892, ALC282, Conexant CX20757 .... and also
for several other users with different codecs.
 
  • Like
Reactions: EliteMacx86

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
10.14.6
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS
@EliteMacx86 ,
If it is for a codec in question, I need to check the patch for this codec, for me it works fine
with my ALC892, ALC282, Conexant CX20757 .... and also
for several other users with different codecs.
Well, still using the old patcher AppleHDA. Any update for ALC299?
 

Mirone

Member
Joined
Nov 19, 2018
Motherboard
GA-Z270M-D3H
CPU
Intel Core i7 - 7700K
Graphics
AMD - RX 560
OS X/macOS
10.15 (Beta)
Bootloader
Clover (UEFI)
Mobile Phone
iOS

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
10.14.6
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS
Are you referring to adding it to AppleHDA Patcher, or the kext patch itself?
Well, if you remember, the ALC299 you patched, works fine. Two issues are there.
1. Sometimes, the Keyboard stops working.
2. The Microphone sounds like a scream.
3. ComboJack does not work.

It would be great if the first issue gets fixed. The rest two is not that important.
 

Mirone

Member
Joined
Nov 19, 2018
Motherboard
GA-Z270M-D3H
CPU
Intel Core i7 - 7700K
Graphics
AMD - RX 560
OS X/macOS
10.15 (Beta)
Bootloader
Clover (UEFI)
Mobile Phone
iOS

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
10.14.6
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS

rachanta

New member
Joined
May 28, 2019
Motherboard
Dell Latitude E5280
CPU
i5-7200U
Graphics
HD 620
OS X/macOS
10.15 (Beta)
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android
Thanks for this crisp guide.

My laptop details
Dell Latitude E5280
Kabylake i5-7200U, HD 620
Audio Codec ALC225
macOS: 10.14.5

My results wIth AppleALC kext:
I am able to get audio with AppleALC kext and native AppleHDA kext with config.plist layout set to 33. Headphones don't work. They work with ACPIPlugFix, but headphone distortion starts after waking from sleep.

I am interested in using the AppleHDA patch to see if I can do better.

Result with Mirone AppleHDA Patch v1.9:
With fullpatched AppleHDA, the speaker icon is greyed out and Sound Output and Input have no devices. USB Audio device works even without the patching, and continues to work with the patch. My DSDT is patched only for IRQ. In config.plist ACPI / HDAS renaming is done to HDEF and Device / Audio Layout =2.


I have done everything as per the guide, including trying out aDummy in SLE, HDAEnabler in SLE (or HDEF+IRQ patch in DSDT) as per your olarilla guide.

All the problem reporting files are attached. Please help me to make the AppleHDA Audio patch work properly with all devices including headphone.
 

Attachments

Last edited:

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
10.14.6
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS
Thanks for this crisp guide.

My laptop details
Dell Latitude E5280
Kabylake i5-7200U, HD 620
Audio Codec ALC225
macOS: 10.14.5

My results wIth AppleALC kext:
I am able to get audio with AppleALC kext and native AppleHDA kext with config.plist layout set to 33. Headphones don't work. They work with ACPIPlugFix, but headphone distortion starts after waking from sleep.

I am interested in using the AppleHDA patch to see if I can do better.

Result with Mirone AppleHDA Patch v1.9:
With fullpatched AppleHDA, the speaker icon is greyed out and Sound Output and Input have no devices. USB Audio device works even without the patching, and continues to work with the patch. My DSDT is patched only for IRQ. In config.plist ACPI / HDAS renaming is done to HDEF and Device / Audio Layout =2.


I have done everything as per the guide, including trying out aDummy in SLE, HDAEnabler in SLE (or HDEF+IRQ patch in DSDT) as per your olarilla guide.

All the problem reporting files are attached. Please help me to make the AppleHDA Audio patch work properly with all devices including headphone.
ACPI isn't patched correctly. You must patch them correctly. Some invalid kexts are being used along with improper configuration.