Hi,
I would like to forward automatically Text messages.
A couples of years before, I was doing it easily with some FLOSS apps
But none of those apps (I keep the apk ;) ) works anymore on “recent” AOSP[1] phone 🤨 ( Thanks to g**gle, to not take care of retro-compatibility )…
So, I lost time to dig for new apps (FLOSS and not)
- https://f-droid.org/en/packages/com.pierreduchemin.smsforward/ The GUI is launching, but nothing happen… not even an error message.
- https://apkpure.com/sms-forwarder/com.frzinapps.smsforward in addition do not be FLOSS it weight 70MB XD !!! , no thank you.
I’m willing to write a “Shell” script to run under Android, to just do that (I’ve never developed for Android, so if you have any advice I’m all ears )
or any other solution like
- Linux phone ROM ( without systemd )
- or maybe a simcard dongle, to allow my Linux computer to receive/send text ?
Considering your other solution parts include simcard dongle, maybe look at KDE Connect to send/receive sms on your linux machine?
https://community.kde.org/KDEConnect#Desktop_SMS_Messaging_App

Yeah, that’s what I’m doing. I’m running a de-Googled Android (/e/OS on a Fairphone 6) and using the KDE Connect app on there to sync up with my desktop (via GSConnect in NixOS since I’m running GNOME, though KDE Connect would be preferable if you’re running Plasma). It’s not perfect, and I’ve run into a few bugs (especially with regard to group messages), but it’s surprisingly reliable otherwise.
Should be doable with Termux:
- https://f-droid.org/packages/com.termux (the terminal emulator itself);
- https://f-droid.org/packages/com.termux.api (for
termux-sms-listandtermux-sms-sendcommands); - https://f-droid.org/packages/com.termux.boot (to make the script launch automatically after reboots; don’t forget a wake lock to keep the process alive).
termux-sms-listreturns messages in JSON, which is easy enough to handle with, say,jqin bash orjsonin python. The script itself can be a simple loop that fetches the latest messages every few minutes, filters for unprocessed ones from whitelisted numbers and callstermux-sms-send.Maybe it’d make sense to daemonise the script and launch it via
sv.But the Termux app weighs quite a bit itself.
Wow, I was looking for a project idea and if this is open I’d love to fill in the feature vacuum. I’ll need to learn a bunch of stuff though.
I don’t know but I would try Tasker if it were me.


