Affichage des articles dont le libellé est Superuser. Afficher tous les articles
Affichage des articles dont le libellé est Superuser. Afficher tous les articles

mercredi 12 août 2015

Where are Superuser permissions saved ?



Hello,

I never figured this out yet, but I can't imagine it would be that hard to find;
Let's say I switch ROMs on my phone (Galaxy S4), I wouldn't want to grant all these Superuser requests for all my apps again, one by one. So I've wondered, in which file are these requests saved?

You know what I'm talking about, in SuperSU (in that case), each app has Superuser access "Granted" or "Denied". Where are these permissions saved in the OS? Guessing /System partition, but never found them. How could I back these up, in case I switch ROM, or if my /System partition would become corrupted someday (Well, that's why we have Nandroid Backups as well, sure).

On Linux, we have a file called "sudoers" which list a few users or commands that are autorised.. Not the same thing, not sure how the file "sudoers" work exactly.. But could something similar exist under Android?

I just want to backup/restore all these Superuser requests I've granted/denied. How?

Thanks!



samedi 1 août 2015

[Q&A] [HOWTO] adb / sideloading / superuser access



Q&A for [HOWTO] adb / sideloading / superuser access

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [HOWTO] adb / sideloading / superuser access. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)