Location of blocked SMS list (Stock SMS App on Nougat) - Huawei Nova 2i (Mate 10 Lite / Honor 9i) Questions

Hi, I am going to move to Oreo or above for my RNE-L21 but I added a lot of numbers in SMS block list
including direct numbers and also keywords. I am using stock / default SMS app
But after update, I wont get that blocked list (the default app has no option of export)
So I was wondering if some one knows the exact location of such list (I am rooted with Super SU)

Related

How to write to SMS Content Provider in Android KitKat WITHOUT being default SMS app

Hello,
we know that Google made huge changes on SMS management with the release of Android 4.4 KitKat.
In summary:
1) the user can choose a default SMS application and only this app can write to SMS content provider.
2) now there are two broadcast SMS_RECEIVED_ACTION (for all apps) and SMS_DELIVER_ACTION (only for the default app). You will get notified about an incoming SMS with both, but you cannot abort the broadcast anymore
If you want to delete (or to restore) an SMS, you have to become default app temporarily, annoying the user with two mandatory prompts.
Looking in Android sources we can find out that the default SMS app gets a special permission to write SMS with App Ops:
Code:
// Allow OP_WRITE_SMS for the newly configured default SMS app.
appOps.setMode(AppOpsManager.OP_WRITE_SMS, applicationData.mUid,
applicationData.mPackageName, AppOpsManager.MODE_ALLOWED);
and we also know that there is still a way to access App Ops in Android 4.4 KitKat:
From shell:
Code:
adb shell am start -a android.settings.SETTINGS -e ":android:show_fragment" "com.android.settings.applications.AppOpsSummary"
From your app:
Code:
Intent intent = new Intent(Intent.ACTION_MAIN);
ComponentName cn = new ComponentName("com.android.settings", "com.android.settings.Settings");
intent.setComponent(cn);
intent.putExtra(":android:show_fragment", "com.android.settings.applications.AppOpsSummary");
startActivity(intent);
If you go to Messaging tab and look into permissions, you will find out that your non-default SMS app has WRITE SMS OFF. But you can also turn that ON because it isn't mutually exclusive with the default app.
You still require user interaction (but not root) or root access to write this secure setting.
I hope that some developer can benefit of this before Google lock down definitively App Ops access. Sorry, but it doesn't solve abort broadcast issue.
I found this issue on AOSP: https://code.google.com/p/android/issues/detail?id=61684
I also think that Google should change something with SMS. Why not let the user choose not one but more apps as "default" (like notification listener for example) and restore the ability to abort broadcast?
Best regards!
This has stopped working in 4.4.2.
Do anyone have an work around?
Bump - need a way to fix the problem with SMS filtering. Numbers I've blocked with another app still get into my inbox defeating the purpose.
Sent from my i337 on Roids using xda premium
Goliath27 said:
Bump - need a way to fix the problem with SMS filtering. Numbers I've blocked with another app still get into my inbox defeating the purpose.
Sent from my i337 on Roids using xda premium
Click to expand...
Click to collapse
+1
Sent from my EVO using Tapatalk
Edit : Answer Deleted
How update this settings in my app if I have root privileges?
Thanks

[HOW-TO] Restoring SMS Messages in KitKat (Specifically for SMS Backup+)

Hello fellow Blade lovers. My apologies if this topic has already been posted in the Blade section... I did a few keyword searches to check first, but didn't find anything, so thought I might make a post just in case others are having the same problem. Hopefully many of you will be loving and using KitKat for the trusty Blade brought to us by the amazing Zeelog over in Modaco.
If you are coming from another ROM you will most likely be backing up all your apps, call/text logs and other things. Whilst doing this process one of the minor problems I found was the change in permissions of how SMS messaging works in KitKat and how this affects SMS Backup/Restore apps - namely that when restoring text messages they don't re-appear. To be clear, this is nothing to do with Zeelog, this is a change to the way KitKat deals with messaging.
I cannot take any credit for this information - I did some searching on the internet and found a few different sites discussing this issue and possible solutions. All I am doing here is just highlighting the way to get it working specific to Zeelog's KitKat for Blade users when using the app SMS Backup+ by Jan Berkel. Of course, any ROM that has the 'App Ops' functionality will be able to employ this same fix. The theory would suggest that it would work for other similar SMS backup apps as well, but I have only tested it with this app. In brief (and from what I can make out), it relates to a change in KitKat where only the default designated SMS application has permissions to write to the SMS database.
In order to get it working, you need 'App Ops' - which Zeelog's KitKat has. So here is what you do after installing SMS Backup+ but before you use it to restore your text messages:
Go into Settings>Privacy
Go into the first option Privacy Guard
Press the MENU button (or select the 3 square dots top right on the screen) and select Advanced
Scroll to the right twice so you get to the MESSAGING section
Scroll down until you find SMS Backup+ and then select it
Scroll down until you find the parameter Write SMS DB and you will see it is set to DENIED
Change it to ALLOWED
That's it. Now when you restore your call and text logs you will get all your text messages back. From what I can see, there is no reason why you cannot leave it set to ALLOWED. Looking at the features of SMS Backup+, you can automate backups but not automate restores, so I cannot see any reason for putting it back to DENIED. I cannot comment on any other backup/restore apps as this is my app of choice - but I guess that if you are not sure then DENY it once you have restored your logs. Hope this helps.
It just occurred to me that if you are using a ROM which doesn't have 'App Ops' available, you could always installed Xposed, then install the App Ops module.

Multiple SMS Applications

Hello,
i own an OnePlus 2 which is rooted with the Exodus ROM with android 6.0 also the xposed Framework is installed.
At the Moment I try to use two SMS apps because i like some stuff in both but they both have disadvantages.
Is there any possibility to send SMS via both apps? Because everytime I try it I have to change the default messenger app.
I also try to change the permissions of the apps but it didn't help
have a nice day
Sir Hamburger
Hi, what you are hoping to do cannot be possible since the system accepts one sms app at a time, it's deeply coded and works with the sms push and the network provider. so you can't have both sms apps corresponding to the same network, system or device. the option is just not available yet. you have to choice either way.
First of all thank you steps parku for the answer.
I solved it now with a tasker profile with the secure settings extension
If you start an other sms app tasker sets it on default.
Kind regards
Sir Hamburger

6P with 6.0.1 won't keep default SMS app

Hi, so I recently started having issues with my default SMS app sticking. Only change I've made was installing a new SMS app (wanted something different than Verizon Message+)
Android 6.0.1 MTC20F.
It keeps switching around to any app that has SMS capability, so SMS Backup, Messenger (Facebook), Titanium Backup, but never Evolve (which I want) or Verizon Message+.
If I uninstall ALL those other apps, it works, but the problem is that I use those other apps. I've denied them SMS access and turned off SMS settings in the apps, set the default in the system settings.
Am I missing something? I just don't get it, never had an issue like this before.

Sent Messages (SMS/MMS) - Can't Backup or View Using Non-Stock App

My phone is an H910 running Oreo (stock; never rooted). I have used the stock Messaging app for SMS/MMS.
I am trying to backup all SMS/MMS and move to a different device so that I can delete them on my H910 to save space. There are about 1,200 messages to move. Ideally, I would like to be able to save all sent/received messages and open them in a messaging app on a different non-LG device. (I would like to open them via a messaging app installed to BlueStacks. My preference would be to save them to my email; I previously used SMS Backup+ with great success, but that has not worked for years now it seems, so I am not counting on a solution like that.)
The problem I am running into is that I cannot seem to save my sent messages. In other words, I can see all of my received messages when viewing them on the new device, but none of the messages I have sent.
I have tried switching to new messaging apps such as Google Messages and Textra on the H910. However, this only shows my received messages (no sent messages).
I have also tried using a backup/restore app such as SMS Backup & Restore, but my sent messages are not backed up that way, either. (I have used a number of different methods to view the file with the backed up messages. The only messages shown are received messages.)
Does anyone have any recommendation for how to solve this? Why can't I backup/save my sent messages?
dub5a said:
My phone is an H910 running Oreo (stock; never rooted). I have used the stock Messaging app for SMS/MMS.
I am trying to backup all SMS/MMS and move to a different device so that I can delete them on my H910 to save space. There are about 1,200 messages to move. Ideally, I would like to be able to save all sent/received messages and open them in a messaging app on a different non-LG device. (I would like to open them via a messaging app installed to BlueStacks. My preference would be to save them to my email; I previously used SMS Backup+ with great success, but that has not worked for years now it seems, so I am not counting on a solution like that.)
The problem I am running into is that I cannot seem to save my sent messages. In other words, I can see all of my received messages when viewing them on the new device, but none of the messages I have sent.
I have tried switching to new messaging apps such as Google Messages and Textra on the H910. However, this only shows my received messages (no sent messages).
I have also tried using a backup/restore app such as SMS Backup & Restore, but my sent messages are not backed up that way, either. (I have used a number of different methods to view the file with the backed up messages. The only messages shown are received messages.)
Does anyone have any recommendation for how to solve this? Why can't I backup/save my sent messages?
Click to expand...
Click to collapse
SMS Backup & Restore works for me on Android 8 (US996).
A search came up with this:
https://community.t-mobile.com/accounts-services-4/not-able-to-backup-sent-text-messages-12778
where RCS messages are the problem, are you using RCS?
Parasol_Monsters said:
SMS Backup & Restore works for me on Android 8 (US996).
A search came up with this:
https://community.t-mobile.com/accounts-services-4/not-able-to-backup-sent-text-messages-12778
where RCS messages are the problem, are you using RCS?
Click to expand...
Click to collapse
Thank you for your response.
Yes, that appears to be the problem. The H910 is AT&T-branded, and I am using it on AT&T. It automatically comes with "advanced messaging" (aka RCS) enabled. So, that is the problem... that is why SMS Backup & Restore will not work. (It looks like SMS Backup & Restore might work with RCS if I had been using Google Messages from the start. Unfortunately, that was not the case.)
I am now wondering if I can get another V20/other capable device with a better messaging app installed prior to the process and then use AT&T's Mobile Transfer to move everything over and back. I may pursue this.
If anyone has a better method of backing up SMS/MMS/RCS messages, please let me know. Otherwise, I guess the moral of the story is to always use a third-party messaging app that allows for backup of RCS or stores the messages via cloud/alternative means that you can actually access.
This might be a solution:
https://www.att.com/features/backup-sync/
Parasol_Monsters said:
This might be a solution:
https://www.att.com/features/backup-sync/
Click to expand...
Click to collapse
Thank you. I actually was attempting to use that last night. It seems that using this allows you to backup all messages (SMS/MMS/RCS) to AT&T's cloud, but you can then only access them via AT&T's messaging app. There does not appear to be a way to export them from that app to a different device. So, it is great if you just want to view the messages on a different device... but not so great if you actually want to move the messages from one device to another.

Categories

Resources