su
Understanding SU request
My app needs to request SU access (on rooted devices) and the only examples out there say to do this:[详细]
2023-04-10 18:05 分类:问答How can I wait for SU access after request?
My app requests SU access something like this: Process p = null; p = Runtime.getRuntime().exec(\"su\");[详细]
2023-04-10 00:29 分类:问答OSX su command issue
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[详细]
2023-04-08 11:06 分类:问答Run shell commands from android program
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[详细]
2023-04-05 23:36 分类:问答How can I switch to the user jenkins in the middle of a ssh script?
I run ssh root@myhost \"sh -x\" < myremotecommands.sh where myremotecommands.sh contains: #!/bin/sh sudo su[详细]
2023-03-26 07:16 分类:问答How to run script as another user without password?
I have script.sh that 开发者_StackOverflow中文版must be run as user2.However, this script can only be run under user1 in my application.[详细]
2023-03-25 01:44 分类:问答Running Shell commands though java code on Android?
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[详细]
2023-03-24 03:56 分类:问答Killing Root Processes in Android
I\'m building an Android application that starts a process by calling su and sending it a command, along these lines:[详细]
2023-03-16 02:24 分类:问答Android superuser shutdown/reboot commands not doing anything
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:[详细]
2023-03-10 09:43 分类:问答How android/linux sets whether the root user is logged in or a normal user is logged in?
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[详细]
2023-03-06 07:57 分类:问答