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

[Feature request] startup script? #33

Closed privacyguy123 closed 2 years ago

privacyguy123 commented 2 years ago

Perhaps a way to run a set command on device boot? For those of us who run ADB WiFi on a custom port maybe?

GL513 commented 2 years ago

Well, that really depends on what you are trying to run. 1) most apps dont start until opened, or if they are set to receive the boot completed broadcast 2) running scripts could potentially damage the device unknowingly, and if not, leave you stuck without a way to shut it down because the console would already be used if LADB is the app starting it. 3) you can use Automate or Tasker itself and use Termux to run scripts. With Automate at least, you can tell it to run things at boot.

tytydraco commented 2 years ago

Perhaps a way to run a set command on device boot? For those of us who run ADB WiFi on a custom port maybe?

Device boot will be difficult to implement as GL513 said, but I could do app start scripts! That's on the feature list.

tytydraco commented 2 years ago

Added