process = Runtime.getRuntime().exec("su");
os = new DataOutputStream(process.getOutputStream());
os.writeBytes(command + "\n");
os.writeBytes("exit\n");
os.flush();
process.waitFor();
The system says:"07-06 11:01:34.337: I/System.out(3864): su: uid 10170 not allowed to su"
I execute "adb root" in my terminal
:~/android/android-sdk/platform-tools$ ./adb root
adbd is already running as root
Any ideas?