{"package_name":"io.github.nongfsq.usbdebugguard","name":"USB Debug Guard","summary":"Turn the screen off during long USB debugging sessions while keeping ADB alive","category":"Development","icon_url":"/api/icon/io.github.nongfsq.usbdebugguard","latest_version_code":7,"latest_version_name":"0.1.6","apk_url":"/api/apk/io.github.nongfsq.usbdebugguard","apk_size":1151581,"apk_sha256":"9e67e30de7b60b9baa727ab0d109eebfa20902a95ecf5253c5d97d724eaee832","source_kind":"fdroid-repo","repo_slug":"fdroid-main","last_updated":1793332819,"release_timestamp":1793273970,"description":"<p>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.</p>\n\n<p><b>Features</b></p>\n<ul>\n<li>Detects USB data connections and ADB state through Android system APIs, without routine Root polling.</li>\n<li>Turns the screen off while keeping ADB reachable, or keeps it awake at minimum brightness for devices that lose ADB when the display sleeps.</li>\n<li>Saves and restores the previous display settings.</li>\n<li>Can lock the device after USB disconnects.</li>\n<li>Runs only after you enable its foreground service.</li>\n<li>Stops automatic Root work after a denial, timeout, exception, or process cleanup failure, preventing an endless <code>su</code> retry loop.</li>\n<li>English and Simplified Chinese.</li>\n</ul>\n\n<p><b>Requirements</b></p>\n<ul>\n<li>A working Root manager such as Magisk or KernelSU, able to run Android <code>settings</code> and <code>input</code> commands.</li>\n<li>A USB data connection. A charge-only cable or charger does not start protection.</li>\n</ul>\n\n<p>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.</p>\n","categories":["Development","System"]}