To use adb via WiFi: run ADB Connect and follow the instruction 1. Connect your phone and PC to the same WiFi network.2. Enable USB Debugging on your phone.3. Connect your phone via usb cable to your PC.4. Run adb tcpip 5555.5. Run adb connect IP_ADDRESSTo use adb via usb:Run adb usb