Skip to content

Instantly share code, notes, and snippets.

View SuggonM's full-sized avatar
🐢
shut-in

Suggon SuggonM

🐢
shut-in
View GitHub Profile
@SuggonM
SuggonM / README.md
Last active March 14, 2026 04:59
Restart wireless debugging (ADB) in port 5555 with Termux (no root)

Requirements:

  • Packages: android-tools, nmap
  • Apps: Termux:API (for termux-notification)

Optional:

  • Termux:Boot: Run the script at boot (preferably, add some delay)
  • Termux:Widget: Run the script from a home screen shortcut

Tips:

  • Enable wireless debugging before port scanning begins. If no port is found, tap the script notification to rerun the scan.