• u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    36
    ·
    6 months ago

    Termux, definitely Termux. Best terminal emulator for Android.
    It basically gives your phone as much power as you can get from a locked down system.

    You can even install GUI in it. I use XFCE. Pretty useful for Handbrake as I am too dumb for ffmpeg, Firefox (desktop) because it won’t crash with huge uploads to e.g.: OneDrive like every mobile web browser when you lock your phone, NOAA-APT to decode APT imagery from NOAA 15, 18 and 19 satellites.

    Just some examples from what I use it for:

    • ping
    • traceroute
    • telnet/ssh client
    • wget for serious downloads and poor man website mirroring
    • tar for creating archives
    • gpg for encrypting files
    • gzip for compressing files
    • touch for modifying timestamps
    • Vim for text editing (yes, I know)
    • rsync for backups (if not using tar)

    Now it gets even better

    • socat for port forwarding
    • VNC Server (tigervnc) for accessing the Termux GUI
    • SSH Server (OpenSSH) for remote CLI access and secure port forwarding
    • NGINX server for serving the websites you mirrored with wget and as a forward proxy for other web-related services (to get them on same port, add basic authentication, use HTTPS,…). I also use it for serving videos in a lazy way (checkout fancyindex module).
    • kiwix-serve for serving archives from kiwix.org. I have (not only) the whole motherfucking English Wikipedia on my phone (110GB)!
    • Navidrome server to stream music locally stored on my phone (currently 1,339 songs at ~23GB) with a nice web-ui. Also supports adding internet radios.
    • Jellyfin server (under Ubuntu proot) if you have some movies too. I ditched this idea, but I tried it, and it works.
    • cloudflared for creating Cloudflare tunnels to perhaps access this from internet (if you feel OK about that). You can test it by creating quick tunnel which doesn’t even require account (limited to HTTP).
    • HTTP proxy server (tinyproxy) to use my phone for internet access (will also route it over VPN). If your carrier restricts hotspot usage, this is the way. For me it’s useful to circumvent blocking on school network without the need for any extra software on school PCs.

    You get the idea. Plenty of stuff to do with it.
    You can also run these distros under proot with proot-distro easily:
    Alpine, Arch, Artix, Debian, Deepin, Fedora, Manjaro, OpenKylin, OpenSUSE, Pardus, Ubuntu, Void.

    Oh, now for a warning. Things like NGINX save error logs to your storage by default. Sometimes (e.g.: your phone disconnected from Wi-Fi making an active interface disappear and logs being firehosed) they can rapidly fill it up. INTERNAL STORAGE FULL TO THE LAST BYTE MAY CAUSE A BOOTLOOP!!! (Guess how I know)

    In my case forcing it to reboot into recovery, shutting it down, and booting it up manually (instead of auto reboot after system crash) did the trick, freeing 17MB, enough to boot up.

    • kirk781@discuss.tchncs.de
      link
      fedilink
      arrow-up
      5
      ·
      6 months ago

      I have used Termux, even have it installed right now but apart from the odd cron job, I never used it for something heavy. You, sir, are basically running full fledged Linux with it.

    • greencactus@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      It sounds absolutely and completely overpowered for a phone… … Well, what did I expect ¯\_(ツ)_/¯

      • u/lukmly013 💾 (lemmy.sdf.org)@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        Depends on what I do with it. Usually the only noticeable drain is WiFi being active.

        But for example encrypting and compressing large files will absolutely toast the phone.

        The errors can be a problem, even if they aren’t written to a file. For example with tinyproxy. Disconnecting the network interface it’s running on won’t shut it down, it just keeps producing errors and clearly doing something as it can really heat up the phone.
        This is what it spits out (as fast as it can):

        ...
        ERROR     May 25 13:01:06.107 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.107 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.107 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.107 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.112 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.112 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.112 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.112 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.112 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.112 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.114 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.114 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.114 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.114 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.114 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ERROR     May 25 13:01:06.114 [9701]: Accept returned an error (Invalid argument) ... retrying.
        ...
        

        Which is also why I run it with -d which keeps it in foreground and this goes to stdout/stderr instead of a file. I keep everything I can in foreground. I can have multiple sessions open and just CTRL-C anything.

    • mesamune@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      6 months ago

      I have an RTLSDR any good beginner friendly apps for it? Ive used a pi for NOAA before and it worked really well with SATNOGs. Being on the go with it would be fun.

  • (⬤ᴥ⬤)@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    25
    ·
    6 months ago

    i like breezy weather as a weather app
    binary eye for scanning qr codes
    aegis authenticator to replace google authenticator
    adaway to block ads on certain apps, not perfect but better than nothing

    • Majestix@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      I reccomend Rethink DNS instead of Adaway. Might be overkill, but you can just disable those features.

  • KammicRelief@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    6 months ago

    I had to uninstall Vector Pinball because it was TOO favorite. Like, the motion sensor lights in the bathroom at work would shut off.

    • Cheradenine
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      6 months ago

      Seems greatly overlooked. Previously I used InviziblePro, RethinkDNS is much superior. I can’t imagine Android without it.

      Customizable DNS blocking, firewall, great logging, Wireguard and Orbot integration. Even GrapheneOS recommends it for a DNS block.

    • gigachad
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      It’s really a great app and has replaced AdAway for me completely.

      Just because somebody might now the answer here: Sometimes the DNS is offline but I do not notice that have no internet connection. Only later I notice I had “No internet” the whole day. Anybody knows if there is a way to enable a notification when that happens? Not sure if I explained correctly.

    • kirk781@discuss.tchncs.de
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      Simple suite of apps used to be good until the dev sold it to some company, I think. The versions on F Droid are still clean, but on Play Store, they are riddled with ads until you pay, I think.

      • SanguinePar@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        Yeah, agreed, that’s what I mean. I use Fossify now, but the apps are basically identical, without the crap.

  • Saltarello@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    6 months ago

    Everyone knows the popular ones so here’s a shout out to a few that are perhaps not so commonly known:

    • whoBIRD - Shazam for birds
    • Subz - Subscription manager
    • zCard - Loyalty/membership/store card wallet

    My most used can no longer live without app:

    • Joplin - Note taking. Various sync options. Brilliant app, helpful community & very regular updates (especially desktop)
    • MeDuViNoX
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      I got it from the regular play store and I’m on it right now. Is it any different from F-droid?

  • puppy@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    6 months ago

    Fennec, a flavour of Firefox that strangely consumes much less battery than the official Firefox app.

  • lud@lemm.ee
    link
    fedilink
    arrow-up
    8
    ·
    6 months ago

    Binary eye. The best damn QR (and other codes) scanner there is.

    It’s also on the play store but I don’t care I just like it a lot.

  • whaleross@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    6 months ago

    FairEmail. I got fed up with the Gmail app injecting ads despite I pay for storage and services. FairEmail is not beautiful by modern standards but with some tweaking I can live with it, no problem.