Live data from Hacker News

Termux and Android 10

github.com

161–170 of 329 posts

Re: Termux and Android 10

#161
android 10 has been pretty bad for rooting etc. i think they would do well to release something that us techies can tinker with though. Call it android 10 unsafe edition :) , i gotta say im pretty happy that its still possible to disable annoying bloatware like 'settings' and 'play store' via the android debug shell. the moment that changes im going to have to drop android altogether, because i still dont believe in using a phone like a computer.

Re: Termux and Android 10

#162
post #148

This title is misleading for a few reasons: - Android 10 is not killing anything. Targeting API level 29, the native API level of Android 10, prevents the mechanism Termux uses, but you can target a lower API level and run just fine on Android 10, and in fact Termux does run just fine on Android 10. - API level 29 blocks a specific mechanism that Termux happens to use to run arbitrary code. There are other ways to do…

Right now apps on Google Play are required to target at least API level 28. This will most probably be raised to level 29 in the near future, essentially blocking distribution of Termux, at least in its current form.

Re: Termux and Android 10

#164
post #86

Earlier quoted context omitted.

The only "real" solution is to get an actual Linux phone, such as the PinePhone[1] or Librem 5[2]. 1 - https://www.pine64.org/pinephone 2 - https://puri.sm/products/librem-5

But you pay 750$ for a 3GB quad core phone; I've got these specs on a 300€ OnePlus One five (six?) years ago. Sure, replaceable battery and open hardware are a _very_ good thing, but the value/$ of these phones are horrendous. That's not to defend OnePlus or any other manufacturer, but when I can get a high end Samsung or Xiaomi device with 4 times the specs at every corner for the same price or less and simply insta…

I remember when everyone (basically all Nokia fans) was attacking the original iPhone for "only" having a 2MP camera, when the Nokias of the day had 3MP, or even 5MP cameras. Or that it only had 2G support.

That turned out to be a pretty myopic view in the end in terms of declaring a phone a winner or loser.

Re: Termux and Android 10

#165
post #148

This title is misleading for a few reasons: - Android 10 is not killing anything. Targeting API level 29, the native API level of Android 10, prevents the mechanism Termux uses, but you can target a lower API level and run just fine on Android 10, and in fact Termux does run just fine on Android 10. - API level 29 blocks a specific mechanism that Termux happens to use to run arbitrary code. There are other ways to do…

If I understand correctly, they are killing exec in app homedir. I assume they would block exec in the sdcard too then. If that's the case, what's the workaround for installing and running things through termux's apt get?

Re: Termux and Android 10

#166
post #148

This title is misleading for a few reasons: - Android 10 is not killing anything. Targeting API level 29, the native API level of Android 10, prevents the mechanism Termux uses, but you can target a lower API level and run just fine on Android 10, and in fact Termux does run just fine on Android 10. - API level 29 blocks a specific mechanism that Termux happens to use to run arbitrary code. There are other ways to do…

It will be impossible to distribute the app targeting 28 in the near future.

Targeting 29, the only replacement for apt get that they could come up with is to stuff Linux binaries into 100s of apps and upload those apps to the play store. I am not sure this is usable anymore. You might want to read this:

https://github.com/termux/termux-app/issues/1072#issuecommen...

Re: Termux and Android 10

#167
post #17

Earlier quoted context omitted.

Tablet companies really need to realize that a decent tablet with a decent dev experience is going to lead to an explosion of developers on their platform and result directly in way higher quality apps and therefore way better sales and brand. Imagine if websites couldn’t be developed on normal desktop computers and you had to run an extremely inefficient emulator every time you wanted to make a small notification.

I'm not sure that an explosion of developers would lead to higher quality apps.

I certainly know about some developers that would increase software quality by exploding...

Re: Termux and Android 10

#168
post #148

This title is misleading for a few reasons: - Android 10 is not killing anything. Targeting API level 29, the native API level of Android 10, prevents the mechanism Termux uses, but you can target a lower API level and run just fine on Android 10, and in fact Termux does run just fine on Android 10. - API level 29 blocks a specific mechanism that Termux happens to use to run arbitrary code. There are other ways to do…

Right now apps on Google Play are required to target at least API level 28. This will most probably be raised to level 29 in the near future, essentially blocking distribution of Termux, at least in its current form.

Wouldn't be the first app that runs into issues with Google's benevolent inclusion of their code in the Google store. I'm sure F-Droid will continue to deliver Termux, especially for the specific Termux audience.

Re: Termux and Android 10

#169
post #55

Earlier quoted context omitted.

>) Fixing a Windows problem can involve having to go into the registry, which can't be copy/pasted and is extremely difficult AND dangerous. (There probably IS a way to copy/paste it, but I don't know it). You absolutely can copy/paste registry edits. You paste the edit in a plain text .reg file and let the system patch it in for you. [1] https://www.howtogeek.com/382727/what-is-a-reg-file-and-how-...

I'd much rather run a narrowly scoped (diff-style) .reg file than unpack an entire configuration file from a .tar.gz and potentially blow away existing settings (which has happened to me more than once when installing system updates...)

You can diff Unix configs with... diff

I don't think it's ever advisible to tar -xf- -C / to fix a minor config issue. Just extract in tmp and diff -aru etc /etc

Re: Termux and Android 10

#170
post #16
post #8

Earlier quoted context omitted.

> For sure Windows is not as user-stupid as something like macOS, iOS, Android, etc... but for me as a power user it's just about as powerful as I need to be. I guess it depends on what kind of "power user" you are because windows is pretty limited (why else would they frankestein an Ubuntu terminal into the latest Windows versions?).

Not sure what you mean by limited here? You have quite a few options are your disposal these days. (Depending on how you scope "power user") Cygwin (OSS compiled to Win APIs) Powershell (Native Windows fun) WSL 1 (Linux ABI Bindings to Win Kernel) WSL 2 (Thin Hyper-V running a full Linux Kernel, with Plan9 FS mappings to Windows filesystem) (Insider Preview, should be releasing this quarter) Hyper-V DOSBox Docker (Hy…

> DOSBox

Much as I love DOSBox, I don't think it belongs on your list.

In fact, DOSBox's command line capabilities are weak compared to genuine MS-DOS (which is already quite weak to begin with) – it doesn't fully support COMMAND.COM's syntax, it lacks many of the commands/utilities that come with MS-DOS, etc. – it is just the bare minimum to get most game launcher batch files to work. And that's unlikely to ever change, since DOSBox devs generally aren't interested in improving the accuracy of the MS-DOS emulation unless that improvement helps run some game – if you want a more accurate emulation of MS-DOS, they'll point you to FreeDOS instead.

Post reply on HN