A little background: In my country, carriers keep sending those annoying pop-up messages (I think they're called class-0 messages?). This has been the case for a couple of years and they won't stop no matter what you do. Anyway, it wasn't a big deal with my previous phones; I just learned to ignore them.
However, with my A30s (which I've had for a few months), I'm facing a critical issue where the screen will turn on for the message and never turn off unless I close the pop-up or manually turn it off by pressing the power button. There are basically two types of those messages:
Ones that show up after a call is ended (very annoying but avoidable if I remember to close the message after ending the call):
Ones that show up randomly (sometimes at night while I'm asleep. Screen stays on overnight and drains the battery):
I couldn't even tell which app is responsible for displaying those messages. Here's what I've tried:
Checked the permissions for the Messages app and the Phone app to see if there's something that controls this.
Disabled the "draw over other apps" permission for the Messages app.
Installed Google's Messages app and set it as default (since I can't uninstall or disable the main one).
I also checked the permissions for the "SIM toolkit" app but there were none. I tried disabling the notifications but the option was grayed out.
None of the above helped.
Does anyone know how to get rid of these messages?
Note: I want to avoid rooting the device or installing a custom rom.
I tried reporting this to Samsung but they weren't very helpful.