Kodi on ODROID-C2: HDMI Passthrough

1. Download the ODROID-HDMI.conf alsa configuration file

$ sudo wget https://git.io/vi7df -O /usr/share/alsa/cards/ODROID-HDMI.conf

2. Run Kodi with AE_SINK=ALSA on the terminal

$ AE_SINK=ALSA kodi

or Modify Kodi desktop launcher file(@Jojo's guide). (Exec=kodi → Exec=bash -c 'AE_SINK=ALSA kodi')

[Desktop Entry]
Version=1.0
Name=Kodi media center
GenericName=Media center
Comment=Manage and view your media
Exec=bash -c 'AE_SINK=ALSA kodi'
Icon=kodi
Terminal=false
Type=Application
Categories=AudioVideo;Video;Player;TV;

Actions=Fullscreen;Standalone;

[Desktop Action Fullscreen]
Name=Open in fullscreen
Exec=kodi -fs
OnlyShowIn=Unity;

[Desktop Action Standalone]
Name=Open in standalone mode
Exec=kodi --standalone
OnlyShowIn=Unity;

3. Enable HDMI passthrough feature in Kodi