Android 15 QPR2 Beta 1 contains a preview of a Linux terminal app: https://www.androidauthority.com/android-15-qpr2-linux-terminal-3498872/

Looks like the eventual usage will work like this: After enabling the app in settings and launching it, it downloads a Debian image from Google and runs it inside a VM using AVF.

Are there plans for Graphene to support this and would there be any modifications?

    kyuweftea I hope we are able to have this feature, personally. I think a Debian VM would be potentially useful.

    a month later

    In case anyone is wondering, it now works in Android 15 QPR2 beta 2 (not GOS). It has some limitations for now. Storage is limited to 16 GB and port forwarding seems to only be for port 8080, but forwarding doesn’t actually seem to work, so I couldn’t connect any apps to anything running inside the VM. Performance-wise it seems similar to Termux or maybe slightly better, but probably not much faster than 5-10% at some tasks. I could be very wrong about this, because I didn’t test this rigorously.

      Is it AOSP related feature?
      Or Google Play Service related?
      And is it only available Google Pixel related features?
      Or any Phone even old phone with Android 15 Port like AOSP/LineageOS can have it?

        UnOrdinary I’m guessing that any phone that can run Android 15 QPR2 will get this, so it should be included with GOS when QPR2 is released around March. Probably Lineage too, but I honestly have no clue. Google Play should not be necessary. It can be activated in developer options.

        • de0u replied to this.

          Hyfesu I would be a little hesitant to make predictions... this feature has been rumored for a while, and pushed back. When Google ships a feature as a developer option, typically than because they are aware of, or at least suspect, bugs that preclude shipping it as a feature for users. If it's in a Google beta now as a developer option, I think the safe conclusion is that Google believes it's not ready.

          So hopefully this thread can be viewed as speculation, and not lead to a bunch of "Well, where is it?????" posts in March...

          2 months later

          The terminal is somewhat useful now, so I was able to get rid of Termux. I'm running the Monero daemon inside the VM and it works fine. It's possible to forward ports now and I'm able to connect to the daemon inside, from the Cake Wallet app (localhost:18081). I placed the Blockchain in /mnt/shared/, which corresponds to the Downloads folder on the phone, so it doesn't count towards the 16 GB limit.
          Current issues:

          • for some reason it's around 5x slower than previous releases
          • it crashes somewhat frequently
            a month later

            Hyfesu you can forward port through docker, this is the only method I got.
            Just run sudo docker run -d -p 0.0.0.0:3000:5000 image_name.

            Then in your android chrome browser or termux, you can access it through localhost:3000