Skip to content

Commit

Permalink
!0.9.4 AppleHDA Support Available.
Browse files Browse the repository at this point in the history
  • Loading branch information
toleda committed Jul 15, 2014
1 parent 44afb13 commit 3908b56
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 7 deletions.
Binary file modified 889.zip
Binary file not shown.
17 changes: 10 additions & 7 deletions README.txt
Expand Up @@ -11,7 +11,8 @@ Note: cloverALC, see https://github.com/toleda/audio_cloverALC
Requirements
1. Native S/L/E/AppleHDA.kext (restore native AppleHDA.kext with Combo Update)
2. Supported OS X versions:
2a. alc889-92 - Mavericks 10.9.3/AppleHDA.kext_v2.6.1
2a. alc889-94 - Mavericks 10.9.3/AppleHDA.kext_v2.6.3
2a. alc889-93 - Mavericks 10.9.3/AppleHDA.kext_v2.6.1
2b. alc889-92 - Mavericks 10.9.2/AppleHDA.kext_v2.6.0
2c. alc889-91 - Mavericks 10.9.1/AppleHDA.kext_v2.5.3
2d. alc889-90 - Mavericks 10.9/AppleHDA.kext_v2.5.2
Expand Down Expand Up @@ -63,12 +64,13 @@ Download

Installation/Shell Script/.command (Do not move folder or files)
1. Downloads/audio_ALC889-master/
1a. for 10.9.3/audio_alc889-93_patch.command
1b. for 10.9.2/audio_alc889-92_patch.command
1c. for 10.9.1/audio_alc889-91_patch.command
1d. for 10.9/audio_alc889-90_patch.command
1e. for 10.8.5/audio_alc889-85_patch.command
1f. for 10.8.4 and older/audio_alc889-84_patch.command
1a. for 10.9.4/audio_alc889-94_patch.command
1b. for 10.9.3/audio_alc889-93_patch.command
1c. for 10.9.2/audio_alc889-92_patch.command
1d. for 10.9.1/audio_alc889-91_patch.command
1e. for 10.9/audio_alc889-90_patch.command
1f. for 10.8.5/audio_alc889-85_patch.command
1g. for 10.8.4 and older/audio_alc889-84_patch.command

2. Launch (double click: audio_alc889-ver_patch.command)
3. Enter password at prompt
Expand Down Expand Up @@ -97,6 +99,7 @@ RevoGirl rip

toleda
https://github.com/toleda/audio_ALC889
audio_alc889-94_patch.command
audio_alc889-93_patch.command
audio_alc889-92_patch.command
audio_alc889-91_patch.command
Expand Down
54 changes: 54 additions & 0 deletions audio_alc889-94_patch.command
@@ -0,0 +1,54 @@
#!/bin/sh
# Maintained by: toleda for: github.com/toleda/audio_ALC889
# File: audio_alc889-94_patch,command_v1.0
# Credit: THeKiNG, VCH888, .:ErmaC:., bcc9, RevoGirl, PikeRAlpha, SJ_UnderWater
#
# OS X Realtek ALC889 Onboard Audio
#
# Enables OS X Realtek ALC889 onboard audio in Mountain Lion 10.9 and newer
# 1. Patches native AppleHDA.kext installed in System/Library/Extensions
# 2. Rename Desktop/audio_ALC889 to audio_ALC889-archive (if present)
# 3. Verify Downloads/audio_ALC889-master present
#
# Installation
# 1. Downloads/audio_ALC889-master/audio_alc889-94_patch.command
# 2. Double click audio_alc889-94_patch.command
# 3. Enter password at prompt
#
echo " "
echo "Agreement"
echo "The audio_ALC889_patch is for personal use only. Do not distribute the patch,"
echo "any or all of the enclosed files or the resulting patched AppleHDA.kext for any"
echo "reason without permission. The audio_ALC889_patch is provided as is and without"
echo "any kind of warranty."
echo " "
#
echo "Prepare Desktop/audio_ALC889 ..."
cd ~
rm -rf Desktop/audio_ALC889
cp -R Downloads/audio_ALC889-master Desktop/audio_ALC889
cp -R /System/Library/Extensions/AppleHDA.kext Desktop/audio_ALC889/AppleHDA-orig.kext
cd Desktop/audio_ALC889
unzip -q 889.zip
cd 889

echo "Install files ..."
sudo rm -R /System/Library/Extensions/AppleHDA.kext/Contents/Plugins/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist
sudo install -m 644 -o root -g wheel Info-94.plist /System/Library/Extensions/AppleHDA.kext/Contents/Plugins/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist
sudo rm -R /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*.zlib
sudo install -m 644 -o root -g wheel Platforms.xml.zlib layout1.xml.zlib layout2.xml.zlib layout3.xml.zlib /System/Library/Extensions/AppleHDA.kext/Contents/Resources

echo "Patch binary ..."
sudo perl -pi -e 's|\x8b\x19\xd4\x11|\x89\x08\xec\x10|g' /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

echo "Fix permissions ..."
sudo chown -R root:wheel /System/Library/Extensions/AppleHDA.kext

echo "Kernel cache..."
sudo touch /System/Library/Extensions

cd ~
rm -R Desktop/audio_ALC889/889
cp -R /System/Library/Extensions/AppleHDA.kext Desktop/audio_ALC889/AppleHDA.kext

echo "Finished, restart required."

0 comments on commit 3908b56

Please sign in to comment.