Jump to content
vit9696

AppleALC — dynamic AppleHDA patching

2,253 posts in this topic

Recommended Posts

Advertisement

Hi Mirone,

I am unsure if I got you right, are you asking for credits for something?

I will respectfully accept a due credit line for yourself in a pull request form.

Unfortunately it is not possible for me to include all the people who contributed to AppleALC, and I might actually add a line to credit the nameless contributors.

Share this post


Link to post
Share on other sites

 

Unsuccessful friend. Try on: S / L / E, L / E and EFI / Clover / Kext / 10:11.

The same is loaded, as you can see in the image below:

 

post-1145065-0-03418600-1457891345_thumb.png

 

But without sound.

 

Already the original kext works, but without the front microphone.
Thank you for your help.

Share this post


Link to post
Share on other sites

Hi Mirone,

I am unsure if I got you right, are you asking for credits for something?

I will respectfully accept a due credit line for yourself in a pull request form.

Unfortunately it is not possible for me to include all the people who contributed to AppleALC, and I might actually add a line to credit the nameless contributors.

 

 

Respect to all of u

Share this post


Link to post
Share on other sites

Hello @vit9696

 

What does "Count" actually stand for? Count of pattern to be search? (Wiki said "number of required replacements").
Can we leave this empty so patcher can search & replace to whole bytes of target binary?

<key>Patches</key>
<array>
  <dict>
    <key>Count</key>
    <integer>2</integer>
    <key>Find</key>
    <data>
    xxx
    </data>
    <key>MinKernel</key>
    <integer>13</integer>
    <key>Name</key>
    <string>AppleHDA</string>
    <key>Replace</key>
    <data>
    yyy
    </data>
  </dict>

Share this post


Link to post
Share on other sites

Oh, Xcode 6. I was able to reproduce and fix this. Looks like it was a compiler bug :/ Check the latest commit.

would it be better to support SL too?

Share this post


Link to post
Share on other sites

Weird, I tried with your last compiled kext and I compiled one myself. I will try again though.

 

edit:

 

Ok here's the new log, I think files get mixed somehow while testing:

 

http://pastebin.com/YnDuvM02

I am afraid they were, since the log corresponds to a pre-1.0.2 version. And it is better to use something more recent, e. g. trunk.

 

 

 

What does "Count" actually stand for? Count of pattern to be search? (Wiki said "number of required replacements").

Can we leave this empty so patcher can search & replace to whole bytes of target binary?

It's the number or replacements one must do in a file. Currently not, although it is technically possible. The reason for not doing that is a sanity check.

@vit9696 sorry to bother so much. I just tried the 1.0.2 release, still nothing. Honestly I'm confused as I am not able to make it work anymore, even with Nvidia disabled.

 

http://pastebin.com/WBKCM4U2

 

Cheers.

 

This is a newer log indeed. But it looks like AppleALC starts after both AppleHDA and AppleHDAController, which results in no audio. Generally I would solve this by loading it with a bootloader.

 

try set nvram boot-args if you dont have one

 

This is no longer an issue

 

 

 

would it be better to support SL too?

If SL means Snow Leopard, then I see not many reasons. 10.6 has different layout formats used, and does not need AppleALC to hack the kernel/kexts.

As for later versions, it was designed to work on 10.7 and newer. Most of the patches submitted were only tested on 10.9 and newer though.

Share this post


Link to post
Share on other sites

dual boot os x el capitan and windows 10 on ga-z170n-gaming 5

 

boot to osx work perfectly

boot to windows then restart to osx no sound

osx -> windows -> osx no sound

Share this post


Link to post
Share on other sites

@ellaosx this is a known issue with 1150. You need to turn the computer off to restore audio. What Crusher is saying is that you can use the surround outputs, those survive restarts from windows. I simply turn off and on when I'm coming from windows.

 

Cheers

Share this post


Link to post
Share on other sites

I heard that one can use Codec Commander to deal with such issues. But I have never done this myself, and I do not dual-boot to windows.

Share this post


Link to post
Share on other sites

@ellaosx this is a known issue with 1150. You need to turn the computer off to restore audio. What Crusher is saying is that you can use the surround outputs, those survive restarts from windows. I simply turn off and on when I'm coming from windows.

 

Cheers

CodecCommander can fix this AFAIK. Also seems like the latest version of AppleALC added extra patches for ALC1150 to fix front panel output after rebooting from Windows.

Share this post


Link to post
Share on other sites

I heard that one can use Codec Commander to deal with such issues. But I have never did this myself, and I do not dual-boot to windows.

 

CodecCommander can fix this AFAIK. Also seems like the latest version of AppleALC added extra patches for ALC1150 to fix front panel output after rebooting from Windows.

 

Honestly I did try codec commander at some point, but I don't remember the reason I stop using it. There was something about it, not sure if I got KP sometimes.

Share this post


Link to post
Share on other sites

The problem with alc1150 and win10+osx can be fixed by removing realtek drivers from win10 (installed automatically by windows) and using stock win10 drivers.

Share this post


Link to post
Share on other sites

ALC887. Any info?

 

AppleALC: util @ getOSData AAPL,ig-platform-id was not found
In this context this is debug information. I added a change hiding it for non -alcdbg starts.

Share this post


Link to post
Share on other sites

Nice to hear :) You could try it for other kext patching, by the way. Unfortunately if any of them fails it will mean that it is out of AppleALC possibility to do this kind of patching for you.

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.

×