GrapheneOS Kill switch once USB is Connected, Device will Factory WIpe
In Android Studio, go to Build > Build APK(s)
When it's done, click Locate to find your .apk file
Transfer the APK to your GrapheneOS device..
Install and grant Device Admin
Done — it will now factory wipe if USB is connected, SO use a wireless charger from now on !
Perfect for encrypted devices