Lock device and wipe data on panic trigger.

Overview

Wasted

Lock device and wipe data on panic trigger.

Get it on F-Droid

You can use PanicKit or send broadcast message with authentication code. On trigger, using Device Administration API, it locks device and runs wipe.

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

GNU GPLv3 Image

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.

Comments
  • [Request] USB trigger

    [Request] USB trigger

    Thank you for all your work & dedication. Is it possible to implement:

    • Duress Password Wipe
    • USB extraction wipe

    Not sure if these are something that might be in the works moving forward but thanks again either way.

    opened by InvisibleMan101 62
  • BFU

    BFU

    The tile function doesn't seem to trigger on a reboot, or shutting the phone down and starting it up again. (Might be a limitation that we are okay with after all) Would like to propose the following features as well:

    • Possible to set a custom string for broadcast?
    • Possible to copy the broadcast string within the app?
    opened by Xanth0k1d 43
  • controller

    controller

    I would like Wasted to accept remote commands from SimpleX (simplex.chat) after successfully establishing a previous contact connection with it (see one-time link).

    The commands that can be given remotely should be:

    • perform a complete wipe after time based events
    • perform a complete wipe after X wrong pin attempts
    • lock/unlock the device
    • do not accept unlock codes locally until I send the unlock code remotely (unless you enter the recovery passphrase)
    • change the lock/unlock pin
    • wipe esim
    • turn on/off 110db siren
    • send gps position once
    • send gps position every X minutes
    • turn on/off flashlight
    • turn on/off vibration

    https://github.com/simplex-chat/simplex-chat

    https://simplex.chat/

    https://github.com/simplex-chat/simplex-chat/issues/1065

    opened by serrq 20
  • GrapheneOS / Android 12 - Notification

    GrapheneOS / Android 12 - Notification

    When I use wasted on grapheneos and I send the famous code in an application that displays notifications, nothing happens and the phone does not wipe.

    On the other hand, all the other functions, with duress, airplane mode etc. work perfectly.

    Is it not necessary to add a request for authorization so that Wasted is the right to read the notifications?

    opened by xyz-nobody 9
  • samsung wasted trigger by notification

    samsung wasted trigger by notification

    Hello, using samsung device, giving all rights it asks, including notification access, it does not trigger when code is send using threema, signal or session, I check marked all 3, and tested all 3, is there a particular reason for that ? It cannot work on samsung ? USB trigger does work, I hope someone can help me with this, I tried many things.

    opened by MDgit897 5
  • Wipe On Inactivity

    Wipe On Inactivity

    On grapheneos

    When I set up a time in minutes or hours and change my profile. nb: it also happens to me in random ways on a phone under grapheneos which has no profile. I just disconnect and when I come back it sets the default value 7D

    Ex : 30 mn

    I switch to a user profile, I disconnect after 35 minutes from the user profile, I reconnect to the Owner Profile.

    I reopen Wasted and the default time is back to 7D.

    So it didn't Wipe On grapheneos

    When I set up a time in minutes or hours and change my profile.

    Ex : 30 mn

    I switch to a user profile, I disconnect after 35 minutes from the user profile, I reconnect to the Owner Profile.

    I reopen Wasted and the default time is back to 7D.

    So it didn't Wipe

    opened by xyz-nobody 5
  • Improvement idea

    Improvement idea

    Improvement idea:

    • Have the possibility to know the version number (ex on f-droid the app is in error when we download it because the apk is not available anymore), and i dont know if the version on playstore it's latest.

    • Be able to have a finer granularity on the N Days parameter and go down to the hour.

    (e.g. have time slots, from 21h to 06h = N Hours & from 06 to 21h = N Hours)

    • Have the possibility of N Hours / Days based on a wifi. If the smartphone does not connect to a wifi X, then after N Hours, it wipes the phone. When a state attacker takes a phone, he puts it in the wifi airplane, and even if he doesn't, we can assume that the phone will be far away from the wifi where people usually work.

    • Have the possibility to have a panic password to wipe the phone directly.

    • N.B.: Unfortunately, I think that for this idea, you need a screenlocker like datawipe: http://safetyapps.zone/datawipe.html

    • N:B: The screenlocker comes after the normal locker or the fingerprint unlocking.

    opened by xyz-nobody 5
  • ProtonAOSP / Andorid 12 - Notification not working

    ProtonAOSP / Andorid 12 - Notification not working

    Hi! I tried this app on ProtonAOSP, based on Android 12 (https://protonaosp.org) with no luck.

    Tiles - there are no extra tiles after app installation. I see Podcast Addict tile, Cryptocam, but not Wasted one:

    Screenshot_20220615-122810

    Shortcut - there are no shortcuts in app's context menu either. Once again, Protonmail has one for a some reason, Wasted - no:

    Screenshot_20220615-122758 Screenshot_20220615-123827

    Notifications - Wasted should be able to read all notifications, but still nothing happens when I send auth code in Telegram.

    Screenshot_20220615-124459

    Broadcast - not sure, can't really check if it works. I installed Duress app, configured it as decribed here https://github.com/x13a/Duress/issues/1#issuecomment-1049458803 ... but I don't want to wipe my device ATM, and there's no extra ways to see if it really works. Like I'm entering duress code on lock screen, and the only action sould be device lock, but I'm already on the lock screen, so it's unclear if Wasted worked in this case.

    (And I see no way to copy auth code to clipboard, but It was mentioned in https://github.com/x13a/Wasted/issues/15. Long press to refresh code, short - to configure triggers, so again I'm not sure if there's a problem with my OS, or it copying was not implemented)

    Please tell me if I can help to debug this. Thanks :)


    Feature request: it would be nice to have some kind of armed/disarmed switch, "dry-run" mode to ensure if Wasted is configured properly and ready to nuke everything, you haven't mistyped the auth code, notifications and all stuff are working properly etc. Wasted in "disarmed" state should still listen for triggers, but instead of wiping everything it should say "I hear you, BOOM!" :)

    opened by RealJTG 4
  • Improve Readme

    Improve Readme

    First things, love the app and have tested it on Lineage OS (Android 11) on Samsung A5, works perfectly, at least coupled with PanicKit and Tiles.

    But a couple of things I feel should be added to the ReadeMe. What each option "Tiles, Notification,PanicKit" does and what else the user needs to do to enable it. For example I had no idea what "Tiles" was until I read another Issue on this github where someone asked and you very helpfully answered. I've yet to understand what Broadcast does, though I managed to muddle my way through the rest on my own.

    I think the improvement should be easy and increase the user experience by a lot.

    Thanks again

    opened by hjorturth 4
  • Fake Icons

    Fake Icons

    thanks for all these changes, the interface is much clearer and everything seems to work wonderfully (except for lock I redo a post)

    An idea like this, would it be possible to have a fake set of popular app icons for the shortcut tab:

    • Whatsapp
    • Signal (Signal.org)
    • Session (getsession.org)
    • Threema (threema.ch)
    • Molly (Molly.im)
    • Facebook
    • Facebook Messenger
    opened by xyz-nobody 3
  • Wipe after not unlocking for N time not working?

    Wipe after not unlocking for N time not working?

    I feel dumb posting this as an issue but I don't know where else to ask this, the documentation (incl. closed issues) isn't helping a smoothbrain like me.

    This app is exactly what I need (or well, at least the function from my title) but it doesn't seem to work for me. I installed it on my drawer nokia 6.1 w/ android 10 to test it. Ticked the 'wipe data' checkbox, set the time to wipe 10m, tapped the v next to that, turned the app 'on' and enabled it as a system administrator. Put my phone to sleep and waited, but nothing happened after 10 minutes. Using a tile seems to set it off instantly, instead of waiting until it hasn't been unlocked for 10m. I've no idea what I'm doing honestly.

    opened by Tututuwa 3
  • The app keeps crashing on trigger

    The app keeps crashing on trigger

    I'm not sure if the just I have this problem but I'm using Wasted on a rooted 2021 Samsung Device w/ Android 11 One UI 4.0 and triggering the app multiple times using the created fake messenger apps causes a message from the android or samsung device administration app or something simillar (In german its called "Geräteverwaltung") to appear suggesting to send wasted in a deep standby because it keeps crashing. Triggering the app using ripple or smth. simillar doesnt do anything. I might also just be stupid...

    opened by EmilEmilchen 0
  • Small fixes on fake application triggers

    Small fixes on fake application triggers

    Fix for View class androidx.appcompat.widget.AppCompatTextView is an AppCompat widget that can only be used with a Theme.AppCompat theme (or descendant).

    • Main ApplicationActivity needs to use AppCompat theme.

    Fix for android.content.pm.PackageManager$NameNotFoundException: ComponentInfo{me.lucky.wasted/me.lucky.wasted.trigger.application.ApplicationActivity}

    • Main ApplicationActivity was not enabled.
    opened by SystemR 0
  • Remote wipe

    Remote wipe

    Hi, remote wipe os possible with SMS, but also with messemgers like Signal and Whatsapp. Does this mean the app can read all my signal/whatsapp messages? Device_admin is a powerfull permission. Is there no other way to do this ? Are u as a developer active on some matrix rooms so i can ask questions, i really like the app i just dont like the fact it can snoop on my messengers.

    opened by mollyuser 0
  • Question: How does the app handle Android Profiles?

    Question: How does the app handle Android Profiles?

    On Android there can be multiple user profiles. Does the app wipe everything, or is it restricted to the user profile it is running in? I guess it can only wipe that profile, due to sandboxing.

    opened by firefoxlover 0
  • Key file in usb key prevents accidental phone deletion

    Key file in usb key prevents accidental phone deletion

    My idea is focused on usb port surveillance (which already exists) but with the possibility, by placing a (same) key file in Wasted and in the usb key, to prevent unintentional deletions due to human error. Key files can be added in Wasted, if it finds them in external devices, it does not "fire."

    opened by serrq 0
Releases(v1.5.10)
Owner
lucky
Meow-Meow
lucky
Detailing about the data provided (Data Visualization Application)

Detailing about the data provided (Data Visualization Application): • In the application, the data provided in the CSV is used for the Scatter plot cr

Neha Sharma 0 Nov 20, 2021
Guide to setup JetBrains Projector and access Android Studio from any device

JetBrains Projector with Android Studio Guide to setup JetBrains Projector and access Android Studio from any device. Blog post Android Studio on an i

Joaquim Verges 326 Dec 15, 2022
An IoT based automatic alerting device that consists of laser and a precise Light Dependent Resistor to detect the laser which is employed to constantly monitor the fluid level

An IoT based automatic alerting device that consists of laser and a precise Light Dependent Resistor to detect the laser which is employed to constantly monitor the fluid level. When the fluid level is below the critical level which will be defined by laser, it will alert the patient through buzzer, nurses and doctors through mobile app and the …

null 0 Feb 12, 2022
Cago provides you way to do complex calculations on your device.

Cago Do your calculations easier. Cago provides you way to do complex calculations on your device. You can build functions that fit your goals by your

null 0 Feb 13, 2022
A Kotlin/Java library to connect directly to an Android device without an adb binary or an ADB server

dadb Blog Post: Our First Open-Source Project A Kotlin/Java library to connect directly to an Android device without an adb binary or an ADB server de

mobile.dev 791 Dec 20, 2022
Clean MVVM with eliminating the usage of context from view models by introducing hilt for DI and sealed classes for displaying Errors in views using shared flows (one time event), and Stateflow for data

Clean ViewModel with Sealed Classes Following are the purposes of this repo Showing how you can remove the need of context in ViewModels. I. By using

Kashif Mehmood 22 Oct 26, 2022
Algorithms and data structures in Kotlin.

Here you can find the most common algorithms and data structures written in Kotlin. The goal of this project is to create the most eloquent implementa

Boris Maslakov 805 Dec 26, 2022
A clean-aesthetically pleasing Measuring Application, which uses relevant sensors-converts raw sensor data into human readable formatted outputs-and displays accurate measurements.

Measure App A clean-aesthetically pleasing Measuring Application, which uses relevant sensors-converts raw sensor data into human readable formatted o

ACM Student Chapter, PESU ECC 1 Oct 15, 2021
This repository is a simple humidity and temperature dashboard to present data from sensors on your phone

ChilliBook This repository is a simple humidity and temperature dashboard to present data from sensors on your phone. It uses Bluetooth LE and an ESP3

Alejandro Mera 1 Nov 8, 2021
An AutoValue extension that generates binary and source compatible equivalent Kotlin data classes of AutoValue models.

AutoValue Kotlin auto-value-kotlin (AVK) is an AutoValue extension that generates binary-and-source-compatible, equivalent Kotlin data classes. This i

Slack 19 Aug 5, 2022
Basic application that uses Retrofit, Moshi and Coil libraries to parse data from web API

DogAlbum_Api_CodeThrough Basic application that uses Retrofit, Moshi and Coil libraries to parse data from web API This folder contains the completed

Ayana Bando 0 Nov 9, 2021
FirestoreCleanArchitectureApp is an app built with Kotlin and Firestore that displays data in real-time using the MVVM Architecture Pattern. For the UI it uses Jetpack Compose, Android's modern toolkit for building native UI.

FirestoreCleanArchitectureApp FirestoreCleanArchitectureApp is an app built with Kotlin and Cloud Firestore that displays data in real-time using Andr

Alex 66 Dec 15, 2022
This repo contains my solutions to some data structures and algorithms problems on leetcode.

DSA Playground This repository contains solutions to dsa problems in kotlin. NOTE: This file will get long, please consider using <Ctrl>F DSA With Kun

Hardik Sachan 2 Dec 9, 2021
A simple App which fetches data from NewYork times api and show news to the user

Stay-TheNewsApp This is a simple java app, which fetches data from NewYork times api and show news to the user, News can be seen from various categori

Gautam Garg 0 Dec 7, 2021
Reactive setup with Spring WebFlux , Kotlin, Postgres and Spring Data R2DBC

Reactive Spring with Kotlin and Pg Spring WebFlux with Netty instead of Spring Web with Tomcat Mono and Flux in all layers (controller, service, repo)

Bimal Raj Gyawali 7 Dec 9, 2022
Space x app fetching data from api using apollographql, databinding, navigation components and hilt for DI.

Space-X Space-X is an android application that displays the list of launches from the Space-X API using ApolloGraphql inclusive of their launch site a

Ezra Kanake 3 Oct 16, 2022
A library that extends the existing JDBC API so that data objects can be used as input (to set parameters) and output (from ResultSet's rows).

SqlObjectMapper This is a library that extends the existing JDBC API so that data objects can be used as input (to set parameters) and output (from Re

Qualified Cactus 2 Nov 7, 2022