So with my nexus 5 im easily able to do something like this to connect adb over wifi:
adb tcpip 5555
adb connect 192.xxx.x.xx
and then disconne
Try to connect to it without the usb cable.
If this dosnt work please post the exact message you get in your console when trying to connect.
Non-Rooted Solution:
adb tcpip 5555
(Make sure port 5555 is not blocked by any firewall programs)Get your Wi-Fi IP address assigned to your device and run the adb command
adb connect
.For example, adb connect 192.168.1.133
Now you can disconnect the usb cable and run adb shell
, adb install
, or adb push
commands via your Wi-Fi.
Inorder to switch back to USB mode and disable the Wireless mode, run the following adb command.
adb usb
You can also simply reboot your phone to switch back to the USB mode.