Grant root privilege to app not requesting it - Android Q&A, Help & Troubleshooting

Hi,
I've checked around and couldn't find anything that explains a way to give root access to an app that doesn't actually request it. I've rooted my phone with Magisk and also Magisk doesn't offer any way to grant root to any app you want.
The app does have some features that are enabled only when it has root privilege but somehow I can't make the app request the root privilege so I'm stuck on this.
Any help would be much appreciated.

Related

Non-Root Apps Asking for Permission?

In the past I read a thread from someone claiming that he had
Appbrain App Market installed on his phone which is a Non-Root app the last time I checked, Well anyways he said that he was Receiving Popups from the app to Grant it Superuser Permissions.
I really Didn't think much about it until now when I Received a Popup of my own, After I Installed whatever Stupid Basketball 3D game from the Market myself...
I checked and it Wasn't a Root app, and it Didn't even show up in the Superuser app Log, even though I Didn't Grant it Permission. I just UnInstalled it as soon as I saw the Popup!
So my Question is...
What the Hells up with that? Is that some type of Virus app or some ****?
Thanx in Advance!
PMGRANDS said:
In the past I read a thread from someone claiming that he had
Appbrain App Market installed on his phone which is a Non-Root app the last time I checked, Well anyways he said that he was Receiving Popups from the app to Grant it Superuser Permissions.
I really Didn't think much about it until now when I Received a Popup of my own, After I Installed whatever Stupid Basketball 3D game from the Market myself...
I checked and it Wasn't a Root app, and it Didn't even show up in the Superuser app Log, even though I Didn't Grant it Permission. I just UnInstalled it as soon as I saw the Popup!
So my Question is...
What the Hells up with that? Is that some type of Virus app or some ****?
Thanx in Advance!
Click to expand...
Click to collapse
i'm not familiar with random apps from the market asking for superuser permission but i am familiar with the superuser app and how the permission structure/process works.
essentially, the superuser.apk file replaces your /system/bin/su binary with its own binary. the superuser custom binary, whenever any user or application executes a command using the su binary (executing a command as root) the superuser su binary redirects to the superuser application then prompting the user to accept or deny the request.
i know i have seen it is possible to spoof these requests, but it was done by a very knowledgable friend and i don't think the spoofing of superuser requests is common place or well known (might have been patched recently too).
without knowing the application's source code that requested superuser access, i personally would not trust the application unless the application stated it would need root access and performed functions which required root access. example, if the application were a game, i don't see any reason it would need superuser access.
once an application has been granted superuser access on an s-off evo 3d, it essentially has write/read access to the majority of the android partitions including the kernel, system, data, cache, etc.
from what you've described, i think you're correct in not granting an unknown application superuser access. as a developer with applications in the market, i would appreciate an email from a user who experienced such a situation and a screenshot attached would be even more helpful. might be worthwhile reaching out to the developer to confirm or ask them to explain.
thanks for posting this information. always good to know. hope some of the information i provided helps!
joeykrim said:
i'm not familiar with random apps from the market asking for superuser permission but i am familiar with the superuser app and how the permission structure/process works.
essentially, the superuser.apk file replaces your /system/bin/su binary with its own binary. the superuser custom binary, whenever any user or application executes a command using the su binary (executing a command as root) the superuser su binary redirects to the superuser application then prompting the user to accept or deny the request.
i know i have seen it is possible to spoof these requests, but it was done by a very knowledgable friend and i don't think the spoofing of superuser requests is common place or well known (might have been patched recently too).
without knowing the application's source code that requested superuser access, i personally would not trust the application unless the application stated it would need root access and performed functions which required root access. example, if the application were a game, i don't see any reason it would need superuser access.
once an application has been granted superuser access on an s-off evo 3d, it essentially has write/read access to the majority of the android partitions including the kernel, system, data, cache, etc.
from what you've described, i think you're correct in not granting an unknown application superuser access. as a developer with applications in the market, i would appreciate an email from a user who experienced such a situation and a screenshot attached would be even more helpful. might be worthwhile reaching out to the developer to confirm or ask them to explain.
thanks for posting this information. always good to know. hope some of the information i provided helps!
Click to expand...
Click to collapse
Yeah man I Never really Experienced a App Requesting Superuser Permission, that Wasn't even a Root App... Just Didn't seem right to me either... A Game Shouldn't need Root Access!!
Thanx for your Reply!
I recently had the same op-ups from Tasker. But since I had been using Tasker even before rooting, I denied the request.
Are there any more precautions we need to take with regards to this.
odyssseus said:
I recently had the same op-ups from Tasker. But since I had been using Tasker even before rooting, I denied the request.
Are there any more precautions we need to take with regards to this.
Click to expand...
Click to collapse
Great question. If anybody else has experience/knowledge feel free to chime in.
Regarding precautions, there are a few basic steps which I think we're all fairly familiar with as being general computer precautions. These are a few which come to mind:
1) Don't load software you don't trust.
2) Always thorougly check the permissions being granted to an application. Example, once you grant an application permission to load at startup, it now has the potential to always be running in the background. Potential bad situation: the application *could* be gathering user/system data and if it has network access, sending this data back.
3) Superuser provides a great basic level of security to protect root access. Without superuser, any application can execute the su binary now running with root priviledges and there will be no required notification to the end user. This could all happen in the background w/o a log, audit trail or notification to the user. Root priviledges, as I mentioned above on an S-OFF EVO 3D will give write access to /system, /data, boot (kernel), recovery, etc. This is potentially very dangerous and important to protect the su binary.
Important to realize, once an application has been granted superuser access, it has the potential to destroy the device or grab extensive system/personal information and send it out. This makes it essential to trust the application.
As with any type of security, there are always ways to bypass. Essentially, these three steps should help avoid the majority of issues.
On a brighter note, there really aren't many Android viruses or malicious applications in circulation. For the most part, people who post on XDA and android application developers/posters in the market have are trustworthy. The comments on Market applications are usually fairly helpful. Might be worth skimming thru a page or 2, maybe 3 or 4 of market comments on a suspicious application or emailing the developer.
I know as a developer I'm more than happy to explain any function or question regarding my applications, especially if it raises a security/privacy concern to a user.
Hope that helps round out some simple precautions!

[Q] Using root to gain system app permissions

Hi everyone,
Is there a way to use root or roottools to gain permissions which are only granted to apps in system/app? I am trying to use call the method disable() in StatusBarManager to disable softkeys for an app im working on. WidgetLocker achieved this with root. So I searched around and found roottools (http://code.google.com/p/roottools/) but Im not really sure how to "fake" as a system app with that. Right now if i try to call the method i get a security exception "neither and user nor the current process has permission android.permission.STATUS_BAR"
Any help would be greatly appreciated!

[Q] How to Grant an App Root Privilege During ROM Customization?

Suppose that I have an app that needs root access. How can I grant that app a root privilege while customizing and building the ROM? So that when the ROM is installed and the device is running, I don't need to root the device, install Busybox or any thing like that?
Thank you.

[FIXED]Not able to deny root permissions through Superuser

Recently, I rooted my phone. I wanted to change my Superuser app with another one. I installed the other and uninstalled the first one. Since then, root privileges are being granted automatically.
I don't see any app in the app manager menu of Superuser but the root privileges are being granted.
Not able to deny an app root permission.
What should I do?
Unroot using Root Uninstaller.
Then root again using Kingoroot

What is root and how to your huawei devices (from4.0.0+to7.0.0)

Why to root?
Well any way when we purchase our mobile. We not have full access to use it. Some services like hidden installation,modify installed apps,modify ROM,delete system apps,modify internal root memory etc are not allowed. That's why some apps don't work because mobile security don't allow them to serve special services .But when we root our mobile ,we can give them permission to do special services. These permission are managed by the rooting app.
Be Aware!!
If you are not a developer then use your root access properly .Only give root permissions to the apps which you can trust .If you give root permission to unknown apps,they can steel important data ,release viruses, encrypt your mobile software so be carefull but if you know how to manage it then can costimize your mobile amazingly by different apps.
How to root?
There are various apps which can root mobile in one click.
King root
Kingo root
360 root
I root
baidu one click root
M.Aman-ullah said:
Why to root?
There are various apps which can root mobile in one click.
King root
Kingo root
360 root
I root
baidu one click root
Click to expand...
Click to collapse
These one click root methods no longer work on Android 6 and above (on Huawei devices). Did you know?

Categories

Resources