Skip to content

x13a/Sentry

Repository files navigation

Sentry

Enforce security policies.

Get it on F-Droid

Tiny app to enforce security policies of your device.

It can:

  • limit the maximum number of failed password attempts
  • disable USB data connections (Android 12, USB HAL 1.3, Device Owner)
  • disable safe boot mode (Android 7, Device Owner)
  • notify on failed password attempt
  • notify when an app without Internet permission got it after an update

Be aware that the app may not work in safe mode.

Permissions

  • DEVICE_ADMIN - limit the maximum number of failed password attempts
  • DEVICE_OWNER - disable USB data connections
  • NOTIFICATION_LISTENER - receive lock/package events
  • QUERY_ALL_PACKAGES - receive all package events

Example

To set as Device Owner:

adb shell dpm set-device-owner me.lucky.sentry/.admin.DeviceAdminReceiver

Localization

Crowdin

License

GNU GPLv3 Image