Skip to content
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

adb_client support #4

Open
axelkar opened this issue Jun 29, 2024 · 2 comments
Open

adb_client support #4

axelkar opened this issue Jun 29, 2024 · 2 comments

Comments

@axelkar
Copy link

axelkar commented Jun 29, 2024

As you said on Reddit, could you integrate adb_client into the project?

@SyedAhkam
Copy link
Owner

Aha yes, I'd love to but it seems they're missing support for the USB protocol so far which I feel would become a regression since we support it by default.

It seems they don't support installing apks from the client either.

How this could work is by using an experimental flag perhaps.

android --use-adb-client connect --port <custom_port> 192.168.29.1 # how to persist connection here without a daemon ??
android --use-adb-client shell
android --use-adb-client ... # other commands which could work similarly

or.. the worse method if we can't persist connections, you'd need to pass the host & port every single time you do an action

@axelkar
Copy link
Author

axelkar commented Jun 29, 2024

they're missing support for the USB protocol

That's a major issue that I didn't notice! Feel free to keep this issue for tracking

or.. the worse method if we can't persist connections, you'd need to pass the host & port every single time you do an action

Wireless ADB actually advertises an mDNS service on _adb-tls-connect._tcp so you can automatically connect
... and now I noticed that the project is missing support for wireless ADB too

So there is no real ADB client for Rust (e.g. doesn't just forward calls to adbd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants