Live data from Hacker News

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

termux.com

81–90 of 217 posts

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

#81
post #32

Earlier quoted context omitted.

Termux:API is available on F-Droid. Maybe the functionality exists in that version?

I fear not. My termux is installed from f-droid.

It was removed from termux-api in 0.32: https://github.com/termux/termux-api/compare/v0.31...v0.32

Discussed in termux-api issue #257: https://github.com/termux/termux-api/issues/257

Unless you build it yourself with the functionality restored, you can't use it. Termux maintainers are just that dedicated to targeting Google Play first.

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

#83

what do people use this for? While I was really excited when i encountered it, I didn't find any practical uses.

tmux + Termux + brow.sh allows me to do browsing, email, maps, even shopping online in the middle of nowhere with a few bars of 2g connectivity.

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

#84

Earlier quoted context omitted.

Literally from your own quote... >its CPU performance and its video processing capability are those of a low-spec phone from several years ago That's enough for me to decide the experience isn't on par with a flagship Android or iPhone - but that's not what it's trying to be. This isn't trying to be a phone - it's trying to be a mobile linux PC that you can also use as a phone and has the same form factor.

> This isn't trying to be a phone - it's trying to be a mobile linux PC that you can also use as a phone and has the same form factor. You literally just described an Android phone to someone from 2006.

Except Android never became what we expected from it. It restricts what you can do with it.

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

#85

Earlier quoted context omitted.

> This isn't trying to be a phone - it's trying to be a mobile linux PC that you can also use as a phone and has the same form factor. You literally just described an Android phone to someone from 2006.

Except Android never became what we expected from it. It restricts what you can do with it.

Agreed. I think to a fairly tech literate person from the early 2000's it would look like an awesome Windows/Linux hybrid. To a sys admin from that time, it would look like a nasty, restrictive ball of crazy. I'm personally really interested in the librem phones because Id love to carry a fully functional Linux box in my pocket, something I could write shell scripts for and run them from simple GUIs.

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

#86
post #75

Earlier quoted context omitted.

For me so far the worst thing Google did was disabling API for call recording. That makes new phones pretty much useless for me. I always record calls, so that I can go back to them if I forget something or that nobody can claim they said something when they didn't (most recently insurance salesperson told me I will have option X if I take their insurance and they once I bought it, there was no such option. Once I pu…

I assume you're up on all the various local laws on recording conversations, so this is for others, not you. Look into it before doing this.

Not against the law in Finland at least and thus seems unfair that rooting is needed to do this.

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

#87

Earlier quoted context omitted.

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.

For me so far the worst thing Google did was disabling API for call recording. That makes new phones pretty much useless for me. I always record calls, so that I can go back to them if I forget something or that nobody can claim they said something when they didn't (most recently insurance salesperson told me I will have option X if I take their insurance and they once I bought it, there was no such option. Once I pu…

I got around this limitation by using LineageOS. Unfortunately, I'm forced to compile my own builds with call recording enabled for the US because there's no way to tell which state you're in through MNC-MCC numbers and states like California and Pennsylvania have lame two-party consent laws for recording calls[1][2]. My state is single party consent. Just super lame that all my featurephones from the mid-2000's could record without modification.

[1] https://en.wikipedia.org/wiki/Telephone_call_recording_laws#...

[2] File to edit: https://github.com/LineageOS/android_packages_apps_Dialer/bl...

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

#88

Earlier quoted context omitted.

Does anyone have experience running Android apps in Anbox on this phone or the PinePhone?

https://puri.sm/posts/anbox-on-the-librem-5/ https://linmob.net/2020/08/15/anbox-on-the-pinephone.html (both could already be outdated with the fast development rate).

Cool, thanks for the resources. I'm also looking for anecdotes from users, because the last time I tried Anbox on Linux, I couldn't run much, and I'm wondering if it's any better now.

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

#89
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.

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.

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

#90

Earlier quoted context omitted.

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.

For me so far the worst thing Google did was disabling API for call recording. That makes new phones pretty much useless for me. I always record calls, so that I can go back to them if I forget something or that nobody can claim they said something when they didn't (most recently insurance salesperson told me I will have option X if I take their insurance and they once I bought it, there was no such option. Once I pu…

DISCLAIMER: It's been some time since I used to read release notes for every new api level

Well... IIRC there was never an official call recording API, and in fact on some phones it was physically impossible to snoop on the telephony audio.

Most recording apps used to either work only on some qualcomm single chip phones where baseband exposed audio path to application processor, or enabled microphone recording in hopes of catching the audio from speakers (and not all phones allowed simultaneous mic use like that).

Post reply on HN