-
Notifications
You must be signed in to change notification settings - Fork 359
New package adb-shell
#167
Comments
@JeffLIrion Thanks, that's good to know. It's a shame Google seems to have abandoned support for this (yes, yes, I know they're hard at work killing android but in the meantime some of us still develop for it :) |
@embray what I'd most like to fix is the duplicate CLSE issue (#151). I recall getting feedback that your fix didn't fully solve it. I don't have a newer ADB device, so I'm not able to reproduce the error. But with the |
Hey :) Thank you @JeffLIrion! I really appreciate the improvements you've made, and I was going to just point everyone to your repo, but I think the better option is to add you to this one. I hope you accept and we can make the official, non-official google python-adb repo much better. Honestly, the only benefit to this approach is it says "google" in the github URL and the PyPI project name is just "adb". Let me know what your PyPI credentials are and I'll add you there too |
Prior to creating the If you want, I'll squash those commits and submit a pull request. The API is the same and there should be no breaking changes. But ultimately, I decided that it would be easier to extract the functionality that I wanted and create a new repo. You’re more than welcome to copy anything you'd like from Also, I'm by no means an expert in ADB or Android. I don't even know what fastboot or filesync are. |
I'd be very happy to accept a PR like that. Is the the adb_shell API incompatible in a meaningful way? python-adb calls things AdbCommands, while you have an AdbDevice, but it seems there's a 1:1 mapping? I'm not going to stand behind the naming/style of this repo, mostly because it was a straight copy out of the google3 repo that, at the time, had non-PEP8-compatible style requirements. It would be reasonably to me to have a 2.0 release that's a different API that's easy to switch to (since it's 1:1), but PEP8 compatible. |
I'll prepare that pull request that I mentioned. The difference between the two classes is most evident in how ADB commands are sent. From memory, the processes are as follows.
|
For anyone interested, I started a new repo/package based on this project: https://github.com/JeffLIrion/adb_shell
This package implements ADB shell functionality over TCP. You can install it via
Highlights
arg0
andarg1
, have TODO labels, and theauth/keygen.py
file has a lot of TODO itemsauth/keygen.py
Pull requests from this repo included in
adb_shell
cryptography
seems to be broken anyways)Contributing
Contributions are welcome and will be reviewed and released on pypi!!! If you'd like to contribute, please
The text was updated successfully, but these errors were encountered: