Jump to content

AppleALC — dynamic AppleHDA patching


vit9696
5,390 posts in this topic

Recommended Posts

Wow. 

 

Internal speaker : ok

Internal mic : ok

External speaker : ok , even after sleep.

External mic : there is new option : linein , but not working.

 

3 things :

1) One minor problem , when sleeping there is a little noise from headphones .When waking up noise is lost and audio working ok.

2) Can we make the audio from speakers a little more loud ? If not , it is not a big thing.

 

Conclusion : what a great work you made!!!

 

5570.ioreg.zip

Edited by matgeo
Link to comment
Share on other sites

4 minutes ago, matgeo said:

Wow. 

 

Internal speaker : ok

Internal mic : ok

External speaker : ok , even after sleep.

External mic : there is new option : linein , but not working.

 

3 things :

1) One minor problem , when sleeping there is a little noise from headphones .When waking up noise is lost and audio working ok.

2) Can we make the audio from speakers a little more loud ? If not , it is not a big thing.

 

Conclusion : what a great work you made!!!

 

5570.ioreg.zip


when sleeping there is little noise?? Can you explain this?

Link to comment
Share on other sites

Hello,

 

may I join with a different problem or should I wait until macgeo's problem is solved? :)

 

Sound card as displayed by Hackintool:

Controller: Intel Sunrise Point-LP HD Audio (8086:9D71)

Vendor: Realtek (0x10EC)

Codec: ALC298 (0x0298)

Layout ID: 29

Revisions: 0x100101, 0x100103

 

I am using AppleALC 1.3.4 + Lilu 1.3.1 in /L/E and AppleHDA. There are the following problems:

– I had to use AppleHDA from 10.13.3 to get any sound at all

– I need to do the following in order to inject the layout into AppleALC: insert (Clover/Devices/Properties)

 

Devices: PciRoot(0x0)/Pci(0x1f,0x3)

Properties:

layout-id: 1D0000000

alc-layout-id: 1D000000

 

I know I'm not supposed to use alc-layout-id, but neither command line argument, nor Devices>Audio>Inject nor just layout-id work.

 

Layout 29 is the one that works best. Speakers are quiet-ish, but with Boom 3D they work well enough. Headphones out is BOOMING (Boom 3D doesn't seem to have an option for disabling itself when headphones are being used). Neither internal nor external (in AKC headset that came with a Samsung S9 phone) mics work, even though they are displayed in sound properties.

 

Other layouts that work are 3 and 66 (no microphone detected). I tried to use the Hackintool patches, both with Spoof Audio Device ID and without. No dice. Only AppleHDA from 10.13.3 and alc-layout-id give me sound. Adding or removing CodecCommander doesn't change anything.

 

Attaching IOReg.zip.

 

Thanks a lot for any help!

ioreg_manual.zip

Edited by Navaira
Link to comment
Share on other sites

8 hours ago, Andres ZeroCross said:

Makesure you didn't put wrong file AppleALC.kext

Sent from my Mi Note 2 using Tapatalk
 

 

8 hours ago, Andres ZeroCross said:

Try this...

AppleALC.kext.zip

 

I made sure I'm doing the right thing and used the AppleALC which worked for Audio-Out but not for Audio-In and yes, I'm doing the right thing (I wasn't sure either ;)).

 

I get the same result with your latest kext as with the previous one, no audio devices. With these two new kexts we're still at layout-id 21 I assume?

Link to comment
Share on other sites

2 hours ago, an3k said:

 

 

I made sure I'm doing the right thing and used the AppleALC which worked for Audio-Out but not for Audio-In and yes, I'm doing the right thing (I wasn't sure either ;)).

 

I get the same result with your latest kext as with the previous one, no audio devices. With these two new kexts we're still at layout-id 21 I assume?


Try this,, keep using LayoutID=21

AppleALC.kext.zip

Link to comment
Share on other sites

9 minutes ago, Andres ZeroCross said:


Try this,, keep using LayoutID=21

AppleALC.kext.zip

No headset connected:

output device -> "Internal Speakers"  -> working

input device -> none -> not working

 

Headset connected:

output device -> "Headphones"  -> working

input device -> none -> not working

Link to comment
Share on other sites

7 minutes ago, Andres ZeroCross said:


Are you sure?? Check again your internal Microphone

 

I am. Deleted all the AppleALC.kexts I had (in /System/Library/, in /System/Library/Extensions and in EFI/CLOVER) then re-downloaded the last kext and "installed" it. This is the result :/

 

EDIT: Well, I didn't had multiple AppleALC.kexts installed, was just making sure I actually didn't :)

 

334418122_Bildschirmfoto2019-01-20um18_32_02.png.c71532cd43ecd63ee7b3d89d1401b145.png1786827606_Bildschirmfoto2019-01-20um18_32_06.png.c9bfe2fba1a9c02dfb251771cbcfac1c.png1177514111_Bildschirmfoto2019-01-20um18_32_37.thumb.png.6e4f499eaca164c3ee6fce8314262b76.png

Edited by an3k
Link to comment
Share on other sites

2 minutes ago, Andres ZeroCross said:

Just put all additional kext ini EFI/CLOVER/Other. Don't put any additional kext ini L/E or S/LE. Try again. Remember "DON'T PUT ANY ADDITIONAL KEXTS in L/E or S/L/E

 

Yeah, I was told that yesterday evening and moved everything from L/E to EFI/CLOVER/Other. I never put anything into S/L/E. I edited my previous posting and said I was just mentioning L/E and S/L/E so I'm (and you are) absolutely sure there aren't multiple AppleALC.kexts in place.

 

I'm absolutely sure that every test I've done with your help and kexts was done correctly. The very first kext you made for me was the best so far. Everything worked beside Headset audio input.

 

Would it help you if I quickly install Windows and do some stuff? You'd have to tell me what you'd need.

Link to comment
Share on other sites

9 minutes ago, an3k said:

 

Yeah, I was told that yesterday evening and moved everything from L/E to EFI/CLOVER/Other. I never put anything into S/L/E. I edited my previous posting and said I was just mentioning L/E and S/L/E so I'm (and you are) absolutely sure there aren't multiple AppleALC.kexts in place.

 

I'm absolutely sure that every test I've done with your help and kexts was done correctly. The very first kext you made for me was the best so far. Everything worked beside Headset audio input.

 

Would it help you if I quickly install Windows and do some stuff? You'd have to tell me what you'd need.

Try this

AppleALC.kext.zip

Link to comment
Share on other sites

2 minutes ago, an3k said:

 

Again the same

 

No headset connected:

output device -> "Internal Speakers"  -> working

input device -> none -> not working

 

Headset connected:

output device -> "Headphones"  -> working

input device -> none -> not working

Try this,, i remove LineIn Path map.. Check your internal microphone

AppleALC.kext.zip

Link to comment
Share on other sites

4 minutes ago, Andres ZeroCross said:

Try this,, i remove LineIn Path map.. Check your internal microphone

AppleALC.kext.zip

No headset connected:

output device -> "Internal Speakers"  -> working

input device -> "Internal Microphone" -> working

 

Headset connected:

output device -> "Headphones"  -> working

input device -> "Internal Microphone" -> working

Link to comment
Share on other sites

3 minutes ago, an3k said:

No headset connected:

output device -> "Internal Speakers"  -> working

input device -> "Internal Microphone" -> working

 

Headset connected:

output device -> "Headphones"  -> working

input device -> "Internal Microphone" -> working

Nice,, now try this. I put back LineIn path map but without AMP. Post the result

AppleALC.kext.zip

Link to comment
Share on other sites

4 minutes ago, Andres ZeroCross said:

Nice,, now try this. I put back LineIn path map but without AMP. Post the result

AppleALC.kext.zip

No headset connected:

output device -> "Internal Speakers"  -> working

input device -> none -> not working

 

Headset connected:

output device -> "Headphones"  -> working

input device -> none -> not working

Link to comment
Share on other sites

3 minutes ago, an3k said:

No headset connected:

output device -> "Internal Speakers"  -> working

input device -> none -> not working

 

Headset connected:

output device -> "Headphones"  -> working

input device -> none -> not working


I removed LineIn path map, and change input node for Internal Mic. Post the result

AppleALC.kext.zip

Link to comment
Share on other sites

×
×
  • Create New...