installations running on Huawei Nova 7i Android 10 EMUI 10.1.0 (witch does not support Google play services)
Problem description
after update to 0.105 from F-Droid, application don't work and don't even show the shell!
Steps to reproduce
I tried to clear cache, clear data and even restart my phone 馃槄, but the app don't work.
Expected behavior
A gif explains 1000 words

Yeah, this is my fault. Fixed in https://github.com/termux/termux-app/commit/05bb399893994d6cd596687fa7b4fedc294ef2b4, which was released as 0.106 but which is not available yet.
If you are rooted you can touch /data/data/com.termux/files/home/.termux/termux.properties from an adb shell, or another terminal app, as a workaround
+1, same issue, or at least same symptoms, I could almost have recorded the same video...
Except Android 8.1.0.
F-Droid also won't let me downgrade, but will let me completely uninstall, then carefully reinstall 0.104. This did lose all my data (EG SSH keys and stuff) and had to start again from scratch, but luckily I have ALMOST entirely scripted that 馃槓
Look forward to 0.106 馃憤
If you are rooted you can
touch /data/data/com.termux/files/home/.termux/termux.propertiesfrom an adb shell, or another terminal app, as a workaround
I can confirm that this workaround fixed the issue for me, thanks!
I had to create the directory .termux before :
mkdir /data/data/com.termux/files/home/.termux
touch /data/data/com.termux/files/home/.termux/termux.properties
I can confirm after that termux works again. Thanks.
After you all have upgraded to v0.106 it is good idea to restore the owner and permissions of the /data/data/com.termux/files/home/.termux folder, which can done by moving the folder to /sdcard and back, first run as root:
mv /data/data/com.termux/files/home/.termux /sdcard/
and then as the normal termux user:
mv /sdcard/.termux /data/data/com.termux/files/home/.termux
(chown + /system/bin/restorecon should work as well but I have had problems with that on some ROMs so I usually do this instead)
Same issue here after the upgrade this evening. I can confirm that trying to revert to 0.104 does not work (App is not installed)
I am not rooted so it seems that for me do not exist workarounds...
Sure that waiting for 0.106 will fix it? I can just wait..
Had this problem as well.
Luckily Termux Float still works so you can use it with Grimler91's fix (touch /data/data/com.termux/files/home/.termux/termux.properties) and get it to work.
Luckily Termux Float still works
Yeah, Float add-on works because uses outdated copy of terminal-view component of Termux.
Just updated recently and came here for this bug. My phone are not rooted, luckily I already mount termux "home" dir as an external storage with Material Files that I used to move my script from internal storage before updating termux via F-droid, then use this fix.
@angelog0
Sure that waiting for 0.106 will fix it? I can just wait..
Yeah, just installing 0.106 will give you a working app again, and all your files and everything will still be there
@Grimler91, maybe you have to contact F-Droid people to stop the release of this buggy version otherwise this thread will increase....
The shit also hit the fan on Android 7. I see that 0.105 came to f-droid yesterday while 0.105 was committed 16 days ago. How much time does it take for f-droid to deploy a new release? (Why is it so slow?)
How much time does it take for f-droid to deploy a new release? (Why is it so slow?)
APKs are built by F-Droid. Sometimes its build environment doesn't have necessary versions of dependencies and as result builds are delayed a lot.
I hit this as well, while trying to migrate from play store version to f-droid version (android 9). Maybe until fixed (new) release is available, or the buggy version removed on f-droid, it may be worth mentioning in the wiki page referenced by the play store version, noting the 0.105 version should be avoided.
A non-root solution would be to use Storage Access Framework (SAF) to manually create the ~/.termux directory and the ~.termux/termux.properties file. First install Termux v0.105 (the current latest) from F-Droid if you haven't already and let it run its Installing stage, it will automatically crash afterwards (not required if you already are on v0.105 and are stuck). Main point is that Installing stage that comes on new install should have run. Then open your system Files app (or custom file manager) and use its SAF opener to open Termux provider, likely in the left sidebar. Then from options (3 dots on top right), enable show hidden files, then create the .termux directory with the Add Folder option. The system Files app likely won't have an option to create an empty file. So use QuickEdit (or other text editor or your custom file manager app) and save a new file named termux.properties in /storage/emulated/0/ and then copy it to ~/.termux directory with the Files app. Then open Termux.
Since v0.104 fixed the hidden files issue, the ~/.termux directory should show in SAF.
Working on A11 avd.
the 0.105 version should be avoided
Removed... Wouldn't people be discouraged from installing an app that doesn't work?
Hi @agnostic-apollo, you write about v. 0.106.. maybe you meant . 0.105... @Grimler91 wrote v. 0.106 will fix this issue..
right, sorry, editing.
@angelog0 exactly described my situation. Had already dropped the app, until I luckily discovered this issue.
@Grimler91, many (Android) apps on GitHub have the binary packages in Releases section. Why you do not add the apk package of Termux?
Is there some alternative repo from which to download the apk for v. 0.106 (F-Droid equivalent)?
The risk is that we have to wait some month before we come back to use Termux unless we rooted the device or follow the @agnostic-apollo suggestions (which, really, I do not understand; maybe they have to be explained with more details for people not so much familiar with Android).
F-Droid delays are usually a few days and not months.
What exactly don't you understand and what have you tried till now?
Why you do not add the apk package of Termux?
Would be a fourth (currently Google Play, F-Droid and Nethunter Store) installation source with another incompatible signature. APKs can be provided on Github as soon as @fornwall either share his signature key used for Google Play or purge EOLed builds from it.
Otherwise there will be a mess from lots of same apks but incompatible with each other due to signature.
Someone who really needs v0.106, can open a related Github Actions and download needed version: https://github.com/termux/termux-app/suites/1845709433/artifacts/35744160
As I wrote in comment above, signature is different. Uninstall add-ons and older app before using this.
you may have luck downgrading from a computer with adb install -d -r com.termux_104.apk without root
adb devices@ailin-nemui, what we need to run that command. Please, describe the method step by step..
installations running on Huawei Nova 7i Android 10 EMUI 10.1.0 (witch does not support Google play services)
Problem description
after update to 0.105 from F-Droid, application don't work and don't even show the shell!Steps to reproduce
I tried to clear cache, clear data and even restart my phone 馃槄, but the app don't work.Expected behavior
A gif explains 1000 words
Please. Reset your factory data.
Please brother. Reset factory data just now.
@abdullah3102 Why needing to do factory reset if workarounds are posted above? no need to do factory reset as it can be fixed next update (You can update fixed termux version without data loss and you're Termux data is still intact Unless you're planning to migrate to F-Droid)
open your system
Filesapp (or custom file manager) and use itsSAFopener to openTermuxprovider, likely in the left sidebar.
Then from options (3 dots on top right), enable show hidden files, then create the.termuxdirectory with theAdd Folderoption. Then use QuickEdit (or other text editor or your custom file manager app) and save a new file namedtermux.properties
Then open Termux.
v0.104 fixed the hidden files issue
I'm bored so I made a gif showing the steps to add termux as a connected storage and create directories and blank files through SAF via FX and Material Files.
FX :: flow

Material Files :: flow

@alephalpha0, many thanks. I didn't know how to get to termux's $HOME. Thanks for the pictures.
Version v. 0.106 has been released on F-Droid site and it fixes the issue discussed here...
BTW, in my home I do not find a .termux directory:
$ pwd
/data/data/com.temux/files/home
$ ls -lrt .termux
ls: cannot access '.termux': No such file or directory
Really I need that directory?
@angelog0 if not found then create it.
Closing as latest version has released.
Version v. 0.106 has been released on F-Droid site and it fixes the issue discussed here...
Confirmed. YAY! Thanks! :man_dancing:
BTW, in my home I do not find a .termux directory:
Me neither... Until I heard (too late) that it might be safest to touch the config file.
I think I have to assume there are some preferences we could set? :laughing:
I think I have to assume there are some preferences we could set?
As shown in https://wiki.termux.com/wiki/Terminal_Settings
if not found then create it
OK, but empty? Really Termux to work needs this empty folder?
For what I understand this folder should contain a file with personal preferences of the user (termux.properties)... And if I have not preferences but just want/accept the default?
OK, but empty? Really Termux to work needs this empty folder?
You do not need it, it is just for optional changes/fixes. If you are happy with for example the default extra-keys layout then there is no reason for creating it.
The app crashed without the termux.properties file because I messed up the check for if the file exists. Without the file default settings are used by the terminal.
Most helpful comment
Yeah, this is my fault. Fixed in https://github.com/termux/termux-app/commit/05bb399893994d6cd596687fa7b4fedc294ef2b4, which was released as 0.106 but which is not available yet.