[Q] How to Grant an App Root Privilege During ROM Customization? - Android Q&A, Help & Troubleshooting

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.

Related

I need clockWorkMod SuperUser apk please

Hi, when cwm SuperUser done a update to app and binaries the root not work in my device, can someone give me SuperUser cwm.apk v0.9 or some work please, i searched but I didnt found
fernan2001 said:
Hi, when cwm supersu done a update to app and binaries the root not work in my device, can someone give me supersu cwm.apk v0.9 or some work please, i searched but I didnt found
Click to expand...
Click to collapse
http://download.chainfire.eu/204
r
Very thanks for answer, but the link is a .zip and I want an apk or can I put it (.zip) with default recovery and not have problems?
Extract that zip, apk is in there
Tapped from my RazR
DumbleCore said:
Extract that zip, apk is in there
Tapped from my RazR
Click to expand...
Click to collapse
thanks now I understand I dont knew that...but the apk is not that, I tested that app and not worked because I dont have root chainfire installed , the super user that I have is SuperUser of ClockworkMod, I need a previous version.
fernan2001 said:
thanks now I understand I dont knew that...but the apk is not that, I tested that app and not worked because I dont have root chainfire installed , the super user that I have is SuperUser of ClockworkMod, I need a previous version.
Click to expand...
Click to collapse
Look man, superuser is ROOT. Either your phone is rooted or it is not. A rooted phone can run apps that require it like ClockworkMod ROM Manager, Titanium Backup, Greenify, Wireless Tether for Root Users, File managers like Root Explorer or ES File Manager if you want to be able to access the system areas of the phone. So far as I know, there is no "SuperUser of ClockworkMod". If your phone is rooted (You will see superuser or "Super SU" in your app drawer. Here is a free app from the playstore that will tell you if your phone is rooted or not.
Root Checker
Install it and use it to see if your phone is still rooted or if you lost root somehow. If you still have root, then when CWM starts, it will ask for root privileges and the first time it asks, you will be prompted to grant it, once, for a certain time period, or forever. For stuff like CWM, root file managers, and Titanium Backup, you always grant root forever and you will not be asked again until the app updates and requires you to okay granting root privileged or not, then you grand forever and leave it alone.
If you find out you do not have root or lost your root, then you have to root the phone and the procedure is different for different devices, versions, and ROMS. For that kind of help, you have to search for rooting <your particular device and android version number>
Ohmster said:
Look man, superuser is ROOT. Either your phone is rooted or it is not. A rooted phone can run apps that require it like ClockworkMod ROM Manager, Titanium Backup, Greenify, Wireless Tether for Root Users, File managers like Root Explorer or ES File Manager if you want to be able to access the system areas of the phone. So far as I know, there is no "SuperUser of ClockworkMod". If your phone is rooted (You will see superuser or "Super SU" in your app drawer. Here is a free app from the playstore that will tell you if your phone is rooted or not.
Install it and use it to see if your phone is still rooted or if you lost root somehow. If you still have root, then when CWM starts, it will ask for root privileges and the first time it asks, you will be prompted to grant it, once, for a certain time period, or forever. For stuff like CWM, root file managers, and Titanium Backup, you always grant root forever and you will not be asked again until the app updates and requires you to okay granting root privileged or not, then you grand forever and leave it alone.
If you find out you do not have root or lost your root, then you have to root the phone and the procedure is different for different devices, versions, and ROMS. For that kind of help, you have to search for rooting <your particular device and android version number>
Click to expand...
Click to collapse
Thanks for answer, well I thinked that too, because my phone cant use root privileges if the aplication superuser isnt installed, however with te superuser aplication my phone have root privileges but with the previous version, with actual version my phond dont have root, even the people in google play say the same "with the new version my phone losed root" and similars comments...
maybe the root version (clockWorkMod) work in this way and need the app for work.
maybe this one??? http://d-h.st/l91
DumbleCore said:
maybe this one???
Click to expand...
Click to collapse
Thanks DumbleCore! I have root again
fernan2001 said:
Thanks DumbleCore! I have root again
Click to expand...
Click to collapse
Solved it? No problem

[Q] get denied permission for superuser

Hi all,
I can not run application which need superuser permission, since always denied permission.
This involve error during flashing for Nokia x.
Could somebody help me to solve this case ?
Thanks
http://forum.xda-developers.com/showthread.php?t=2737619
Hi, thanks for respon. I have installed android app, but still can not change permission from Deny to allow for superuser.
Did Framaroot say it was successful? Have you tested with a root checker app to see if your phone has been properly rooted? Are you using Superuser or SuperSU? What app isn't being granted superuser?
es0tericcha0s said:
Did Framaroot say it was successful? Have you tested with a root checker app to see if your phone has been properly rooted? Are you using Superuser or SuperSU? What app isn't being granted superuser?[/QUOTE
Status device is rooted, but if try to unroot via frama root, always error.
I have checked with root checker, status root but access is not access.
I'm using superuser I.o supersu
Some app witth deny : Link2sd, root explorer, rom manager, frama root, etc
Thank you
Click to expand...
Click to collapse
sumaidi said:
es0tericcha0s said:
Did Framaroot say it was successful? Have you tested with a root checker app to see if your phone has been properly rooted? Are you using Superuser or SuperSU? What app isn't being granted superuser?[/QUOTE
Status device is rooted, but if try to unroot via frama root, always error.
I have checked with root checker, status root but access is not access.
I'm using superuser I.o supersu
Some app witth deny : Link2sd, root explorer, rom manager, frama root, etc
Thank you
Click to expand...
Click to collapse
Install SuperSU, let it update the binary, reboot, and try again. If that doesn't work, flash the SuperSU zip via custom recovery to install the app and binary correctly.
Click to expand...
Click to collapse

Keeping root access

Hello,
I there any way to keeping root access for specific app after unroot android device?
(like as changing owner, permission, install or copy in specific path)
Thanks,
@root said:
Hello,
I there any way to keeping root access for specific app after unroot android device?
(like as changing owner, permission, install or copy in specific path)
Thanks,
Click to expand...
Click to collapse
I don't think so. You need to root it again, if your device is unrooted currently.
@root said:
Hello,
I there any way to keeping root access for specific app after unroot android device?
(like as changing owner, permission, install or copy in specific path)
Thanks,
Click to expand...
Click to collapse
No, root access is global. You can however use Superuser or SuperSU to restrict root access to only one app, if you want.
Out of curiosity, why do you wish to unroot, yet retain root access with one specific app? What exactly are you trying to do? If you want to unroot because a certain application (such as banking/payment software) won't work if your phone is rooted, you can install the Xposed framework and use RootCloak on a per-app basis to trick the app into thinking you're not rooted.
Thanks you,:good:
you can install the Xposed framework and use RootCloak
Click to expand...
Click to collapse
This is good idea,
But i supposed (in Linux) if an App has Root access (777 permission) and Root Owner, the App is able to do any thing!
so what is wrong? what is different if an app has (root permission/root owner) or not?

[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

Grant root privilege to app not requesting it

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.

Categories

Resources