USB Debug Guard

USB Debug Guard

Turn the screen off during long USB debugging sessions while keeping ADB alive

Nongfsq Entwicklung System

Screenshots

Screenshot von USB Debug Guard Screenshot von USB Debug Guard Screenshot von USB Debug Guard

Beschreibung

Diese Beschreibung liegt nicht in deiner Sprache vor, angezeigt wird die englische Fassung.

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.

Versionen

Version Datum Größe Benötigt Android Herunterladen
0.1.5 aktuell
e2d4013ff3b28961…
27.10.2026 1,1 MB API 26

Berechtigungen

Was die App beim System anfragt. Sensible Zugriffe gibt Android erst nach deiner Bestätigung frei.

  • InternetzugriffDaten über das Internet senden und empfangen.
  • Dienst im VordergrundDauerhaft im Hintergrund laufen, sichtbar in der Statusleiste.
  • FOREGROUND_SERVICE_SPECIAL_USE
  • BenachrichtigungenMitteilungen anzeigen.
  • AutostartNach dem Einschalten des Geräts automatisch starten.
  • Standby verhindernVerhindern, dass das Gerät in den Ruhezustand wechselt.
  • usbdebugguard.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION

Kommentare