Hide HDMI Screen for apps

Discussion in 'ZIDOO X6 Pro' started by natzen, Oct 9, 2015.

  1. natzen

    natzen Member Beta test group

    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
     
  2. spring

    spring Guest

    Hi:
    the "state" is read only,you should change it "rw" first.
     
  3. natzen

    natzen Member Beta test group

    i know but not work ...
     
  4. natzen

    natzen Member Beta test group

    you know why it's not possible to write ? maybe kernel ?
     
  5. spring

    spring Guest

    Hi:
    I will check the kernel.
     
  6. natzen

    natzen Member Beta test group

    thanks
     
  7. natzen

    natzen Member Beta test group

    any news ?
     
  8. spring

    spring Guest

    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.
     
  9. natzen

    natzen Member Beta test group

    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
     

    Attached Files:

    Last edited: Oct 20, 2015
  10. spring

    spring Guest

    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.
     
  11. natzen

    natzen Member Beta test group

    not disable hdmi , hide hdmi for some apps replay tv checking hdmi status and if it's yes , video not starting
     
  12. spring

    spring Guest

    can you take a video for me ?
     
  13. natzen

    natzen Member Beta test group

  14. spring

    spring Guest

    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.
     
  15. natzen

    natzen Member Beta test group

  16. natzen

    natzen Member Beta test group

  17. natzen

    natzen Member Beta test group

  18. natzen

    natzen Member Beta test group

    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
     

    Attached Files:

  19. natzen

    natzen Member Beta test group

    On my zidoo x6 don't work ,hdmi is detected
     

    Attached Files:

  20. natzen

    natzen Member Beta test group

    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.
     

Share This Page