toleda / audio_CloverALC

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

Error running script #60

Closed ilanbiala closed 7 years ago

ilanbiala commented 8 years ago
$ ./audio_cloverALC-110_v1.0p10.command
./audio_cloverALC-110_v1.0p10.command: line 1: a#!/bin/sh: No such file or directory

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.0p10
Password:
EFI partition not mounted
Crucial/EFI not found
EFI/CLOVER folder not available to install audio
No system files were changed
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...

ilan at IBIALA in ~/Downloads
$ ./audio_cloverALC-110_v1.0p10.command
./audio_cloverALC-110_v1.0p10.command: line 1: a#!/bin/sh: No such file or directory

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.0p10
EFI partition is mounted
Boot/Arguments = kext-dev-mode=1 found
Confirm Realtek ALC892 (y/n): y
Clover Audio ID Injection (y/n): y
Use Audio ID: 1 (y/n): y

Download ALC892 files ...
Confirm Realtek ALC892 test (y/n): y
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9  100     9    0     0     36      0 --:--:-- --:--:-- --:--:--    36
[/tmp/ALC892.zip]
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of /tmp/ALC892.zip or
        /tmp/ALC892.zip.zip, and cannot find /tmp/ALC892.zip.ZIP, period.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2707  100  2707    0     0  12286      0 --:--:-- --:--:-- --:--:-- 12304
Edit config.plist/Devices/Audio/Inject/1
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   6457      0 --:--:-- --:--:-- --:--:--  6440
Install /Volumes/EFI/EFI/CLOVER/kexts/10.10/realtekALC.kext
Install System/Library/Extensions/AppleHDA.kext/ALC892 zml files
install: /tmp/892/Platforms.xml.zlib: No such file or directory
install: /tmp/892/layout1.xml.zlib: No such file or directory
install: /tmp/892/layout2.xml.zlib: No such file or directory
install: /tmp/892/layout3.xml.zlib: No such file or directory
Error: Installation failure
rm: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*zml.zlib: No such file or directory
Original S/L/E/AppleHDA.kext restored
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...

A file isn't found and it causes the audio script to not install.

AlbertEmil commented 8 years ago

Same problem here for ALC1150. Neither .command-script nor .sh-script is working which are nearly the same from a code point of view.

I think there might be some problems by downloading the files. I took a look at the script code and downloaded the needed zip archive manually using curl. The downloaded archive has the following contents:

Info-85.plist
Info-90.plist
Info-91.plist
Info-92.plist
Info-93.plist
Info-94.plist
Platforms.xml.zlib
hdacd.plist
layout1.xml.zlib
layout2.xml.zlib
layout3.xml.zlib

This is the log from the terminal:

EFI partition is mounted System Integrity Protection status: disabled.

OK to patch Confirm Realtek ALC1150 (y/n): y B0D3@3 found, HDAU edit required for HD4600 HDMI audio dsdt edit/ssdt injection not available with this script Patch AppleHDA.kext for HD4600 HDMI audio (y/n): y Audio ID: 0 is not supported, continue (y/n): y Clover Audio ID Injection (y/n): y Audio IDs: 1 - 3/5/6 port Realtek ALCxxx audio 2 - 3 port (5.1) Realtek ALCxxx audio (n/a 885) 3 - HD3000/HD4000/HD5xx HDMI audio and Realtek ALCxxx audio (n/a 885 & 887/888 Legacy) Select Audio ID: 1

Download ALC1150 files ... Confirm Realtek ALC1150 test (y/n): y % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9 100 9 0 0 11 0 --:--:-- --:--:-- --:--:-- 11 [/tmp/ALC1150.zip] End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of /tmp/ALC1150.zip or /tmp/ALC1150.zip.zip, and cannot find /tmp/ALC1150.zip.ZIP, period. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2707 100 2707 0 0 10574 0 --:--:-- --:--:-- --:--:-- 10574 Edit config.plist/Devices/Audio/Inject/1 Add: ":Devices:Audio:Inject" Entry Already Exists 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 5669 0 --:--:-- --:--:-- --:--:-- 5684 Install /Volumes/EFI/EFI/CLOVER/kexts/10.11/realtekALC.kext Install System/Library/Extensions/AppleHDA.kext/ALC1150 zml files install: /tmp/1150/Platforms.xml.zlib: No such file or directory install: /tmp/1150/layout1.xml.zlib: No such file or directory install: /tmp/1150/layout2.xml.zlib: No such file or directory install: /tmp/1150/layout3.xml.zlib: No such file or directory Error: Installation failure rm: /System/Library/Extensions/AppleHDA.kext/Contents/Resources/*zml.zlib: No such file or directory Original S/L/E/AppleHDA.kext restored To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...

ilanbiala commented 8 years ago

@toleda any ideas?

toleda commented 8 years ago

Apologies, fixed in v1.0p20

AlbertEmil commented 7 years ago

@toleda: If so, shouldn't this issue be closed?