GrapheneOS defaults to ignoring connected USB peripherals when the device is + already booted and the screen is locked. A USB device already connected at boot + will still work. The purpose is reducing attack surface for a locked device with + active login sessions to user profiles to protect data that's not at rest. This + can be controlled in Settings ➔ Security ➔ USB accessories. The options are:
+ +This option has no impact on the device acting as a USB peripheral itself when + connected to a computer. Android defaults to charge only mode and requires opt-in + opt-in to the device being used for file transfer, USB tethering, MIDI or PTP.
+