4 ms·
Have you tried termux? It lets you run a shell on your phone (and even install and run various compilers).
by piinbinary 8y ago
Have you tried termux? It lets you run a shell on your phone (and even install and run various compilers).
- zdkl 8y agoTermux is awesome and a godsend to trivially shell out on android. But what I'd really want is boot to linux, choice of kernel and distribution, eventually pulling out an android layer on top of that if its UX is needed. Basically an ARM(v8 64b) desktop-like experience in a phone sized chassis.
- anilgulecha 8y agoWhat makes this a non-starter is that normal linux applications are not written to be pre-emptable. Hence a default port of a linux system to a phone will kill the battery. Hence the need for a from scratch effort where the SDK incorporates preemptability as a policy, and applications work off of that. Sadly, this means you cannot use the existing vast application ecosystem. Librem is an effort in the above direction. It also seems like Fuschia is going this way.
- swiley 8y ago> linux applications are not written to be pre-emptable. I think I don't understand the way you're using this word. Are you talking about wake-locks? Linux has opportunistic sleep/suspend and mechanisms for controlling that.
- anilgulecha 8y agoClosest I can explain is mobile applications have to be written to understand "pause" and "resume", and the application is running from "resume" to "pause". Your typical linux application does not. It expects to be "started" and "stopped", and running the whole time in-between.
- severine 8y agoI'm sure some adjustments will be necessary, but I'd actually like to fully stop mobile apps, desktop style, quite often.
- swiley 8y agoOh that, no. That should die with android, it's horribly difficult to understand and unhelpful.
- cmsimike 8y agoLinux processes can understand that already: SIGTSTP/SIGSTOP, and SIGCONT. There are many signals a Linux process can respond to.