My device is an Android MiniTV mk808c.
The device defaults the Audio Output to audio_hdmi. I need the device to default to audio_codec OR change to audio_codec automatically. I can do this manually via a menu under settings->sound->audio output
From what I understand "audio output mode is a setting - audio.routing. It accepts the values 2 (CODEC), 1024 (HDMI) and 4096 (S/PDIF). "
Any help would be greatly appreciated. I need to write a one line app or if you have any other idea?