Ok most of amlogic-based-tv-players have a problem with amlcodec. Here is how to fix it
1) install the Universal Init.d app, from the Playstore.
2) Turn it on, reboot and open the app up again. At the bottom in green lettering it should say "Your Kernal Has init.d Support.
3) I deleted all the the scripts under "Manage your init.d scripts:" leaving just 99SuperSUDaemon and the testinit.d.
4) Click on testinit.d and click edit in the top right corner. Delete all the stuff in there (you might have to scroll down to see all the text, make sure there is nothing in there) and copy the above script in there and save.
5) Hit Execute in the top right hand corner, and close the app.
6) Use a file explorer, I use esfileexplorer, and navigate to Device/etc/init.d here you can rename the testinit.d file to kodifix.
7) Now go back to Universal Init.d app and execute the file you just renamed. Reboot and it should now automatically load on startup.
8) Test kodi to see if it worked.
#!/system/bin/sh
chmod 666 /sys/class/display/mode
chmod 666 /dev/amvideo
chmod 666 /dev/amstream*
chmod 666 /sys/class/video/axis
chmod 666 /sys/class/video/screen_mode
chmod 666 /sys/class/video/disable_video
chmod 666 /sys/class/tsync/pts_pcrscr
chmod 666 /sys/class/audiodsp/digital_raw
chmod 666 /sys/class/ppmgr/ppmgr_3d_mode
chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor