this post was submitted on 22 Jan 2024
280 points (96.7% liked)
Asklemmy
43851 readers
1703 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy π
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Termux
Holy hell. So much it can do. Right now I am using it to transcode MPEG2 videos to AV1. With CRF 25, Preset 5, with a 480p30 video I get 5fps in Termux on my older Snapdragon 860. Meanwhile my laptop's Ryzen 3 3200U does 2fps.
You can run different server applications. Some are supported natively (e.g.: Tinyproxy, Privoxy, Squid HTTP proxy, apache2, nginx, navidrome, OpenSSH, TigerVNC, rsync, xorg-server, xwayland, xrdp,...) and some can run in proot (e.g.: Jellyfin, NextCloud). If you already have some web server and want it public, there's cloudflared too, so you can access it via Cloudflare tunnel.
RTL-SDR driver
Allows connecting RTL-SDR on Android and starting RTL-TCP server.
SDR++
The best general-purpose SDR app available on Android, GNU+Linux, Windows and MacOS.
KDE Connect
Nicely connects phone with a computer. Data transfers, remote control, finding your phone, synchronizing notifications.
LibreTorrent
Great client for Android.
There's more, but those I don't use daily, or have already been mentioned.
I understood a couple of those words...
For iOS folks, a-shell and iSH can do what termux is doing on Android. Ffmpeg, most userland Linux things.
Both are open source.
Yeah, I remember iSH being on TestFlight and just being blown away. Like what it could do on an iPhone 6S as an app.
Still is. Still is the best of its class, too. Spectacular work.
Can you link to some tutorials to learn to do what you describe here? Specially termux all I found was a Linux terminal emulator for android
Thats the termux they are referring to
Termux (web link) for more information.
Install it though F-Droid, third party app store.
I have many doubts, I'll try to quote each.
Is this good or bad for Termux? I'm kinda inclined to think it is good (I have a SD 865 so I'm extra curious).
I have read about the self hosting possibilities before for sure and while I will always find it amazing I would die inside if I had to use my phone (and specifically Termux, since I think text selection, copy/paste and overall typing is bad on it), that without proper hardware ofc (like external mouse and keyboard... Or a UI like DeX) so I gotta ask, do you use any of those services? If yes do you have some of those tools I just mentioned?
I kinda want to know what you meant here.
I only know SDR from the video format scene, and I know you want HDR or better.
This is cool, and I didn't know about it, but surely there are better options to use torrent on Android?
I kinda want to know what more, because honestly, if Termux was paid you would almost sell it to me π€£
RTL-SDR is basically a way of using a digital device as a broadband radio. That is an oversimplification, but that is the idea. There are cheap USB devices out there that will turn a PC into a ham radio receiver (among a really wide range of other bands like weather satellites). I have no idea how they are doing it with Android, however. Maybe using the phone's antenna.
Oooh, how neat! Off to do web searches for more info I go!
If you want to start just listening right away, for free, there's WebSDRs accross the world at websdr.org
Firefox is recommended due to sound issues in Chrome on some web SDRs.
Sweeeet! Thank you so much! That was super fun to play with and I'm looking forward to trying it out again another day :)
I almost hate to recommend it, but r/rtlsdr is the place to go.
I appreciate that! & I totally understand. Unfortunately, they really cornered the market for quite a few niche little hobbies' communities that used to be more filled out with independent and individual forums and sites before they took over. Such is life, eh?
Indeed, but everything you need is there. And I'll throw one in for free and it is awesome to get started: http://websdr.org/
I am sorry for not responding quicker, but I was at school and I am also tired, so don't expect a high quality reply.
I have no idea. My phone and laptop are the 2 only pieces of hardware to test with. I also wanted to try OnWorks, but getting the file to that seems fairly painful. Downloading that particular video from archive.org is too slow, trying to get it from FileNow where I uploaded it would hang every 14MB and fail. The only working "solution" was running nginx webserver with that file there in Termux and creating Cloudflare QuickTunnel, but my mobile data is slow and we don't have internet at home. So I just didn't get to try it.
I have only tried Jellyfin briefly and want to try running NextCloud when I'll have time for it, as that seems more painful looking at the guides on internet. Jellyfin just didn't fit my use case, so I replaced it for nginx with fancyindex module and Material theme.
I don't have a problem using the touchscreen. Copy-paste works pretty well, like with any other text. Just a little tip: Home puts you on start of the line and End at its end.
But anyway, I do often use a hardware keyboard. Sort of. I don't attach it to my phone, instead I SSH into my phone from some computer, be it my laptop or school PC. For GUI I can also use VNC server. Keep in mind VNC isn't encrypted by default. There's VNC-TLS and X509, but I have no idea how to deal with certificates, which allows anyone to do MITM attack on me. Simplest solution is running it over SSH tunnel, at which point I can use unencrypted VNC which is compatible with more programs.
RTL-SDR is one of the SDRs (Software Defined Radio) that I have. I also have a clone of RSP1. I don't know where I would start on that. It allows a lot. But after all, you can just search "What to do with SDR" yourself, and find countless answers.
My most favorite use is receiving satellite signals. So far only in the 137MHz band because I don't have a satellite dish. In this case V-Dipole is enough. Since I have the RTL-SDR Blog's extendable dipole, I can fit a satellite imagery receiving station into my pocket.
Check !amateursatellites@lemmy.world
Example image that I received over APT (it's analog signal, old-school tech):
I used noaa-apt, again in Termux, to decode it.
Or perhaps this catches your interest: Cracking GSM phone calls and SMS with SDR (YouTube playlist) which is obviously illegal. It also only works for the weak A5/1 encryption and only with GSM (2G). While newer standards are sure safer, don't trust anything that's not E2EE at all anyway.
Yep, SDR = Software Defined Radio.
I am not sure. LibreTorrent works well for me.
I meant other FOSS apps, not stuff in Termux. But it's like a locked down GNU+Linux machine, so it just does a lot of Linux things. Thanks to
proot-distro
or Andronix scripts you can even have Ubuntu, Arch Linux or other distros on it. That's what you need for Jellyfin for example. Just keep in mind that your phone is most likely aarch64 and Termux doesn't emulate other architectures. Though it can run QEMU π (but if you tried Limbo PC Emulator x86 you understand how useless it is with anything better than Windows 98). I did get that to run Windows 7, yes, but even just opening a file browser took a few minutes.Anyway, cursed screenshot as a bonus:
Even though it CAN be done doesn't mean you SHOULD. I already cooked 1 Poco X3 Pro motherboard to its death.
Here is an alternative Piped link(s):
Cracking GSM phone calls and SMS with SDR (YouTube playlist)
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I'm open-source; check me out at GitHub.