SuperSU binary standard permissions - SuperSU

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

Related

[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.

[Q] I want to replace king user v 3.4.5 with super su

Greetings all i want to change my king root v3.4.5 wit hsuper su i installed iroot (vroot) on my pc my phone is samsung GTI8200 i have tried all methods to remove it but it ends up losing my root or nothing happned at all all what i want how to replace king user v 3.4.5 with the latest vesion of super su sorry for my english
thenewscreem said:
Greetings all i want to change my king root v3.4.5 wit hsuper su i installed iroot (vroot) on my pc my phone is samsung GTI8200 i have tried all methods to remove it but it ends up losing my root or nothing happned at all all what i want how to replace king user v 3.4.5 with the latest vesion of super su sorry for my english
Click to expand...
Click to collapse
this method is for vroot but work on kingo
5. Go to play store and install SuperSU.
6. Start SuperSU and you will be asked for permission by ???? 1.0.4, choose ??(means allow). (Should be the right side option.)
7. SuperSU will prompt to install SU binary, go ahead with OK and it will display successful.
8. Now,unistall king root with titanium backup
Note: If you uninstall straight away from app manager, you need to make sure SuperSU updated the binary.
9. Re-run SuperSU to make sure everything is alright. You will be prompt again to install SU binary, just do what it asked.
10. After that, you are rooted with SuperSU and ???? 1.0.4 will not be there anymore.
I HAVE tried this but kinguswe wont let installation successfull always installation failed I have tried to remove
king user with titanium backup but it remove root permission so is there any way else to replace it and thank you
SU
Think I used this method:
1. Download and unzip "Replace_VRoot_With_SuperSU.zip" file
2. Copy the folder "mrw" to phone storage
3. Copy SU. apk to system folder using a root explorer and change permissions to match your other system apps.
4 Reboot and update binaries
5 Remove king user and associated apps.
There is a full instruction set somewhere but I believe that this was my adaptation of the method using only a root explorer. I used Xplore.
themountig said:
Think I used this method:
1. Download and unzip "Replace_VRoot_With_SuperSU.zip" file
2. Copy the folder "mrw" to phone storage
3. Copy SU. apk to system folder using a root explorer and change permissions to match your other system apps.
4 Reboot and update binaries
5 Remove king user and associated apps.
There is a full instruction set somewhere but I believe that this was my adaptation of the method using only a root explorer. I used Xplore.
Click to expand...
Click to collapse
It worked for me on my THL4000. I didn't need step 3, though, as the script, did it for me.
Thanks for sharing!
4.2.2

Titanium backup zv6 with root

So I have a rooted stock zv6 android 5.1 sprint lg g4. Root is working fine and so is xposed version 79 sdk 22. I get all su prompts and can grant of deny them. In titanium backup latest version from Google play I also get the root prompt and I grant it, but it still says it doesn't have root access even though I even see the toast message that it has been granted superuser. It says something about not obtaining root using system/bin/su. But using root explorer the su binaries are there I even copied the su from the xbin folder and pasted it into the bin folder tried changing install paths in busy box still didn't solve it. What has me stumped that the prompt to grant superuser permissions comes up with titanium backup, but even granting it does not see it/achieve superuser permissions for whatever reason. Do you guys have any idea on what to try?
Bump
Sent from my VS985 4G using XDA Free mobile app

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

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.

Categories

Resources