Anyone experimenting with Linux on Android around here?

I was having quite a hard time finding a decent IDE to use on DeX so Im just running a full desktop and coding on vscode. The performance is surprisingly good, just wish it was easier and more stable to set up gnome, as it just looks like it would fit a touchscreen and the android aesthetic really well.

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Pretty sure it’s still a VM even if there’s a shared kernel, android is very different to a typical Linux distro

      • un_aristocrate@geddit.social
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        I don’t know about all solutions but Linux Deploy for example creates a chroot environment and runs the Linux distribution from there. That means that the distribution’s process are running alongside android’s process on the same kernel. No translation, no abstraction, directly on the kernel that runs android. As far as the kernel is concerned, the android launcher and the Gnome environment are equal resident.

        • flashgnash@lemm.ee
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          There needs to be a hypervisor to manage them though doesn’t there? As far as I’m aware that’s how type 1 hypervisors work but that’s still a VM at the end of the day.

          Either way I’m absolutely doing this. Does Linux deploy allow you to switch between Linux and Android UI freely or is Linux running in the background and need spice/vnc?

          • un_aristocrate@geddit.social
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I don’t think it counts as a hypervisor because it’s basically running multiple user land environments on the same kernel. But yes, the video output is already used by android so if you need graphics it goes through vnc. Maybe that’s possible to bypass on a routed device.

    • inspxtr@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Can you explain what this is? Kinda confused, is it a VM of some sort? Or something equivalent to WSL on Windows?

  • SSUPII@sopuli.xyz
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    I should definitely try it again! Unfortunately when I did (Debian 10) permissions were all messed up

  • M-Reimer@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    How would you do that? I often had situations where a full featured Linux on my phone would have helped. In most cases shell access would be enough for my needs.

      • INeedMana@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        The problem with Termux is that it has limited access to SD card. You have to either root the phone or keep everything Termux realted in phone storage or the special directory android gives to Termux on sd card.

        And I couldn’t find a way to create a link to it.

        • vividspecter@lemmy.world
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          That’s fair. Storage has long been an annoying issue with Android, but yeah, I normally go the root option when all else fails. I’ve mostly just used it for network troubleshooting recently though, which doesn’t need any additional storage.

  • trekkie1701c@kbin.social
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    I use termux a bit as others have mentioned; not for anything particularly tech-y - I’m poking away at writing a book when I have time and I’m using a self hosted Gogs server to centralize it and keep track of changes, so I mostly use it for a text editor and git.

    I have a bunch of self-hosted stuff so most linuxy-things I do I just use JuiceSSH/mosh/tmux and connect to a remote server. This has the benefit that when I get to a computer with a proper keyboard I can just switch over.

  • TableCoffee@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Is running VM’s possible on more android devices now? I haven’t kept up on that but remember the pixel devices having KVM support? I have been using the Opaque app + tailscale to connect to my proxmox VMs from my Galaxy tab if I’m travelling and need a full desktop for something. Works pretty well.

    • atretador@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      As long as you have like, +3gb of RAM you should be fine with something like andronix or userland. It has a few limitations, but for emergencies is quite nice.

      The problem with most devices is the lack of HDMI thru USB-C, as most use USB C v2.0 and you need 3.1 for that to work, which is why I went with a Samsung flagship, dex is nice too.

      If you have that, you can just stick it on a dock or hub and now you can use a monitor, keyboard/mouse easily.

  • flashgnash@lemm.ee
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I’ve seen a few mobile focused Linux distros, can you still run android apps on them easily?

    • atretador@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Not sure, but I think there is already ways to run android apps on a Linux desktop, the thing I’m talking about is basically running a Linux container on Android and connecting in it thru VNC.

      • flashgnash@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Ah I see that seems like a more sensible way to do it as long as it can run smoothly virtualised