Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

3,821 posts in this topic

Recommended Posts

4 hours ago, Deki said:

Thank you very much sir, The microphone now works with 256-2 version of your kext :D, but audio still not working after rebooting from windows, any solution for that? i have read that it has something to do with codeccommander ssdt but i dont know how, i used insanelydeepak and vbourachot ssdt from Rehabman repos but doesn't work, also tried using the ssdt Mr. Andres ZeroCross gave me above but still doesn't work :(

https://applelife.ru/threads/asus-noutbuki-k56cb-i-podobnye.96647/page-41#post-643258

Vandroiy2012 added your resources to the base AppleALC. Layout 5.

Edited by tyufhl

Share this post


Link to post
Share on other sites
Advertisement

hello @vandroiy2012

 

I have a new codec, everything works. (HS with layout-id = 15, Mojave with layout-id = 7 and alc-layout-id = 15 -> in DSDT / HDEF)

 

ALC221 - LayoutID 15 (0F) for HP ELITE DESK 800 G1

 

new_Resources_ALC221.zip

 

can you please added the new codec?
 
many thanks and a nice weekend for you and your family

Share this post


Link to post
Share on other sites

Would anyone be able to help me with ALC299?

There is very little on this codec, and nothing seems to work for me.

My laptop is an Acer Helios 500
Audio layout:
Speakers
Line-out (3.5mm headphones)
Line-in (3.5mm mic input)
Built in mic

 

I attached my codec dump from linux; thanks in advance!

 

Fixed the attachment here:

 

codec_dump.txt

Edited by yamahahornist

Share this post


Link to post
Share on other sites
16 hours ago, tyufhl said:

https://applelife.ru/threads/asus-noutbuki-k56cb-i-podobnye.96647/page-41#post-643258

Vandroiy2012 added your resources to the base AppleALC. Layout 5.

Can't understand the language ther sir, used translator but the language is confusing, all i get from that link is to remove realtek driver in windows and use microsoft driver, but if i do that the sound is really bad and distorted, i hope anyone here have a solution for me :)

Share this post


Link to post
Share on other sites
6 minutes ago, Deki said:

Can't understand the language ther sir, used translator but the language is confusing, all i get from that link is to remove realtek driver in windows and use microsoft driver, but if i do that the sound is really bad and distorted, i hope anyone here have a solution for me :)

good luck.

Share this post


Link to post
Share on other sites
5 minutes ago, Deki said:

Can't understand the language ther sir, used translator but the language is confusing, all i get from that link is to remove realtek driver in windows and use microsoft driver, but if i do that the sound is really bad and distorted, i hope anyone here have a solution for me :)

 

1. Copy hda-verb to "usr/bin"
2. Run codec_dump.sh with "./codec_dump.sh" , open terminal first and "cd ~/locationfolder of codec_dump.sh", save the output
3. Boot into windows and restart to mac,, make dump again.

Upload before and after dump file. Rename it,, 
 

Dump Status HDA.zip

Share this post


Link to post
Share on other sites
57 minutes ago, Andres ZeroCross said:

 

Use this,, set LayoutID = 21. Then post IOREG Dump. Use IORegistryExplorer 2.1 and save the output

AppleALC.kext.zip

Okay, installed that in my EFI/Kexts/other with the latest Lilu and set layout to 21. Still no input or output devices; but here is the IOREG dump.

 

Thank you for your help!

io dump.ioreg

Share this post


Link to post
Share on other sites
2 minutes ago, Andres ZeroCross said:

image.png.0e0e4cba79b87daed08a21f51edbcc56.png

Your IOREG output show no HDA Controller. Did you modify AppleHDA.kext???

Open terminal dan type "sudo kextstat | grep HDA"

Screenshot the photo

It outputs nothing in terminal... My appleHDA.kex tin /system/library/extensions is stock vanilla.

Edited by yamahahornist

Share this post


Link to post
Share on other sites
1 minute ago, yamahahornist said:

It outputs nothing in terminal... My appleHDA.kex tin /system/library/extensions is stock vanilla.


Then it's mean your AppleHDA.kext is not loaded. It MUST BE loaded for work / non working audio system.
There is something in your system

Open terminal,, type "sudo kextcache -i / "

Save the output and upload here

Share this post


Link to post
Share on other sites
13 minutes ago, Andres ZeroCross said:


Then it's mean your AppleHDA.kext is not loaded. It MUST BE loaded for work / non working audio system.
There is something in your system

Open terminal,, type "sudo kextcache -i / "

Save the output and upload here

Okay I pulled the stock AppleHDA from the installer and installed it and restarted. Here is the terminal output:

sudo kextstat | grep HDA
Password:
  110    1 0xffffff7f834d5000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (281.52) 3D7ADFBB-A913-31F3-A713-32A20B7B2249 <5 4 3 1>
  111    0 0xffffff7f834e4000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <110 109 88 12 7 6 5 4 3 1>

 

sudo kextcache -i /
Password:
KernelCache ID: A16CBB83A731ED4D110EE98A1ACE50B4

 

and here is a new dump, still no audio devices btw

iodump2.ioreg

Edited by yamahahornist

Share this post


Link to post
Share on other sites
1 minute ago, yamahahornist said:

Okay I pulled the stock AppleHDA from the installer and installed it and restarted. Here is the terminal output:

sudo kextstat | grep HDA
Password:
  110    1 0xffffff7f834d5000 0xf000     0xf000     com.apple.iokit.IOHDAFamily (281.52) 3D7ADFBB-A913-31F3-A713-32A20B7B2249 <5 4 3 1>
  111    0 0xffffff7f834e4000 0x1f000    0x1f000    com.apple.driver.AppleHDAController (281.52) 0CEE0F18-1D22-3D90-9FD5-ECCD63F81428 <110 109 88 12 7 6 5 4 3 1>

 

and here is a new dump, still no audio devices btw

iodump2.ioreg

I said do "sudo kextcache -i /"

Did you read my previous comment??? I need to check your 3rd party kext in LE or SLE

Share this post


Link to post
Share on other sites
2 minutes ago, Andres ZeroCross said:

I said do "sudo kextcache -i /"

Did you read my previous comment??? I need to check your 3rd party kext in LE or SLE

Sorry i edited it in there a little late, I don;t have any 3rd party kexts installed on the system, there in my EFI

 

output just shows cache id

sudo kextcache -i /
Password:
KernelCache ID: A16CBB83A731ED4D110EE98A1ACE50B4

Edited by yamahahornist

Share this post


Link to post
Share on other sites

image.png.8a24f53b364be5a6993ced37d8eb8105.png

Your codec is still not recognized by AppleHDA.kext.
1. Did you use any DSDT / SSDT??? 
2. Write detail your notebook model and specifications
3. Make sure patch IRQFlag for RTC, TIMR, HPET and IPIC or tick Fix HPET, Add DTGP, IRQ, TIMR, IPIQ on Config.plist (use Clover Configurator)
4. For best analyze,, upload your CLover folder

Share this post


Link to post
Share on other sites

Your problem can't be  sure 100% from AppleALC.kext and Lilu.kext, you must patch/configure your system to normal ones. After that, we can test new AppleALC.kext for your Device

Share this post


Link to post
Share on other sites
10 minutes ago, Andres ZeroCross said:

image.png.8a24f53b364be5a6993ced37d8eb8105.png

Your codec is still not recognized by AppleHDA.kext.
1. Did you use any DSDT / SSDT??? 
2. Write detail your notebook model and specifications
3. Make sure patch IRQFlag for RTC, TIMR, HPET and IPIC or tick Fix HPET, Add DTGP, IRQ, TIMR, IPIQ on Config.plist (use Clover Configurator)
4. For best analyze,, upload your CLover folder

So I have an Acer Predator Helios 500 PH517-51-72NU laptop; here are the basic specs:
CPU: i7 8750H
GPU: 1070
Ram: 16gb DDR4

 

Here is my clover

CLOVER.zip

 

Edited by yamahahornist

Share this post


Link to post
Share on other sites
10 minutes ago, yamahahornist said:

So I have an Acer Predator Helios 500 PH517-51-72NU laptop; here are the basic specs:
CPU: i7 8750H
GPU: 1070
Ram: 16gb DDR4

 

Here is my clover

CLOVER.zip

So I have an Acer Predator Helios 500 PH517-51-72NU laptop; here are the basic specs:
CPU: i7 8750H
GPU: 1070
Ram: 16gb DDR4

 

Here is my clover



Use this,, reboot and upload your IOREG again

CLOVER.zip

Share this post


Link to post
Share on other sites
6 minutes ago, Andres ZeroCross said:

Now use this,, just remove old AppleALC.kext ini EFI/CLOVER/Kexts/Other,, and replace with this,, reboot and post your IOREG again

AppleALC.kext.zip

I have speaker audio now!

Output shows:

Speakers

 

Input shows:

nothing

 

 

My laptop has:

Speakers

Line-out headphone

line-in microphone

iodump4.ioreg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×