• cmeu@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    44
    ·
    1 month ago

    I just need sudo and a package manager

    The promise of the smart phone was a mini computer in your pocket. I think we got it, but then the vendor locked the user out of admin on their own bought and paid hardware 🤷‍♂️

    • Derin@lemmy.beru.co
      link
      fedilink
      English
      arrow-up
      17
      ·
      1 month ago

      Try Termux, it’s great.

      While it doesn’t get you sudo, it does get you a package manager and a decent amount of programs.

      I use it and rclone to sync my cell phone’s photos to a S3 bucket.

      • Ace! _SL/S@ani.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 month ago

        You can totally use sudo if you’re rooted. Using su also allows you to acces your native shell instead of Termuxs

        • Derin@lemmy.beru.co
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          You’re totally right, but I wasn’t assuming they had a rooted phone.

          Is there any difference between the native shell and Termux’s? I just installed fish and chsh’ed it to default: after syncing over all my dotfiles it looks and acts as expected.

          • Ace! _SL/S@ani.social
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 month ago

            Is there any difference between the native shell and Termux’s? I just installed fish and chsh’ed it to default: after syncing over all my dotfiles it looks and acts as expected.

            I did the same, but that’s not what I’m talking about.

            I don’t know for sure, but if I hat to guess I’d say that Termux uses chroot to emulate a more Linuxy experience by changing your root to /data/data/com.termux/files/ with it’s own bin, etc, lib and so on directories

            Using su you escape that chroot and start using your roms root directory at /

            I might be totally wrong with this, but that should hopefully clarify the way it behaves

            • Derin@lemmy.beru.co
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 month ago

              Aah, okay.

              I don’t mind the chroot too much, especially as you can just use Termux’s termux-setup-storage script for accessing files.

              But, yeah, I can see how one would want to use su for that!

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 month ago

    Terminal applications only? Or does that make me able to run LibreOffice, Kdenlive and whatever I like?

    • woelkchen@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 month ago

      Terminal applications only?

      As a first step definitively, simply because such a feature needs to start somewhere and text mode is easier than writing a wrapper for graphics systems.

      Or does that make me able to run LibreOffice, Kdenlive and whatever I like?

      I’m thinking that this is the end goal. Google struggles to get desktop-like apps onto Android tablets. Many people use iPads as primary work computer these days. My employer is switching to them and we’re late to the party.

      An audacious step for Google would be to distribute Flatpaks in the Play Store. That’s very unlikely but it’s technically a possibility.

      Also, Steam integrating an x86 emulator for ARM devices makes even more sense now. I thought it’s mainly for ARM Chromebooks but Android tablets getting an “Install Steam” button and becoming more compatible to games than Windows on ARM would be so bonkers.

      • hendrik@palaver.p3x.de
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 month ago

        Okay. I mean I already have Termux for that. And I don’t think a phone or tablet is a good device to operate the terminal or type in VI key bindings. They’re much more made for graphical applications and touching buttons and graphical elements. Let’s see where this is going. I still like using computers and having like 105 proper keys accessible for my fingers. Especially if my mode of interacting with the device is typing in text. And not clicking on things. But I get that nowadays lots of people use tablets and phones and stuff. And this certainly is a necessary first step.

  • m-p{3}@lemmy.ca
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 month ago

    Nice, so I’ll have a workaround if Termux is too crippled by Android’s restriction.

    I need yt-dlp in my pocket 😬

  • badbytes@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    1
    ·
    1 month ago

    They run like shit on ChromeOS, so Google can shove it where the sun don’t shine.