Live data from Hacker News

Termux is an Android terminal emulator and Linux environment app

termux.dev

121–130 of 174 posts

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

#121

Is there any sort of reputable, non-subscription (and open source, while I’m listing wishes) SSH client for iOS/iPhone? I ran across Blink (which is subscription-only) and Prompt ($15—-not unreasonable if you’re sure you’ll use it often), but I’m curious to hear recommendations from here.

I can recommend "Prompt", works well, no issues.

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

#122

Is there any sort of reputable, non-subscription (and open source, while I’m listing wishes) SSH client for iOS/iPhone? I ran across Blink (which is subscription-only) and Prompt ($15—-not unreasonable if you’re sure you’ll use it often), but I’m curious to hear recommendations from here.

Would `ish` work? https://github.com/ish-app/ish

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

#123
If you do like the nix ecosystem (and all its benefits like reproducible envs) or just want to give it a try to a "NixOS" like thingy, you should absolutely try https://github.com/t184256/nix-on-droid. It's somewhat rough, but it's very nice and has nix flakes and home-manager support.

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

#124
post #115

I check out Hacker News everyday but this is my first post. I had never been a person who likes computers until the COVID lockdowns began. Some day I opened a Python course advertisement, I started the course but I got no computer to code the exercises, so I installed Termux on my 80$ Android phone and bought a 7$ external keyboard in order to do the Python exercises. Since then I have read several books about Linux…

That remind me when I wanted to develop mobile apps. I had a jailbroken iPhone and there was this little IDE that allowed you to write Objective-C and get a UI up for your program. I did not have an external keyboard but you could transfer files via SFTP. Fun times. Now I have lots of compute power and can barely muster the energy to program anything

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

#125
post #18
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,…

> But I am concerned about the direction Android is headed, Over securing systems seems to be the modern trend, and mercy, it's such suffocating paternalism. We have incredible phones and Android/Google just keeps making them less and less capable.

I'm sure security is part of the reason for the ever increasing locking-down of android ... but I'm more sure it's an excuse and that security FROM the user is a huge factor in google's thinking.

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

#126
post #15

Earlier quoted context omitted.

> But I am concerned about the direction Android is headed I'm with you, but we'll always have AOSP. And the cellphone market is now segmented enough that we'll probably also always have rootable phones.

We'll always have the versions of AOSP Google has released, but they're not forced to do so in the future. And I'm not sure anyone else is interested in maintaining it.

Isn't Fuchsia google's attempt to move phone off open systems, and onto all-google-no-license code? If it becomes a big thing, then only increasingly obsolete open-systems for us :(

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

#127
post #96

Earlier quoted context omitted.

I understand the sentiment, but I disagree. From the last time I checked, the big compromise with GNU/Linux phones is still the lack of social media and messaging apps and appstore ecosystem. Android, with root, is every bit as much a computer as a Pinephone and Librem 5, but the opposite isn't true. Termux has PRoot, a user-space implementation of chroot allowing a full distro install. I personally don't have any pr…

> Android, with root, is every bit as much a computer Can you install a completely different OS on your Android phone? AFAIK no, whereas on Pinephone you can choose among 15+ systems and on Librem 5 currently among 4 or more. What about installing a mainline kernel? > lack of social media and messaging apps You can use Waydroid for Android apps, or install one of a few Matrix and Mastodon clients. Telegram works, too…

> Can you install a completely different OS on your Android phone?

You could in 2012, not sure about in 2023:

https://bonedaddy.net/pabs3/log/2012/12/03/debian-mobile/

> What about installing a mainline kernel?

I think Sony were working on that for their Xperia devices:

https://developer.sony.com/develop/open-devices/guides/kerne...

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

#128
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,…

It's hostile that Android doesn't let you modify things like the host file. It's running Linux but it feels like it's not your device.

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

#129
post #39

Earlier quoted context omitted.

I really wish Android would properly enable containers like they've done for Chrome OS. It's silly we run little Linux machines and can't pop a fully isolated container shell on them!

I think it hasn't happened because much of the sandboxing of Android is part of the Android runtime, thereby only sandboxing code compiled for the Android runtime. If you could spawn a native Linux executable (that hasn't been compiled for Android the way the Termux executables have) from an Android application, then that process can escape the application's sandbox and do stuff it shouldn't be able to do given the p…

This is not how sandboxing works on Android: it’s SELinux -based. The Linux ABI is explicitly supported by Android, though generally not recommended.

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

#130
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…

No. Android will not grant you direct access to databases, for exactly the reason you’ve mentioned.
Post reply on HN