• xavier666English
    arrow-up
    80
    arrow-down
    1
    ·
    4 months ago
    edit-2
    4 months ago
    link
    fedilink

    Yo dawg, I heard you like Linux. So I built a Linux container for your Linux phone. Now you can enjoy Linux while enjoying your Linux phone.

    • jol
      arrow-up
      13
      arrow-down
      0
      ·
      4 months ago
      link
      fedilink

      We definitely living in a simulation.

      • laughterlaughter
        arrow-up
        6
        arrow-down
        0
        ·
        4 months ago
        link
        fedilink

        Not that I don’t disagree with you, but how did you come down to this conclusion?

        • jol
          arrow-up
          3
          arrow-down
          0
          ·
          4 months ago
          link
          fedilink

          We’re so many levels of abstraction and emulation deep, that the natural conclusion is that there’s no reason to believe we’re at the top of the abstraction, but somewhere in the middle.

          • laughterlaughter
            arrow-up
            2
            arrow-down
            0
            ·
            4 months ago
            link
            fedilink

            I understood that. But I don’t see how you came down to this conclusion simply because someone put Linux inside Linux.

            When you put matryoshka russian dolls one inside the other, do you also think “man, we live in a simulation”?

    • smileyhead
      arrow-up
      7
      arrow-down
      0
      ·
      4 months ago
      link
      fedilink

      You can call it GNU/Linux if the same name for OS and kernel turns out to be confusing for you.

  • InnerScientist
    arrow-up
    57
    arrow-down
    1
    ·
    4 months ago
    edit-2
    4 months ago
    link
    fedilink

    You need a phone, tablet, or other device that’s been rooted.

    Damit

    • KillingTimeItselfEnglish
      arrow-up
      20
      arrow-down
      0
      ·
      4 months ago
      link
      fedilink

      Rule of thumb for android users, all of the interesting shit is shit you can’t do unless you’re rooted.

      • GlenTheFrog
        arrow-up
        3
        arrow-down
        0
        ·
        4 months ago
        link
        fedilink

        I remember when it used to be all the REALLY interesting stuff was root only, yet a lot of normal interesting stuff was non-root. Now even with root, modern Android can be a pain and the interesting stuff just pales in comparison with true Linux

        • KillingTimeItselfEnglish
          arrow-up
          3
          arrow-down
          0
          ·
          4 months ago
          link
          fedilink

          yeah, linux has me spoiled, just being able to do whatever i want as i please is truly a modern art.

          Android made me realize how incredible linux was by being so utterly painful.

    • drwankingsteinEnglish
      arrow-up
      16
      arrow-down
      0
      ·
      4 months ago
      link
      fedilink

      look into proot+termux-x11 if you don’t have a rooted device, it’s still very good.

      • Joe Cool
        arrow-up
        10
        arrow-down
        0
        ·
        4 months ago
        link
        fedilink

        It’s just quite a bit slower. Everything else other than messing with /sys and android processes works the same.

        HDMI, mouse and keyboard and you have an office pc.

        • drwankingsteinEnglish
          arrow-up
          3
          arrow-down
          0
          ·
          4 months ago
          link
          fedilink

          Yup, I used it all the time with samsung dex, works great

      • Tja
        arrow-up
        3
        arrow-down
        0
        ·
        4 months ago
        link
        fedilink

        I looked on the play store and fdroid, haven’t found anything. I’d love to have a Linux chroot with CLI linux software, don’t want to root my phone. Halp.

        • Tja
          arrow-up
          7
          arrow-down
          0
          ·
          4 months ago
          link
          fedilink

          For the lazy, in termux:

          $ pkg install proot
          $ pkg install proot-distro
          $ proot-distro install debian
          $ proot-distro login debian

          Profit??

  • boredsquirrel
    arrow-up
    56
    arrow-down
    0
    ·
    4 months ago
    link
    fedilink

    TLDR: Easy installation of something like Termux, GUI, Kwin and KDE, and a graphical display.

    This is really good!

    • lily33
      arrow-up
      13
      arrow-down
      0
      ·
      4 months ago
      link
      fedilink

      Not really. It seems to use a very different technology from termux.

      • drwankingsteinEnglish
        arrow-up
        17
        arrow-down
        0
        ·
        4 months ago
        link
        fedilink

        it’s actually not that far off a chroot, it uses LXC, the really cool thing thats going on is this wayland integration, I was waiting for termux-gui + wlroots to come along, but this might just land first

        • lily33
          arrow-up
          7
          arrow-down
          0
          ·
          4 months ago
          edit-2
          4 months ago
          link
          fedilink

          However, it also uses halium and libhybris. That means you can’t just install your favourite distro and upstream tools. Everything that needs GPU acceleration needs to be patched for libhybris. For example, that means no upstream wlroots - and the latest patched version I think is 0.12 or so.

          • drwankingsteinEnglish
            arrow-up
            1
            arrow-down
            0
            ·
            4 months ago
            edit-2
            4 months ago
            link
            fedilink

            I havent looked into it yet, but ill be looking into doing an extra shim layer if this is the case. It wont be hard to set up some basic stuff for that, wlroots for instance is great for doing nested stuff since it can forward all of the inputs we need to the nested compositor

        • iturnedintoanewt
          arrow-up
          3
          arrow-down
          0
          ·
          4 months ago
          link
          fedilink

          So how does it render to screen? Because the biggest nag on any of these previous implementations came when I needed to use VNC to remotely connect to the desktop

          • drwankingsteinEnglish
            arrow-up
            5
            arrow-down
            0
            ·
            4 months ago
            link
            fedilink

            it uses a modified wayland compositor that hooks up directly to android surfaceview. Currently if you want a chroot/proot solution, I reccomend termux-x11. it’s good performance.

          • boredsquirrel
            arrow-up
            2
            arrow-down
            0
            ·
            4 months ago
            link
            fedilink

            A better alternative would be spice, but just a guess

  • cafuneandchill
    arrow-up
    42
    arrow-down
    1
    ·
    4 months ago
    link
    fedilink

    You could emulate Android on Linux before, now you can also emulate Linux on Android

    The circle of libe is compleet

  • Monkey With A Shell
    arrow-up
    37
    arrow-down
    0
    ·
    4 months ago
    edit-2
    4 months ago
    link
    fedilink

    I recall using an app way back when I used to root and haxor all the mobiles that would do this. Kind of a virtualbox for the Nexus phones/tablets, but it needed root to do it. Will have to look into this, would be interesting if it can do so in user space somehow.

    Edit: Damn, still needs root. Was a longshot to be able to hook into system resources without it but was hoping for some bridge function.

    • MonkderDritte
      arrow-up
      4
      arrow-down
      0
      ·
      4 months ago
      edit-2
      4 months ago
      link
      fedilink

      That bridge function would still need root (or critical level security holes) to be installed, if the ROM doesn’t ship it.

      • Monkey With A Shell
        arrow-up
        3
        arrow-down
        0
        ·
        4 months ago
        link
        fedilink

        Makes sense, I’m so accustomed to making virtual machines and such that it becomes just a thing but inevitably at some point admin access was required to create the hypervisor, the vnic, a virtual switch, etc. Without that restriction a piece of malware could readily exfiltrate data past a local protection by just making it’s own new pathway through on the fly or any number of other unpleasant things.

    • drwankingsteinEnglish
      arrow-up
      3
      arrow-down
      0
      ·
      4 months ago
      link
      fedilink

      if you want a non root solution, termux proot + termux-x11, or eventually termux proot + termux-gui + wayland compositor

  • TheFonz
    arrow-up
    19
    arrow-down
    0
    ·
    4 months ago
    link
    fedilink

    Does this mean I could install and run Blender on my phone???

    • drwankingsteinEnglish
      arrow-up
      4
      arrow-down
      0
      ·
      4 months ago
      link
      fedilink

      you can already try that with chroot/proot, this just gives far better integration for input handling and stuff

  • trevorEnglish
    arrow-up
    16
    arrow-down
    0
    ·
    4 months ago
    link
    fedilink

    If someone could build a preconfigured image that has Phosh and basic phone apps, I would consider using this full time.

    • Hector
      arrow-up
      10
      arrow-down
      0
      ·
      4 months ago
      link
      fedilink

      Would be even better if it can be registered as the default launcher too

      • nossaquesapao
        arrow-up
        6
        arrow-down
        0
        ·
        4 months ago
        link
        fedilink

        Could we uninstall almost all non system apps, make it autostart and prevent any other app from getting in the way?

  • electricprism
    arrow-up
    15
    arrow-down
    0
    ·
    4 months ago
    edit-2
    4 months ago
    link
    fedilink

    So I could use this to run PostmarketOS inside Android?

  • KillingTimeItselfEnglish
    arrow-up
    14
    arrow-down
    0
    ·
    4 months ago
    link
    fedilink

    this is the most useful thing android will ever do.

    Once rooted.

    • lily33
      arrow-up
      5
      arrow-down
      0
      ·
      4 months ago
      link
      fedilink

      Actually, no, this seems to work on a very different principle.

  • bierEnglish
    arrow-up
    2
    arrow-down
    0
    ·
    4 months ago
    link
    fedilink

    What’s the difference to “Linux deploy”?