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.
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.
No comments:
Post a Comment