I have a rooted arm development board, How to use Magisk to manage root permissions? - Magisk

Hi, I am very confused how to use Magisk to manage root permissions. I just want to know which apps that have root permissions and grant/revoke root permissions for apps.
My device is not a mobile phone. It's an arm development board. It's already rooted by default.
After installing Magisk and open it, it shows `Ramdisk No`.
`Superuser` tab is grey-out (inactive).
I have no ideas what to do and how to use it.
I did search the Internet, I don't find anything useufl.
Thanks a lot.
PS:
There is no superuser request prompt anywhere in this ARM development board.
I have no ideas how to grant root permission to any apps. I have no ideas if any apps can have root permission or not.
I can use adb shell. The username is `root` from `whoami`. I can access any directories.

Related

[Q] setcpu unable to gain root access questions?

I have rooted my phone however when I install setCPU the application is unable to obtain root access. I have to tried to grant access to the application in the Superuser application however, the application does not seem to allow that option.
BTW, I have search both google and the forum to see if there was a fix for this before posting this message.
Any advise or direction would be greatly appreciated.
Thank you in advance
driodfreakz said:
I have rooted my phone however when I install setCPU the application is unable to obtain root access. I have to tried to grant access to the application in the Superuser application however, the application does not seem to allow that option.
BTW, I have search both google and the forum to see if there was a fix for this before posting this message.
Any advise or direction would be greatly appreciated.
Thank you in advance
Click to expand...
Click to collapse
Used to happen once in a while when I used to use SetCPU.
Try this:
1. In superuser, delete the entry for set cpu. (I would suggest reinstalling super user app.)
2. If u have any protection apps like protector pro, disable that.
3. Run the setcpu app. This should now prompt superuser dialog.
4. Grant access and make sure u have check box selected to grant access always.
Reinstalling super user app always resolved this issue for me.

[Q] Can't delete s_volt_scheduler from /etc/init.d

I've moved to SuckerPunch's 1.4ghz OC/UV kernel, and I need to remove the old s_volt_scheduler from /etc/init.d in order to stop Xan's app and SetCPU from FCing all the time.
Any ideas on how to do this? I've tried Astro and it gives a permission denied, and when I mount the phone thru USB I can't even seem to find the appropriate directory in Windows Explorer.
Thanks for any help or ideas you could provide on how to remove these files, or grant permission to them so I can remove them. I am rooted, running Phoenix 4.5.
Root Explorer app?
And SGS Tools allows you to grant permissions I believe.
SGS Tools was a no-go. Got the .apk for Root Explorer, sideloaded, worked like a charm. The issue was that the filesystem was loaded as readonly, root explorer allows you to mount as read/write.
Thanks.
root explorer is the first application i install everytime i reflash my rom.
mengbo said:
root explorer is the first application i install everytime i reflash my rom.
Click to expand...
Click to collapse
Definitely keeping it on the "must have" apps for each time I reflash. Completely annihilates Astro.
Thanks again, guys.

[Q] SuperUser

I've spent a lot of time googling and cant figure out the solution to my problem. I followed directions to a root for my kindle, and got the app superuser. I just have no idea how to use it. All i really want right now is to get the google play store, for some of the games. I'm not the most computer savvy, and I am lost! any help will be much appreciated!
Lost33 said:
I've spent a lot of time googling and cant figure out the solution to my problem. I followed directions to a root for my kindle, and got the app superuser. I just have no idea how to use it. All i really want right now is to get the google play store, for some of the games. I'm not the most computer savvy, and I am lost! any help will be much appreciated!
Click to expand...
Click to collapse
Having "root" consists of two things; the existence of the SU binary and the Superuser.apk on the System partition. Superuser.apk should be under '/system/apps' and the SU binary should be in '/system/xbin'. The SU (substitute user) binary is what apps call to to get elevated permissions (as with any Linux system), and the Superuser.apk simply keeps a database of what apps you, the user, allow to access the SU binary.
When using the shell, simply typing 'su' in the command prompt will give you root permissions in that shell (indicated by the '#' prompt). When you use an app, like ES File explorer, if the app itself wants to access directories that are protected by Android's permissions, you will be prompted by the Superuser.apk for your permission before the app will be allowed to access the SU binary so those directories can be accessed.

rooted. now what? how to remove bloatware?

Hi,
I have the lg optimus l90.
I used the towelroot app to root the phone. i used a terminal app to verify that i do have root. when the app opened, it displayed a $ sign but when i typed "su" and pressed enter it gave me a "#" prompt. so am i rooted?
also i was told to install the superSU app. why do i need this? can't i just uninstall the bloatware right now since i am rooted?
I installed the superSU app but it was not able to install the su binary because i did not reboot the phone after using towelroot. I uninstalled the SuperSU app. anyhow, what do I need to do now to remove those bloatware apps. there is no option to uninstall in the apps section of the android settings application.
finally, I read somewhere that i should use nobloat app to uninstall the bloatware but it is not uninstalling the bloatware. I uninstalled it.
so what do I do now?
any help would be much appreciated.
thanks.
Superuser is needed for apps to have root rights to your phone. Install superuser. Reboot phone and open app. Reboot again if needed. Rooting is useless without superuser installed
Sent from my LG-D410 using Tapatalk
helix3000 said:
Hi,
I have the lg optimus l90.
I used the towelroot app to root the phone. i used a terminal app to verify that i do have root. when the app opened, it displayed a $ sign but when i typed "su" and pressed enter it gave me a "#" prompt. so am i rooted?
also i was told to install the superSU app. why do i need this? can't i just uninstall the bloatware right now since i am rooted?
I installed the superSU app but it was not able to install the su binary because i did not reboot the phone after using towelroot. I uninstalled the SuperSU app. anyhow, what do I need to do now to remove those bloatware apps. there is no option to uninstall in the apps section of the android settings application.
finally, I read somewhere that i should use nobloat app to uninstall the bloatware but it is not uninstalling the bloatware. I uninstalled it.
so what do I do now?
any help would be much appreciated.
thanks.
Click to expand...
Click to collapse
Along with root and SuperSU, you will also need a root App manager or root file manager. I personally prefer to use ES File Explorer as it is both an application manager ( user and system ) as well as an awesome file manager.
There is no list of acceptable system apps to remove. So be very careful as to what you uninstall or you may endup with a soft bricked phone or one that spazzes out whenever it feels like it. I would recommend making backups of any app you want to remove before uninstalling it. At least you might be able to restore them if something goes wrong.
shinobisoft said:
Along with root and SuperSU, you will also need a root App manager or root file manager. I personally prefer to use ES File Explorer as it is both an application manager ( user and system ) as well as an awesome file manager.
There is no list of acceptable system apps to remove. So be very careful as to what you uninstall or you may endup with a soft bricked phone or one that spazzes out whenever it feels like it. I would recommend making backups of any app you want to remove before uninstalling it. At least you might be able to restore them if something goes wrong.
Click to expand...
Click to collapse
thank you both for the replies.
so what exactly is SuperSU for? when I opened it up I saw nothing in the apps list and I did not see anything else in the other lists within the app. also, I did not restart the phone before trying to update the su files and when I did restart the phone nothing updated. So, do I use something like ES file explorer to remove bloatware?
by the way, when I tried to surf the web after installing superSU app, the web browser was extremely slow. the webpages loaded very slowly but when after I uninstalled the superSU app, it was loading the pages fast again as normal. what's up with that?
thanks.
helix3000 said:
thank you both for the replies.
so what exactly is SuperSU for? when I opened it up I saw nothing in the apps list and I did not see anything else in the other lists within the app. also, I did not restart the phone before trying to update the su files and when I did restart the phone nothing updated. So, do I use something like ES file explorer to remove bloatware?
Click to expand...
Click to collapse
SuperSU is a binary executable that grants or denies superuser requests. Without it root is worthless.
You won't see anything in SuperSU permission list until an app asks for superuser permissions. When first opening the SuperSU app you should get prompted to update/install the su binary. Allow that action to happen.
helix3000 said:
by the way, when I tried to surf the web after installing superSU app, the web browser was extremely slow. the webpages loaded very slowly but when after I uninstalled the superSU app, it was loading the pages fast again as normal. what's up with that?
thanks.
Click to expand...
Click to collapse
That's because the su binary was never updated.
shinobisoft said:
SuperSU is a binary executable that grants or denies superuser requests. Without it root is worthless.
Click to expand...
Click to collapse
so in order to run something like the nobloat app I need to grant it permission to be a superuser? I never had to do anything like that when I ran the nobloat app and It actually worked. It still does not make sense to me what supersu is used for.
That's because the su binary was never updated.
Click to expand...
Click to collapse
I ran the towelroot app and it was successful. However, I did not reboot the phone before attempting to update the su binary and the superSU app said i should restart before updating. I restarted the phone but it never updated the su binary when I ran the superSU app again. What do I do now?
thanks.

SuperSU binary standard permissions

Hi, I read on a few different sites that I should change the persmissions for the SU binary file in /system/xbin
Right now the permissions are rwx r-x r-x - is this correct?
I used KingoRoot for Android to root my Lenovo A916 - and it worked fine, untill I discovered that their superuser app is not working so good with all apps and some features in som apps can't gain root access
So I followed the following post, to replace king superuser app with SuperSU http://zidroid.com/how-to-get-ride-and-replace-kinguser-with-supersu-app/#comment-8707 it worked ok - not excactly as it said that it would uninstall the kingo superuser app - its still there - but now I also have SuperSU. Because I had read wrong, and this a method is not for KingoRoot
I disabled Kingo superuser app in Apps, because its not possible to uninstall it.
Now, in the answers below, I read that I should change the permissons to rwsr sr x but how on earth do I do that in ES File explorer - command line is not for me.
And the most important question is - do I really need to this?
Thanks in advance
JBJ

Categories

Resources