I would like to turn off enabled ADB over WiFi from inside ADB shell after executing a shell script before it. The main reason is that I simply want to start some script, and get rid of overhead caused by ADB over WiFi connection. I do need a WiFi connection itself, so adb shell "svc wifi disable"
will not work.
Is there a way to control this development option remotely somehow without touching the screen?
Or possibly there is a am start
command that could do this? Something like am start -n com.android...
or am start -a android.intent.action...