Skip to content

aj3423/SpamBlocker

Repository files navigation

SpamBlocker

Android Call/SMS blocker. (Android 10+)

SpamBlocker Get it on F-Droid Get it on Obtainium Get it on Github

Table of Contents

Screenshots

History Settings Notification

How it works

It works without replacing your call/SMS app.

  • For call:
      It's the Caller ID app.
  • For SMS:
      It takes over SMS notifications but only filters them, spam messages will still appear in the SMS app.

You can kill the app after setup, it doesn’t need to stay running in the background.

Features:

Filter It checks
Contacts From a contact?
Contact Group From a contact group?
Contact Prefix Matches prefix of an existing contact? Use case: save one clinic number xxxx22 to allow its full range xxxx11-xxxx99
STIR/SHAKEN Fails STIR/SHAKEN attestation?
Repeated Calls Multiple calls from the same number in a short while?
Dialed Number Have you dialed the number?
Answered Number Allow previously answered numbers
Emergency Allow calls for a while after dialing an emergency number
Push Alert Allow calls after receiving notifications from other apps, e.g.: "Your order has been taken by driver ...", the driver may then contact you.
SMS Alert Allow calls after receiving SMS messages like: "[From ...] We are calling to inform ..., please feel free to answer."
SMS Bomb Block continuous OTP message floods
Recent Apps Allow calls if some apps have been used recently.
Use case:
  You ordered Pizza online and soon they call you to refund.
Meeting Mode Decline calls during online video meetings.
Off Time A time period that always allows calls, usually no spams at night.
Spam Database If it exists in the spam database. Any public downloadable spam databases can be integrated, such as the DNC.
Schedule & Calendar Auto adjust rules based on time schedule and calendar events
Geolocation & Carrier Block numbers based on geolocation or carrier name
CNAP The caller's display name
Instant Query Check the incoming number online in real time, querying multiple API endpoints simultaneously, such as the PhoneBlock.
Report Spam Automatically or manually report the number to build our crowd-sourced databases, protecting others and yourself.
Regex
(regular expression)
Check the Wiki for examples.

Limitations

FAQ

Permissions

Permission (all optional) Why
INTERNET For database downloading / instant query / number reporting
ANSWER_PHONE_CALLS Reject, answer and hang-up calls
POST_NOTIFICATIONS Show notifications
READ_CONTACTS Match contacts
RECEIVE_SMS / RECEIVE_MMS For SMS notification screening
READ_CALL_LOG / READ_SMS For allowing repeated calls
PACKAGE_USAGE_STATS For feature: Recent Apps (check whether an app has been used recently)
READ_PHONE_STATE For BlockMode: Answer+Hang-up (monitor ringing state)
REQUEST_IGNORE_BATTERY_OPTIMIZATIONS For it to keep working after being swiped and killed
NOTIFICATION_ACCESS For feature: Push Alert (receiving notifications from other apps)
WRITE_SETTINGS For customizing call ringtone
READ_LOG For reporting bugs with logcat messages
SYSTEM_ALERT_WINDOW For the caller ID floating window

Privacy

  • For offline features

    No data collection.

  • For online features:

    The API endpoints will see your:

    • IP address
    • TLS and TCP fingerprints (which would reveal your Android version)
    • The reported number(including the country code)

    Nothing else.

    You can also disable the internet access , or download the offline apk from the release page.

  • No communication with other apps

  • Reproducible apk

  • Apk signing signature:

    apksigner verify --print-certs SpamBlocker.apk

    7b1ce727856f3427eab1fadfad6c9730cd4e6ba201661547f009206377dffb58

Full Privacy Policy

Support

  • Most problems are already covered in the issue list, please search first.
  • There's a matrix channel.

Language support

Languages are translated using AI, PRs for corrections are welcome.

Contributing

Some ideas

Donate

❤️ https://aj3423.github.io/donate

About

Android Call/SMS blocker.

Resources

License

Contributing

Stars

Watchers

Forks

Contributors