user7154703
user7154703

Reputation:

Android ADB : How to start server ( port 5555 ) without connecting device through USB

Though my ADB over wifi works well, except one small issue, that first time I will have to connect my phone with usb to open port on my mobile adb start-server 5555. Is it possible to complete this step without USB ? Do we any option available to start port without USB ?

My phone is not rooted yet, and I have no plan to root it in near future..

Upvotes: 2

Views: 10179

Answers (1)

Gulshan Chaurasia
Gulshan Chaurasia

Reputation: 318

you either need to have a device connected or an running emulator for using following command:

adb tcpip 5555

what if you don't have usb cable for some reason? what to do? here's a solution. If you run an android emulator, above command will work but draw back is , it take too much time (few minutes to be specific). So what's the fastest solution,

Well, install AnBox. Its also an emulator which opens much faster, within few seconds. now, you can run above command:

adb tcpip 5555

to start adb in tcpip mode

use below command to connect to your android phone over wifi

adb connect <ip address of android phone>:5555 

if you want to control it over wifi from laptop use scrcpy

scrcpy -s <ip address of android phone>:5555

Upvotes: 0

Related Questions