Advertisement
motafoca

root atempt

Aug 24th, 2011
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. final Runtime runtime = Runtime.getRuntime();
  2. try {
  3. runtime.exec("su"); //or whatever command.
  4. }
  5.  
  6. catch (IOException e) {
  7. e.printStackTrace();
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement