If I need to connect to my Oculus Quest wirelessly, I need to run:

adb tcpip 5555; adb connect $(adb shell ip addr show wlan0 | grep "inet " | awk '{print $2}' | cut -d/ -f1):5555

Then, if I want to map ports, I run:

adb reverse tcp:8090 tcp:8090

Next - Previous