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 1

User Feedback

Recommended Comments



Hi guys, great app! I have not been able to patch my AppleHDA, though: error is "Unknown AppleHDA version, or malformed bundle..."

 

AppleHDA version is 266.5, freshly new vanilla Yosemite install. Never tried any other solution before, so audio kexts are untouched.

Any comment will be appreciated.

 

Best regards.

Link to comment
Share on other sites

Hi guys. First thanks for all your hard work :)

 

I've been struggling with enabling my audio on a Samsung laptop NP300E4C (i5-3210M, Intel HD4000 Graphics, 6 Gb RAM).

 

ElCapitan 10.11.4 (everything working apart from sound :(  )

 

I've run audio_codecdetect.command_v1.4 and here is the output from Terminal:

----------------------------------

 

HDMI audio codec
Realtek: 0x80862806
 
Onboard audio codec
Realtek: 0x10ec0269
 
OS X/10.11.4 Onboard Audio
Device: HDEF@1B
Audio ID: 1
 
Valid audio codec, audio device and Audio ID; audio injection is working.
Finished
-----------------------------------
 

 

I have ALC269 (0x10ec0269) but your patcher have various versions of ALC269 (ten differens versions: Asus, VB and VC). 

 

Which one to choose?

 

I am a total noob in hda patching.

 

Thanks.

Link to comment
Share on other sites

Hi Mirone, I already made my own DummyHDA.kext with a previously patched AppleHDA from yours on AppleHDA Patch Requests (I don't remember the thread name but it goes like that), but it stopped working when I updated to 10.11.4. This happened to my other hack too, meanwhile your AppleHDA Patcher worked for it (the second hack with ALC269 v2) it didn't for my first one with ALC275. I even tried a previous version of OS X (10.11.2) and your patched files didn't work either but mine worked. Can you recheck your ALC275 patches?

Link to comment
Share on other sites

I have ALC269 (0x10ec0269) but your patcher have various versions of ALC269 (ten differens versions: Asus, VB and VC). 

 

Which one to choose?

 

I am a total noob in hda patching.

 

Thanks.

 

Try 'em all, if one worked, it's for you then :) (I have 269 too and I tested them all, make sure both mic and audio are working, sometimes you may get only audio or only mic)

Link to comment
Share on other sites

Hi Mirone, I already made my own DummyHDA.kext with a previously patched AppleHDA from yours on AppleHDA Patch Requests (I don't remember the thread name but it goes like that), but it stopped working when I updated to 10.11.4. This happened to my other hack too, meanwhile your AppleHDA Patcher worked for it (the second hack with ALC269 v2) it didn't for my first one with ALC275. I even tried a previous version of OS X (10.11.2) and your patched files didn't work either but mine worked. Can you recheck your ALC275 patches?

Already discussed. Apple have updated AppleHDA.kext introducing new depencies, so you have to regenerate from scratch a ne aDummyAppleHDA.kext and install it in SLE.

Link to comment
Share on other sites

Already discussed. Apple have updated AppleHDA.kext introducing new depencies, so you have to regenerate from scratch a ne aDummyAppleHDA.kext and install it in SLE.

What I'm trying to say, that your ALC275 patch in this HDA patcher is broken, while this patcher worked on my ALC269 for newer and older AppleHDA (10.11.4) the patch for ALC275 didn't work even for older versions of OS X! Can you recheck your patches?

Link to comment
Share on other sites

What I'm trying to say, that your ALC275 patch in this HDA patcher is broken, while this patcher worked on my ALC269 for newer and older AppleHDA (10.11.4) the patch for ALC275 didn't work even for older versions of OS X! Can you recheck your patches?

send me your files:
-IOREG
-DSDT

-config.plist

Link to comment
Share on other sites

 

send me your files:
-IOREG
-DSDT

-config.plist

 

OKOK, looks like I found something, when I change the Platforms.xml.zlib from my Dummy into the Generated Dummy, the audio works, and the size is different too! Mine is ~8MB while the Generated one is ~5MB. Here is the dummy im using : https://www.dropbox.com/sh/u22fjjv499gax1u/AABuJriY_0xEA4fBmIswAFYka?dl=1(Note: this one is still unclean, I changed mine by symlinking AppleHDA and left only Platforms.xml.zlib and Layout3.xml.zlib, it works too). Please check both Platform.xml.zlib on both Dummies and tell me what's that big (3MB) difference. Thanks :)

Link to comment
Share on other sites

OKOK, looks like I found something, when I change the Platforms.xml.zlib from my Dummy into the Generated Dummy, the audio works, and the size is different too! Mine is ~8MB while the Generated one is ~5MB. Here is the dummy im using : https://www.dropbox.com/sh/u22fjjv499gax1u/AABuJriY_0xEA4fBmIswAFYka?dl=1(Note: this one is still unclean, I changed mine by symlinking AppleHDA and left only Platforms.xml.zlib and Layout3.xml.zlib, it works too). Please check both Platform.xml.zlib on both Dummies and tell me what's that big (3MB) difference. Thanks  :)

 

sure is because your dummy kext has a lot of layoutX.xml.zlib, the generated one only have one layout (or at least 3 for Desktop's patches) + the Platform.zml.zlib that also is smaller. BTW is not 3/8MBs at most KBs. Also your dummy lack some dependencies under the OSBundleLibraries array and this is a big difference (sure your can't work in 10.11.4 +)

Link to comment
Share on other sites

 

 

sure is because your dummy kext has a lot of layoutX.xml.zlib, the generated one only have one layout (or at least 3 for Desktop's patches) + the Platform.zml.zlib that also is smaller. BTW is not 3/8MBs at most KBs. Also your dummy lack some dependencies under the OSBundleLibraries array and this is a big difference (sure your can't work in 10.11.4 +)

 

Sure thing, but even when I added them (I already done my researches and stumbled on a tmx guide from RM), for some reason it didn't work, until I used the generated+Platforms.xml, and yes sorry it's KB (sorry :P ), anyway audio is working, but I'm still confused why would the big Platforms.xml work when the smaller one is supposed to have restrained layouts for my codec only.

Link to comment
Share on other sites

The Vanilla Platform.xml contains all the PathMaps for each layoutXX.xml, the generated one have only ones for the various layoutXX.xml that the patcher adds. So if the bigger one you have, have the same layout id (or is compatible) is normal and will work.

  • Like 1
Link to comment
Share on other sites

Come Stai? I use Clover for El Capitan.

What should I do with the folder in the desktop? Install AppleHDA to S/L/E ? 

 

I don't have any skill on this.

 

Grazie!

Link to comment
Share on other sites

Awesome app guys!!!

 

Just select your codec, drag your vanilla AppleHDA.kext (and config.plist if using Clover) onto the app and click the patch AppleHDA button at the bottom ---> all your required edited/patched files are in "MironeAudio" folder on the desktop.  Can confirm ALC283 for SierraDP working on Skylake NUC6i5SYH.

 

Thanks @Mirone, @Micky1979 :)

  • Like 2
Link to comment
Share on other sites

thanks to you for the report.  :)

kindly you can test on older OS or old AppleHDA.kext? We introduced AppleHDAController patch ability, so if your controller is not supported, the app will show you a window asking which controller you want to replace. Maybe this happens with old unsupported kexts in skylake systems. So no need to change OS.. just drag an old AppleHDA :)

  • Like 1
Link to comment
Share on other sites

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

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...