Although Android 11 has this feature natively, all previous versions rely on running adb tcpip <port number> from a PC or running the commands described below directly from the phone through a terminal with root privileges (e.g. Termux). I previously had a separate app that did just that from a QS Tile but it's gone from the Play Store and nowhere to be found, so it would be nice if Tiles could add a quick setting toggle to automatize the enabling/disabling of ADB over Wi-Fi...
Although Android 11 has this feature natively, all previous versions rely on running
adb tcpip <port number>
from a PC or running the commands described below directly from the phone through a terminal with root privileges (e.g. Termux). I previously had a separate app that did just that from a QS Tile but it's gone from the Play Store and nowhere to be found, so it would be nice if Tiles could add a quick setting toggle to automatize the enabling/disabling of ADB over Wi-Fi...Enable ADB over Wi-Fi:
Disable ADB over Wi-Fi: