When Mauro Rossi use these patch build 5.0 kernel oreo x86 iso, and you boot it load cht-cx2072x.ko and snd-soc-cx2072x.ko.
When you alsa_aplay -l see cht-cx2072x sound card,
then you can mkdir /system/usr/share/alsa/ucm/chtcx2072x folder, download chtcx2072x.conf and HiFi.conf,
then i will give you alsaucm 1.1.8 binary, file /system/xbin/alsaucm, ELF executable, 32-bit LSB 386, BuildID=a2502bdf33f72ef247f9bfe6fe9ecfb233bdda23, static, stripped
# alsaucm --version
alsaucm: version 1.1.8
then you can give command
alsaucm -c chtcx2072x set _verb HiFi set _enadev Speaker
alsaucm -c chtcx2072x set _verb HiFi set _enadev Headphones