-
Notifications
You must be signed in to change notification settings - Fork 41
Refactor android interface #55
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
base: main
Are you sure you want to change the base?
Conversation
Modularizes ADB for "normal" ADB, ADB with su, ADB with Magisk and ADB with plain root. Also makes first atempt to actually implement the test suite.
also, handle new Success/Failure in a more central way
and actually never has been.
this is odd. it gets used in on_* messages but is never set. Give a `None` value, which is handled in the most sensible way
the whole shell line is now passed as one argument and no longer split, so the quoting is unnecessary now.
|
Hi @krono — thanks for improving the Android interface. I tested the change, but it did not work on my research device (rooted via Magisk). I’m hitting the following timeout during the root check: From what I can tell, the issue originates in On a MagiskSU device, when SuADB runs Thanks for the improvement — much appreciated :-) All the best Daniel |
|
Thanks for the Feedback. |
make timeout short. adapt test accordingly.
|
note: i did not touch the "Stand alone" files… so if there's some syncing to do… |
|
The standalone version is actually a relict from the past and right now we don't have any intention in updating that. At least for now. Regarding your last changes: The issue of adb is now gone but no tpcdump capture is done - at least on my device: In my case no pcap was created and I saw no tcpdump process running on my device. Maybe you can add at first some debug output of the actual command being invoked when we are trying to run tcpdump? The command I used was the following: |
|
Makes sense. For my local debugging (where I found out the tcpdump syntax was broken due to multiple quoting), I insturmented all of that. shall this be done on On a related note, the |
You’re absolutely right — the PR is already a bit messy, and I really appreciate the work and the effort you’ve put into improving the Android interface. Regarding your question: I’d enable the instrumentation for both |
Modularizes ADB for "normal" ADB, ADB with su, ADB with Magisk and ADB with plain root.
Also makes first atempt to actually implement the test suite.
Incidental reason for that: On /e/OS, enabling root via ADB makes root available with
adb rootbut does not provide anysu.