USB Debug Guard APK
Turn the screen off during long USB debugging sessions while keeping ADB alive
Download APK v0.1.6 · 1.1 MB- Version0.1.6
- Size1.1 MB
- RequiresAndroid 8.0
- Updated10/29/2026
- LicenceApache-2.0
- PriceFree



About USB Debug Guard
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.
What's new in version 0.1.6
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.
APK file information
| Package name | io.github.nongfsq.usbdebugguard |
|---|---|
| Version | 0.1.6 (code 7) |
| Minimum Android | Android 8.0 · targets Android 16 |
| Architectures | arm64-v8a, armeabi-v7a, x86, x86_64 |
| SHA-256 | 9e67e30de7b60b9baa727ab0d109eebfa20902a95ecf5253c5d97d724eaee832 |
| Signature | afcee14b04b1cb3e32b2f003c12da1b64e0e117d05bc389fcee226c5a9e17e6e |
| Licence | Apache-2.0 — permissive free licence: the source code is public and reusable |
| Source code | github.com/Nongfsq/usb-debug-guard |
Permissions
- Run in the background
- Show notifications
- Start at boot
- Keep the device awake
Older versions
- USB Debug Guard 0.1.6October 29, 2026 · 1.1 MB
- USB Debug Guard 0.1.5October 27, 2026 · 1.1 MB
How to install USB Debug Guard APK
- Tap Download APK above, then open the file once the download has finished.
- If Android asks, allow your browser to install unknown apps.
- Tap Install. USB Debug Guard then appears with your other apps.
Having trouble? Read our guides how to install an APK on Android and "App not installed": how to fix it.
Frequently asked questions
Is USB Debug Guard free?
Yes. USB Debug Guard is distributed under the Apache-2.0 licence: free, no subscription, and its source code is public.
Is this APK file safe?
The file is the one built and published by the F-Droid repository from the public source code. Its SHA-256 fingerprint is shown above, so you can compare it after downloading. How to check an APK.
Will USB Debug Guard work on my phone?
You need at least Android 8.0. The app also works without Google services, so it runs on recent Huawei phones too.





