Running Linux-based operating systems on smartphones has come a long way. We now have several Linux-powered smartphones on the market that cater to different use cases. Some pack in flagship-level performance, while others try to be a value-for-money proposition.

Sadly, these devices are out of reach for most people around the world due to excessive taxation from their countries and shipping charges. Of course, many do have an older spare Android smartphone laying around.

Why not make good use of it? In this article, we will be taking a look at a very cool project that turns an Android smartphone into a Linux machine with a simple APK file and no root access.

  • moonpiedumplings@programming.dev
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    3 days ago

    Although the usage of (x)wayland is novel, there have already beem projects which do something similar before.

    Termux can run a linux container in a proot, which you can then connect to via an app like vnc to get graphics.

    There exist several options to automate this setup, such as anlinux. There is also the proprietary andronix, which used to be open source but now it looks like tgere repos aren’t being updated.

    It’s bad reporting to frame this as a novel app, when it’s not. The novel thing is the way this app does xwayland rendered by a native wayland compositor (instead of remote desktop softeare or other solutions), which is really cool though.

    • mlfh
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      3 days ago

      This looks to be running a full virtual machine via the Android Virtualization Framework in the same way as the new “Terminal” app in AOSP, so you have full root control over it.

      Edit: I was wrong about the backend, per below it uses proot instead

  • vortexal@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    While this is much easier to setup than running Termux, this really doesn’t seem to be working well for me. I keep having this problem where it stops excepting mouse input for seemingly no reason. I know it’s not frozen because my keyboard still works but I can’t use it for more than a few seconds before mouse inputs stop working. I don’t have this problem with Termux, I have other problems with it but that’s a different story.