toleda / audio_CloverALC

macOS Realtek ALC onboard audio with Clover
679 stars 109 forks source link

ALC892 - Clover - Upgrade from 10.10 Yosemite to 10.11 El Capitan #43

Closed patrvlie closed 8 years ago

patrvlie commented 8 years ago

Hello,

I have tried to upgrade to El Capitan, unfortunately impossible for me to patch properly using the latest script 1.0f.

I used script 1.0e for 10.10 Yosemite and it worked like a charm.

I ensured to disable SIP completely by using the following RtVariables value (0x67):

<key>RtVariables</key>
    <dict>
        <key>BooterConfig</key>
        <string>0x28</string>
        <key>CsrActiveConfig</key>
        <string>0x67</string>
    </dict>

Then rebooted before running the script 1.0f.

I have seen others in various forums reporting the same. Not sure what the trick could be for now.

Let me know if I can provide further details that would be useful.

Thank you Regards Patou

toleda commented 8 years ago

Attach script 1.0f Terminal Output.

patrvlie commented 8 years ago

Hello Toleda,

For some reason attaching the file to my post is not working. Please find the details below.

Last login: Fri Oct  2 19:46:39 on console
Patous-iMac:~ patou$ /Users/patou/Downloads/audio_cloverALC-110_v1.0f.command ; exit;

Agreement
The audio_cloverALC-110 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-110 script is
provided as is and without any kind of warranty.

File: audio_cloverALC-110.command_v1.0f
Password:
EFI partition is mounted
System Integrity Protection status: enabled (Custom Configuration).

Configuration:
    Apple Internal: disabled
    Kext Signing: disabled
    Filesystem Protections: disabled
    Debugging Restrictions: disabled
    DTrace Restrictions: disabled
    NVRAM Protections: disabled

This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.
OK to patch
Confirm Realtek ALC892 (y/n): y
Enable HD4600 HDMI audio (y/n): n
Audio ID: 0 is not supported, continue (y/n): y
Clover Audio ID Injection (y/n): y
Use Audio ID: 0 (y/n): n
Audio IDs:
1 - 3/5/6 port Realtek ALCxxx audio
2 - 3 port (5.1) Realtek ALCxxx audio (n/a 885)
3 - HD3000/HD4000 HDMI and Realtek ALCxxx audio (n/a 885/1150 & 887/888 Legacy)
Select Audio ID: 2

Download ALC892 files ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 25585  100 25585    0     0  71613      0 --:--:-- --:--:-- --:--:-- 71466
Edit config.plist/Devices/Audio/Inject/2
Set: Entry, ":Devices:Audio:Inject", Does Not Exist
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  1404  100  1404    0     0   5289      0 --:--:-- --:--:-- --:--:--  5298
Install /Volumes/EFI/EFI/CLOVER/kexts/10.11/realtekALC.kext
Download config kext and install ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3586  100  3586    0     0  19215      0 --:--:-- --:--:-- --:--:-- 19279
Install System/Library/Extensions/AppleHDA.kext/ALC892 zml files
Fix permissions ...
Kernel cache...
rebuilding //System/Library/PrelinkedKernels/prelinkedkernel
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL81xx.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext AppleHDA.kext
AppleDataSetManagement.kext - dependency for com.apple.iokit.IOAHCIBlockStorage lacks valid OSBundleCompatibleVersion.
AppleDataSetManagement.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
AppleDataSetManagement.kext - dependency for com.apple.iokit.IOAHCIBlockStorage lacks valid OSBundleCompatibleVersion.
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 ...
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Regards Patou

toleda commented 8 years ago

From script output: Set: Entry, ":Devices:Audio:Inject", Does Not Exist Damaged config.plist Add config.plist/Devices/Audio/Inject/2

patrvlie commented 8 years ago

Hello Toleda,

Thank you so much for clarifying that message in the log I did not realize it was a fault.

Here is what I had initially in my config.plist file under the Devices/Audio key section

    <key>Devices</key>
    <dict>
        <key>Audio</key>
        <dict>
            <key>ResetHDA</key>
            <true/>
        </dict>
        <key>USB</key>
        <dict>
            <key>AddClockID</key>
            <true/>
            <key>FixOwnership</key>
            <true/>
            <key>Inject</key>
            <true/>
        </dict>
    </dict>

I have changed it to this, removing the 'ResetHDA' that was in place

    <key>Devices</key>
    <dict>
        <key>Audio</key>
        <dict>
            <key>Inject</key>
            <string>2</string>
        </dict>
        <key>USB</key>
        <dict>
            <key>AddClockID</key>
            <true/>
            <key>FixOwnership</key>
            <true/>
            <key>Inject</key>
            <true/>
        </dict>
    </dict>

I have restarted the machine and I could find under 'System Preferences/Sound' a list of 'Output' devices to configure while the list was empty before. I selected 'Internal Speakers' and it is now working like a charm again !!