Hey all!
Personally I wouldn't have known this was possible without stumbling on to it some time earlier, so here's something for you all to consider.
The Debian TP leaves much to desire at it's present state, with so many things just plain not working. For me, it's not really useful now, but for sure it's interesting and for now I'm keeping it installed to play around with.
However I'm reasonably happy with running Ubuntu virtually under Android. It does those things I need it to do, when I'm not using it my device is a normal Android device, and while running virtual Linux I can just instantly alt-tab between Linux and Android applications. For me at this time, it's the best of both worlds.
Here's how it works:
- root your Android. This is required. I also installed the Magisk Manager to control root access.
- install LinuxDeploy by meefik from Google Play
- use the GUI to set up a new virtual Linux system (VNC is probably the only useful choice for desktop GUI)
- start the VM, and connect to it with any VNC client
There you go. It will download and setup your new virtual Linux and prep it for use.
For myself, I installed Ubuntu/MATE into an image file in internal storage, added a bunch of softwares I need, and the bonus: I've set up an SDCard with a LUKS encrypted partition, and I can use that within the virtual Linux, to have a relatively safer encrypted storage, which is not accessible to Android OS at all, without some further special tricks. Now I dare to keep some confidential material on my device: Android snoopware can't access it, it's in encrypted storage, and best of all: if my device HW fails, I can just pop out the SDCard and mount it on an Ubuntu desktop.
I also made the VM desktop about half of the Gemini screen resolution, and then I have the VNC client scale it up to full screen. This way all the scrollbars etc are usable directly via touch screen, without having to figure out how to make the desktop environment make everything super-sized, which doesn't quite work with many softwares.
Using bVNC as the VNC client, I can toggle live between different modes for the touch screen, e.g. change from direct mode to simulated touchpad mode.
It's not 100% perfect, but for now works well enough for me. Some issues FYI:
- with the VNC setup, I can't alt-tab inside the VM. Alt-tab switches between VNC client and other Android apps
- when I use alt-drag to move windows, after the operation the Planet app bar always pops up, so I have to press the Planet key again to close it
- no HW acceleration in the VNC desktop
- no XRANDR extension (or I don't know yet how to achieve it)
- home, end, pg up, pg down don't work so far
- can't get FB to work as display method; the screen just keeps rotating till I kill it, or if I kill Android UI I get a very small popup error, and then have to force a hard reboot...
If you're interested, and end up trying this, please share your experiences! Particularly since it seems like there's not much good documentation about LinuxDeploy...