• atmorous@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      13 days ago

      Updated my post I put wrong thing. Does it apply to LineageOS as well?

      But thanks for that too. That will help with other devices that run regular Android

      Thank you!!!

      • testman@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        12 days ago

        LineageOS 22.2 (on FP4) does not seem to have that option yet.
        At least, it is not listed in the developer options.
        You can find it if you tap on the search button within developer options (or just general settings, as that also includes results from developer options) and type “terminal” or “linux”.
        The (Experimental) Run Linux terminal on Android result shows up.
        But after you tap on that, you see that toggle is greyed out. Can’t be enabled.

        I am interested in getting that to work, so any help is appreciated.
        There is hopefully some ADB command or something that forcefully enables Linux environment.

  • yogurtwrong@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    8 days ago

    If you got root, running a Linux container under chroot is faster than proot so use that instead.

    And if you want a full blown Linux distro then Ubuntu touch or postmarketos it is. Look into libhybris if you want your own distro on your phone

    I had plans on testing a dualbooted Linux/Android setup by reflashing the boot partition every time I wanted to switch but haven’t done it yet

  • utopiah@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    12 days ago

    Depends what you mean by “Linux” here.

    It’s probably not the kernel itself, so do you mean

    • a terminal e.g. a working shell where you can run commands e.g. ls | wc -l ?
    • headless containers, e.g. services like Immich accessed elsewhere?
    • a window manager e.g. KDE or Gnome?
    • a software with a visual interface, or GUI, e.g. GCompris?

    Based on that then one can answer if Termux is sufficient (or “legitimate”) or if something else is needed.

    PS: You can read some of my notes on termux on different Android devices at https://fabien.benetou.fr/Tools/Android