On Apr 30, 9:15 am, wadhah dawahi <[email protected]> wrote: > how can i modify my code to tell the program logic to run a command as > root??
You cannot. The program must already be root when it starts. All the logic can do is decide to remain root. Which means it needs to be setuid root. Which means you can only install it on the device if you already are root. If you aren't, google for instructions on how to root your device. -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-security-discuss?hl=en.
