Shutdown X9S from Android

Discussion in 'ZIDOO X9S' started by alphy, Dec 31, 2016.

  1. alphy

    alphy New Member

    Hi all
    Is possible to shutdown the zidoo x9s directly from the GUI , and not from the remote ?
    I use the Minix NEO A2 LITE, and it works very well, but with this remote i can't shutdown the player because the power off bottom doesn't work .
    So is possible to shutdown in Android in some way ?
    Thanks
     
  2. j0534ng31

    j0534ng31 Member Beta test group

    Maybe this is not exactly what you are looking for, or it is even more than that...
    Anyway, I expect it can help you a bit:


    Method 1:
    1. Open the standard Android "Navigation bar" with any [air]mouse
      (By clicking or pulling up the bottom edge of the screen)
    2. Click the most right button ("Power") to show the three Zidoo power options.
    3. Click your preferred option ("Power of", "Standby", or "Reboot")


    Method 2:
    1. Any Android device is able to shutdown in a programmatic manner.
    2. These three commands works for our device:
      (Actually, for any Android KitKat+ device AFAIK)
      Code:
      adb shell su -c 'am start -n android/com.android.internal.app.ShutdownActivity'
      adb shell su -c 'setprop sys.powerctl shutdown'
      adb shell su -c 'svc power shutdown'
      
      (Since any of them performs the same action, you should use only one)
    3. Find a way to create a desktop shortcut (or app icon) pointing to that command.
      (There is more than one way... And, very likely, you should exclude at least the 'adb shell' part)
    4. Click the new shortcut or icon whenever you want to shutdown the Zidoo box.


    Additional info:
    (For people looking for similar tips)

    The 'svc power' command has those useful options:
    • stayon [true|false|usb|ac|wireless]
      To set the 'keep awake while plugged in' setting.
    • reboot [reason]
      To shutdown and reboot the device, writing the specified reason in the system log.
    • shutdown
      To shutdown and power off the device.
     
    Last edited: Jan 1, 2017
  3. alphy

    alphy New Member

    Thanks for reply, i'll use method 1, didn't see the bar at the bottom.
    Thanks you for help!
    :)
     

Share This Page