HW scalers and HD audio codecs

Evenin’

I’ve been using a laptop for Kodi for a couple of years and obtained a fair number of films on external HD’s.

I’ve got a 4k TV and a Sony DTS MA amp.

I bought a Tronsmart Vega S95 meta Amlogic S905.

It comes preinstalked with a version of Kodi(15.2) – a blank install not a loaded one or anything.
It’s plays videos in 4k including the test file and I can read the purple text fine.
But, it wants me to subscribe to play DTS HD audio which seems a bit odd.

So I downloaded Kodi 17.2 and bingo, it plays DTS HD audio fine but it won’t play in 4k. It’s not just the gui, I can’t read the purple text in the test file.

The HW codecs must be the reason and so I wanted to know if I could either copy the audio codec from the 17.2 version into the preinstalled version so I get both DTS HD audio and 4k picture OR copy the HW accelerators from the 15.2 version into the 17.2 version so I get both audio and 4k picture.

The 15.2 codecs are:-

Amcodec
Libstagefright
Media codec
The 17.2 code is only the media codes and a surface version.

The other thing is…… Both of these play any video and pictures and they are really grainy, I mean REALLY grainy but when I switch back to my old laptop Kodi they are fine quality wise.

It’s a big ask but can anyone help me please?

Thanks in advance