To connect your tablet using TCP port.
Make sure your system and device is connected to same network.
- Open console cmd.exe
- Type
adb tcpip 5555
- Go to System -> Development option -> USB debugging --> Uncheck it for TCPIP connection
- Type
adb connect 192.168.1.2
this is your device IP address
- Connected to 192.168.1.2
Connected using port forward
Try to do port forwarding,
adb forward tcp:
tcp:
like:
adb forward tcp:5555 tcp:5555.
C:\Users\abc>adb forward tcp:7612 tcp:7612
C:\Users\abc>adb tcpip 7612 restarting in TCP mode port: 7612
C:\Users\abc>adb connect 10.0.0.1:7612
connected to 10.0.0.1:7612
If you get message error: device not found connect a usb device to system then follow same procedure.
for a rooted device
setprop service.adb.tcp.port 5555
stop adbd
start adbd