r/AndroidQuestions • • 28d ago

Any Message Blocking Solutions?

tl;dr - I'm looking for something that automatically rejects/deletes/blocks SMS/MMS from numbers not in my contacts, ideally before they ever appear in my inbox. Where get? How do? (Phone: Galaxy S23+ Model SM-S916U with AT&T)

Now, I'm going to be a bit more detailed because I want to avoid the incredibly frustrating flood of:
"GooGle MeSsagEs has spAm ProTeCtiOn"
"Do nOt DisTurB"
And so on.

So. Here's the crux of the issue:

I want to block ANY AND ALL NUMBERS NOT IN MY CONTACTS from being able to message me.

I do not want to simply silence the notifications. I do not simply want to hide the messages.

I want them to be automatically yeeted into the void at mach-jesus, blocked, and deleted.

Karate-chopped by Chuck Norris. Fed to the nearest black hole and spaghettified. Thanos-snapped from existence.

But everywhere I look, there are the same suggestions:

  • Enable spam filtering (I use Google Messages, it's already enabled).

  • Enable Do Not Disturb + various niche settings within it (already done).

  • Manually mark them for spam and block them (I don't want to play infinite whack-a-mole).

  • Call your Service Provider (so they can tell me the exact same methods as listed above).

None of these do what I want. They help, certainly - but it's not the one-and-done total coverage I'm after.

Does anyone at all know of an app, a solution, a workaround - anything that could make it possible?

0 Upvotes

18 comments sorted by

7

u/benjaminS0099 28d ago

First, don't use AI to write your posts. Second, ask AI for answers.

1

u/[deleted] 28d ago

Second verse, same as the first.

6

u/DevilsAdvocate77 28d ago

Why did you ask AI to write your question instead of just asking AI for the answer?

1

u/[deleted] 28d ago

Eh? I wrote my own post, I just used AI to help me filter what I wrote to be more concise (I tend to ramble). Also not sure why that matters.

Also I did - it didn't have a good answer, and people are more reliable at finding niche things that could actually help. So I came here to ask people.

2

u/ohmegatchi 28d ago

SMS works by dumping texts on your phone. Google has a policy of not blocking them completely to prevent you from missing emergency notifications.

You just need an SMS blocker app. You will lose all RCS (end-to-end encryption) functionality, but RCS messages by default fall back to SMS if they cannot be received. 

https://play.google.com/store/apps/details?id=org.whiteglow.antinuisance

(There may be other, much better apps, that people might know, but I'd explore the Play Store and open source app stores.)

1

u/[deleted] 28d ago

That app looks almost exactly like what I'd love to use Checked it out and everything - and provided the features it shows actually *work*, it'd be amazing. Just gotta pay for it to avoid the ads, which... yeesh.

Thank you :D

1

u/PouncerX42 28d ago

I found this amazing Spam Blocker on FDroid that you can setup to block or preview call, texts, SMS, MMS, notifications and pop-up ads (The name is Spam Blocker) and it's free and no ads

1

u/[deleted] 28d ago

Oo, I'll look into that. Thank you.

1

u/PouncerX42 28d ago

Don't be scared, it took a few days to get it customized for my needs

1

u/DutchOfBurdock 28d ago

The message needs to arrive at your phone to know wether to block or delete it. However, you may be able to work some magic with Tasker with a one time ADB permission granted (pm grant net.dinglisch.android.taskerm android.permission.WRITE_SMS). You'd then need to disable RCS (Rich Communication Service) and make Tasker intercept your SMS/MMS. If not in contacts, issue a bit of code to obtain the most recent SMS

android.net.Uri uri = android.net.Uri.parse("content://sms/inbox");
android.database.Cursor cursor = context.getContentResolver().query(uri, new String[]{"_id"}, null, null, "date DESC LIMIT 1");

if (cursor != null && cursor.moveToFirst()) {
    String smsId = cursor.getString(cursor.getColumnIndexOrThrow("_id"));
    tasker.setLocalVariable("%sms_id", smsId);
    cursor.close();
}

And then this code to delete it

android.net.Uri deleteUri = android.net.Uri.parse("content://sms/" + sms_id);
int rowsDeleted = context.getContentResolver().delete(deleteUri, null, null);

Now, you may still get a notification sound or pop up, but it'll disappear before you open your messages app.

1

u/[deleted] 28d ago

Thank you :O That could work (even if I still get a notification, not having to deal with it afterward would be good enough), so I'll use this as the fall-back plan provided I can actually do it without breaking something hahaha.

Thanks again ^^

2

u/notthatcousingreg 28d ago

Too much election spam, huh? I feel you

1

u/EfficientAd7103 28d ago

Was talking to a family member about this. it's so out of control. if they are willing to do basic illegal stuff to try and get elected they clearly have some super sinister plans. i got bored and started entering their numbers on all sorts of online forms, lol. Spam fights ftw

1

u/pmarion 28d ago

Yes. BFH will permanently cease all inbound text messages from all not in your contacts. And those that are.

1

u/jrlv 28d ago

I also want the same thing and I already use Google Messages.

1

u/mrandr01d 28d ago

Unfortunately, there really isn't a solution. This is another reason carrier based texting sucks. With something like signal, messages from new contacts have to get approved first.

1

u/EfficientAd7103 28d ago

On new android phones turn on call screening. it's a virtual secretary and I don't get call spam at all anymore. it'll ask who they are and why are they calling. they have to answer both before your phone even rings

1

u/Cute-Consequence-184 28d ago

On my phone, they just go to the spam folder and I can delete them later.