I want to know if this is possible and if it is how can I manage to do this. When the app is installed it should root the device and grant su access to that app. After that it should unroot the device, keeping the su rights to that app.
Asked
Active
Viewed 1,850 times
2
-
6Short answer: not possible. – user703016 Feb 25 '12 at 15:50
-
possible duplicate of [How can I get root permissions through the Android SDK?](http://stackoverflow.com/questions/5293615/how-can-i-get-root-permissions-through-the-android-sdk) – Josh Lee Feb 25 '12 at 15:53
-
what do you want to try after rooting phone ? There can be some others way to do that. – Sunny Feb 25 '12 at 17:20
-
I want to give root access to an app. Can this be done with a secure certificate? – jorjap Feb 27 '12 at 11:23
1 Answers
1
It will not grant you SU access, but it can give you access to your app
It is using the Device Administration APIs, you can read about it here:
http://developer.android.com/guide/topics/admin/device-admin.html
it may help you

Glorfindel
- 21,988
- 13
- 81
- 109

Mitul Nakum
- 5,514
- 5
- 35
- 41