Skip to content
AlliotTechPublic

About

Minimal rooted Android app and Quick Settings tile for toggling TCP ADB.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Quick ADB

极简 root Android 应用,用于快速开启或关闭 TCP ADB,并在应用和 Quick Settings 磁贴中显示状态。

功能

  • 自定义 ADB 端口,默认 5555
  • 开启 / 关闭 TCP ADB
  • 检查 adbd 运行状态和端口监听状态
  • 支持 Quick Settings 磁贴
  • 需要 root(Magisk、KernelSU、APatch 等)

使用

  1. 安装 APK 并授予 root 权限。
  2. 在应用中输入端口并点击「保存端口」。
  3. 点击「开启无线 ADB」。
  4. 在系统控制中心编辑并添加「无线 ADB」磁贴。

关闭时会执行:

setprop service.adb.tcp.port -1
stop adbd
start adbd

开启时会将 service.adb.tcp.port 设置为配置的端口后重启 adbd。

TCP ADB 会暴露在设备网络接口上。只在可信网络使用,并在不需要时关闭。

构建

./gradlew assembleDebug

APK 输出:app/build/outputs/apk/debug/app-debug.apk

About

Minimal rooted Android app and Quick Settings tile for toggling TCP ADB.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages