You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first time we call adb.exe devices, (here is the adb client)
it will launch a daemon process like adb -L tcp:5037 fork-server server --reply-fd 252 in background.(here is the adb server)
The daemon process open a localhost TCP connection listenning on port 5037,
and actually, the adb.exe devices command is doing like this:
The whole ADB system has three roles,
The first time we call
adb.exe devices
, (here is the adb client)it will launch a daemon process like
adb -L tcp:5037 fork-server server --reply-fd 252
in background.(here is the adb server)The daemon process open a localhost TCP connection listenning on port 5037,
and actually, the
adb.exe devices
command is doing like this:Notice:there is a
\t
in each line of devices results.so, it's clear now.
Send
000chost:devices
to localhost:5037, and we could read the result to device list.For more command,anyone could use wireshark to capture the tcp communication.
The text was updated successfully, but these errors were encountered: