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!



Aucun commentaire:

Enregistrer un commentaire