User Tools

Site Tools


doc:appunti:android:termux_problems

This is an old revision of the document!


Termux Problems

Termux:API not working

All the calls to the Termux:API will hang the process. E.g. running termux-battery-status on the Termux command line does not return any information and waits forever (Ctrl-C to break).

  • Termux
    • Version 0.101 (from Google Play Store)
    • Version 0.118.0 (from F-Droid)
  • Termux:API
    • Version 0.44 (from Google Play Store)
    • Version 0.50.1 (from F-Droid)
  • Android 11 (Oukitel WP12 smartphone, with MediaTek processor)

It seems that battery optimization against Termux:API is the problem. Disabling the SettingsDuraSpeed option for all the system solved the problem. Unfortunately at the moment there is not an option to disable DuraSpeed for Termux:API only.

Termux:Widget only 1x1 available

  • Termux
    • Version 0.118.0 (from F-Droid)
  • Termux:API
    • Version 0.50.1 (from F-Droid)
  • Android 11 (Oukitel WP12 smartphone, with MediaTek processor)

Termux:Widget not working

After some time of usage the widget suddendly stops working. Pressing the reload icon does not longer show the “Termux shortucts reloaded” toast. Tapping anyone of the items does not start the relevant script. Sometimes the list of items resets itself, displaying the “No files in $HOME/.shortcuts/” .

  • Termux
    • Version 0.117 (from F-Droid)
  • Termux:Widget
    • Version 0.12 (from F-Droid)
  • Android 11 (Oukitel WP12 smartphone, with MediaTek processor)

The problem is caused by battery optimization: disabling the SettingsDuraSpeed option solves the problem. Starting from Termux:Widget version 0.13.0 it is possibile to disable DuraSpeed for the app only, leaving it enabled for the other apps.

doc/appunti/android/termux_problems.1647066516.txt.gz · Last modified: 2022/03/12 07:28 by niccolo