Jump to content
Mirone

AppleHDA Patcher General Discussion

Recommended Posts

[ref]M0CRT[/ref],

try this: files.zip

 

Am I being an idiot Mirone? Replaced config.plist with your copy and also replaced AppleHDA.kext in S/L/E with your originally supplied Kext. Placed the AML file in the Patched folder in Clover EFI.


Removed VoodooHDA.kext from Clover Kext folder.


Rebuilt Kext Cache.


Reboot.


Boots, but no audio interfaces (other than my SoundFlower). I am right with the actions above? Please hit me if not! :-)


Thanks


IOREG. Attached. Shows HDEF and reference to layout-id 3 Inc. ALC289.


Mo

ioreg.zip

Link to comment
Share on other sites

[ref]M0CRT[/ref],

use this config.plist.

config.plist.zip

 

Morning Mirone.


Thanks for your continuing efforts. Still no joy.


To confirm.


Your new AppleHDA.Kext has been installed in S/L/E and Cache rebuilt.

The adjusted DSDT.AML (adjusted as I see for HDEF) is in the Clover Patched folder.

Your new Clover config.plist (note the Kext patches) is being used to boot. Layout-Id in the config is not set I see (I presume this is correct).


Send me debug file attached minus Kernel log and Clover folder in order to upload.


This ALC on this laptop seems to be 'fun'!


Mo

Send me MacBook-Pro.lan 2 2.zip

Link to comment
Share on other sites

 

try this:AppleHDA-282.54-ALC289.zip

use OlarilaRepairPermissions.app for the install this kext.

 

Hi Mirone.


Used https://Olarila.com/forum/viewtopic.php?t=8238#p71316 to install the new Kext in S/L/E (after removing the old one). I also rebuilt permissions and cache using this app.


Replaced the plist (thanks for some of the adjusts!) and the DSDT in patched.


Rebooted...and...nope. :wallbash


I'll upload a new 'Send Me' and Clover folders (sep). I've removed some folders to save space on upload. Hope you have everything. Thanks for sticking with this one! :-)


Mo

Send me MacBook-Pro.lan.zip

CLOVER.zip

Link to comment
Share on other sites

[ref]M0CRT[/ref],

Make sure there is no installed HDADisabler.kext or similar.

 

Checked S/L/E. Only AppleHDA.Kext along with AppleGFXHDA.Kext


L/E. Nothing HDA related and nothing Auto related in Clover Kext.


Anything else I can send you to debug? Sorry about this. This is a tricky one.


Mo

Link to comment
Share on other sites

[ref]M0CRT[/ref],

try this:AppleHDA-282.54-ALC289.zip

 

Do I need to reapply the patch via MaciASL or, seeing I'm using your original DSDT, I should just install this new Kext. If so, still not playing. Any specific files that would help debugging?


Mo

Link to comment
Share on other sites

 

try this:AppleHDA-282.54-ALC289.zip

use OlarilaRepairPermissions.app for the install this kext.

 

Mirone! This one works once you delete the GFXHDA file. Very well done!


However, headphones sound over driven and distorted. Any suggestions? Almost there! :-)


:D

Link to comment
Share on other sites

Hi there, I'm hacking an Asus Rog Strix II GL704 with the help of Maldon https://Olarila.com/forum/viewtopic.php?f=42&t=9729.


Audio is not working and he suggested me to apply your patch on the High Sierra installation.


Launched AppleHDA pathcer, and Jarvis report is the following:

Hardware info:
- Realtek (Unknown) (10ec:0294) Rev.(00100004)
- Controller 8086:a348 (sub-ven:1043:1321)
- Driver: AppleHDA.kext

SSDT-4.aml succesfully extracted!
DSDT.aml succesfully extracted!
SSDT-6.aml succesfully extracted!
SSDT-1.aml succesfully extracted!
SSDT.aml succesfully extracted!
SSDT-3.aml succesfully extracted!
SSDT-8.aml succesfully extracted!
SSDT-5.aml succesfully extracted!
SSDT-7.aml succesfully extracted!
SSDT-2.aml succesfully extracted!
Found "Device (HDEF)" in DSDT.aml
Found "Device (HDAU)" in DSDT.aml
No property "layout-id" was found inside your ACPI tables, maybe injected in other way, looking in ioreg..
Found supported "layout-id = 7" in ioreg: be sure that respect your audio connectors
Found more than one "Device (HDAU/B0D3)" inside your ACPI tables. Please remove those excessive!

AppleHDA Patcher.app only supports (if patched by Mirone):
layout-id 2 for laptop's,
layout-id 5 for Desktop's with 3 connectors (pink, green and blue),
layout-id 7 for Desktop's with 5/6 connectors (gray, black, orange, pink, green and blue),
layout-id 9 for Desktop's with 5/6 connectors (gray, black, orange, pink, green, blue, CodecAddress:2)

aDummyHDA.kext works only is /System/Library/Extensions.
Laptop's may be need the provided ACPI Patch such system_IRQ.txt to be functional.
HDAEnabler.kext maybe usefull if you don't want to edit your ACPI table or the Clover's config,
or the org.Chameleon.Boot.plist.
CodecCommander.kext is usefull in the case you have no sound after waking from sleep.

Generated kexts should be installed in a proper way, repairing its permissions and rebuilding the cache:
dragging kexts into Pandora's Box.app window will help you to do that!

 


there few things that attract my attention:

  • Found supported "layout-id = 7" in ioreg: be sure that respect your audio connectors

    Found more than one "Device (HDAU/B0D3)" inside your ACPI tables. Please remove those excessive!

 

what do you think? and do you see anything else that need to be corrected?


At present I'm trying to inject via Clover (tried 11,12,13 and 21 as suggested by Maldo)

  • 11,12,13 injected - audio appears in sys preferences but I get no AUDIO AT ALL

    21 injected NO audio output listed in SYS pref

 


As by Windows 10 device manager, audio card is Realtek 0294 (so as Maldo said ALC 294) But there's not such patch in Patcher.


Other thing the Driver available on ASUS website report a text describing the device as ALC668!!!

MironeAudio.zip

config.plist.zip

Link to comment
Share on other sites

[ref]MarsArtis[/ref],

try this:files.zip

1-install AppleHDA.kext in S/L/E and repair permissions rebuild caches use Olarila Repair Permissions for this.

2-copy folder Jack_fix for your desktop and run install.command

use layout id=3 in your config.plist or DSDT.aml

at the end of permission repair I got this:


 

Warning: Idle sleep timings for "Battery Power" may not behave as expected.
- Disk sleep should be non-zero whenever system sleep is non-zero.
Warning: Idle sleep timings for "Battery Power" may not behave as expected.
- Disk sleep should be non-zero whenever system sleep is non-zero.
Warning: Idle sleep timings for "Battery Power" may not behave as expected.
- Disk sleep should be non-zero whenever system sleep is non-zero.

Hibernatemode, standby, and autopoweroff set to 0...
override rw-r--r--  root/wheel uchg for /private/var/vm/sleepimage? n

Sleepimage deleted...
touch: /private/var/vm/sleepimage: Operation not permitted

Zero-byte sleepimage created and locked from further writes.
Clearing Your NVRAM:
--------------------

Done!!!
Enjoy!!!
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

 

I choosed NO at

Hibernatemode, standby, and autopoweroff set to 0...

override rw-r--r-- root/wheel uchg for /private/var/vm/sleepimage? n


Added in 38 minutes 40 seconds:

anyway the patch seems not to make any difference, I cannot see any audio device in system preferences.

Send me MacBook-Pro-di-Astrix_18-apr_2019.zip

screenshots.zip

bootlog.txt.zip

config.plist.zip

Link to comment
Share on other sites

At the beginning of my post I said that I repaired permissions. Using Olarila Repair Permission.app indeed.

use this clover folder: CLOVER.zip

Delete AppleGFXHDA.kext, after repair permissions rebuild caches use Olarila Repair Permissions.app


Added in 4 minutes 36 seconds:

I did the error of updating to mojave, I backup the new applehda and tried to installed the patched applehda you send me but no sound. Can you help?

Files:

Jarvis, Codec_Dump, Send Me files & Terminal Output

Delete AppleGFXHDA.kext, repair permissions rebuild caches.

btn_donate_SM.gif
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.





×
  • Create New...