Hi
I recently rooted my phone and started using a few "root only" apps.
When I look at app permissions and let's say it example says that it can access "Phone" and "Other". By other it means root.
Does that actually gives it permission to anything? So if I accept the permissions "Phone" and "Other" it can actually access my camera too (just an example) or do I understand the root access wrong?
Thanks in advance
what i understand if an apps ask for a root permission, the apps will ask for the permission to read/write in a secure area, eg : /data, /etc
It is different from the permission of using camera, message, etc like when we install apps from playstore.
dubay.yabud said:
what i understand if an apps ask for a root permission, the apps will ask for the permission to read/write in a secure area, eg : /data, /etc
It is different from the permission of using camera, message, etc like when we install apps from playstore.
Click to expand...
Click to collapse
Thanks. Was what I was curious about. As I understood root, as the app could do whatever it wanted to.
No. It is not as you think. By allowing an app root permission, it means you're allowing it to do more than controlling limited applications. It can do more than that. And dont worry it wont damage your phone because everything has its limit but yeah be careful of what you're doing as sometimes you can risk your phone if you(not by allowing an app root permissions) but by using it after giving it root permission. So be careful and know what you're doing.
Please press the thanks button if you think I helped
Related
Hi,
Move the thread if it is on wrong place.
Is it possible on system (Android) to set some flags like read,execution, write ( the ones who u can change on linux with chmod) on each application so u let them use some permissions and others not (even if the application says the aplication has this permissions). I mean system will check if you have granted some permission to certain app. The target is that u can install all application u want with all kind of permisions and once u have installed u let them use only the permisions u want.
Excuse my english (im learning).
Probably not 'coz it has potential to seriously mess up your phone/apps. Certain permissions are required for some apps to work properly though it may not be obvious to you.
The system doesn't not have a filter set up to check if each and every app is using the permissions listed when it's being installed. And if you were going to install an app with such ability, you do realize that the app will have access to everything on your phone, can you trust any app for that?
MilkPudding said:
Probably not 'coz it has potential to seriously mess up your phone/apps. Certain permissions are required for some apps to work properly though it may not be obvious to you.
The system doesn't not have a filter set up to check if each and every app is using the permissions listed when it's being installed. And if you were going to install an app with such ability, you do realize that the app will have access to everything on your phone, can you trust any app for that?
Click to expand...
Click to collapse
I think u didnt understand. Obvious and app who require cost of money permissions and u deny his permission on operative system it may wont work properly.
What i say is if it is possible only that some apis/script or whatever application use permissions are somehow controlled by users. It could be done (i think) by several users on operative system that can be access some scripts/apis (permissions) and u make chown to the apps depend of permissions u want them to access.
Someone who know more than me can teach me a little and tell me if it is possible?
P.D.Excuse my english. Im learning. You can send me a MP with my english errors so i can learn faster. Thx.
My answer would be no cause the developer designs the app that way
Sent from my SGH-T959 using XDA App
Diamond_dawg said:
My answer would be no cause the developer designs the app that way
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
It has nothing to do with developer. It has to do with the OS.
I have been looking for information and it seems every app has a user on the system , so it would be easy changing this user to different group depend on the permissions u want to have it.
Any expert here who know something?
heres some info:
you have to differentiate between system memory starting at / (root) and the sdcard.
Every app has read/write/execute permission on the sdcard, if you set <use permission write external storage>, if not they can't do anything there.
On the directories at / like system/data/cache etc. you can change permissions through common linux commands like chmod.
Keep in mind that changing rights with chmod is sometimes not enough as for example /system is read only, and would have to be remounted to be writeable.
Dark3n said:
heres some info:
you have to differentiate between system memory starting at / (root) and the sdcard.
Every app has read/write/execute permission on the sdcard, if you set <use permission write external storage>, if not they can't do anything there.
On the directories at / like system/data/cache etc. you can change permissions through common linux commands like chmod.
Keep in mind that changing rights with chmod is sometimes not enough as for example /system is read only, and would have to be remounted to be writeable.
Click to expand...
Click to collapse
Yes, but what i like to know is if you can change android permissions of an application, not read/write/execute of system unix. I mean for example and application that has permision to make calls and expend money, and after install u change this user application that system has just created to another group who cant make calls.
My english is too bad and i dont know if u understand what i mean.
Or what is the exact mechanism behind this in Android? I have been using GNU/Linux for many years so I understand the original concept and would not want every app to have root privileges.
The Superuser app allows you to accept & deny all root apps. You can also choose to always allow certain apps, but you don't have to.
I don't quite understand this. Who gives the apps the privileges. I suppose the Superuser app is only the frontend for some system service. And does it work as a white list or as a black list. Meaning: Does every app get root priviliges by default on a rooted phone or do I have to manually give root privileges to desired apps but the rest doesn't even realize it's on a rooted phone.
By default, apps are denied root privileges. If I restore an app that runs as root in the background -along with its data - the app won't work until I launch it & grant it superuser permissions. Droidwall is a good example of this. Droidwall works by denying or allowing 3g and/or wifi access to apps based on your input. It does this by changing the iptables. If I flash a new ROM & restore with Titanium Backup, I usually forget that Droidwall isn't doing its job until I notice ads in an app that isn't supposed to connect. Once the app is launched & I choose to apply the rules, Superuser prompts me to allow the changes. If I do not make a choice within 10 seconds, SU automatically denies the root request.
In short, an app will never run as root (aside from superuser itself, if that counts) without you first allowing it. Also be aware that most everyday apps will never ask for root access as they don't need it to run. Only apps that are making changes to the system (reading or writing) will need root access. As far as accessing your contact data & other stuff you may worry about, any app can do that if it has permission (not root) to do so. When you first install an app, you will see a list of permissions - usually an app needs those permissions to run and there's nothing to worry about.
OK, thanks I understand it more now. What would happen if I didn't install Superuser. Is there a built in daemon for superuser privileges?
Don't fight the powers that be. Install superuser. You need it.
I'm pretty sure you'll get error messages from most root apps. I could be wrong, though. Next time I'm about to flash a new ROM, I'll remove Superuser after I do my backup, just because I'm curious. I'm pretty sure that Superuser or an alternative - if one exists - is necessary. I know the ability is there in the os, but I would think that it would need some kind of vehicle (such as an app) to relay the information. I certainly hope apps wouldn't automatically be granted root privileges, but I'm not sure. It's an interesting question, though.
Roms come pre-loaded with Superuser, and any auto-root method does as well. You would only be without it if you root manually, stay on stock, and choose not to push the app. Or, I guess, if you choose to remove it.
I have some questions about root.. I have searched for the questions below but i didn't get my answer.
1. Uninstallation of superuser cannot effect to the root? (Just confirming)
2. After uninstalling superuser will i be able to install more root needed apps? apps data will automatically install in their respective place just without any superuser permission..????
3. After unrooting phone root needed apps (which are installed) will work fine or not? and will i be able to uninstall those root apps?
Answer me plz..
Thank You.
jordan1296 said:
I have some questions about root.. I have searched for the questions below but i didn't get my answer.
1. Uninstallation of superuser cannot effect to the root? (Just confirming)
2. After uninstalling superuser will i be able to install more root needed apps? apps data will automatically install in their respective place just without any superuser permission..????
3. After unrooting phone root needed apps (which are installed) will work fine or not? and will i be able to uninstall those root apps?
Answer me plz..
Thank You.
Click to expand...
Click to collapse
Answers:-
1. Uninstalling of superuser with clean Unroot will Remove Root Binary from System and will effect Root, as without SU app you cant play with Root..
2. No, You Can't.
3. No they won't Function. You can uninstall Root apps if they are in System Folder other you will be able to uninstall.
Thankyou,
Regards,
Zeuscluts
--------Hit Thanks--------
--------------OR-------------
Visit Some Cool Guides Hmpshah Guides
What superuser app does?
Thank You very much.. I am satisfied by your reply..
Delete it wanted to give reply.. but i posted it.
What superuser app does?
Zeuscluts said:
Answers:-
1. Uninstalling of superuser with clean Unroot will Remove Root Binary from System and will effect Root, as without SU app you cant play with Root..
2. No, You Can't.
3. No they won't Function. You can uninstall Root apps if they are in System Folder other you will be able to uninstall.
Thankyou,
Regards,
Zeuscluts
Click to expand...
Click to collapse
Thank You very much.. I am satisfied by your reply..
But tell me one more thing what superuser does.. i think superuser app only gives the permission to the root apps to install something in root area.. right? superuser app work is just to allow or deny the permission to the app right..?
So if i don't unroot my phone and if i just simply remove superuser app then i still should be able to install root apps in the root? because my phone is rooted.. and i have just removed superuser app which gives permission only.
I think superuser only gives the permission to the app SO apps will be intall in the root just without any permission of superuser?? this is what superuser does ONLY?
I think i am misunderstanding something about superuser.. Correct me please if i am wrong.. :good:
jordan1296 said:
Thank You very much.. I am satisfied by your reply..
But tell me one more thing what superuser does.. i think superuser app only gives the permission to the root apps to install something in root area.. right? superuser app work is just to allow or deny the permission to the app right..?
So if i don't unroot my phone and if i just simply remove superuser app then i still should be able to install root apps in the root? because my phone is rooted.. and i have just removed superuser app which gives permission only.
I think superuser only gives the permission to the app SO apps will be intall in the root just without any permission of superuser?? this is what superuser does ONLY?
I think i am misunderstanding something about superuser.. Correct me please if i am wrong.. :good:
Click to expand...
Click to collapse
Yes,
It gives permissions to access, modify your Root area[Restricted when you are Non-Rooted].
No,
Removing SU app will remove permissions with It. So after that you cant use those Rooted app which you gave Permissions when u had SU App.
Note:- Without any SU app you can't Play your System Files..
nor your rooted apps will work..
Regards,
Zeuscluts
--------Hit Thanks--------
--------------OR-------------
Visit Some Cool Guides Hmpshah Guides
Zeuscluts said:
Yes,
It gives permissions to access, modify your Root area[Restricted when you are Non-Rooted].
No,
Removing SU app will remove permissions with It. So after that you cant use those Rooted app which you gave Permissions when u had SU App.
Note:- Without any SU app you can't Play your System Files..
nor your rooted apps will work..
Regards,
Zeuscluts
Click to expand...
Click to collapse
Okayy Thank You.
S4 mk2 i337 soft bricked...
This is the link I started dealing with:
http://forum.xda-developers.com/showthread.php?t=2565758
Problem is, I uninstalled a system file or two...or 15...and now the phone will start up, but no apps show up, just black screen. I can navigate still and work around it, but what i CAN'T do is give permission to that batch file once it recognizes the phone.
Obviously, I didn't know what I was doing, so I didn't realize that unrooting it wouldn't solve the problem, so I need to root, and then somehow get my system files back in place. Titanium Backup says my back up doesn't exist...pretty frustrated, I've spent 10+ hours on this site and some others trying to get back in, so I apologize upfront for possibly missing a post elsewhere
S4 MK2 I337
Hey guys,
This is the wrong place forum, but I like you guys, so I will ask you a question
Say there is an app that requires root (in this case Cisco AnyConnect rooted version), but I do not want to have root access enabled from within Android OS. Is there a way to install the app with automatic root access? E.g. by flashing it from within the recovery?
Thanks,
Su
Do it need root access or system permissions ?
If it needs root, you must have "su" in android OS.
If it needs system permisssions, you could push it in /system/app/ or /system/priv-app/ (more access than /system/app/)
Hmm, from the description, it seems like root access... ah well, from the CM11 SuperUser settings, seems like it is possible to automatically deny root access to all requests, and only allow selected apps.
Perhaps this is a better way to set up the device...
Sumanji said:
Hmm, from the description, it seems like root access... ah well, from the CM11 SuperUser settings, seems like it is possible to automatically deny root access to all requests, and only allow selected apps.
Perhaps this is a better way to set up the device...
Click to expand...
Click to collapse
every app that wants SU permission should be prompting you the first time to allow or deny it.
if any app gets SU permission without you allowing it, something is wrong.
what i dont understand is, you said the phone is NOT rooted, then mentioned cm11. if you are running cm11, your phone is already rooted.
Hello people.
I took it as this option is to make apps that are stored in /system/app gain root access without asking for confirmation. However, the apps that I have moved to /system/app folder still ask for root access nonetheless. Isn't it the system apps that is meant by "system user" in this description?
Its a mode that will always trust the superuser. this mode can be dangerous, since it hides all root privilege pop-ups and assumes an affirmative*