Jump to content

8 Screenshots

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 v1.9

http://olarila.com/forum/viewtopic.php?f=18&t=6528

 

AppleHDA Patcher, Jarvis ready

funny? Well, born for fun joking with Mirone about some adventures patching AppleHDA.kext.

Anyway Jarvis is there!

--> 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.

 

 

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 OS X 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 forks.

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 here.

aDummyHDA.kext goes in /System/Library/Extensions

 

Italiano:

 

 

 

1- la nuova app ha tutte le patch incluse, per cui non c’è bisogno di file separati come in passato.

2- è possibile patchare AppleHDA.kext per le diverse versioni di OS X, da 10.7.x a 10.11.x (e versioni successive se non ci saranno cambiamenti). E’ richiesto che AppleHDA.kext sia presente in /System/Library/Extensions/ e che sia vanilla (mai patchato).

 

3- è possibile creare kexts anche importando i vari file che hai fatto tu (Platforms.xml, LayoutX.xml, Info.plist per AppleHDAHardwareConfigDriver.kext):

basta trascinarli sull’interfaccia e il processo partirà automaticamente.

 

4- vengono creati automaticamente un AppleHDA.kext completamente patchato + HDAEnabler.kext per essere utilizzato con tutti i bootloader (ok per Enoch che non può patchare al volo il kext), un aDummyHDA.kext e un campione del config.plist * (da usare con Clover), una patch HDEF da utilizzare con MaciASL pronto con le modifiche per il tuo DSDT con il corretto layout-id (nel caso hai generato una patch per portatili ci sarà anche una patch per gli IRQ sempre da applicare con Maciasl), in più troverete utile il CodecCommander.kext di Rehabman.

Tutti i file saranno collocati sul Desktop in una cartella chiamata “MironeAudio”, basta scegliere quello che vi serve (ricapitolando aDummyHDA.kext + config.plist per Clover, AppleHDA.kext patchato + HDAEnabler.kext per Enoch).

 

5- per tutte le fasi 1, 2 e 3 è anche possibile trascinare nell’interfaccia dell’applicazione il tuo vero config.plist prima di pigiare il bottone “patch AppleHDA”, così il KextsToPatch verrà aggiustato con le patch richieste per far funzionare l’audio. Ovviamente verrà fatta una copia modificata all’interno della cartella “MironeAudio”, nella sottocartella “Clover” che contirne il kext generato. Il tuo non verrà toccato… te lo devi rimpiazzare da solo.

 

6- L'applicazione è in grado di ricevere update in remoto per avere sempre le ultime modifiche ai vari codecs.

 

RICAPITOLANDO:

L'applicazione produce vari file, ma naturalmente non c'è bisogno di usarli tutti:

 

Utilizzare config.plist+aDummyHDA.kext per Clover. Se non avete trascinato il vostro vero config.plist quello generato è solo un esempio con le modifiche da apportare al vostro, da non utilizzare così com’è, altrimenti se lo avete trascinato.. una copia modificata la trovate all’interno di MironeAudio/nome del codec/versione del kext/Clover/config.plist.

Per tutti gli altri bootloader potete utilizzare il “full patched AppleHDA.kext patch” (con HDAEnabler.kext o DSDT modificato con le patch generate ... ma ovvio non entrambi).

Utilizzare CodecCommander.kext se il suono non funziona dopo il wake (risveglio).

 

 

Works in 10.7+

 

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, here.

RehabMan for it's fork of iasl 6.1 available here.

 

// AppleHDA Patcher

//

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

// Copyright © 2015 Micky1979, Mirone and InsanelyMac.com. All rights reserved.

//


What's New in Version v1.8   See changelog

Released

  • v1.8 Added more codecs for Laptop's and Desktop's.
  • Like 6
  • Thanks 2

User Feedback

Recommended Comments



Micky1979

Posted

Hi @Micky,

 

I tested it and it also works for 10.11.4 and 10.11.5 for ALC283 (10.11.4 was the first El Capitan version to support Iris 540 Graphics for my system).

 

When using El Capitan AppleHDA.kext with the app, there was an extra zeroing patch for 11d41983 but even with this extra patch still in my Clover config.plist, it still worked in SierraDP ie same config.plist works for 10.11.4, 10.11.5, 10.12DP :).

yep, this happened because 11d41983 does no longer exist in the binary so Clover fail, in this case because no occurrences are found, but all others are :).

What's controller is in your system? .. should be supported in 10.11.4 as well for Sierra, so the patching window did not show up.. any other old kexts just to try that? (sorry but your case for me is extremely intresting ;) ha ha)

fusion71au

Posted

@Micky1979,

 

DPCIManager reports Audio Device 0x80869D70, Sub Device 0x80862063

Codec ID 0x10EC0283 Revision 0x0003.

 

If I drag an old AppleHDA.kext eg from Mavericks or Yosemite, I get the "Seems like you don't have a supported controller" screen where it offers to patch AppleHDAController with my device's device ID: 8680709d.  If I select from one of the supported controllers on the left, everything proceeds like before ---> get MironeAudio folder with all the patched/edited files including AppleHDA with patched AppleHDAController.  I'm guessing this is all working like intended/expected :).

  • Like 1
Micky1979

Posted

Yes this is the correct behavior, and so is working well  :thumbsup_anim: :thumbsup_anim: :thumbsup_anim:!

Thanks so mutch!

  • Like 1
JanQ88778877

Posted

CX200590 Not work , MacOS 10.12 Sierra DP1
I add to s/l/e aDummyHDA.kext and CodecCommander.kext with kext utility.
I add patch and layout id to my config.
Sierra load applehda and not load aDummyHDA and CodecCommander.kext

Micky1979

Posted

CX200590 Not work , MacOS 10.12 Sierra DP1

I add to s/l/e aDummyHDA.kext and CodecCommander.kext with kext utility.

I add patch and layout id to my config.

Sierra load applehda and not load aDummyHDA and CodecCommander.kext

You need Jarvis, wait 1 hour please!

  • Like 1
Micky1979

Posted

@JanQ88778877 Jarvis (funny name but is a new functionality) added to the new AppleHDA Patcher, please push the button and dump the report and let us know.

JanQ88778877

Posted

Yes , this is a laptop "Lenovo G570"
No i did not applied the IRQ patch.

Micky1979

Posted

Yes , this is a laptop "Lenovo G570"

No i did not applied the IRQ patch.

You should

JanQ88778877

Posted

You should

 

After add IRQ patch no changes. 

Micky1979

Posted

We have to wait Mirone..

Mirone

Posted

s

 

CX200590 Not work , MacOS 10.12 Sierra DP1
I add to s/l/e aDummyHDA.kext and CodecCommander.kext with kext utility.
I add patch and layout id to my config.
Sierra load applehda and not load aDummyHDA and CodecCommander.kext

Send me your config.plist

MarceloSMS

Posted

Rolled here in the sierra ALC892 dummy + config.plist in clove correction, but how does it work for with el capitan? I dragged the AppleHDA El Capitan + config.plist hd but did not work.

chriz74

Posted

doesn't work in sierra with alc 889, CloverAlc command always worked.

Mirone

Posted

Speak only does not work, does not help us

anything post your files or continue
using this script you mentioned.
Micky1979

Posted

doesn't work in sierra with alc 889, CloverAlc command always worked.

Use it.

Dhyogo

Posted

Thanks Micky1979 and Mirone my Audio ALC662 works fine with aDummyHDA.kext + edited config.plist

  • Like 2
Micky1979

Posted

audio not work

AppleHDA.kext not loaded , aDummyHDA.kext and CodecCommander.kext load successful

http://imgur.com/a/JgVMW

that is the expected behavior because  aDummyHDA.kext takes the place of AppleHDA.kext. So the kext is loaded correctly at least.

So Need a ioreg with aDummyHDA.kext loaded.

Micky1979

Posted

Guys,

  • the app require a vanilla AppleHDA from the current system, otherwise can't work.
  • dragging an AppleHDA functionality serves only if you are trying to patch it for another System, or if is your saved vanilla kext (backup) and is the version needed by your system (not extracted with pacifist).
  • Generated kexts must be correctly installed (permissions repaired and cache rebuilted).
  • 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 someone else DSDT/SSDT patch you have applied.
  • 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.

cheers

JanQ88778877

Posted

I have vanilla AppleHDA.kext.

Micky1979

Posted

I have vanilla AppleHDA.kext.

Was not for you  :P, just added because of some unusefull comments. Also added at the article of this download.

To you I asked for a ioreg  :)


×
×
  • Create New...