My app needs to request SU access (on rooted devices) and the only examples out there say to do this:
My app requests SU access something like this: Process p = null; p = Runtime.getRuntime().exec(\"su\");
So I cant get su command to work on a terminal. All I do is type \"su\" and press enter, it asks for the password and I enter my currently 开发者_StackOverflow中文版logged in user password. It always
This question has been asked here before but the solutions provided are not working..I am trying to display the contents of /data/dalvik-cache folder. I know that to do this we need to become su. I ev
I run ssh root@myhost \"sh -x\" < myremotecommands.sh where myremotecommands.sh contains: #!/bin/sh sudo su
I have script.sh that 开发者_StackOverflow中文版must be run as user2.However, this script can only be run under user1 in my application.
I\'ve got an app that\'s supposed to use some shell commands to copy a file from the sdcard to /system/media/. It will require root, and I am testing on a rooted device. I\'m using runtimes to execute
I\'m building an Android application that starts a process by calling su and sending it a command, along these lines:
I am trying to make an app that can shutdown/reboot your phone at the touch of a button. I found a command online for reboot:
It seems almost every android device comes without root permission, so some people provide a new ROM to root it. How do they achieve it? (Do they change anything in init process, or do they change som