This is going to be nice. Good first step.

  • @[email protected]
    link
    fedilink
    614 days ago

    Yeah let me know when I can install mainline Linux.

    Definitely a step in the right direction, but the fact that android uses the Linux kernel but still manufacturers keep so much proprietary… It kills me

    • Mike
      link
      fedilink
      144 days ago

      I mean… This is kinda close. The “Linux Terminal” app is running a full Debian install in a KVM VM. On the newest version of the app (like on Android beta or on GrapheneOS), you even have a full GUI that you can use.

      In theory, we should be able to boot any mainline Linux distro in a VM, if someone writes an app for it, as AVF (Android Virtualization Framework) is just a wrapper around Linux KVM with some restrictions. (for now the built-in app only supports Debian)

      • suoko
        link
        fedilink
        33 days ago

        It reminds me Linux in chromeOS. Do apps use Wayland or X?

      • @[email protected]
        link
        fedilink
        24 days ago

        “full debian install”…not sure I’d call it that. Seems apt repo is missing any chances of adding DE related packages. So maybe not full blown debian. It might have a limited repo.

        • Mike
          link
          fedilink
          24 days ago

          Are you sure you’re talking about the Linux Terminal app that’s available in developer options and not Termux? For me, all Gnome things and Xfce things are present in the repos (and it’s using the deb.debian.org default Debian repos, so it makes sense)

      • @[email protected]
        link
        fedilink
        English
        14 days ago

        Can I plug in an hdmi cable/keyboard/mouse and use it like a desktop and is there some way I can mount the android storage? (Eg can I get access to docs/pics/downloads)

        • Mike
          link
          fedilink
          24 days ago

          On Pixel 8 and above, you can plug in external displays, but it will only mirror your phone screen. Supposedly, Android 16 will allow you to “extend” the screen, ie. treat it as a separate screen. Also, the GUI stuff for the Linux Terminal will only drop in Android 16, so yeah, I’m stoked for that release.

    • @[email protected]OP
      link
      fedilink
      194 days ago

      They’re doing this because they want to switch chrome to be android based, and they want to have desktop apps available right away since chrome doesn’t have much.

      • Alex
        link
        fedilink
        44 days ago

        Not just that - modern Androids compile apps in a VM these days to reduce the attack surface of the compiler. You can also push other services into VMs that support the main image. You could even push some vendor drivers into VMs and help keep the main kernel less of a vendor fork fest.

    • Quack Doc
      link
      fedilink
      14 days ago

      Im not sure what you mean, like, run android on mainline linux? if that is the case you already can. Not on all devices, but I think the pixel can run mainline kernel, I know ofc you can run androidx86 on mainline, if you mean via terminal I think you can sideload mainline. At least, if you compile your own rom you absolutely would be able to.

          • @[email protected]
            link
            fedilink
            17 hours ago

            It’s perfectly clear.

            Linux Terminal = A terminal emulator program which can run a shell on top of a version of the Linux kernel, featuring a shell commonly found on Linux OSes, e.g. Bash or Zsh, featuring something like Bash builtins, some GNU Coreutils for the userland, a package manager like apt and support for at least some additional common packages, accounting for architectural differences of course.

            E.g. Bash in Konsole on Debian meets all the criteria. “Git Bash” on Windows meets some of this criteria. WSL meets almost all of this criteria. Termux meets a few. PowerShell on Windows in Windows Terminal meets none