Android Debug Bridge for Termux in a .deb package
- Download and run the script
wget https://raw.githubusercontent.com/bapm394/termux-adb-dot-deb/master/install-repo ; chmod 777 ./install-repo ; ./install-repo
- And install adb
apt update ; apt install adb
- Make sure you install it on aarch64 or aarch (arm - arm64) architecture
- Also that you already have Termux-API installed, with which you can access the USB port you have through the termux-usb command, or you can access the IP of your target android
- Run this
apt remove adb
- And if you regret the past just do this
apt install adb
- The binaries are those of Android, (the ones that were once).