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.

permalink
report
reply
5 points
*

you can install firefox desktop with termux? how?

permalink
report
parent
reply

First you need to set up GUI: https://wiki.termux.com/wiki/Graphical_Environment
You could also use Firefox without WM or DE, but it’s not nice.

Since you already enabled the x11-repo in this step, you can just pkg install firefox.

VNC Client: https://github.com/bk138/multivnc

permalink
report
parent
reply
10 points

What the fuck

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
1 point

How bad is the battery drain?

permalink
report
parent
reply

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.

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply

SDR++ is great for both desktop and Android: https://github.com/AlexandreRouma/SDRPlusPlus

Unfortunately, it’s sometimes a bit buggy, but it’s by far the best there is. Well, these are nightly builds, so I guess it’s expected.

There’s also SatDump which has many decoders, including NOAA APT and Meteor LRPT: https://www.satdump.org/download/

permalink
report
parent
reply
1 point

Thanks ill give them a shot!

permalink
report
parent
reply
29 points

Tubular. It’s a fork of newpipe incorporating sponsorblock and youtube dislike.

permalink
report
reply
5 points

This doesn’t show when i search for it on F-Droid 🤔

permalink
report
parent
reply
12 points

It’s in IzzyOnDroid repo

permalink
report
parent
reply
2 points

Ooooh i haven’t added any additional repos. I should get on that, lol. Thank you.

permalink
report
parent
reply
4 points

I like pipepipe cause it lets you see comment chains instead of just the top one

permalink
report
parent
reply
6 points

Tubular does this now too

permalink
report
parent
reply
2 points

So does newpipe

permalink
report
parent
reply
1 point

It is honestly better than YouTube Premium. Watt Google should offer as part of its paid suite, an open source software does it.

permalink
report
parent
reply
25 points

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

permalink
report
reply
2 points

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

permalink
report
parent
reply
19 points

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

permalink
report
reply
4 points

Fuck. Why are you telling us about it?

I should have never installed it, damn it

permalink
report
parent
reply
3 points

Lol! It’s so good though! I’m sure I’ll have another fling with it before long.

permalink
report
parent
reply
14 points

Nobody seems to mention Rethink DNS.

permalink
report
reply
3 points
*

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
1 point

DNS + firewall + VPN

Oooohhh, that’s a lot in one app. My suspicions are raised…

permalink
report
parent
reply

Ask Lemmy

!asklemmy@lemmy.world

Create post

A Fediverse community for open-ended, thought provoking questions

Please don’t post about US Politics. If you need to do this, try !politicaldiscussion@lemmy.world


Rules: (interactive)


1) Be nice and; have fun

Doxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can’t say something nice, don’t say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'

This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spam

Please do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reason

Just remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.

It is not a place for ‘how do I?’, type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


Community stats

  • 11K

    Monthly active users

  • 4.3K

    Posts

  • 228K

    Comments