Possible Duplicate : what does the su mean: process = Runtime.getRuntime().exec("su");
I am tired trying all the different things yet i am still unsuccessful in understanding when will su work. What is rooting a device in Android? Someone please please help me with this.
I replied to the following question. The solution i posted there, i tested and also it worked.
Adding full permission for a image file in android.
Here is my question :
I tried Following.
Copied su.
Installed SuperUser.apk,
From program i called su and then using the newly created process i performed the required operations.
This has 2 results.
1) When the device is rooted(like executing Permanent root option in z4root), It works, it changes the system file permissions.
2) When device is not rooted, It doesnot work.
Kindly explain what extra thing does z4root performs which makes the task possible. Explain in brief please.
Let me know if my question is not clear. Thanks a ton..