AdbStayAwake

ADB 调试连接时保持屏幕常亮。 Keep the screen on while ADB debugging is connected.


简体中文

一个 LSPosed 模块:开启 USB 调试时屏幕保持常亮,关闭后自动恢复原有的屏幕超时设置。无界面、无桌面图标,仅在 LSPosed 中管理。

使用

  1. 在 LSPosed 中启用本模块,作用域仅勾选「系统框架 (system)」。
  2. 重启设备。

兼容

  • LSPosed(libxposed API 102)
  • minSdk 26 / targetSdk 35,已在 Android 15 / HyperOS 2 实测通过

源码与构建说明:https://github.com/GeneralPeople1970/AdbStayAwake


English

An LSPosed module that keeps the screen on while USB debugging is enabled, and restores your normal screen timeout once it is turned off. No UI, no launcher icon — managed entirely from LSPosed.

Usage

  1. Enable the module in LSPosed and set its scope to System Framework only.
  2. Reboot.

Compatibility

  • LSPosed (libxposed API 102)
  • minSdk 26 / targetSdk 35, tested on Android 15 / HyperOS 2

Source & build instructions: https://github.com/GeneralPeople1970/AdbStayAwake


免责声明 / Disclaimer

仅供自有设备使用,按「现状」提供,无任何担保。 For use on your own device, provided "as is" without warranty.

MIT License

Releases

1.0

Stable

9/21/2026, 4:26:09 AM

首个正式版本。

  • ADB 调试连接时保持屏幕常亮,关闭后自动恢复原有超时设置。
  • 作用域:系统框架 (system)。

First stable release.

  • Keeps the screen on while ADB debugging is connected; restores the normal timeout once it is off.
  • Scope: System Framework (system).

Package: io.github.generalpeople1970.adbstayawake

Assets

1