2

I'm using some vendor' stock ROM but I as far as I understand it still uses Blocked Numbers Storage - com.android.providers.blockednumber, however I cant seems to find a way to export or back it up.

Is it possible with Tasker? Is it possible with root? Any API that can get me access to it, if I have root and will set my test palceholder app as a default dialer? I'm willing to use some Xamarin template to make it work.

Kirikan
  • 79
  • 1
  • 6
  • 3
    Blocked numbers are accessible through contacts APIs. Stock Contacts app can show blocked numbers, as well as add and remove them. Or with root access: sqlite3 /data/user_de/0/com.android.providers.blockednumber/databases/blockednumbers.db 'select * from blocked' – Irfan Latif Jul 30 '20 at 20:51
  • Huh, interesting, it is empty. – Kirikan Jul 30 '20 at 21:45
  • Unless you're really sure that it's using the public shared provider "Blocked Numbers Storage", there's another possibility that the Dialer app is using a its app's storage/DB for blocked numbers. – Andrew T. Jul 31 '20 at 08:41
  • Yeah, it is possible that MIUI is a special snowflake that does that it wants. – Kirikan Jul 31 '20 at 20:23

0 Answers0