Soporte para VidOn XBMC

Configuración de Amlogic SDK - S802 S805 S812

1. Permisión:

         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

         chmod 666 /sys/class/video/blackout_policy

         chmod 666 /dev/snd/controlC0

         chmod 666 /dev/snd/pcmC0D0c

         chmod 666 /dev/snd/pcmC0D0p

         chmod 666 /dev/snd/pcmC0D1c

         chmod 666 /dev/snd/pcmC0D1p

         chmod 666 /dev/snd/timer

         chmod 666 /sys/class/audiodsp/digital_codec

         chmod 666 /sys/devices/platform/spdif-dit.0/spdif_mute

         chmod 666 /sys/class/amhdmitx/amhdmitx0/config

         chmod 666 /sys/class/display/mode

        

 

2. Cambio:

   frameworks/base/services/java/com/android/server/wm/WindowStateAnimator.java

 

  

Cambie esta pieza de código

   boolean isNeedOpaque = attrs.getTitle().toString().contains("xbmc.Main") ? false : true;

a

 boolean isNeedOpaque = true;

                String attrsTitle = attrs.getTitle().toString();
                if (attrsTitle.contains("xbmc.Main") || attrsTitle.contains("xbmc.kodi") || attrsTitle.contains("org.vidonme"))
                    isNeedOpaque = false;