There is so much time ago I patched AppleHDA for some codecs Conexant but in almost all of them in most of the line CX207xx we had a problem with the microphones, both internal and external, the time was passing, and have developed some solutions of other people, but that didn't work for me at least, until a few days ago I helped @Striker770 mending
ALC294 and your headphones did not work as expected, so it was there that he found a Script in EliteMacx86.com that sends commands to hda-verb, and as a result got all the inputs and outputs activated this included ComboJack, so I'm basing on the idea of goodwin(ALCPlugFix) I did something that solved my problems and it works in most cases for both codecs ALC as well as for Conexant.
1- Download latest version of CodecCommander.kext
2- Mount your EFI partition using https://www.olarila.com/files/Utils/ESP Mounter Pro.app_v1.9.1.zip
3- Copy and paste CodecCommander from the Release folder to: EFI ▸ CLOVER ▸ kexts ▸ Other
4- copy the Jack_Fix folder to your Desktop and run Install.command
5- Repair the permissions and rebuild the caches.
Note: Before running the fourth step remember to edit JackFix (Open it in a text editor) according to the settings of your codec,
in this example we used the settings for Conexant CX20757, for more information see the CodecCommander approach HERE.
Note 2: AppleALC, aDummy.kext, and patched AppleHDA is fully supported by this process.
JackFix This is a script which updates the widget control when using Headphones, External Mics(ComboJack) and Internal Mics in many cases, In addition to the noise and distortion of audio.
hda-verb 0x19 SET_PIN_WIDGET_CONTROL 0x24 --> Enable External Mic (Pin Control (In Enable / VRefEn)
hda-verb 0x1a SET_PIN_WIDGET_CONTROL 0x24 --> Enable Internal Mic (Pin Control (In Enable / VRefEn)
Jack_Fix.zip
Credits:
EliteMacx86 by the idea of JackFix
RehabMan, TimeWalker and Darkvoid by CodecCommander.kext
goodwin by ALCPlugFix.