Live data from Hacker News

Termux is an Android terminal emulator and Linux environment app with no rooting

termux.com

171–180 of 217 posts

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#171
post #168

Earlier quoted context omitted.

What does that have to do with Termux or F-Droid?

Free associating? I never experienced F-Droid before or since my scattered Cyanogen/LineageOS experiments. Honestly, I doubt I'm alone making that distinction (similar to how its hard to make a distinction between javascript and jquery when you're first learning) Honestly I'm a little confused about the DIY mobile software landscape, and would love to get a minimalist, open-source wonderland mobile OS - and I wouldn'…

fdroid is kinda like cydia, repo based but often open source/FOSS stuff you can install as apks on an android OS device.

dont need a special lineage install to get it, seems to work anywhere

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#172
post #114

Earlier quoted context omitted.

It's easy to say that, but the competition isn't all that great so your comment isn't really adding much.

This is the whole "linux desktop isn't there yet" thing but with phones now. It's not shiny but it does work. Continuing to use abusive software is a disservice to yourself and everyone around you.

It doesn't work for most people who need to use

* Google services for work / school

* Facebook / Whatsapp / Instagram for keeping in touch with friends.

* Spotify, Netflix etc.. in good resolution

* Many other specific apps.

It's not all black and white either. Traditional linux doesn't sandbox software. Android does sandboxing pretty well.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#173

Earlier quoted context omitted.

If there is a ARM64 binary, it will most likely run in Termux. I use it with helm, kubectl, rclone, ssh just to name a few. ssh is the most used for me because I don't want to use Termius (paid) or some other SSH wrapper app. Termux is free, allows you to easily create ssh keys and use ssh-copy-id.

See if JuiceSSH fits the bill for you. I use it and love it.

I have... JuiceSSH is ssh wrapper, riddled with bugs, isn’t free and it’s abandoned. Termux is honestly the best ssh client because it’s so much more. The only place it falls short is syncing between devices.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#174
post #37

Earlier quoted context omitted.

Comments like this one[1] that mention having difficulty using Termux to access SD cards keep making me feel like we are radically over-securing devices. More and more it feels like the OS, the browser, are guarding the user not against bad apps, but also against the user. Firefox Mobile only allowing less than a dozen extensions. Chrome mobile supporting no extensions. These are different than the OS, but the same k…

Well, I approach it from two angles at once. One, a pocket computer running Linux which, using Termux, could be a full Linux machine - in which I can run Perl scripts on my SMS messages, grep my emails, rename and organize my photo library and so on. Which was presumably mostly possible on old, less secure versions of Android. With Android 10 and its exec restriction, sure you can still install precompiled packages a…

Maybe Android just needs to add support for virtual machines? Then you could have the best of both worlds.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#175
post #161

I found Termux a while ago, and thought it was interesting. then I found you can run python, ffmpeg and youtube-dl on it, and now I think it's the best thing since sliced bread. I'm still to try to run Jupyter on it, but I think it might be able to. As all my computers run Linux these days, it also has replaced all my "from-x-to-android" transfer apps.

I am interested in knowing more about your file share set up

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#176
post #89

Earlier quoted context omitted.

Android was always about Java (now Kotlin). The NDK was only added in 2.0 to appease game developers and workaround for Dalvik anemic performance. Any access to Linux APIs was accidental and never part of the official native APIs.

But Java has interfaces for interacting with the host OS, for example you can create a file by writing `new File("myfile").createNewFile()` which makes a Linux call under the hood. Android 11 breaks that File API.

The same API on Windows does a Windows call under the hood, on IBM I does a TIMI call under the hood and on PTC bare metal it does the work itself.

Android ported to any of those platforms would still make use of File("myfile").createNewFile() with zero dependencies on a Linux implementation.

No it doesn't, the API call is still valid in Android 11, as long as the filesystem reserved for the application is used.

Even so, it has to do with the Java implementation.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#177

Earlier quoted context omitted.

Syncing photos off. Termux has sshd (you have to start it manually once, then it stays running until Termux is killed or the phone is rebooted). With ssh-copy-id it takes a single command (1-line script) to rsync the phone's DCIM directory to my main machine for further processing. Nothing needs to be done on the phone at all other than to lightly nudge it to wake it up so sshd sees the connection attempt. Downside:…

Rooting isn't as terrifying as it used to be, and it means you can do actual real backups and genuinely own your data.

I'm pretty sure flashing a non-OEM ROM on my Note 9 would blow an eFuse that permanently marks the thing as having been modified.

Certainly, when I unlocked a Sony Xperia XA2 it did something similar where it won't ever get OEM updates ever again.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#178

Earlier quoted context omitted.

Free associating? I never experienced F-Droid before or since my scattered Cyanogen/LineageOS experiments. Honestly, I doubt I'm alone making that distinction (similar to how its hard to make a distinction between javascript and jquery when you're first learning) Honestly I'm a little confused about the DIY mobile software landscape, and would love to get a minimalist, open-source wonderland mobile OS - and I wouldn'…

fdroid is kinda like cydia, repo based but often open source/FOSS stuff you can install as apks on an android OS device. dont need a special lineage install to get it, seems to work anywhere

Yep. You can even install f-droid on Amazon fireTV sticks using the sideload feature.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#179
I run Jupyter Notebook python etc and create termux simple apps you even with a small web gui visible through my phone's browser.

But due to the restrictions that were placed on Android a few years back I lost the capability to make system apps in python.

I had a cleanup, backup, and could make custom interfaces enhance other applications using their sqlite data.

I guess now I am protected, from me.

Re: Termux is an Android terminal emulator and Linux environment app with no rooting

#180
post #27

Termux has recently run into issues with Android 10 and the more recent APIs, which break its form of package management. Their workaround is fairly clever (although not yet implemented) but means that updates to the Play Store version have been temporarily put on hold. https://github.com/termux/termux-packages/wiki/Termux-and-An...

I hate the direction Google is taking Android. They're on an appliance-ification quest trying to hide any exposed linux-ness of the OS, including trying to remove developer access to all file handles. They always claim it's in the name of security but my suspicion is that it's an effort to transition from Linux to Fuchsia.

I heard somebody mispronounce the color fuchsia as fucks-ya. Seems apt in this case?
Post reply on HN