xmikos / SnooperStopper

Android device ecryption password manager and failed unlock attempts monitor
GNU General Public License v3.0
48 stars 7 forks source link

SnooperStopper not working properly with phh's root/superuser #21

Closed quorn23 closed 7 years ago

quorn23 commented 7 years ago

Hi Mikos,

I use SnooperStopper with my Nexus 6P, currently with Phh's Root and Superuser app. Now i would like to change the encryption password. When i open the app i see superuser granted, but as soon as i click on "Change encryption password" -> "Cannot get superuser access, exiting"

I don't really see anything helpful in logcat, i cleared the superuser permission and once i'm getting asked to grant them i redid that. But still no luck with changing the encryption password.

https://gist.github.com/quorn23/50a181298a25b40a9f909f1a879fca7f ^ logcat of these steps.

In the superuser app i only see the allowed access in the log, never any denied one. I'm not big of a coder, but i assume the change encryption password part asks in a different way for root, which fails?

Would be awesome if you could take a look into this. Let me know if you need further logs, the catlog posted is filtered for snooperstopper.

Edit: Oh some background info, i'm running 6.0.1 and Magisk 10.2 with the included superuser, which the source can be found here: https://github.com/topjohnwu/Superuser

quorn23 commented 7 years ago

https://github.com/nelenkov/cryptfs-password-manager/issues/18

I opened a feature request with Nikolay, after i've seen that this part of the app comes from his code and his password manager causes the same behavior. Will close this issue, but would be awesome if you could update SnooperStopper if he adds support.