first of all connect to the same local network that your pc is connected. then get your phone ip in your local network and create a .bat file with the following commands. start that bat file to connect to your phonr over tcp with wifi. now you can unplug your device cable. no cable needed any more.
rem get list of devices\/\/\/
adb devices
rem start tcp in your port\/\/\/
adb tcpip 5555
rem enter your ip and port here to connect \/\/\/
adb connect 192.168.1.116:5555
rem get list of devices again\/\/\/
adb devices
@echo off
set /p foo=if any problem,try one more time :D
this will be work on windows systems