tytydraco / LADB

A local ADB shell for Android!
https://play.google.com/store/apps/details?id=com.draco.ladb
Other
1.69k stars 461 forks source link

Something like batch... #40

Closed ulrichloose closed 2 years ago

ulrichloose commented 2 years ago

I have some minor issues ...

On my Android 10 there is an message that an error occurred while connecting automatically:

adb (true, listOf ("- t", "1", "shell"))

-t is unknown.

The second is maybe because of my misconceptions. I've created a couple of .txt files that contain one ADB command per line. If I cut out a command line from one of these .txt files and paste it into the Shell Command field, this ADB command will be executed correctly. I have now assumed that you can transfer these .txt files to LADB via share so that LADP executes these command lines one after the other. But that doesn't work. A new instance of LADB is started for each share, but not a single command is executed. Do I have wrong ideas or is it more of a mistake that is not intended?

tytydraco commented 2 years ago

Hi! I am guessing that maybe the -t issue is due to you being on an arm 32 bit system, not a 64 bit system. Is this correct? If so, I may be able to create a workaround.

As for the share feature, maybe it is broken. I will test it on my devices nd get back to you :D

ulrichloose commented 2 years ago

Yes, that's right - my low-end phone uses the armeabi-v7a lib. Maybe the share thing has something to do with it. It would be great if that worked with the share - it's damn tedious to copy & paste every single line ...

Thank you very much in advance for the effort!

tytydraco commented 2 years ago

Fixed in the next update