Dear Toleda, thank you for your post.
I got audio working on my Razer Stealth 12.5 code ALC298, but I am facing 2 problems:
1.No sound: it happens randomly, especially after a reboot to Windows 10, as audio device still shows and slider bar, but the speakers make no sound. I try to fix them by re-run kextcache, but it still happens after a few reboot. I also even tried cloverHDA that I found on another post, but the problem is still the same. Also, when it happens, as I plug in my headphones, it still works with sound. Very strange. I also tried ResetHDA clover patch but no luck.
2.When I hot plug HDMI, there is no audio device for external display. I have installed FakePCIID+FakePCIID_HDMI kexts but still no luck.
And when I boot with HDMI plugged, there is external audio device but it recognizes as DP and there is no volume control.
Please see my attached debug file and hope you can help me. The debug is when I am having no sound.
P/S: My problem is the same as they discussed in this post just for your interest:
https://github.com/insanelydeepak/cloverHDA-for-Mac-OS-Sierra-10.12/issues/39
But it was on 10.12, I am on 10.14 now and hope there is a fix. Thank you.