• cmeu@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    41
    ·
    2 days 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 🤷‍♂️

    • skuzz@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      31 minutes ago

      This sums up my frustration these past decades. Smartphones were originally limited due to lack of power and resources, I was ok with that. Working on the iPhone and having access to the internals, as an engineer it made sense they were limited until security was figured out. You want an always online pocket computer to be secure.

      …but we figured it all out, and instead of the phone becoming more open like the Mac, the Mac started becoming more closed like the phone. Gave up on the platform, at least Android was open-source and open hardware, mostly…

      …but then they copied Apple and started making closed source binaries to replace the open ones, now Google doesn’t know what they want to be when they grow up, after their “everything is free through ads” business model fell apart. Apple, Google, and Samsung now just copy each others’ stupid decisions and true innovation has mostly died in that space. (Especially right now with them all snorting the “AI” cocaine.)

      …pretty much gave up on the dream of a pocket computer and started collecting watches, went back to a laptop. (Which I can’t get Debian to run on natively due to a glitch in how the mobo handles NVMe SSDs, disk randomly falls off while running. Didn’t have patience to troubleshoot after a few weeks work and a corrupted OS.)

      Would like a nice early 00’s dumbphone with a decent camera now, but all the “dumbphones” today are terrible by comparison. They just shoehorn some mediocre linux or Android lite on am underpowered SOC and call it good. And carriers have rushed so hard to get to this 5G future, a future where many are stuck in non-standalone for the foreseeable future and selling home broadband is the only real use they’ve come up with, so real dumbphones no longer work on their networks.

    • Derin@lemmy.beru.co
      link
      fedilink
      English
      arrow-up
      15
      ·
      2 days 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
        4
        ·
        1 day 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 day 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
            1
            ·
            22 hours 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
              ·
              21 hours 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!

    • psud@aussie.zone
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      2 days ago

      Last I looked you could pretty easily get root on many phones, just if you did you couldn’t use stuff that checks the device security

      If you want to carry two phones you could use one for banks and 2 factor authentication, and have root on the other