This is going to be nice. Good first step.

  • DonutsRMeh@lemmy.worldOP
    link
    fedilink
    arrow-up
    5
    ·
    21 hours ago

    It tells me it is not compatible with my phone. Is it on fdroid? Can I sideload it from somewhere? I have a OnePlus 12 phone and it is running Android 15

    • pelya@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      20 hours ago

      Google’s bullshit strikes again! All apps must be built for Android 13 or they are removed from Play Store, apparently because Google could not do the Android security correctly for the first 12 versions. Now they can emulate Linux on Android, but cannot emulate an older version of Android on Android. And I last updated my app in 2021, during Android 11 era.

      Here’s the link to sideload the app:

      https://sourceforge.net/projects/libsdl-android/files/apk/XServer-XSDL/XServer-XSDL-1.20.51.apk/download

      I’ll try to update it on Play Store tomorrow, if my crusty build scrips will work with the new Android SDK.

      • DonutsRMeh@lemmy.worldOP
        link
        fedilink
        arrow-up
        1
        ·
        13 hours ago

        Ok, the app doesn’t have any place to enter those commands. It opens up this msdos like blue terminal and it’s stuck there. I can’t type anything. And the keyboard shows when I press the back button on the phone. I can’t exit the app,I can only exit with the home button

        • pelya@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          9 hours ago

          You need to enter these commands in the Linux terminal app, not in the X server app. Once the two apps connect, it should be possible to launch another terminal inside the X server.

          • Go to your phone Settings > About Phone and tap “Build number” seven times. You will receive notification that your phone now has developer options enabled.

          • Settings > System > Developer Options > Linux development environment. On that page, tap the On/Off slider.

          • You will find an icon for the new Terminal app on your home screen. It’s going to download 500 MB of data when you open it.

          • Long-press the Terminal app icon, tap Info > Mobile data, and enable Unrestricted data usage.

          • Now you can download more packages inside your Linux virtual machine using apt-get command, as described in my previous post.

      • Psythik@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        19 hours ago

        Why do you have to emulate Linux on Android? Correct me if I’m wrong, but I thought Android was Linux?

        • pelya@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          19 hours ago

          Yup, Android is Linux, but you can’t run desktop apps on it like Gimp or LibreOffice or VS Code, that’s what Linux terminal is capable of.