[Q] Grant SU always to an app - Android Q&A, Help & Troubleshooting

Is there any way to grant a app always su or other similar rights by settings this in the ROM?
The background is:
I have a launcher in my custom ROM and I don't want it to ask always for SU-Permission. How can I avoid this?

motioncoding said:
Is there any way to grant a app always su or other similar rights by settings this in the ROM?
The background is:
I have a launcher in my custom ROM and I don't want it to ask always for SU-Permission. How can I avoid this?
Click to expand...
Click to collapse
When it asks for SU permission, check "always" below the accept or deny button. U will not be prompted again by that app for SU permissions. Or u can even go to SU settings, find the app, set it to grant always.

I am familiar with this. But I want to implement that inside the ROM, so the user can't change this
Sent from my HTC One S using xda app-developers app

Related

[Q] How to change super user settings?

I accidentally denied access to an app and it remembered my decision. How do I change it to allowed?
Pretty sure go to settings, applications, manage applications, find superuser then either clear It's data or cache . Someone correct me if I'm wrong
jedinegotiator said:
I accidentally denied access to an app and it remembered my decision. How do I change it to allowed?
Click to expand...
Click to collapse
Go into your Superuser app and then select the app you denied and select forget. After that try to use your app again.
Sent from my Hero that never dies! ;D
​ Anybody know how to get into a superuser that someone else created on a tablet I have?

About SuperUser

Hi guys, I am totally new here and have a question that how I can re-grant the app permission as wrongly denied... Try to re-install the app but still unable to get the SuperUser allow to grant. Is that means once denied one app, then this app will never be get the permission fever ?
Thank you very much !
willai said:
Hi guys, I am totally new here and have a question that how I can re-grant the app permission as wrongly denied... Try to re-install the app but still unable to get the SuperUser allow to grant. Is that means once denied one app, then this app will never be get the permission fever ?
Thank you very much !
Click to expand...
Click to collapse
You should be able to allow/deny via Superuser app. Just open Superuser, you will see the apps which require root access, open the app of your choice and press the menu key, so that option appears whether to deny/allow root access permissions.
~Cheers
You can also try either clearing the app data or flashing SuperSu (do a search) and using that instead of SuperUser.

[Q] Slim bean 4.2.2 - unroot

Hi,
I really like the slim bean rom.
However, I would like to unroot my phone.
Can I unroot my phone and still keep slim bean?
If yes, how?
Thanks for your help!
in the superuser app settings
Thanks Glebun!
However, it is already set to disabled.
For example my Good for Enterprise app still fails the compliance check.
So I would like to know if I can completely unroot my phone while still keeping Slim Bean.
what superuser app are you using? SuperSU allows for a full unroot
Its built into settings
Sent from my GT-I9300 using Tapatalk 2
rootSU said:
Its built into settings
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Exactly.
I can't find a superuser.apk on my phone.
It's not visible in as an app anywhere.
There is no option to uninstall if I open superuser via the settigns - superuser menu..
I've searched the internet to no end and I'm getting more and more confused.
Hope you can help.
get supersu from play then
Glebun said:
get supersu from play then
Click to expand...
Click to collapse
I did install supersu, but again installing it and then uninstalling it still leaves me with the "# Superuser" setting in the settings menu and it's still rooted.
By the way: I just installed another superuser app (I think it is from the CM mod) and I get a notice saying "Normal, the 'su' file needs to be edited. Choose an installation method. 'Via recovery' is recommended for HTC-devices.
So no succes there.
installing and the uninstalling it will have no effect. read my post - supersu has a setting for a full unroot, use it
Glebun said:
installing and the uninstalling it will have no effect. read my post - supersu has a setting for a full unroot, use it
Click to expand...
Click to collapse
root consists of 2 elements
1) The app (or settings) which is a gateway to root if you like, but not actually root itself
2) The SU binary /system/bin/su. This is what actually gives root. The above just allows or denies root access. Using one of the superuser apps, you should be able to unroot, removing this. The settings menu will always remain but means nothing.
You may just be able to use a file manager with root permissions to delete the binary.
that is what I meant
rootSU said:
root consists of 2 elements
1) The app (or settings) which is a gateway to root if you like, but not actually root itself
2) The SU binary /system/bin/su. This is what actually gives root. The above just allows or denies root access. Using one of the superuser apps, you should be able to unroot, removing this. The settings menu will always remain but means nothing.
You may just be able to use a file manager with root permissions to delete the binary.
Click to expand...
Click to collapse
Guys: you're the best!
Turns out that I had to reboot (duh) before the change took effect.
Now I have slimbean 4.2.2 unrooted and can make use of Good for Enterprise.
Thanks a bunch!
A small summary:
1. Install SuperSU.
2. Use the "Full unroot" function of SuperSU.
3. Reboot :laugh:
Glebun said:
that is what I meant
Click to expand...
Click to collapse
Sorry, I didn't mean to quote your post.

[Q] reset notify always wants root access

Why Reset Notify always ask for permissions, and what should I pick grant or deny ? And why system app wants root ?
mrpeev said:
Why Reset Notify always ask for permissions, and what should I pick grant or deny ? And why system app wants root ?
Click to expand...
Click to collapse
I denied it long back.. I dont think it has any drawback or something like that
can I remove it from my phone and will there be any negative effect ?
I have this issue,too.And even if i deny it,it keeps coming back
Sent from my HTC Desire X
same here...thats why I want to remove it but I dont know how this will affect
this happens to me too. i wonder what reset notify is
Sent from my HTC Desire X using xda app-developers app
isn't there an Option to automatically allow/deny requests from Certain Apps in superSU ?
BatEarsJoe said:
isn't there an Option to automatically allow/deny requests from Certain Apps in superSU ?
Click to expand...
Click to collapse
Yes there is, I used it for the reset notify and the init request
mrpeev said:
Why Reset Notify always ask for permissions, and what should I pick grant or deny ? And why system app wants root ?
Click to expand...
Click to collapse
Doesn't matter whether you pick grant or deny as that is not so important process.
You can even remove the apk without any impact on the ROM performance.
SuperSU made it a feature to scan all system user processes so if any "naughty" process that is not a system process but running as system user can be intercepted.
For me, I just tick the "Trust system user" in SuperSU settings.
yea I did the same this morning...thanks anyway

[Q] App cannot get the Super user permission

Dear all,
I am using Omnirom, I have installed Supersu. However, when I open apps that needs Su permission. It does not prompt out the allow permission window. It seems the Su does not work. Do I need to root Omnirom first? Or something I missed?
Thanks
peterhon said:
Dear all,
I am using Omnirom, I have installed Supersu. However, when I open apps that needs Su permission. It does not prompt out the allow permission window. It seems the Su does not work. Do I need to root Omnirom first? Or something I missed?
Thanks
Click to expand...
Click to collapse
Think you have to enable it in the Developer Options. If you don't have those enabled, then you have to click on Build Version in Settings / About Phone 7 times, then hit back once and it'll be in the main part of Settings, right about About Phone.
Which option should I chose in developer option?
Does it have a setting called Root Access in there? If not, then there's another issue. You do have the SuperSU app in the app drawer, right?
peterhon said:
Dear all,
I am using Omnirom, I have installed Supersu. However, when I open apps that needs Su permission. It does not prompt out the allow permission window. It seems the Su does not work. Do I need to root Omnirom first? Or something I missed?
Thanks
Click to expand...
Click to collapse
of course your phone is non rooted first root it

Categories

Resources