security - Can Applications With Root Access Modify Their Own Permissions?

20
2014-04
  • asudhak

    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 ?

  • Answers
  • altruizine

    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.


  • Related Question

    rooting - Officially rooted HTC, denies su permission in Android Emulator app
  • AK4668

    officially rooted from htcdev.com, I followed the instructions step by step and had the screen confirmation that my phone (HTC Sensation XL) is rooted.

    Now when trying to gain super user access through "Android emulator", "Superuser", "Super manager" the permission is denied or the apps cannot detect if the device has been rooted.

    I want to know why root access is denied after the device has been rooted successfully and how to fix this issue, am I missing extra steps or additional settings?


  • Related Answers
  • AK4668

    Thanks to "eldarerathis" for the comment. Basically unlock bootloader does not mean you will have root access to your device. Even though you can install an entire new operating system still rooting your phone must be done inside the OS.

    So if you trying to root your HTC device check unrevoked.com. for other devices I found a reliable tutorial at http://howto.cnet.com/8301-11310_39-20054428-285/how-to-root-your-android/.

    please note unlock bootloader or rooting your device may void your warrantee.

  • geffchang

    First, root your phone. If it denies root access, go to the SuperUser website and download the latest SuperUser and binary packages. After that, reboot in recovery and install the packages. Finally, boot your phone up normally and clear the data of SuperUser. Then, run SuperUser and try updating the binaries and BAAAAM works like a charm!