Jump to content

AppleHDA Patching in 10.9 Mavericks

applehda binary patch

  • Please log in to reply
148 replies to this topic

#61
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

Can you please specify if this really only happens with Clover UEFI and not with Clover EFI or other boot loaders?

Only Clover UEFI with AppleHDA 10.9 DP1/2 and AppleHDA 10.8.5 beta on my Z77X, ALC898.  I have no idea what would happen on ASUS boards.



#62
Alex Auditore

Alex Auditore

    InsanelyMac Legend

  • Donators
  • 700 posts
  • Gender:Male

in original post and here 

Do you use layout3? I just see that I've changeв 1.2.3-layouts. So by this reason of it I put a question.



#63
EvgeniX

EvgeniX

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
  • Gender:Male

Do you use layout3? I just see that I've changeв 1.2.3-layouts. So by this reason of it I put a question.

 

I used layout3 for HDMI audio with HD4000... but now I use layout1 but I do not think it's matter for patch?

patch was the same for all layouts its just different configs for HDMI outs...

 

for now I just use S/PDIF out



#64
toleda

toleda

    InsanelyMac Legend

  • Gurus
  • 1,185 posts
  • Gender:Male

Only Clover UEFI with AppleHDA 10.9 DP1/2 and AppleHDA 10.8.5 beta on my Z77X, ALC898.  I have no idea what would happen on ASUS boards.

Exactly the same on Asus/Clover UEFI; see Post #33.



#65
Alex Auditore

Alex Auditore

    InsanelyMac Legend

  • Donators
  • 700 posts
  • Gender:Male

I used layout3 for HDMI audio with HD4000... but now I use layout1 but I do not think it's matter for patch?

patch was the same for all layouts its just different configs for HDMI outs...

 

for now I just use S/PDIF out

Your  PinConfig devided into 15 parts. It's better to have united part. I afraid I can't assemble correct pinconfig for Mavericks in this case.

I advise you to gain united pinconfig from the Windows and and unify  layout 1.2.3 to united the whole(I would make so).



#66
EvgeniX

EvgeniX

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
  • Gender:Male

Your  PinConfig devided into 15 parts. It's better to have united part. I afraid I can't assemble correct pinconfig for Mavericks in this case.

I advise you to gain united pinconfig from the Windows and and unify  layout 1.2.3 to united the whole(I would make so).

but what about patch? did you fine correct values to patch?

I will try make new PinConfig thx



#67
naiclub

naiclub

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 191 posts
  • Gender:Male
  • Location:ThaiLand
  • Interests:Nuclear Fission+Galaxy
    http://www.youtube.com/watch?v=JVMlc4SgE5g
No sound, no sound!!
Several times to help me!!
:(  :(


#68
EvgeniX

EvgeniX

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
  • Gender:Male

Thx (good Thx) to all who did answer my question  :rolleyes:

 

after some read now I know how to patch AppleHDA myself  B)

 

for ALC898 it was too easy... just patch 8419d411 -> 9908ec10 (2 times if manually) and use old layoutXX.xml.zlib and Platforms.xml.zlib.

 

now I have fully working sound for 10.9!

 

also I did patch it with Boot-loader!!!



#69
Alex Auditore

Alex Auditore

    InsanelyMac Legend

  • Donators
  • 700 posts
  • Gender:Male

Thx (good Thx) to all who did answer my question  :rolleyes:
 
after some read now I know how to patch AppleHDA myself  B)
 
for ALC898 it was too easy... just patch 8419d411 -> 9908ec10 (2 times if manually) and use old layoutXX.xml.zlib and Platforms.xml.zlib.
 
now I have fully working sound for 10.9!
 
also I did patch it with Boot-loader!!!

Great you should also do so to not make patch again after each update.
http://www.insanelym...-of-bootloader/

#70
EvgeniX

EvgeniX

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
  • Gender:Male

Great you should also do so to not make patch again after each update.
http://www.insanelym...-of-bootloader/

 

that what I did!

 

I dont even need to make 8408ec10 -> 00000000 since 899>884  :ninja:

 

Thx!

 

 

also I did patch it with Boot-loader!!!



#71
truesoldier

truesoldier

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 172 posts

hi all 

slice has solved the problem!!!

 

@Slice This is because of different Bus Speed. CloverEFI uses more precise timer to calculate FSB then UEFI.

A solution will be writing a manual value for BusSpeedkHz.

here http://www.projectos...ic=2562&st=8940

 

thank for all,and slice you're awesome!!!!!

 

Edit: No more need Antipop!!!!



#72
VCH888

VCH888

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 585 posts

+1

 

Thanks Slice.

 

 

 

in config.plist,  my Z77X-UP5 TH

 

    <key>CPU</key>
    <dict>
        <key>BusSpeedkHz</key>
        <string>99790</string> or <string>100000</string>
    </dict>

 

more about BusSpeedkHz : http://clover-wiki.z...ion#BusSpeedkHz



#73
MyNewRig

MyNewRig

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts


Thx (good Thx) to all who did answer my question  :rolleyes:

 

after some read now I know how to patch AppleHDA myself  B)

 

for ALC898 it was too easy... just patch 8419d411 -> 9908ec10 (2 times if manually) and use old layoutXX.xml.zlib and Platforms.xml.zlib.

 

now I have fully working sound for 10.9!

 

also I did patch it with Boot-loader!!!

 

Ok i am pretty confused what i am doing wrong as i am new to OSX so i am not familiar with the kext environment, i will tell you guys the steps i am doing as i might be messing up somewhere without knowing, since i create and patch under windows and i am not sure if by doing this i am ruining the kext .. anyways this is what i do.

 

1- I install 10.9 DP1 from a USB created by MyHack then update to DP2

2- I run ##### and do the needed including installing the no DSDT ALC898 with the HDAEnabler1.kext and then install Chimera 2.1.1 to support my Haswell I5 and GTX780 Graphics at boot.

3- i take the AppleHDA.kext and put in a USB Drive with the Original AppleHDA.kext

4- I open the Original AppleHDA in Hex Workshop under windows and replace the pattern 8419d411 with 9908ec10 with two occurrences found and replaced 

5- I then take the layoutXX.xml.zlib and Platforms.xml.zlib from the old one created by ##### and replace it inside the new AppleHDA.kext, i then boot back to OSX and place the new supposedly patched file in S/L/E

6- Finally i boot back in MyHack and run MyFix to rebuild the cache and then boot back to OSX 

 

 

Unfortunately after doing that i do not find the Audio Icon nor do i find any Audio device in system information and of course no audio, please indicated what i am doing wrong in the patching process as i have no clue what i am doing :)

 

Thanks a bunch in advance.



#74
EvgeniX

EvgeniX

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
  • Gender:Male

 

Ok i am pretty confused what i am doing wrong as i am new to OSX so i am not familiar with the kext environment, i will tell you guys the steps i am doing as i might be messing up somewhere without knowing, since i create and patch under windows and i am not sure if by doing this i am ruining the kext .. anyways this is what i do.

 

1- I install 10.9 DP1 from a USB created by MyHack then update to DP2

2- I run ##### and do the needed including installing the no DSDT ALC898 with the HDAEnabler1.kext and then install Chimera 2.1.1 to support my Haswell I5 and GTX780 Graphics at boot.

3- i take the AppleHDA.kext and put in a USB Drive with the Original AppleHDA.kext

4- I open the Original AppleHDA in Hex Workshop under windows and replace the pattern 8419d411 with 9908ec10 with two occurrences found and replaced 

5- I then take the layoutXX.xml.zlib and Platforms.xml.zlib from the old one created by ##### and replace it inside the new AppleHDA.kext, i then boot back to OSX and place the new supposedly patched file in S/L/E

6- Finally i boot back in MyHack and run MyFix to rebuild the cache and then boot back to OSX 

 

 

Unfortunately after doing that i do not find the Audio Icon nor do i find any Audio device in system information and of course no audio, please indicated what i am doing wrong in the patching process as i have no clue what i am doing :)

 

Thanks a bunch in advance.

 

you forgot about AppleHDAHardwareConfigDriver Info.plist...

 

with HDAEnabler1 you XX in layoutXX.xml.zlib should be I think 1

 

but I always for DSDT!!!



#75
MyNewRig

MyNewRig

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

you forgot about AppleHDAHardwareConfigDriver Info.plist...

 

with HDAEnabler1 you XX in layoutXX.xml.zlib should be I think 1

 

but I always for DSDT!!!

Hey, thanks for your reply. i really tried all that stuff but still i can not get it to work, i even tried taking the AppleHDA for DP1 after patching it and replaced the ML known to work kext with it and left everything as it is but again sound disappears, as to the AppleHDAHardwareConfigDriver.kext i really did not know what to do with it, and all the online tutorial i could find are old and not very understandable, can you please share your patched file with me, or give me more details how to do it because i am getting really frustrated here.

 

Thank you very much



#76
EvgeniX

EvgeniX

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
  • Gender:Male

Hey, thanks for your reply. i really tried all that stuff but still i can not get it to work, i even tried taking the AppleHDA for DP1 after patching it and replaced the ML known to work kext with it and left everything as it is but again sound disappears, as to the AppleHDAHardwareConfigDriver.kext i really did not know what to do with it, and all the online tutorial i could find are old and not very understandable, can you please share your patched file with me, or give me more details how to do it because i am getting really frustrated here.

 

Thank you very much

 

 

here is working one with 1,2,3 layouts... and Platforms.xml.zlib...

 

 

and in you need to add your 

 

- CodecID 
- ConfigData 
- FuncGroup must be 1
- LayoutID
 
here is working part to add:
 
<key>HDA Hardware Config Resource</key>
		<dict>
			<key>CFBundleIdentifier</key>
			<string>com.apple.driver.AppleHDAHardwareConfigDriver</string>
			<key>HDAConfigDefault</key>
			<array>
				<dict>
					<key>CodecID</key>
					<integer>283904153</integer>
					<key>ConfigData</key>
					<data>
					IUccECFHHUAhRx4RIUcfASFXHCAhVx0QIVce
					ASFXHwEhZxwwIWcdYCFnHgEhZx8BIXcc8CF3
					HQAhdx4AIXcfQCGHHEAhhx2QIYceoSGHH5Ah
					lxxgIZcdkCGXHoEhlx8CIaccUCGnHTAhpx6B
					IacfASG3HHAhtx1AIbceISG3HwIh5xyQIecd
					YSHnHksh5x8BIfcc8CH3HQAh9x4AIfcfQCEX
					HPAhFx0AIRceACEXH0A=
					</data>
					<key>FuncGroup</key>
					<integer>1</integer>
					<key>LayoutID</key>
					<integer>1</integer>
				</dict>
				<dict>
					<key>CodecID</key>
					<integer>283904153</integer>
					<key>ConfigData</key>
					<data>
					IUccECFHHUAhRx4RIUcfASFXHPAhVx0AIVce
					ACFXH0AhZxzwIWcdACFnHgAhZx9AIXcc8CF3
					HQAhdx4AIXcfQCGHHEAhhx2QIYceASGHH5Ah
					lxxgIZcdkCGXHoEhlx8CIaccUCGnHTAhpx4B
					IacfASG3HHAhtx1AIbceISG3HwIh5xyQIecd
					YSHnHksh5x8BIfcc8CH3HQAh9x4AIfcfQCEX
					HPAhFx0AIRceACEXH0A=
					</data>
					<key>FuncGroup</key>
					<integer>1</integer>
					<key>LayoutID</key>
					<integer>2</integer>
				</dict>
				<dict>
					<key>CodecID</key>
					<integer>283904153</integer>
					<key>ConfigData</key>
					<data>
					IUccECFHHUAhRx4RIUcfASFXHCAhVx0QIVce
					ASFXHwEhZxzwIWcdACFnHgAhZx9AIXcc8CF3
					HQAhdx4AIXcfQCGHHEAhhx2QIYceoSGHH5Ah
					lxxQIZcdkCGXHoEhlx8CIaccYCGnHTAhpx6B
					IacfASG3HHAhtx1AIbceISG3HwIh5xyQIecd
					YSHnHksh5x8BIfcc8CH3HQAh9x4AIfcfQCEX
					HPAhFx0AIRceACEXH0A=
					</data>
					<key>FuncGroup</key>
					<integer>1</integer>
					<key>LayoutID</key>
					<integer>3</integer>
				</dict>

if you do not have DSDT with right layout make sure you HDAEnabler set to 1 or 2 or 3...

 

(different layouts just for HDMI if you do not have HDMI use layouts 1)

 

what Motherboard you have...

 

 

here is a good tutorial if you want to know more - http://www.projectos...p?showtopic=465

Attached Files



#77
MyNewRig

MyNewRig

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts

Thanks a bunch, i will take all day to look at your snippet and study your file and the tutorial you posted to try to make a sense out of all this and hopefully get a working sound by the end of the day.

 

I have the GA-Z87X-UD3H Gigabyte Motherboard found here http://uk.gigabyte.c...spx?pid=4481#sp with the Realtek ALC898, 4th Generation core i5 4670K and a Geforce GTX780 graphics card.

 

Everything works perfectly and natively except i have to disable the integrated HD4600 because it is currently not naively supported and causes the boot to hang, i run it with the GTX780 with GraphicsEnabler=No without any problems.

 

The only thing that i am having difficulty with is sound, if i manage to get that to work i would have a perfectly working installation with sleep and power management functioning properly and without DSDT 

 

If you can provide further help after knowing my exact hardware and setup that would really be great, otherwise i will get down to work using the info you supplied and see where i end up :)

 

 

EDIT: What do you mean by using HDMI,, i am using an HDMI to DVI cable along with the two DVI connectors at the back of the Graphics card to connect three monitors, and i am not using the HDMI on the motherboard because i have the internal graphics disabled, i am not sure how is that related to the sound coming out from the ALC898?

 

 

Thanks again.



#78
EvgeniX

EvgeniX

    InsanelyMac Protégé

  • Members
  • PipPip
  • 95 posts
  • Gender:Male

Thanks a bunch, i will take all day to look at your snippet and study your file and the tutorial you posted to try to make a sense out of all this and hopefully get a working sound by the end of the day.

 

I have the GA-Z87X-UD3H Gigabyte Motherboard found here http://uk.gigabyte.c...spx?pid=4481#sp with the Realtek ALC898, 4th Generation core i5 4670K and a Geforce GTX780 graphics card.

 

Everything works perfectly and natively except i have to disable the integrated HD4600 because it is currently not naively supported and causes the boot to hang, i run it with the GTX780 with GraphicsEnabler=No without any problems.

 

The only thing that i am having difficulty with is sound, if i manage to get that to work i would have a perfectly working installation with sleep and power management functioning properly and without DSDT 

 

If you can provide further help after knowing my exact hardware and setup that would really be great, otherwise i will get down to work using the info you supplied and see where i end up :)

 

 

EDIT: What do you mean by using HDMI,, i am using an HDMI to DVI cable along with the two DVI connectors at the back of the Graphics card to connect three monitors, and i am not using the HDMI on the motherboard because i have the internal graphics disabled, i am not sure how is that related to the sound coming out from the ALC898?

 

 

Thanks again.

 

if you want to use HDMI audio i think you have to use DSDT...

 

thats why I have layout3 with DSDT... which takes some outputs from ALC898 to have room for HDMI out... 

 

but if you do not use HDMI audio you dont need it...



#79
naiclub

naiclub

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 191 posts
  • Gender:Male
  • Location:ThaiLand
  • Interests:Nuclear Fission+Galaxy
    http://www.youtube.com/watch?v=JVMlc4SgE5g

here is working one with 1,2,3 layouts... and Platforms.xml.zlib...

 

 

and in you need to add your 

 

- CodecID 
- ConfigData 
- FuncGroup must be 1
- LayoutID
 
here is working part to add:
 
<key>HDA Hardware Config Resource</key>
		<dict>
			<key>CFBundleIdentifier</key>
			<string>com.apple.driver.AppleHDAHardwareConfigDriver</string>
			<key>HDAConfigDefault</key>
			<array>
				<dict>
					<key>CodecID</key>
					<integer>283904153</integer>
					<key>ConfigData</key>
					<data>
					IUccECFHHUAhRx4RIUcfASFXHCAhVx0QIVce
					ASFXHwEhZxwwIWcdYCFnHgEhZx8BIXcc8CF3
					HQAhdx4AIXcfQCGHHEAhhx2QIYceoSGHH5Ah
					lxxgIZcdkCGXHoEhlx8CIaccUCGnHTAhpx6B
					IacfASG3HHAhtx1AIbceISG3HwIh5xyQIecd
					YSHnHksh5x8BIfcc8CH3HQAh9x4AIfcfQCEX
					HPAhFx0AIRceACEXH0A=
					</data>
					<key>FuncGroup</key>
					<integer>1</integer>
					<key>LayoutID</key>
					<integer>1</integer>
				</dict>
				<dict>
					<key>CodecID</key>
					<integer>283904153</integer>
					<key>ConfigData</key>
					<data>
					IUccECFHHUAhRx4RIUcfASFXHPAhVx0AIVce
					ACFXH0AhZxzwIWcdACFnHgAhZx9AIXcc8CF3
					HQAhdx4AIXcfQCGHHEAhhx2QIYceASGHH5Ah
					lxxgIZcdkCGXHoEhlx8CIaccUCGnHTAhpx4B
					IacfASG3HHAhtx1AIbceISG3HwIh5xyQIecd
					YSHnHksh5x8BIfcc8CH3HQAh9x4AIfcfQCEX
					HPAhFx0AIRceACEXH0A=
					</data>
					<key>FuncGroup</key>
					<integer>1</integer>
					<key>LayoutID</key>
					<integer>2</integer>
				</dict>
				<dict>
					<key>CodecID</key>
					<integer>283904153</integer>
					<key>ConfigData</key>
					<data>
					IUccECFHHUAhRx4RIUcfASFXHCAhVx0QIVce
					ASFXHwEhZxzwIWcdACFnHgAhZx9AIXcc8CF3
					HQAhdx4AIXcfQCGHHEAhhx2QIYceoSGHH5Ah
					lxxQIZcdkCGXHoEhlx8CIaccYCGnHTAhpx6B
					IacfASG3HHAhtx1AIbceISG3HwIh5xyQIecd
					YSHnHksh5x8BIfcc8CH3HQAh9x4AIfcfQCEX
					HPAhFx0AIRceACEXH0A=
					</data>
					<key>FuncGroup</key>
					<integer>1</integer>
					<key>LayoutID</key>
					<integer>3</integer>
				</dict>

if you do not have DSDT with right layout make sure you HDAEnabler set to 1 or 2 or 3...

 

(different layouts just for HDMI if you do not have HDMI use layouts 1)

 

what Motherboard you have...

 

 

here is a good tutorial if you want to know more - http://www.projectos...p?showtopic=465

follow you, then do not do the z87 GA-Z87X-UD3H alc 898



#80
naiclub

naiclub

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 191 posts
  • Gender:Male
  • Location:ThaiLand
  • Interests:Nuclear Fission+Galaxy
    http://www.youtube.com/watch?v=JVMlc4SgE5g

I do not 898  :(  :(







Also tagged with one or more of these keywords: applehda, binary patch


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy