java.io.IOException: Cannot run program "su": error=13, Permission denied 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:983) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:691) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:524) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:421) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at com.quixxi.rootdevice.MainActivity.restartDevice(MainActivity.java:243)

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 4

    Root Android Device Programmatically

    Stack Overflow | 7 months ago | Mujammil Ahamed
    java.io.IOException: Cannot run program "su": error=13, Permission denied 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:983) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:691) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:524) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:421) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at com.quixxi.rootdevice.MainActivity.restartDevice(MainActivity.java:243)

    Root Cause Analysis

    1. java.io.IOException

      Cannot run program "su": error=13, Permission denied 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.ProcessBuilder.start(ProcessBuilder.java:983) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:691) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:524) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at java.lang.Runtime.exec(Runtime.java:421) 07-28 15:56:25.556 13612-13612/com.quixxi.rootdevice W/System.err: at com.quixxi.rootdevice.MainActivity.restartDevice(MainActivity.java:243)

      at com.quixxi.rootdevice.MainActivity.access$300()
    2. com.quixxi.rootdevice
      MainActivity$3.onClick
      1. com.quixxi.rootdevice.MainActivity.access$300(MainActivity.java:18)
      2. com.quixxi.rootdevice.MainActivity$3.onClick(MainActivity.java:79)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5609)
      2. android.view.View$PerformClick.run(View.java:22259)
      3. android.os.Handler.handleCallback(Handler.java:751)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:154)
      6. android.app.ActivityThread.main(ActivityThread.java:6077)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames