Conversation

I wonder, if one got a relatively high-powered Android phone, if one could run a conventional Linux distro in a persistent VM and ssh and VNC to it and stuff. Like Crouton for Android or something
10
28
Replying to
Pixel 6 has usable hardware virtualization support, although you would need an OS making use of it for this.
Quote Tweet
Full-blown virtual machines with the KVM hypervisor (near-native performance) on Pixel 6 + Android 13 DP1
Show this thread
Image
Image
Image
Image
1
11
Replying to
Thanks. Someone else mentioned chroot jails-- are there out-of-box solutions for just running a little linux environment / wifi sshd on a stock Android kernel?
1
3
Replying to and
They could have kept it on the Play Store if they moved to distributing packages as apps. It's against Play Store policy for apps to download and run code from other sources themselves, and there are security features for recent API levels phasing out native code exec from data.
2
Replying to
There's an exception for meaningfully sandboxed code. It permits web browsers. It doesn't permit a web browser with a deliberate way to give the dynamically downloaded JavaScript code execution as the app itself. In the future the policy may specifically require isolatedProcess.
1
1
Replying to and
There's a distinction between the Play Store policy which says code must come from the Play Store and the OS app sandbox which is very slowing phasing out the ability to execute native code from app data and memory (inside isolatedProcess, in-memory will still be allowed though).
1
Replying to and
They could still come up with an implementation of only allowing the ART JIT especially if they moved it out-of-process. It's not a fancy tracing JIT with patching/deoptimizations, etc. It's compiling a statically typed language and is just a stopgap before the AOT compilation.
1
Replying to and
Play Store permits apps to provide what Termux does if they either do it inside a virtual machine with sandbox semantics or they distribute the packages via Play Store. Current way to distribute via Play is probably via feature modules (Play Feature Delivery) not separate apps.
1
Show replies