termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
36.94k stars 3.88k forks source link

[Bug]: Automated updates failed on Android 14 with F-Droid #4131

Closed Francewhoa closed 3 months ago

Francewhoa commented 3 months ago

Summary

The challenge is that automated updates for Termux failed on Android 14 with F-Droid

Needed end results

  1. Termux to be upgraded to support Android 14
  2. Termux to receive automated updated via F-Droid. So that Termux remain secured.

Additional information

Steps to reproduce

  1. 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/

  2. F-Droid display this warning message:

    This app was built for an older version of Android and cannot be updated automatically This is the challenge.

    The number 1 in this screenshot below shows the location of this challenge

Suggested new feature

The needed end result is that on Android 14, 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

Does another app/terminal emulator have this feature?

Yes

Provide links to more background information.

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 about resolving this challenge

Note to myself

ID_9R27E9R9

sylirre commented 3 months ago

This is a duplicate of https://github.com/termux/termux-app/issues/4120

Francewhoa commented 3 months ago

sylirre closed this as not planned Aug 29, 2024

Good morning @sylirre :) Does this mean that Termux will not ever be upgraded to support Android 14?

I'm asking this above because we are presently in progress of evaluating apps able to do terminal emulator. One of our primary selection criteria is an app that support Android 14 or is in progress of supporting Android 14 or plan to support Android 14. In turn, a second selection criteria is an app able to receive automated updates via F-Droid. Those are the two primary needed end results.

As you know, other apps, such as, but not limited to, https://f-droid.org/en/packages/com.termoneplus/ support Android 14

sylirre commented 3 months ago

For design reasons Termux must target SDK level 28, not higher. The app heavily depends on ability to execute files in data directory.

https://f-droid.org/en/packages/com.termoneplus/ executes utilities from /system/bin, which makes it much different from Termux that stores executables under /data/data/com.termux/files/usr/bin.