- Connect device using wire in debug mode
- Press CTRL twice and type
adb tcpip 5555
- Find device ip address in its wifi settings or using
adb shell ifconifg
(adb shell netcfg
on old devices) - Disconnect now
- Press CTRL twice and type
adb connect <device ip>:5555