Live data from Hacker News

Termux is an Android terminal emulator and Linux environment app

termux.dev

61–70 of 174 posts

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

#61
post #40

Earlier quoted context omitted.

I have done that, the files are created in their normal locations where the rest of the photos are. But the files created by ffmpeg don't have the execute x permission bit set and I think because of that they're invisible in the photos app.

Forgive the possibly obvious question, but have you tried `chmod +x` ing the ffmpeg output files with termux?

Yes, it returns successfully but the x bit is not set

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

#62
post #54
post #37

Earlier quoted context omitted.

Ironically, I specifically have a Google Pixel so that I can mod it and gain more control over my phone.

What are some examples of these types of mods?

Custom ROMs? GrapheneOS or LineageOS come to mind.

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

#63
Related:

Termux on Android 5 or 6 - https://news.ycombinator.com/item?id=33691293 - Nov 2022 (119 comments)

Termux – An Android terminal emulator and Linux environment on your phone - https://news.ycombinator.com/item?id=32648424 - Aug 2022 (2 comments)

Why is the Play Store blocking updates for Termux but not UserLAnd? - https://news.ycombinator.com/item?id=28815910 - Oct 2021 (2 comments)

Termux no longer updated on Google Play - https://news.ycombinator.com/item?id=25644964 - Jan 2021 (340 comments)

Termux is an Android terminal emulator and Linux environment app with no rooting - https://news.ycombinator.com/item?id=24979258 - Nov 2020 (208 comments)

Termux and Android 10 - https://news.ycombinator.com/item?id=23224669 - May 2020 (314 comments)

Termux: terminal emulator and Debian-style userland as an Android app - https://news.ycombinator.com/item?id=15529426 - Oct 2017 (139 comments)

Termux: terminal emulator and Linux environment for Android - https://news.ycombinator.com/item?id=11570596 - April 2016 (5 comments)

Show HN: Termux – Terminal emulator and Unix environment for Android - https://news.ycombinator.com/item?id=9905391 - July 2015 (28 comments)

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

#64
post #47

Earlier quoted context omitted.

Android 13+ includes a crosvm based virtulization setup: https://source.android.com/docs/core/virtualization > ...then that process can escape the application's sandbox and do stuff it shouldn't be able to do given the permissions granted to the Android application. Android's sandboxing is not limited to ART and has multiple layers [0]. Native apps cannot bypass sandboxing, I don't think. [0] https://hernan.de/blog/t…

> Android 13+ includes a crosvm based virtulization setup Interesting; but I feel that their choice of a hypervisor-based design here supports my point of plain container-based isolation (or even containers + gVisor) being insufficient to achieve true sandboxing on Android. > Android's sandboxing is not limited to ART and has multiple layers [0]. Native apps cannot bypass sandboxing, I don't think. Yes, but when I sa…

Google does, in fact publish apps that require root access in the play store. Titanium Backup is a popular example (though I'd recommend the open source Neo Backup instead).

They presumably don't publish apps that use exploits to help the user gain root without unlocking the bootloader and wiping the data partition.

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

#65
post #28

Because it wasn't obvious to me for a while: the Play store version is old, basically broken, and vulnerable [0]. Don't install it. The description does mention this relatively high up, but do you really read through the description for something before installing and playing around with it, especially if you already know what it is? I don't usually like having old versions of software removed from distribution, but…

Thanks for posting this. I don't know how difficult it is to get an app removed from the Play Store - but hope it can be done soon.

From README - "There are plans for unpublishing the Termux app and all its plugins on Play Store soon so that new users cannot install it and for disabling the Termux apps with updates so that existing users cannot continue using outdated versions. You are encouraged to move to F-Droid or GitHub builds as soon as possible."

Vulnerability Disclosure was made on 2/15/2022 [0]. Above text was added to README.md in 9/8/2021 commit [1]. The issue was first acknowledged in README in 4/26/2021 commit [2].

[0]: https://github.com/termux/termux-app/issues/2595

[1]: https://github.com/termux/termux-app/commit/94e01d68d6c91574...

[2]: https://github.com/termux/termux-app/commit/93e1b132786d5cc7...

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

#66
post #9

Termux singlehandedly makes me feel like I'm living my childhood dream of having a full computer in my pocket. I use git to blog from my phone, I have ffmpeg and yt-dlp installed to download videos for when I am going to be away from internet access for a while, and I even have some home automation scripts setup that control the lights over the local network. But I am concerned about the direction Android is headed,…

Why would I want to install termux? You basically need a keyboard to use it; at which point you might as well grab a laptop.

You can SSH to your phone and rnu tmux and ffmpeg on it, which is more powerful than my netbook.

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

#67
post #64
post #47

Earlier quoted context omitted.

> Android 13+ includes a crosvm based virtulization setup Interesting; but I feel that their choice of a hypervisor-based design here supports my point of plain container-based isolation (or even containers + gVisor) being insufficient to achieve true sandboxing on Android. > Android's sandboxing is not limited to ART and has multiple layers [0]. Native apps cannot bypass sandboxing, I don't think. Yes, but when I sa…

Google does, in fact publish apps that require root access in the play store. Titanium Backup is a popular example (though I'd recommend the open source Neo Backup instead). They presumably don't publish apps that use exploits to help the user gain root without unlocking the bootloader and wiping the data partition.

There are many file explorer apps ( MiXplorer is my favorite https://play.google.com/store/apps/details?id=com.mixplorer.... ) on Google Play that have optional root access as well. You can use it w/o root, but if you have root it prompts for elevation and then lets you use it.

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

#68
post #9

Termux singlehandedly makes me feel like I'm living my childhood dream of having a full computer in my pocket. I use git to blog from my phone, I have ffmpeg and yt-dlp installed to download videos for when I am going to be away from internet access for a while, and I even have some home automation scripts setup that control the lights over the local network. But I am concerned about the direction Android is headed,…

Why would I want to install termux? You basically need a keyboard to use it; at which point you might as well grab a laptop.

[dead]

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

#69
post #47

Earlier quoted context omitted.

Android 13+ includes a crosvm based virtulization setup: https://source.android.com/docs/core/virtualization > ...then that process can escape the application's sandbox and do stuff it shouldn't be able to do given the permissions granted to the Android application. Android's sandboxing is not limited to ART and has multiple layers [0]. Native apps cannot bypass sandboxing, I don't think. [0] https://hernan.de/blog/t…

> Android 13+ includes a crosvm based virtulization setup Interesting; but I feel that their choice of a hypervisor-based design here supports my point of plain container-based isolation (or even containers + gVisor) being insufficient to achieve true sandboxing on Android. > Android's sandboxing is not limited to ART and has multiple layers [0]. Native apps cannot bypass sandboxing, I don't think. Yes, but when I sa…

It is prevented by killing any process that makes API calls not part of the official set of public NDK APIs and file locations.

Which is one of the reasons why Termux has issues on modern Android versions.

https://github.com/termux/termux-packages/wiki/Termux-and-An...

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

#70
post #9

Termux singlehandedly makes me feel like I'm living my childhood dream of having a full computer in my pocket. I use git to blog from my phone, I have ffmpeg and yt-dlp installed to download videos for when I am going to be away from internet access for a while, and I even have some home automation scripts setup that control the lights over the local network. But I am concerned about the direction Android is headed,…

Why would I want to install termux? You basically need a keyboard to use it; at which point you might as well grab a laptop.

Because I don't want or can't use my shitty corporate issued laptop to access my personal projects from work.
Post reply on HN