4 ms·
I am surprise this didn't install. But I'm not sure it would work in recent android versions anyway thanks to all security. Well, unless he is going to MITM te
by zibzab 5y ago
I am surprise this didn't install.
But I'm not sure it would work in recent android versions anyway thanks to all security. Well, unless he is going to MITM termux applications.
- jeroenhd 5y agoI don't really see why not. The dependency issue in Termux is annoying, but the only problem running this software on Android that I can think of is the fact you're going to see random network disconnects/slowdowns as the device eventually goes to sleep and the associated "battery optimisation" that kills random apps in the background. There is no (incoming) firewall on Android for apps with network access unless you install one yourself. You can open a port (22 if you have root access) and listen for SSH connections no problem. Even things like ARP spoofing work fine on a technical level. There are some limitations when it comes to apps installed from the Play Store (the rules make it basically impossible to exec() binaries downloaded from the internet) but luckily you can just install a terminal system from any other source. Edit: for me the pip install fails because my termux environment doesn't have a Rust compiler. I'm not sure why I'd need a Rust compiler for a python package, but that does explain why the install fails. Edit 2: the rust compiler in the repository is currently broken, but as of a few hours ago there's already someone working on that.
- cma 5y ago> There are some limitations when it comes to apps installed from the Play Store (the rules make it basically impossible to exec() binaries downloaded from the internet) but luckily you can just install a terminal system from any other source. Only on the older API. It feels like they are cracking down on any general computing and eventually will only allow what they need for chrome V8, requiring codegen be in a sandboxed process with chrome's exact needed permissions or something. If they can squeeze it past antitrust, maybe only after a special signing process for browsers only. Otherwise anything that can write executable pages can include its own ELF loader to implement exec.
- jeroenhd 5y agoYou're right, of course, but it still works for now. The backwards compatibility layers keep the API functional and I don't think they'll be removed for at least another few years. Google is turning more and more towards the Apple spirit, sadly. I fear that one day they'll end up with the same idiotic rules about code execution Apple has, restricting their browser to only allow Chrome and other such stupidity.
- pjmlp 5y agoUntil the end of the year as the minimum API level for new Play Store submissions is upgraded.
- jeroenhd 5y agoI don't think the backwards compatibility as implemented right now will disappear. There are other sources of software than the Play Store like F-Droid for the technical people who want this kind of software on their phones which don't have the same restrictions. The minimum API isn't a technical limitation, it's a political one.
- pjmlp 5y agoWhat matters are the phones that regular users get. You can also develop whatever you feel like for games consoles with hacked kits from homebrew, and nobody cares that they exist, beyond a very tiny group.