Hi ,i want hide hdmi screen for somes apps but it's not possible . I can't write or modify file "state" with root explorer in /sys/devices/virtual/switch/hdmi. Someone have idea ? Thanks
Hi: you can echo "0">/sys/devices/virtual/display/HDMI/enable disable the hdmi out; echo "1">/sys/devices/virtual/display/HDMI/enable==>enable hdmi out.
it's not good solution ... i have black screen now ... solution is in /sys/devices/virtual/switch/hdmi/state and open in text editor and change from 1 to 0 then save and exit ,but i can't write in this file even with permissions and root explorer or terminal emulator
can you tell me what do you want to ?disable the hdmi out or others? disable the hdmi out==>the tv will see no signal; or you want the tv see black screen==>you can display black pic in your apk.
not disable hdmi , hide hdmi for some apps replay tv checking hdmi status and if it's yes , video not starting
video of what? maybe it's help you http://minixforums.com/threads/unblock-hdmi-output-for-most-apps.1628/ i have minix x7 and x5 and app with hdmi detection work fine but on zidoo not because hdmi state http://freaktab.com/forum/development-area/app-developers-kitchen/4820-hdmi-virtual-switch apk don't work on zidoo x6 because write permission
I know it. But it is not a standard method of implementation, you can see the kernel code: switch_class.c: static DEVICE_ATTR(state, S_IRUGO, state_show, NULL); the "state" function is not reserve the write funtion, it only read functin. Maybe we can provide the special firmware for you,and it will in our main firmware.
look this firmware http://freaktab.com/forum/tv-player...-k-r42-hybrid-firmware-hfw-1-1-0-by-lewy20041 have -disabled hdmi check for apps like "Xfinity, HBO GO"
maybe solution is it ,i don't know ,i am not a developper but i search solution ,my app write "please disconnect external screen" in french language http://stackoverflow.com/questions/29487226/detect-when-user-connects-his-android-device-to-a-tv
i think if you patched your kernel with write access in sys folder this apk work with zidoo x6 http://freaktab.com/forum/development-area/app-developers-kitchen/4820-hdmi-virtual-switch
look this is Ligue 1 orange App with my minix neo x7 with latest Official rom ,app work hdmi state rest on 0 with hdmi connected
minix patched hdmi first on 2.0.0 Changelog (2.0.0); ( former: Community edition ) - recovery/OTA fix - static ip bug fix - video player/hls fixes - security vulnarability fixes - init.d support - camera brightness fix - freeze after uninstall app fix - HDMI patch for DRM apps - DDR optimalisation ( not overclock ) - Multi user support ( not fully working yet ) - Dual input devices frees/crash fix. - new kernel logo - etc.