291
submitted 11 months ago by hai@lemmy.ml to c/asklemmy@lemmy.ml

Try to avoid duplicates, keep it interesting.

you are viewing a single comment's thread
view the rest of the comments
[-] user224@lemmy.sdf.org 36 points 11 months ago
  • 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.

[-] RainfallSonata@lemmy.world 26 points 11 months ago

I understood a couple of those words...

[-] damnthefilibuster@lemmy.world 6 points 11 months ago

For iOS folks, a-shell and iSH can do what termux is doing on Android. Ffmpeg, most userland Linux things.

Both are open source.

[-] hai@lemmy.ml 5 points 11 months ago

Yeah, I remember iSH being on TestFlight and just being blown away. Like what it could do on an iPhone 6S as an app.

[-] lars@lemmy.sdf.org 1 points 11 months ago

Still is. Still is the best of its class, too. Spectacular work.

[-] Cl1nk@sh.itjust.works 3 points 11 months ago

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

[-] caoimhinr@lemmy.world 4 points 11 months ago

Install it though F-Droid, third party app store.

[-] kratoz29@lemm.ee 1 points 11 months ago

I have many doubts, I'll try to quote each.

I get 5fps in Termux on my older Snapdragon 860. Meanwhile my laptop's Ryzen 3 3200U does 2fps.

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).

(e.g.: Jellyfin, NextCloud).

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?

RTL-SDR driver
Allows connecting RTL-SDR on Android and starting RTL-TCP server.

I kinda want to know what you meant here.

SDR++
The best general-purpose SDR app available on Android, GNU+Linux, Windows and MacOS.

I only know SDR from the video format scene, and I know you want HDR or better.

LibreTorrent
Great client for Android.

This is cool, and I didn't know about it, but surely there are better options to use torrent on Android?

There's more, but those I don't use daily, or have already been mentioned.

I kinda want to know what more, because honestly, if Termux was paid you would almost sell it to me 🤣

[-] jawa21@startrek.website 3 points 11 months ago

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.

[-] Zoop@beehaw.org 2 points 11 months ago

Oooh, how neat! Off to do web searches for more info I go!

[-] jawa21@startrek.website 4 points 11 months ago

I almost hate to recommend it, but r/rtlsdr is the place to go.

[-] Zoop@beehaw.org 2 points 11 months ago

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?

[-] jawa21@startrek.website 3 points 11 months ago

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/

[-] user224@lemmy.sdf.org 4 points 11 months ago

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.

[-] Zoop@beehaw.org 2 points 11 months ago

Sweeeet! Thank you so much! That was super fun to play with and I'm looking forward to trying it out again another day :)

[-] user224@lemmy.sdf.org 3 points 11 months ago* (last edited 11 months ago)

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.

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 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 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 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.

I kinda want to know what you meant here.

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.

I only know SDR from the video format scene, and I know you want HDR or better.

Yep, SDR = Software Defined Radio.

This is cool, and I didn’t know about it, but surely there are better options to use torrent on Android?

I am not sure. LibreTorrent works well for me.

I kinda want to know what more, because honestly, if Termux was paid you would almost sell it to 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.

[-] PipedLinkBot@feddit.rocks 1 points 11 months ago

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.

this post was submitted on 22 Jan 2024
291 points (96.8% liked)

Asklemmy

44148 readers
1683 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!

  1. Open-ended question
  2. 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.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS