RikkaApps / Shizuku

Using system APIs directly with adb/root privileges from normal apps through a Java process started with app_process.
Apache License 2.0
10.7k stars 627 forks source link

Shortcut to start shizuku #170

Open CasketPizza opened 2 years ago

CasketPizza commented 2 years ago

Can we get a shortcut to start shizuku with one click? I can't figure out how to start shizuku with tasker and termux or any other method.

Is there some way to trigger starting on boot without root? I realise without root there will be a popup, but I'm happy to click that each time, or bypass it with tasker's auto-input.

Thanks for your time ❤️

mario0318 commented 2 years ago

I would absolutely use this feature. If merely an option for Shizuku upon launching the app to automatically start and connect via Wireless ADB much like the app LADB does, where it detects if Wireless debugging is first enabled, if not it provides the prompt to Allow connection to network, then connects! All done from just opening the app (one tap, two taps if wireless debugging prompt pops up). Would this work as an alternative method for automatically connecting to ADB and starting Shizuku without the need for third party apps like Tasker to perform more than the necessary actions for those who must keep their device without root?

e-t-l commented 1 year ago

Alternatively, the most versatile method would actually be to expose the Shizuku app to others via some standard protocol (intents?) so that any app (like Tasker) could trigger the Shizuku server to start programmatically, without requiring any autoinput. By extension, it would also work while the screen is off.

This goes hand in hand with #217, actually. @RikkaW @haruue Although I'm still a rookie programmer, I'm fairly confident I could code a Quick Setting tile and submit a PR for you, but first I think I would need some straightforward way of requesting the Shizuku server start/stop.

MerjenGulayeva commented 1 year ago

Can we get a shortcut to start shizuku with one click? I can't figure out how to start shizuku with tasker and termux or any other method.

Is there some way to trigger starting on boot without root? I realise without root there will be a popup, but I'm happy to click that each time, or bypass it with tasker's auto-input.

Thanks for your time ❤️

Open

iwannet commented 1 year ago

Is there any work on this done ? I would rll like it.

feer9 commented 6 months ago

I though this was possible, in particular to check if shizuku server is running from termux, and if it's not, then start it. Would be pretty neat for scripting