Skip to content

Instantly share code, notes, and snippets.

@qxj
Created May 6, 2018 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qxj/04de42f5cad1414d7234347e172a62d7 to your computer and use it in GitHub Desktop.
Save qxj/04de42f5cad1414d7234347e172a62d7 to your computer and use it in GitHub Desktop.
$ sh audio_cloverALC-130.sh
Agreement
The audio_cloverALC script is for personal use only. Do not distribute
the patch, any or all of the files or the resulting patched AppleHDA.kext
for any reason without permission. The audio_cloverALC script is
provided as is and without any kind of warranty.
File: audio_cloverALC-130.command_v0.5
Release Mode
EFI partition is mounted
System Integrity Protection status: disabled.
OK to patch
Confirm Realtek ALC1150 (y/n): y
Clover Audio ID Injection (y/n): y
Use Audio ID: 1 (y/n): n
Enter valid Audio ID (0 to exit): 2
Motherboard (300/200/x299/x99/Other = n):
Try again...
Motherboard (300/200/x299/x99/Other = n): n
Download ALC1150 files ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 23555 100 23555 0 0 19177 0 0:00:01 0:00:01 --:--:-- 19197
1150 files copied to /tmp/1150
Edit config.plist/Devices/Audio/Inject/2
Edit config.plist/SystemParameters/InjectKexts/Yes
Download kext patches
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2092 100 2092 0 0 2541 0 --:--:-- --:--:-- --:--:-- 2541
Download config kext and install ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4223 100 4223 0 0 4912 0 --:--:-- --:--:-- --:--:-- 4910
Install /Volumes/EFI/EFI/CLOVER/kexts/Other/realtekALC.kext
Install System/Library/Extensions/AppleHDA.kext/ALC1150 zml files
Fix permissions ...
Kernel cache...
rebuilding //System/Library/PrelinkedKernels/prelinkedkernel
Kext with invalid signatured (-67062) allowed: <OSKext 0x7feb67443050 [0x7fffb063eaf0]> { URL = "FakeSMC.kext/ -- file:///Library/Extensions/", ID = "org.netkas.driver.FakeSMC" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7feb6740dd60 [0x7fffb063eaf0]> { URL = "FakeSMC_CPUSensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.CPUSensors" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7feb6a116f90 [0x7fffb063eaf0]> { URL = "FakeSMC_GPUSensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.GPUSensors" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7feb6a0bbb40 [0x7fffb063eaf0]> { URL = "FakeSMC_ACPISensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.ACPISensors" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7feb6a06a020 [0x7fffb063eaf0]> { URL = "USBInjectAll.kext/ -- file:///Library/Extensions/", ID = "com.rehabman.driver.USBInjectAll" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7feb6a036870 [0x7fffb063eaf0]> { URL = "IntelMausiEthernet.kext/ -- file:///Library/Extensions/", ID = "com.insanelymac.IntelMausiEthernet" }
Kext with invalid signatured (-67062) allowed: <OSKext 0x7feb6a010f90 [0x7fffb063eaf0]> { URL = "FakeSMC_LPCSensors.kext/ -- file:///Library/Extensions/", ID = "org.hwsensors.driver.LPCSensors" }
Kext with invalid signatured (-67054) allowed: <OSKext 0x7feb69d68ee0 [0x7fffb063eaf0]> { URL = "AppleHDA.kext/ -- file:///System/Library/Extensions/", ID = "com.apple.driver.AppleHDA" }
KernelCache ID: 7AF414D8384C7519C8FB48AC8FF7E919
kextcache updated critical boot files, requesting launchd reboot
Install finished, restart required.
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment