I had my phone rooted and all working fine on Nougat. I then tried installing secure settings for Tasker and since around this time, i've lost root and if i try flashing super su in TWRP, each time i boot and check i'm not rooted. If i open Super Su app it tells me that the framework needs to be updated and to reboot, i do this and it just keeps telling me the same.
The only thing i am thinking may have broken this is i found a guide to get Secure Settings working on nougat where someone suggested creating a folder with root file explorer called 'su' in system/bin. Now when i open up Titanium Backup it tells me it could not acquire root and say the attempt was made using the "/system/bin/su" command which im thinking means it's looking somewhere there is an empty folder?
I cant now of course delete the system/bin/su folder i created as i cant enable root in File Explorer so i'm pretty stuck and not sure what i can do. I've tried the cleanup and full unroot in the supersu app and then flashing supersu in twrp again but still says no root when i check
Any suggestions?
farquea said:
I had my phone rooted and all working fine on Nougat. I then tried installing secure settings for Tasker and since around this time, i've lost root and if i try flashing super su in TWRP, each time i boot and check i'm not rooted. If i open Super Su app it tells me that the framework needs to be updated and to reboot, i do this and it just keeps telling me the same.
The only thing i am thinking may have broken this is i found a guide to get Secure Settings working on nougat where someone suggested creating a folder with root file explorer called 'su' in system/bin. Now when i open up Titanium Backup it tells me it could not acquire root and say the attempt was made using the "/system/bin/su" command which im thinking means it's looking somewhere there is an empty folder?
I cant now of course delete the system/bin/su folder i created as i cant enable root in File Explorer so i'm pretty stuck and not sure what i can do. I've tried the cleanup and full unroot in the supersu app and then flashing supersu in twrp again but still says no root when i check
Any suggestions?
Click to expand...
Click to collapse
This post was a bit more informative than your "my device unrooted itself" post in the stable thread.
Dirty flash your system or use the file manager in TWRP to remove the offending folder.
I was thinking of trying that but fixed it a different way as I just posted in the SuperSU thread. But in case anyone else ever has this problem...
I fixed my issue. By disabling SuperSU and enabling again from the app settings and it gave me root. I then deleted a created su folder in system/bin that I manually created earlier when trying to get secure settings working.
Related
So I updated my D4 last week to the new build number. I kept root using the RootKeeper app. It indeed stayed rooted after, as I can still see the Superuser app in my app drawer. However, none of the privileges don't seem to work. For example, drocap2 won't take pictures and when I open Titanium, it tells me it couldn't get root access. It says "this attempt was made using the '/system/bin/su' command."
I haven't modded a phone since the OG, and I'm a bit rusty. Could someone help me solve this problem? Thanks!
AMTrombley0924 said:
So I updated my D4 last week to the new build number. I kept root using the RootKeeper app. It indeed stayed rooted after, as I can still see the Superuser app in my app drawer. However, none of the privileges don't seem to work. For example, drocap2 won't take pictures and when I open Titanium, it tells me it couldn't get root access. It says "this attempt was made using the '/system/bin/su' command."
I haven't modded a phone since the OG, and I'm a bit rusty. Could someone help me solve this problem? Thanks!
Click to expand...
Click to collapse
Stupid question but after you updated did you restore root with the Root Keeper app?
Sent from my DROID4 using XDA
Ha! No I didn't. I didn't know you had to restore it. I just saw the su app in my drawer and though I was good. This was the first time using that app. Thanks!
AMTrombley0924 said:
Ha! No I didn't. I didn't know you had to restore it. I just saw the su app in my drawer and though I was good. This was the first time using that app. Thanks!
Click to expand...
Click to collapse
Glad it was something easy!
Sent from my DROID4 using XDA
AMTrombley0924 said:
Ha! No I didn't. I didn't know you had to restore it. I just saw the su app in my drawer and though I was good. This was the first time using that app. Thanks!
Click to expand...
Click to collapse
I am having the same issue, I restored using the root keeper app however the device rooted and root permission granted check boxes never go green. When I click restore root the su.apk pops up say permission was granted.
When I try and run such via the terminal app it command not found. I did look in /system/bin and such is there but no dice
---------- Post added at 04:39 AM ---------- Previous post was at 04:29 AM ----------
jnc8651 said:
I am having the same issue, I restored using the root keeper app however the device rooted and root permission granted check boxes never go green. When I click restore root the su.apk pops up say permission was granted.
When I try and run such via the terminal app it command not found. I did look in /system/bin and such is there but no dice
Click to expand...
Click to collapse
Well it turns out a backup was dropped in /system and it was called su-backup. I was able to obtain root that way then I remounted system and copied it over to /system/bin
So, as it turns out, I did not think to backup my root with Rootkeeper, and now after the update, I still have Superuser but I'm unable to grant any apps superuser permissions. I got the Droid 4 utility .3 and tried to reroot. Unroot, then reroot, and basically everything I could think of, and still, no luck.
PS - Isn't unrooting supposed to remove superuser? It did not.
I had the same problem. Basically what has happened is you have lost root access, but the apps that use root are still there, and without root access, the unroot function is unable to remove them.
What I did, was manually push the files using adb :
adb push motofail /data/local/motofail
adb shell chmod 755 /data/local/motofail
Then I tried the running the exploit to get root:
adb shell "/data/local/motofail exploit"
but it failed... I also tried remounting the system folder as rw and it failed so I couldn't get root.
After this, I booted into fastboot/recovery and wiped my data/cache. Then, I tried the rooting process again, got read/write permission errors (did not originally), wiped data/cache again, and finally tried the unroot process.
This got rid of my superuser.apk and su binary somehow.
After all of this, the rooting utility worked. So, once you manage to get rid of those files, you should be good to go. I apologize I cannot narrow it down any better.
Well, I appreciate your response, but I'm still not having any luck.
Here is what I did:
Rooted phone few weeks back, left it alone.
Installed update
Did a factory reset, superuser still intact, but not granting permissions
Came to these forums
Booted into recovery and wiped (Holding volume buttons at boot, pressing down then up, formatting cache and data/factory reset)
Tried to root using Droid 4 Utility .3 - Did not get many errors
Waited for that process, then again, booted into recovery and wiped
Ran Droid 4 Utility .3 UNROOT option.
Recieved errors in removing superuser.apk due to read-only file system. Permission was denied to remove the app data, system/bin, etc....
Please, I know there's a lot of topics/posts around here and other sites, but I feel like I've tried everything to the best of my knowledge and refuse to give up!
I had a similar problem. I had tinkered with my framework and the update would not install. Got that fixed but forgot to unroot before running the update and got stuck just like you. Tried several things but could not get root back nor completely unroot. In a fit of frustration i tried pete's roottools that i had used for my d2g and it uninstalled the superuser and then i was able to root with the d4 utility. The phone works fine but i suppose it could have upset some other part. So try at your own risk.
can you give me some details about your uninstalled the superuser ?i use the peter's roottool and can't find how to do it...
jsnweitzel said:
I had a similar problem. I had tinkered with my framework and the update would not install. Got that fixed but forgot to unroot before running the update and got stuck just like you. Tried several things but could not get root back nor completely unroot. In a fit of frustration i tried pete's roottools that i had used for my d2g and it uninstalled the superuser and then i was able to root with the d4 utility. The phone works fine but i suppose it could have upset some other part. So try at your own risk.
Click to expand...
Click to collapse
As of this morning, my kindle fire HD 7" was reset back vanilla launcher and un-rooted.
I have re-rooted but keep getting the error "com.estrong..fs.FileSystemException: Permission Denied" whenever I attempt to move my launcher files to system/app
My file explorer has root privileges and I do have my device rooted but it just kind of stumped me.
Does anyone know of a way around this; Has this happened to anyone else within the last 24 hours?
P.S:
My System Version is 7.4.3
File Explorer: ES File Explorer (With all root options selected)
Anyone have any idea?
I still have no idea what's causing the issue.
evildread said:
Anyone have any idea?
I still have no idea what's causing the issue.
Click to expand...
Click to collapse
which method did you used to root kfhd !??
try to root your kf again if the problem is still unresolved !!
first root with restore and after that root with qemu. it's been my way of doing it trough all the amazon updates. it NEVER failed
if you have problems with superSU, just uninstall it and install superuser from market.
phonexpert_alex said:
first root with restore and after that root with qemu. it's been my way of doing it trough all the amazon updates. it NEVER failed
if you have problems with superSU, just uninstall it and install superuser from market.
Click to expand...
Click to collapse
I feel like such an idiot..
It turned out the system folders weren't mounted.. So I was getting denied root access..
I had gotten the new version of ES File Explorer (Which I'm not used too), which was giving me the problems.. So I Downloaded FX File Explorer and saw that it wasn't mounted and just NOW finally found how to mount with ES...
Sorry for the post, I feel so freaking stupid.. =/
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.
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
While no one made a thread about this topic or even asked around and no app can backup its stuff, then I thought it will be better to post such a solution to what is apparently a missing feature/option of SuperSU app, I actually wrote a reply on SuperSU thread talking about it. Anyway, this thread is for users who ever wonder how to get around it and stop re-authenticate every app all over again and maybe they forget to give permission to a startup important tools (e.g. SElinuxModeChanger) so here we go.
NOTE: I only tried it for SuperSU v2.46, maybe it works for other versions, and it's important to do the process within the same version.
1- Go to SuperSU settings and uncheck "Re-authentication" (very important!).
2- Open up a file explorer that supports root permissions (e.g. ES File Explorer) and grant it the permissions (make sure you see a toast notification confirmed that, otherwise you can't continue).
3- Go to /data/data/eu.chainfire.supersu/shared_prefs folder.
*You see the file eu.chainfire.supersu_preferences.xml, it contains values of certain configuration or important info of SuperSU like any other app has the file end with "_preferences.xml", let's go back.
4- Take a copy of that file eu.chainfire.supersu_preferences.xml
5- Re-install SuperSU and make sure it's installed correctly with "su binary" to work properly.
6- Open up your file explorer and grant it root permissions.
7- Go to the same folder /data/data/eu.chainfire.supersu/shared_prefs and replace the new file with the one you kept.
8- Go to SuperSU app info screen in system settings and click on "Force stop".
9- Then open it, now you see the same list of apps (without their icons because they aren't installed yet, so once they are, they don't need to ask for root again) and have the same settings configuration.
That's it.
And I hope @chainfire add an option for all that just with one click.
Note for moderators: this is my first thread, I don't know where else to put it, so I apologize in advance.
Thanks @GoldOwner for this helpful tutorial, I also hope that @Chainfire can add option to backup/restore settings, or allow Titanium Backup to do it...
hey guys. . .i more help. . .could u guys sent or PM screen shot of supersu settings. . . ?
i think i have messedup with settings. . . . .
just the settings of super su. .. .things that should be checks and that shouldn't be checked stuff. . .
thanks guys
alazizie said:
While no one made a thread about this topic or even asked around and no app can backup its stuff, then I thought it will be better to post such a solution to what is apparently a missing feature/option of SuperSU app, I actually wrote a reply on SuperSU thread talking about it. Anyway, this thread is for users who ever wonder how to get around it and stop re-authenticate every app all over again and maybe they forget to give permission to a startup important tools (e.g. SElinuxModeChanger) so here we go.
NOTE: I only tried it for SuperSU v2.46, maybe it works for other versions, and it's important to do the process within the same version.
1- Go to SuperSU settings and uncheck "Re-authentication" (very important!).
2- Open up a file explorer that supports root permissions (e.g. ES File Explorer) and grant it the permissions (make sure you see a toast notification confirmed that, otherwise you can't continue).
3- Go to /data/data/eu.chainfire.supersu/shared_prefs folder.
*You see the file eu.chainfire.supersu_preferences.xml, it contains values of certain configuration or important info of SuperSU like any other app has the file end with "_preferences.xml", let's go back.
4- Take a copy of that file eu.chainfire.supersu_preferences.xml
5- Re-install SuperSU and make sure it's installed correctly with "su binary" to work properly.
6- Open up your file explorer and grant it root permissions.
7- Go to the same folder /data/data/eu.chainfire.supersu/shared_prefs and replace the new file with the one you kept.
8- Go to SuperSU app info screen in system settings and click on "Force stop".
9- Then open it, now you see the same list of apps (without their icons because they aren't installed yet, so once they are, they don't need to ask for root again) and have the same settings configuration.
That's it.
And I hope @chainfire add an option for all that just with one click.
Note for moderators: this is my first thread, I don't know where else to put it, so I apologize in advance.
Click to expand...
Click to collapse
It's still working with SuperSu v2.46 but not the latest version, would like to reconfirm, whether should the user change the permission of the backup eu.chainfire.supersu_preferences.xml or just remains as rw--rw--rw?
Thanks!
Been trying to find this gem of a post for an hour! Thanks! This really bugs me, why don't they have this option in the 1st place? Also why is it not possible for titanium backup to back this up.
---------- Post added at 04:40 PM ---------- Previous post was at 03:47 PM ----------
illkid69 said:
It's still working with SuperSu v2.46 but not the latest version, would like to reconfirm, whether should the user change the permission of the backup eu.chainfire.supersu_preferences.xml or just remains as rw--rw--rw?
Thanks!
Click to expand...
Click to collapse
The backup still works, but the restoration tutorial for newer SuperSU is different, basically you just need to copy the text from the backed up "eu.chainfire.supersu_preferences.xml" to the newly created "eu.chainfire.supersu_preferences.xml".
To do that open the backed up "eu.chainfire.supersu_preferences.xml" thru a Text Editor, Solid Explorer has one, and copy the whole content. Go to the newly created "eu.chainfire.supersu_preferences.xml", which is created once you open the reinstalled SuperSU, and overwrite its contents. Force close SuperSU and open it again. Backup restored.
@alazizie - heads up, worked for SuperSU v2.79, Kitkat v4.4.2
alazizie said:
While no one made a thread about this topic or even asked around and no app can backup its stuff, then I thought it will be better to post such a solution to what is apparently a missing feature/option of SuperSU app, I actually wrote a reply on SuperSU thread talking about it. Anyway, this thread is for users who ever wonder how to get around it and stop re-authenticate every app all over again and maybe they forget to give permission to a startup important tools (e.g. SElinuxModeChanger) so here we go.
NOTE: I only tried it for SuperSU v2.46, maybe it works for other versions, and it's important to do the process within the same version.
1- Go to SuperSU settings and uncheck "Re-authentication" (very important!).
2- Open up a file explorer that supports root permissions (e.g. ES File Explorer) and grant it the permissions (make sure you see a toast notification confirmed that, otherwise you can't continue).
3- Go to /data/data/eu.chainfire.supersu/shared_prefs folder.
*You see the file eu.chainfire.supersu_preferences.xml, it contains values of certain configuration or important info of SuperSU like any other app has the file end with "_preferences.xml", let's go back.
4- Take a copy of that file eu.chainfire.supersu_preferences.xml
5- Re-install SuperSU and make sure it's installed correctly with "su binary" to work properly.
6- Open up your file explorer and grant it root permissions.
7- Go to the same folder /data/data/eu.chainfire.supersu/shared_prefs and replace the new file with the one you kept.
8- Go to SuperSU app info screen in system settings and click on "Force stop".
9- Then open it, now you see the same list of apps (without their icons because they aren't installed yet, so once they are, they don't need to ask for root again) and have the same settings configuration.
That's it.
And I hope @chainfire add an option for all that just with one click.
Note for moderators: this is my first thread, I don't know where else to put it, so I apologize in advance.
Click to expand...
Click to collapse
First of all thank you, been looking for this and this was a crucial step in what I am trying to acomplish.
I have a question to take this one step further. How do I back this "eu.chainfire.supersu_preferences.xm" up in such a way, that SuperSu retains these settings after a factory reset.
I have already installed SuperSu as a system app, so that install it installs automatically during factory reset, and retains root.
A suggestion would be to somehow let SuperSu save it's settings in the system partition instead of the data. Is this possible?
Some background info: I am trying to get a anti-theft app (cerberus) to work properly after factory reset. All works exxcept for the little snafu that SuperSu popsup asking to grant permission to the Anti theft app. A thief could potentially spot it and the chances for catching him would be less. All this assuming the device wont be reflashed.
Is there any option out there, that will retain the "eu.chainfire.supersu_preferences.xml" after factory reset?