-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[Feature]: Automatically update Termux on Android 14 with F-Droid #4120
Comments
Firstly, a Termux app beta version would not get automatically updated by F-Droid app as it would not be a suggested version. However, issue would still exist for stable updates. Issue is with Termux apps using
F-Droid is showing the message that it can't update Termux automatically (in background) due to a secondary check in Android where a user needs to manually confirm the installation of the update when the
We use There is no easy solution to solve this as the only officially supported way currently to bump the The Termux app on playstore is using the linker exec hack and uses a higher termoneplus targets higher/latest android version as it only executes system binaries under |
Thanks for your reply @agnostic-apollo :) I read your comment but do not understand your suggestion about resolving the central challenge The central challenge of this ticket is about upgrading Termux so that it supports Android 14. The two needed end results are:
|
Did you read the "There is no easy solution to solve this..." paragraph and follow its links? |
Yes. If I understand correctly, you said that you do not have any suggestion to upgrade Termux to support Android 14. |
I did not say I have "no" suggestions to upgrade Termux to support Android 14, I said the only officially supported way that would be possible would be to have every binary that needs to be executed by the user, whether from our packages or compiled locally would first need to be added to a new apk, then installed as a normal android app, then its files symlinked into termux app data directory to its normal place and then executed. And to implement such a design would take weeks and months of work, and has tonne of issues, some documented in the docs, some yet to be updated in the docs. That means that the 2000+ packages that we support, would need to be recompiled and hosted in separate repos as per new design (who knows what happens to our 50+ mirrors), after our build infrastructure is modified to partially convert the packages into apks for their binaries, and the package manager If you have any issues with these restrictions, you can take it up with Google/Android team, we are only doing what is realistically and "usability" possible for us to do. Even if they provide an alternative way now in say Android |
I am aware that is a complicated issue and is hard to understand, some things were not known to me and even our other devs, and over time things have become more clear and what would be required, so would be a lot to take in instantly. If there is something specific you do not understand, then you can surely ask questions. Note that while the new design will be implemented, the legacy/current design with still be supported and apks targeting older versions will still be provided. Whether we will provide new apks or old apks on F-Droid when new design gets implemented is not decided yet, as that would require users uninstalling their Termux app first and start fresh (backup/restore won't work either), which is not an easy possibility for countless users. Maybe it can be provided under a new app package name, but those decisions are for distant future. The weeks and months of work required to make that a possibility would also require multiple devs, and funding, which 2 of us are already working on to get. |
What is your use case? What do you intend to run? Do you intend that the app be used by users for general/random purposes, or is it meant for your os specific stuff? If you only need to run system binaries under |
Feature description
For Termux to remain secured, get automated updates for Termux via F-Droid on Android 14
Additional information
Steps to reproduce challenge
Using Android 14. Using F-Droid client app from https://f-droid.org/F-Droid.apk install Termux latest version 0.119.0-beta.1 (1020) - Added on Jun 21, 2024 from https://f-droid.org/en/packages/com.termux/
F-Droid display this warning message:
The number 1 in this screenshot below shows the location of this challenge
Suggested new feature
The needed end result is Termux can be installed using F-Droid client app. Then get automated updates. So that Termux remains secured.
Using
• Android 14
• LineageOS 21
• Rooted
• OnePlus 9 Pro
Additional information
Yes
https://f-droid.org/en/packages/com.termoneplus/ supports F-Droid automated updates on Android 14
Contributing
If needed, both me and the Ubertus.Org team would be happy to contribute beta testing and documentation for this new feature.
Note to myself
ID_2R27E1F3
The text was updated successfully, but these errors were encountered: