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


Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.
The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:
1. All posts must be relevant to Android devices/operating system.
2. Posts cannot be illegal or NSFW material.
3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.
4. Non-whitelisted bots will be banned.
5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.
6. Memes are not allowed to be posts, but are allowed in the comments.
7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.
8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.
Community Resources:
We are Android girls*,
In our Lemmy.world.
The back is plastic,
It’s fantastic.
*Well, not just girls: people of all gender identities are welcomed here.
Our Partner Communities:
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.
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.
Should be doable with Termux:
termux-sms-listandtermux-sms-sendcommands);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.
I don’t know but I would try Tasker if it were me.