No audio from internal speakers. ALC892 Mojave

Hi Guys, really hoping I'll be able to get some help here. I built my hack with Mojave and it seems to be running smoothly except for the audio. All of the output devices show in system preferences, and I can get sound from bt headphones and the front headphone port but not from internal speakers or line in. My monitor is connected to my computer via hdmi only and I thought this could be the issue but haven't found a fix yet. I've tested the hdmi with my laptop and the sound works perfectly.

I have AppleALC, Lilu and Whatevergreen in EFI/Clover/Kext/Other and have tried with them in L/E - no result. Downloading the most recent ones didn't have an effect either. I have tried all the layout id's for alc892 (Z390 mb) and none of them have worked, I have also tried changing HDAS to HDEF in clover configurator, resetting HDA, adding 'alcid=layout-id' to boot args, checking 'Use Intel HDMI' but still nothing. I tried to clear nvram in terminal using ' sudo nvram -c' and it came back with "Error clearing firmware variables: (iokit/common) not permitted"

After multiple clean installs and having looked everywhere for solutions, I'm now out of ideas and I would really appreciate any suggestions.
Thank you

MB: Gigabyte Z390 Gaming X

CPU: i7-9700k, 3.6 ghz

submitted by /u/ninetyfourblue
[link] [comments]
Share: