Stay-Awake on ADB

enable/dissable "Stay Awake" based on ADB connection
AppID:com.duck.stayawakeadb
Author:Bradley Duck
License:GPL-3.0-only
Donation:
InRepoSince:2022-08-25
LastRepoUpdate:2024-02-06
LastAppUpdate:2024-02-06
LastVersion:0.11
Categories:System
APK source:Github
Google Play:Check if it's there
icon

ADB-Stay-Awake is a simple app that has one purpose: Automatically enable/dissable the "Stay Awake" Developer Options setting as you connect/disconnect to ADB.

Important: the android.permission.WRITE_SECURE_SETTINGS is a System permission that is not granted to any non-System app. So to get around this, after installing the app, you have to connect the device to an ADB console and run this command to grant the permission:

adb shell pm grant com.duck.stayawakeadb android.permission.WRITE_SECURE_SETTINGS

WhatsNew:

switched from the debug key to a proper release key for signing, so you'll have to uninstall and re-install if you use a version before v0.11

Download Source Issues
1.jpg 2.jpg 3.jpg 4.jpg
While you can download the APKs here directly, you should preferably use an F-Droid client so the app stays up-to-date on your device. Some clients have this repo enabled by default, e.g. Neo Store, Droid-ify, or, of course, the IzzyOnDroid client by Sunil. With others (like the official client) you'll have to add this repo manually (see the hint on top of the package list for how to do that).

Packages

Version 0.11 (2024-02-06) no RB details available help icon

Android Versions:
  • Target: 14.0
  • MinVer: 5.0
Signing Blocks help icon
Malware-Check:Passed help icon
30 Libraries detected: help icon

Download (2.9 M)