Almost everybody knows how to run adb on remote devices but do you know that you can mostly use the same technique for running adb on your own device?
Caution
If you have no idea about what adb is for Android devices, then this gist is not made for you. You must have an advanced knowledge level about Android devices to continue.
Important
You must have Android 11 or later before continue. Previous versions don't have built-in wireless debugging support.
During my tests, I've found two methods for running adb locally:
- Using Termux
- Using aShell You
To install these applications, you will need to install Droid-ify first.
Note
Google have decided to force all developpers to register to a central authority. This will endanger projects and services like F-droid and so by extention IzzyOnDroid repo and the Droid-ify project.
You can read more about it here: https://f-droid.org/2025/09/29/google-developer-registration-decree.html
Important
I'm assuming that you've already enabled Developper Options on your Android device.
Go to Settings -> Security / Confidentiality -> Automatic Blocking
Tip
If the USB and Wireless debugging options are disabled then make sure that you've disabled the Automatic Blocking feature in the security settings of your device.
Install Termux from Droidify or F-Droid and do the following:
Note
If you don't have adb already installed, run the following command before continuing:
apt update && apt install -y android-debug-tools
2. Tap and Hold the Termux application and slide it down to initialize multiscreen feature then select the Settings application
Optional steps:
Install aShell You from Droidify and do the following:
Important
You should have received a new notification from the aShell You application for entering the adb pairing code.
Important
In the notification sent from the aShell You application, tap SUBMIT and paste the adb pairing code.
Tip
If you have several connected devices, run adb devices -l instead and use adb -t <device-id> to run commands on defined device ID.
You want more? Want to know what you can do once you have adb working locally on your Android device?
Simply go to the next part of this gist ๐
- https://droidify.eu.org/
- https://f-droid.org/en/packages/com.termux/
- https://apt.izzysoft.de/fdroid/index/apk/in.hridayan.ashell
- https://github.com/DP-Hridayan/aShellYou
- https://apt.izzysoft.de/fdroid/index/apk/moe.shizuku.privileged.api
- https://github.com/DP-Hridayan/aShellYou/wiki/Wireless-Debugging-Setup
- https://shizuku.rikka.app/guide/setup
I'd like to thank the following persons:
- K3RN3L P4N1K for his help with Termux:Widget (more about that in next part ๐ )
- Skyper from the THC group for his help and support in general
Thank you guys!
- Jiab77


















