4 ms·
Given the issues that termux has hit, they're certainly moving that way. https://github.com/termux/termux-packages/wiki/Termux-and-Android-10 https://github.co
by yjftsjthsd-h 6y ago
Given the issues that termux has hit, they're certainly moving that way.
https://github.com/termux/termux-packages/wiki/Termux-and-Android-10 https://github.com/termux/termux-packages/wiki/Termux-and-An...
- nromiun 6y agoYep, Termux is the most used app on my phone and I don't know what I will do when they have to migrate to SDK 29. I will probably buy another phone and install LineageOS.
- diogenesjunior 6y ago>I don't know what I will do >I will probably buy another phone and install LineageOS
- nromiun 6y agoIt was just a figure of speech and if you know how Termux works even a rooted phone is no alternative. (Termux exposes Android APIs, like camera and GPS.)
- femiagbabiaka 6y agoCurious, is the Librem 5 an alternative you would consider?
- nromiun 6y agoSure, it is a good alternative. But I still need a phone to do some work, like Whatsapp and banking apps (which I don't think Librem supports). So I am waiting for it to become stable and a little mature.
- femiagbabiaka 6y agoMakes sense!
- edrxty 6y agoDoes LineageOS provide a workaround for this?
- nromiun 6y agoUnfortunately there is no good alternative to Termux (its Android API). But with a rooted phone you can use chroot to install a Linux distribution. LineageOS is just a popular ROM for rooted phones.
- edrxty 6y agoI run lineage but I don't typically use my terminal on my phone unless I'm using it for SSH. I hadn't though of the chroot angle though. That's rather interesting...
- negativegate 6y agoThis is the first I've heard of Termux and now I'm curious what you use it for. Like are you SSHing into other environments?
- nromiun 6y agohttps://www.passwordstore.org https://www.passwordstore.org Here is a popular CLI app to manage passwords. I use it on my desktop, laptop and phone.
- terseus 6y agoYou don't need Termux for that, there are native clients for Android, I use this one: https://play.google.com/store/apps/details?id=dev.msfjarvis.aps https://play.google.com/store/apps/details?id=dev.msfjarvis....
- nromiun 6y agoThere are native clients, but can you use git to sync the encrypted passwords with your other devices? And that was just one example. You can also use python as a much better calculator, share files over wifi with a web server etc.
- dheera 6y agoSSH, and also when you're on the road and want to write a simple Python script to process something, or do something with your sensor data logging. Termux has a Python API to access sensor data, it has numpy, it has requests, so you can do a lot.
- donio 6y agoFor me ssh to access my main Emacs session is a big part of it but I also run some shell scripts and CLI tools and services written in Go. ssh-ing back into the phone for file transfer is another important use.
- donio 6y agoOnce there is no way to run Termux that will be the end of the line for me and I've been on the Android train since the G1 days. I am ok with installing it from F-Droid or adb as long as it remains runnable. (I guess I am in the bargaining phase) I don't think that I am ok with not being able to easily run my own executables since I rely on running a few Go utilities in the Termux CLI.
- yjftsjthsd-h 6y agoI'm personally planning to replace termux with a full chroot; my phone is rooted, so all I need is an app to give me the actual terminal emulator and I'm good. This would be fine for running the odd Go utility, but is likely to be insufficient if you're doing anything with the actual Android API (which termux has been great at). And of course, in the long term this is just another reason for me to hope the pinephone gets to prod-ready ASAP:)
- suifbwish 6y agoI am curious what root kit you use for rooting your droid? I’ve always been hesitant to trust 3rd party kits like that.
- yjftsjthsd-h 6y agoI use magisk; it's open source and reputable.
- pjmlp 6y agoOnly because Termux developers refuse to use Java APIs and don't accept Android isn't a POSIX clone.
- higerordermap 6y agoChill dude. How do I run gcc in java beanshell?
- yjftsjthsd-h 6y agoAndroid certainly has an acceptable POSIX component when it's not artificially broken.
- pjmlp 6y agoWhere is POSIX listed here? https://developer.android.com/ndk/guides/stable_apis https://developer.android.com/ndk/guides/stable_apis > Starting in Android 7.0, the system prevents apps from dynamically linking against non-NDK libraries, which may cause your app to crash. This change in behavior aims to create a consistent app experience across platform updates and different devices. Even though your code might not be linking against private libraries, it's possible that a third-party static library in your app could be doing so. Therefore, all developers should check to make sure that their apps do not crash on devices running Android 7.0. If your app uses native code, you should only be using public NDK APIs. Taken from https://developer.android.com/about/versions/nougat/android-7.0-changes#ndk https://developer.android.com/about/versions/nougat/android-...