Live data from Hacker News

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

termux.com

191–200 of 217 posts

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

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

Ok but then why don't they disable the camera and a microphone when you record videos? You can hide the phone in a way that the person you talk to won't see you are recording it. I don't accept this explanation.

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

#192
post #125

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…

This is more a limitation of smartphone hardware than of Android. In most phones, calls are entirely handled by the baseband processor, and the ARM chip never sees any of the audio data. Android doesn't expose it because the hardware doesn't expose it to the OS in the first place.

I am not sure if that is true. I am running Samsung S9 with an early Android version and call recording works just fine. The Samsung released an update that disables call recording altogether (and does not allow you to turn off updates, so I've been postponing the OS update for almost two years now every day or so).

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

#193
post #181

Termux has saved one of our projects literally tens of thousands of dollars in SMS fees from someone like Twilio. We have a few areas where non urgent SMS reminders need to be sent to users. We literally just use a couple of cheap ($100) Android phones with termux on an unlimited message plan with a local provider (who approved us for commercial usage). The actual process is a glorified bash script that pulls API job…

How many SMS do you send daily? Do you have a regular plan with the local provider, or some specially negotiated one?

Not totally sure but easily > 1,000. We negotiated but not at a high level.

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

#194
post #75

Earlier quoted context omitted.

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.

Ok but then why don't they disable the camera and a microphone when you record videos? You can hide the phone in a way that the person you talk to won't see you are recording it. I don't accept this explanation.

Yes, laws overlap. The ones I'm talking about are generally about "intercepting communications" i.e., "recording conversations". In general, the US requires one-party consent, but there are 15 states that require two-party consent.

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

#195

Earlier quoted context omitted.

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.

https://social.librem.one/@dos/105119691527269967

https://www.youtube.com/watch?v=8Sha3R4PKSs&t=285s

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

#196
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

scp?

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

#197
post #194

Earlier quoted context omitted.

Ok but then why don't they disable the camera and a microphone when you record videos? You can hide the phone in a way that the person you talk to won't see you are recording it. I don't accept this explanation.

Yes, laws overlap. The ones I'm talking about are generally about "intercepting communications" i.e., "recording conversations". In general, the US requires one-party consent, but there are 15 states that require two-party consent.

So you can put your phone on recording e.g. in a restaurant "intercepting communications", but when someone calls you it's a no-no. Regardless, in my country recording is perfectly legal and yet Google has disabled it. If this is the law, then don't you think they should either follow it or not? I am not sure how you can only partially follow the law.

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

#198

Earlier quoted context omitted.

I've had a terrible experience with my LineageOS S9.

F-Droid's UI is trash in terms of usability IMO. Quite clunky. If that was your issue too there are various frontend forks that fix that issue in better ways than F-Droid has attempted to. I for one use FoxyDroid which is about as minimal as it gets, but still usable and pretty to look at. There's also AuroraDroid (best looking one IMO), and G-Droid as alternative frontends.

I agree, the big F-Droid redesign was a step backwards. I didn't know about the alternatives though. Thanks

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

#199
post #194

Earlier quoted context omitted.

Yes, laws overlap. The ones I'm talking about are generally about "intercepting communications" i.e., "recording conversations". In general, the US requires one-party consent, but there are 15 states that require two-party consent.

So you can put your phone on recording e.g. in a restaurant "intercepting communications", but when someone calls you it's a no-no. Regardless, in my country recording is perfectly legal and yet Google has disabled it. If this is the law, then don't you think they should either follow it or not? I am not sure how you can only partially follow the law.

They are doing the lazy thing and configuring it for "lowest common denominator". Yes, it's irritating. The effort to integrate GPS and allow/not-allow would be low.

Maybe it's complicated for telephone conversations where you're not breaking a law locally, but are breaking a law remotely?

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

#200

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:…

> Android security clampdowns mean termux can't see the SD card. Not sure that's what's causing it; I can definitely scp files from my Android phone's SDCard to my servers. But I've not tried initiating the scp from the other machine to my phone.

For what it's worth, my SD card is unencrypted so Android treats it as external storage, rather than encrypted and integrated into Android's "system" storage.

Anyway what's left of filesystem access for Termux isn't really a blacklist as in "you're forbidden to go here" but rather feels like a whitelist. There are a few carefully selected places you're still allowed to go, front and center being the DCIM directory.

Post reply on HN