1.8 KiB
Wasted
Lock device and wipe data on panic trigger.
You can use PanicKit, tile, shortcut or send message with authentication code. On trigger, using Device Administration API, it locks device and optionally runs wipe.
Also you can:
- limit the maximum number of failed password attempts
- wipe device when it was not unlocked for N days
The app works in Work Profile
too. You can use Shelter to
install risky apps and Wasted
in it. Then you can wipe this profile data with one click without
wiping the whole device.
Only encrypted device may guarantee that the data will not be recoverable.
Permissions
FOREGROUND_SERVICE
[Wipe on inactivity] receive unlock events
RECEIVE_BOOT_COMPLETED
[Wipe on inactivity] persist wipe job across reboots
Example
Broadcast message:
$ adb shell am broadcast \
-a me.lucky.wasted.action.TRIGGER \
-n me.lucky.wasted/.CodeReceiver \
-e code "b49a6576-0c27-4f03-b96b-da53501022ba"
License
This application is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License v3 as published by the Free Software Foundation.