Skip to content
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

Custota feature to run scripts #75

Open
Covkie opened this issue Aug 7, 2024 · 2 comments
Open

Custota feature to run scripts #75

Covkie opened this issue Aug 7, 2024 · 2 comments
Assignees

Comments

@Covkie
Copy link

Covkie commented Aug 7, 2024

I use an on device bash script that I run manually from termux to handle updating & patching Android and Magisk then queue an install from Custota

Using Custota's updating scheduling to run this script automatically would make updating rooted android practically seemless.

Having some way for the script to send Custota notifications/logs would be useful as well.

Also having Custota delete the patched OTA after installation to save storage would be beneficial too.

@chenxiaolong chenxiaolong self-assigned this Aug 7, 2024
@chenxiaolong
Copy link
Owner

Thanks for the suggestions.

I intend to keep Custota as simple (implementation-wise) as possible, so it's unlikely I'll add functionality like this. I consider Custota to be feature complete and don't plan on making changes beyond what's necessary to support new Android versions.

That said, I might consider doing the reverse: allowing an external app (eg. script in Termux) to trigger Custota and watch its status. I'll need to think about it and see if it's simple enough to implement, both on the Custota side and the user side. Triggering Custota's update check should be easy enough, but I don't know about monitoring the installation status.

@Covkie
Copy link
Author

Covkie commented Aug 7, 2024

Ah alright, I wanted this so I didnt have to use another root app thats constantly in the background and could hook into Custota already running scheduling. I'll find an alternative.

Edit: maybe a lighter solution could be https://github.com/termux/termux-app/wiki/RUN_COMMAND-Intent integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants