Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

For rooted phones, there are several apps which require root privileges. Knowing this, the user does allow the app to get root. Now, the app would have been installed with a set of x permissions, say INTERNET, LOCATION. Now, on gaining root, is it possible for the app to secretly (or not) give itself extra permissions eg. BLUETOOTH ? I read somewhere that the Apps requiring INTERNET or BLUETOOTH permissions are added to a user group which has access to these device files. So, can a rooted app associate itself to that group and gain the permission ?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

Yes, all rooted apps theoretically can use the entire system, including all facilities that otherwise need app permissions. They could also modify the permissions database "under the radar" to grant its non-root part more permissions than were requested at install time.

You have to trust root-using apps not to violate their given permissions.

share|improve this answer
    
interesting. So is there a permission database for every app ? It would be great if you could point me to some documentation regarding the same. –  asudhak Sep 14 '12 at 20:58
    
Each app's permissions are store authoritatively in its (compiled and signed) AndroidManifest.xml inside its APK file. Current Android implementations cache the permissions in /data/system/packages.xml, but as that is an implementation detail, you'll find little documentation on it. Anyway, changing this file as root (and quickly rebooting before the package manager overwrites it again) makes permission changes persistent across reboots. –  altruizine Sep 14 '12 at 21:43
    
nice ! am assuming most Android 'malware' try to do this –  asudhak Sep 15 '12 at 19:42
    
They can't -- unless they have root permissions. Luckily. –  Izzy Dec 8 '12 at 0:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.