Skip to content

Is it possible using "adb connect" like in STF #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mhaqqiw opened this issue Jul 29, 2021 · 7 comments
Open

Is it possible using "adb connect" like in STF #129

mhaqqiw opened this issue Jul 29, 2021 · 7 comments
Labels
android enhancement New feature or request

Comments

@mhaqqiw
Copy link

mhaqqiw commented Jul 29, 2021

No description provided.

@drauggres
Copy link
Collaborator

I don't use STF, please describe in more detail.

@mhaqqiw
Copy link
Author

mhaqqiw commented Aug 3, 2021

in stf user can use adb connect <ip_host:port>
after client using adb connect, connected devices display in client when using adb devices

user:~ user$ adb devices
List of devices attached

user:~ user$ adb connect 172.31.64.16:7417
already connected to 172.31.64.16:7417
user:~ user$ adb devices
List of devices attached
172.31.64.16:7417	device

user:~ user$ adb disconnect 172.31.64.16:7417
disconnected 172.31.64.16:7417
user:~ user$ adb devices
List of devices attached

user:~ user$

@drauggres
Copy link
Collaborator

ws-scrcpy works with devices connected over tcp. They should appear in the device list with others.
Or you want to "run" adb connect from the UI?

@mhaqqiw
Copy link
Author

mhaqqiw commented Aug 6, 2021

i want running adb connect from other machine in the same network. the UI provide <host_ip>:<port> information

@drauggres
Copy link
Collaborator

I still don't understand. Do you want this feature (qoute from STF README)?

  • Use adb connect to connect to a remote device as if it was plugged in to your computer, regardless of ADB mode and whether you're connected to the same network

@mhaqqiw
Copy link
Author

mhaqqiw commented Aug 10, 2021

yes, like that feature. it will be helpful if has that feature

@drauggres
Copy link
Collaborator

Answering the original question: no, this feature is not implemented.
But after looking at the STF implementaion, it is pretty easy to implement: they use an undocumented method createTcpUsbBridge from adbkit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants