USB Debug Guard
Screen-off protection for long USB debugging sessions on rooted Android
USB Debug Guard is an Android app for developers who run long USB debugging sessions. It turns the screen off while keeping ADB reachable, and it can also hold the screen at minimum brightness on devices that drop ADB when the display sleeps. Root access is required.
It detects USB data connections and ADB state through Android system APIs, saves the previous display settings and restores them when protection stops. It can lock the device after a USB disconnect and runs only when its foreground service is enabled. Charge-only cables do not start it. The code is public under the Apache-2.0 license, and the maker recommends testing on a non-critical device first.
Alternatives to USB Debug Guard
Products that do a similar job in System & Customization.
cleanyourtv
Removes preinstalled apps from Android TV devices over Wi-Fi
Universal Android Debloater
Desktop GUI that removes bundled apps from non-rooted Android phones over ADB
Universal Android Debloater Next Generation
Removes preinstalled Android bloatware over ADB without root
Neo Backup
Android app backup tool for apps and their data, requires root
Shizako
Lends elevated Android system permissions to trusted apps without root
Inure App Manager
Android app manager for viewing, editing and controlling installed apps and their components
Let Me Downgrade
Xposed module that allows downgrading installed Android apps
ohmyzsh
Community framework for managing zsh configuration, plugins and themes