nohajc / termux-adb

Run adb in Termux without root permissions!
MIT License
311 stars 32 forks source link

[Request] Consider reaching out to Termux team to add project to repository, getting more official support. #5

Open ShapeShifter499 opened 1 year ago

ShapeShifter499 commented 1 year ago

Have you considered reaching out to the Termux team to get this project added to their repository? I'd like to see more official support because I'm worried it maybe lost/forgotten and go unmaintained at some point. This is allowing me to access another android with my Z Fold 4 over USB without needing root on the Z Fold. I used it earlier to grab logs and some files from a LG v30 that was running a custom rom after it hard crashed for debugging. This is pretty dang awesome, I can't thank you enough for writting this code and getting android-tools working over USB on Termux.

nohajc commented 1 year ago

Thank you for your appreciation!

I am considering it but at this point I don't think it's ready for any official inclusion to Termux.

First I thought function hooking is a good approach to make this work but I'm afraid it's not reliable enough. There are some devices where my code just doesn't work and it's pretty difficult to figure out the root cause except that it's most likely related to the method of interaction between adb process and my library.

I plan to do a rewrite soon and the basic idea is to statically link my own modified version of adb instead of relying on the one provided by Termux.

nohajc commented 1 year ago

@ShapeShifter499 I've made some progress toward Termux integration. Starting from v0.2.0, termux-adb is build using the official Termux toolchain and it has it's own APT repository.

I still need to organize the build and its new dependencies better, but I'd say it's feasible to submit a PR at some point.

RohitVerma882 commented 5 months ago

?