Page 1 of 8

AppleHDA Patcher v1.9

Posted: 06 Jul 2018, 06:00
by Mirone
Image


From now on all the discussions on this application will be maintained here: [Local Link Removed for Guests] 

About This File:

Micky1979 and Mirone are glad to present you a new version of AppleHDA Patcher.app that will help you enabling sound on your Hack!

AppleHDA Patcher, Jarvis ready
funny? Well, born for fun joking with Mirone about some adventures patching AppleHDA.kext.
Anyway Jarvis is there!

Requirements:

Supports 10.10+, in AppleHDA Patcher v1.9 support for earlier versions of macOS has ended.
Using Layout-Id=2 for Laptop's why Layout-Id=3 was removed in macOS Mojave.


Troubleshotting:

- The app require a vanilla AppleHDA from the current system, otherwise can't work.
"drag an AppleHDA" functionality serves only if you are trying to patch it for another System and you use this system with the patched kext generated, or if is your saved vanilla kext (backup) and is the version needed by your system (not extracted with pacifist because should be incomplete). Also be sure is not a rollback from a minor version of the system (eg kext from 10.11 in 10.12 or from 10.11.5 in 10.11.6)

- Generated kexts must be correctly installed (permissions repaired and cache rebuilted), the app did not install anything (look inside ~/Desktop/MironeAudio).

- if does not work, be sure you have injected the correct layout-id (you can see it in ioreg).

- if does not work, mind that all the patches are all reported as working by someone else system.

- If does not work, be sure you have removed thirt party conflictual kexts (voodoohda, AppleALC, AppleHDADisabler, someone else injector), or you have removed or edited from your DSDT/SSDTs someone else patch you have applied previously.

- There are differences between systems, so if you are sure your System is ok, probably you need a custom patch, we need the codec dump from linux

- Don't work? Ok, but knowing only that, personally I don't care because mine always work. So comment at least if you are able to provide information like a ioreg firstly, but also your config.plist/patched dsdt or ssdt if any. Also the app as a function called "Jarvis" so a copy-paste of that is also appreciated.



Features / Specifications:

1- You don't need to have separate patches, now they are implemented within the app, just choose Desktop's or Laptop's.

2- Is it possible to patch AppleHDA.kext for different macOS versions, he supports all kexts from 10.7 up to 10.11 (and newer), or by default use the one in /System/Library/Extensions as base for the patches without drag anything.

3- You can create kexts through its patched files (Platforms.xml, LayoutX.xml, Info.plist for AppleHDAHardwareConfigDriver.kext )
drag all of your files, choose or type the codec to patch the binary. The process automatically start.

4- Is automatically created a full patched AppleHDA.kext + HDAEnabler.kext to be used with all bootloaders, an aDummyHDA.kext and a config.plist *sample (to be used with Clover), an HDEF patch to be used with MaciASL ready with the correct layout-id (in case you chose to patch laptops also an IRQ patch will be generated), and also you will find usefull the CodecCommander.kext + hda-verbs by Rehabman [External Link Removed for Guests] .
All files will be placed inside ~/Desktop/MironeAudio, just choose what you need.

5- for all steps 1, 2 and 3 you can also drag to the app interface your real config.plist to be edited where necessary.

6- The application is able to make corrections remotely updating itself when and if necessary.


NOTE:

The app produces various files, off course you do not have to use them all:

Use aDummyHDA.kext + edited config.plist for Clover (Ozmosis works similar)
For all other bootloader use the full patched AppleHDA.kext (+ HDAEnabler.kext or DSDT edits... not both).
Use CodecCommander.kext if the sound does not work after the sleep (wake), read more [External Link Removed for Guests] 
aDummyHDA.kext goes in /System/Library/Extensions does not work in EFI/Clover/Kexts



Credits:

bcc9 for patch_hda.pl ported to obj-c code by Micky1979
Andy Vandijck for getcodecid command
Pike R. Alpha for the idea of the Dummy kext
Geoff Garside for the zlib implementation
Kabyl and Taruga for the HDAEnabler.kext
Mirone for all the patches
RehabMan, TimeWalker75a, The-darkvoid for the CodecCommander.kext, [External Link Removed for Guests] .
RehabMan for it's fork of iasl 6.2+ available [External Link Removed for Guests] 

Code: [Local Link Removed for Guests]

// AppleHDA Patcher

//

// Created by Micky1979 and Mirone on 18/11/15.

// Copyright © 2015-2018 Micky1979, Mirone. All rights reserved.

//
Download Here: [Local Link Removed for Guests] 

AppleHDA Patcher v1.9

Posted: 06 Jul 2018, 13:58
by MaLd0n
Nice!

AppleHDA Patcher v1.9

Posted: 07 Jul 2018, 07:08
by marzillo
Thanks Mirone

AppleHDA Patcher v1.9

Posted: 09 Jul 2018, 09:07
by ALiveVam
Not Working.On High Sierra.Please help..

AppleHDA Patcher v1.9

Posted: 09 Jul 2018, 17:21
by Micky1979
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
09 Jul 2018, 09:07
Not Working.On High Sierra.Please help..
And never will work for you. In your config.plist is set the layout-id 3 instead of 2, and none of the provided patches are in "KextsToPatch"... no chances until you will not doing that.

AppleHDA Patcher v1.9

Posted: 13 Jul 2018, 13:07
by ugooh
Hi how do i use this with desktop ALC221. No ALC221 in desktop to select. Can you assist with it?

AppleHDA Patcher v1.9

Posted: 13 Jul 2018, 18:56
by Mirone
ALC221 for desktop should have different settings, the first step you can try is to use the laptop's ALC221 for this you just need to use Layout-id = 2.

AppleHDA Patcher v1.9

Posted: 13 Jul 2018, 19:09
by ugooh
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]
13 Jul 2018, 18:56
ALC221 for desktop should have different settings, the first step you can try is to use the laptop's ALC221 for this you just need to use Layout-id = 2.
No ALC221 in laptop either. ALC225 is the least there. Any other suggestions would be appreciated. Thanks

AppleHDA Patcher v1.9

Posted: 14 Jul 2018, 15:48
by Mirone
@ugooh,
[Local Link Removed for Guests]

AppleHDA Patcher v1.9

Posted: 23 Jul 2018, 14:55
by solocotien
Hi Mirone,
Does it work on Mojave?

AppleHDA Patcher v1.9

Posted: 23 Jul 2018, 18:51
by MaLd0n
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests] Does it work on Mojave?
yes

AppleHDA Patcher v1.9

Posted: 25 Jul 2018, 01:46
by Mirone
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests] Does it work on Mojave?
Sorry for delay, Yes working like a charm in Mojave.

AppleHDA Patcher v1.9

Posted: 26 Jul 2018, 07:52
by Sampath007
hai bro i have alc 230 i tryed to patched via AppleHDA Patcher v1.9 but its not working i need work my audio pls help to fix my problem :cry:
i attached my Linux code dump its inside of sent me zip plss kindly see that

AppleHDA Patcher v1.9

Posted: 26 Jul 2018, 15:17
by Mirone
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests] hai bro i have alc 230 i tryed to patched via AppleHDA Patcher v1.9 but its not working
I do not see any attachments here, please make sure you followed the procedures correctly.
Use layout-id = 2 in your DSDT or config.plist, repair the permissions, and rebuild the caches.

AppleHDA Patcher v1.9

Posted: 26 Jul 2018, 18:36
by Sampath007
codec_dump.txt.zip
kindly see this linux dump i tryed to patch stll there is no sound
CLOVER (5).zip
i attached my clover folder

AppleHDA Patcher v1.9

Posted: 26 Jul 2018, 18:47
by Sampath007
i attached jarvis dump too bro kindly check it that
jarvis.zip

AppleHDA Patcher v1.9

Posted: 26 Jul 2018, 23:54
by Mirone
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests] i attached jarvis dump too bro kindly check it that
try this:
Files.zip
use this DSDT and Install AppleHDA, repair permissions rebuild caches.

AppleHDA Patcher v1.9

Posted: 27 Jul 2018, 06:20
by Sampath007
bro i did all still no luck :cry: :cry:
i attached io Reg See that
thanks lot of help
Sampath’s MacBook Pro.zip

AppleHDA Patcher v1.9

Posted: 29 Jul 2018, 17:41
by Mirone
[Local Link Removed for Guests] wrote: [Local Link Removed for Guests] bro i did all still no luck
Your AppleHDA is not being loaded,
Copy the RepairPermissions folder to your desktop, run Repair.command (two clicks on it).
delete AppleAlc.kext if you are using it.

AppleHDA Patcher v1.9

Posted: 04 Aug 2018, 15:07
by diepnt
works like a charm for my realtek 1150 mojave beta 5

plz keep working for new Mac OS version