USB Debug Guard
Turn the screen off during long USB debugging sessions while keeping ADB alive
NongfsqAPK versions
APK files are served by the original repository.
Release notes
The F-Droid build no longer asks for network access: it has no update check, so it never needed the INTERNET permission. Guard behavior is unchanged.
SHA-256 checksum
9e67e30de7b60b9baa727ab0d109eebfa20902a95ecf5253c5d97d724eaee832Release notes
Much smaller download: the APK drops from about 12.6 MB to 1.1 MB. Guard behavior and Root safety are unchanged.
SHA-256 checksum
e2d4013ff3b28961e563eca3bb84fbc51e51a215e3e0a06566479577cc6abebfScreenshots
About this app
USB Debug Guard is a root-only tool for long USB debugging sessions. It protects the display while keeping ADB reachable, then restores the previous display settings when protection stops. Features Detects USB data connections and ADB state through Android system APIs, without routine Root polling. Turns the screen off while keeping ADB reachable, or keeps it awake at minimum brightness for devices that lose ADB when the display sleeps. Saves and restores the previous display settings. Can lock the device after USB disconnects. Runs only after you enable its foreground service. Stops automatic Root work after a denial, timeout, exception, or process cleanup failure, preventing an endless su retry loop. English and Simplified Chinese. Requirements A working Root manager such as Magisk or KernelSU, able to run Android settings and input commands. A USB data connection. A charge-only cable or charger does not start protection. Root behavior varies between devices, OEM firmware, and Root managers. Test the app on a non-critical device before relying on it for unattended sessions.


