Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS Mojave #139

Open
rafnogueira opened this issue Jun 29, 2018 · 34 comments
Open

Mac OS Mojave #139

rafnogueira opened this issue Jun 29, 2018 · 34 comments

Comments

@rafnogueira
Copy link

Will be any support to Mac OS Mojave ?
Is anyway that I can edit the file to 'force' the script to fun on my Mojave Beta installation ?

@toleda
Copy link
Owner

toleda commented Jul 2, 2018

Yes.
Major issue: Audio ID: 1 and 3 do not work in Mojave, Audio ID: 2 is working
Mojave release will likely have new Audio IDs, backward capability is unknown at this point.

cloverALC, use Audio ID: 2, edit audio_cloverALC...command:
at

# verify system version
case ${gSysVer} in

add

    10.14* ) gSysName="Mojave"
    gSysFolder=kexts/10.14
    gSID=$(csrutil status)
    ;;

@rafnogueira
Copy link
Author

rafnogueira commented Jul 2, 2018

After I made the changes in Audio ID and also the script I receive this output:

iMac-de-Rafael:Downloads rafael$ 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

No audio codec detected
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...

Also my audio is ALC887, thank you very much for your help with this

Update 2 :
I restored the AppleHDA.kext to native with kext utility, and boot with Audio ID: 1, I manage to run the script :

Release Mode
EFI partition is mounted
Confirm Realtek ALC887 (y/n): y
ALC887 v_0x100302 (Current)
Clover Audio ID Injection (y/n): y
Use Audio ID: 2 (y/n): y
Motherboard (300/200/x299/x99/Other = n): n

Download ALC887 files ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 24502 100 24502 0 0 92047 0 --:--:-- --:--:-- --:--:-- 92460
887 files copied to /tmp/887
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 1979 100 1979 0 0 13008 0 --:--:-- --:--:-- --:--:-- 12934
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 27062 0 --:--:-- --:--:-- --:--:-- 27070
Install /Volumes/EFI/EFI/CLOVER/kexts/Other/realtekALC.kext
Install System/Library/Extensions/AppleHDA.kext/ALC887 zml files

Install finished, restart required.
To save a Copy of this Terminal session: Terminal/Shell/Export Text As ...

After this point I always manage to have sound working in High Sierra, but in Mojave seems that still not enough, not audio devices to select in system preferences.

@toleda
Copy link
Owner

toleda commented Jul 2, 2018

Motherboard?
Attach a copy of IOReg.

@rafnogueira
Copy link
Author

rafnogueira commented Jul 3, 2018

Motherboard: Asus H81M-CS/BR

My IOReg ( I don't know if I made the process right, first time I done this), I extracted with IORegistryExplorer.app using "Save As.." option :
https://ufile.io/c896t

@toleda
Copy link
Owner

toleda commented Jul 3, 2018

File is corrupt.
Use this version: https://github.com/toleda/audio_ALCInjection/blob/master/IORegistryExplorer_v2.1.zip
IORegistryExplorer/File/Save A Copy as ...

@rafnogueira
Copy link
Author

I made another upload with the updated tool,I tested seems to be working now
https://ufile.io/k20xq

@toleda
Copy link
Owner

toleda commented Jul 4, 2018

Installed VoodooHDA, not supported in this repo.

@rafnogueira
Copy link
Author

@toleda Yes, when i send the log i was using vodoo but i made this after tried all steps before when i was not using vodoo before last IOReg

@toleda
Copy link
Owner

toleda commented Jul 4, 2018

IOReg with Voodoo makes it impossible to see what was wrong before Voodoo. No support with Voodoo installed. Choices:
a. Continue with Voodoo, issue will be closed
b. As requested previously, attach a useable IOReg without Voodoo.

@raulmiguelramos
Copy link

Changed:
Add in "audio_cloverALC-130_v0.5.command":

10.14* ) gSysName="Mojave"
gSysFolder=kexts/10.14
gSID=$(csrutil status)
;;

After run the modified "audio_cloverALC-130_v0.5.command"

In config.plist
Change: MatchOS from "10.12.x,10.13.x" to "10.12.x,10.13.x,10.14.x" in Kernel and Kext Patches
Change: Audio ID 1 to 2 in devices

Reboot and works on a Gigabyte z97 gaming 5 (Realtek ALC1150 !?)
I did not test with id = 1

Thanks

@toleda
Copy link
Owner

toleda commented Jul 8, 2018

Thanks.

@raulmiguelramos
Copy link

raulmiguelramos commented Jul 11, 2018

For troubleshooting propose. I only have Audio in Mojave if i use the driver UEFI 64 "OsxAptioFix2Drv-64.efi" If i use "OsxAptioFix3Drv-64.efi" i have nothing.
I use "OsxAptioFix3Drv-64.efi" on High Sierra and audio works fine.

@rafnogueira
Copy link
Author

rafnogueira commented Jul 12, 2018

@raulmiguelramos
I reinstalled Mojave Beta 3 from scratch, and followed your steps editing the config.plist and audio now works.
Thank you very much!

@toleda
Copy link
Owner

toleda commented Jul 12, 2018

raulmiguelramos
Try AptioMemoryFix-64.efi, replaces OsxAptioFix2Drv-64.efi and OsxAptioFix3Drv-64.efi

@raulmiguelramos
Copy link

Was to swear AptioMemoryFix-64.efi was the first one then OsxAptioFix2Drv-64.efi hibernation support and the late OsxAptioFix3Drv-64.efi with NVRAM support or something in this lines?:
AptioMemoryFix-64.efi and OsxAptioFix2Drv-64.efi works fine in Mojave with this patch. Don't know why OsxAptioFix3Drv-64.efi doesn't work.
I put it here to help someone with the problem.

@Pro2005
Copy link

Pro2005 commented Jul 16, 2018

Hi guys. Could you help me with my hackintosh
I have Gigabyte B360M D2V motherboard with ALC887 codec
When I try to start audio_cloverALC...command I see
"no audio codec detected"
Mac OS Mojave Beta 3

https://ufile.io/h2bls
https://ufile.io/f219d
My drivers64UEFI folder contains:
apfs.efi
AppleImageCodec-64.efi
AppleKeyAggregator-64.efi
AppleUITheme-64.efi
AptioMemoryFix-64.efi
DataHubDxe-64.efi
EmuVariableUefi-64.efi
FirmwareVolume-64.efi
FSInject-64.efi
SMCHelper-64.efi
VBoxHfs-64.efi

Any help is appreciated

@toleda
Copy link
Owner

toleda commented Jul 17, 2018

@raulmiguelramos
"AptioMemoryFix-64.efi and OsxAptioFix2Drv-64.efi works fine in Mojave with this patch:" one or the other, not both.

@toleda
Copy link
Owner

toleda commented Jul 17, 2018

@Pro2005
Mojave does not support Coffee Lake audio. Coffee Lake audio patch is not working.
Attach Clover boot log.

@Pro2005
Copy link

Pro2005 commented Jul 17, 2018

@toleda
Here is boot log
https://ufile.io/zhjsi

@toleda
Copy link
Owner

toleda commented Jul 18, 2018

config.plist typo, remove ,
from: 10.13.x,10.14.x,
to: 10.13.x,10.14.x

screen shot 2018-07-17 at 10 26 08 pm

@Pro2005
Copy link

Pro2005 commented Jul 18, 2018

@toleda done
But the result the same

@toleda
Copy link
Owner

toleda commented Jul 19, 2018

Did this error disappear?
5:969 0:000 - [06]: com.apple.driver.AppleHDAController (10.13-Coffee_Audio_Controller) :: BinPatch :: [OS: 10.14 | MatchOS: 10.13.x,10.14.x, | MatchBuild: All] ==> not allowed

@Pro2005
Copy link

Pro2005 commented Jul 19, 2018

Hi @toleda . It seems the problem was with IntelGraphicsFixup and igfxbeta=1 boot key. After removing them the error "no audio codec detected" was gone. Although I've moved on appleALC.kext that works perfectly with layout_id=7
Anyway thanks for your help

@gipfelen
Copy link

Your fix works perfectly, but I'm unable to get the microphone working with audio id 2. Any suggestions?

@gipfelen
Copy link

I fixed the issue by directly using prerelease lilu/audioALC kext files! (now it works with audio-id 1 injected)

@yusabian
Copy link

yusabian commented Sep 2, 2018

I ran the command for mojave with apfs boot disk and get this messages;

Last login: Mon Sep 3 00:12:50 on ttys000
MyMac:~ yusaini$ /Volumes/DataStore/OSX\ Repository/AudioFIx\ Mojave/audio_cloverALC-130_v0.5.command ; exit;
-bash: /Volumes/DataStore/OSX Repository/AudioFIx Mojave/audio_cloverALC-130_v0.5.command: /bin/sh: bad interpreter: Operation not permitted
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

The command runs well under mojave hfs+.

Please advise. TQ

@toleda
Copy link
Owner

toleda commented Sep 14, 2018

Apology for the delay in replying. Still working through Mojave issues. Will update when Mojave testing is complete.

@mrPsycho
Copy link

after upgrading to 10.14 from 10.13 sound dissapeared
did that: #139 (comment)
and it turned back

thanks @toleda and @raulmiguelramos !

@danhutten
Copy link

@raulmiguelramos solution worked perfectly, using modified audio_cloverALC-130_v0.5.command

using optical audio port on gigabyte z97x ud3h - audio device id 2

@rafnogueira
Copy link
Author

Guys with this patches to the script my audio was working very well in Mojave with my old GTX 1060, but now, I exchange my GTX 1060 to a Radeon RX 480 8gb sapphire , and I have only HDMI audio. I tried to run the command as always, and put audio id = 2. But now I have only HDMI output .... not green output and pink input anymore. What should I do ?

@toleda
Copy link
Owner

toleda commented Oct 26, 2018

Graphics card has no effect on onboard audio. See README/F. Problem Reporting. Attach requested files.

Repository owner deleted a comment from yusabian Oct 26, 2018
@farrvince
Copy link

Hello. Do you have any solution for ALC889 at Mojave? :) I tried with this patch but still no sound.

@toleda
Copy link
Owner

toleda commented Dec 17, 2018

Mojave is not supported, see README. Same 889 files are included with AppleALC.kext/layout=1.
This repo is deprecated.

@farrvince
Copy link

Mojave is not supported, see README. Same 889 files are included with AppleALC.kext/layout=1.
This repo is deprecated.

Thank you. Solved with this: "
10.14* ) gSysName="Mojave"
gSysFolder=kexts/10.14
gSID=$(csrutil status)
;;
"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants