Using adb, the Android Debug Bridge, is normally done over an USB cable. However, what many do not know is that it may also be used over wifi (without requiring root) by following these steps:

Connect to the device as normal using an USB cable, making sure that the device connected over adb with adb devices. Find out the device ip number by executing adb shell ifconfig wlan0 . Execute adb tcpip 5555 to restart the adb daemon on the device to listen on port 5555, which is the default port used when connecting. The USB cable can now be unplugged, and the device attached to by executing adb connect <device-ip> . You could append a port here if for any reason the default port 5555 could not be used in the previous step. The device should now be accessible by adb!