[Android Q&A, Help & Troubleshooting] TokRa:
Hello guys!

I own a Samsung G313HN device. Its stock ROM claims have no black list functionality which I'd like to have. Still the com.android.phone app has some hidden activities apparently related to this function I have discovered via ADW Launcher custom shortcut selection. I can open these activities but I permanently get the "process com.android.phone stopped working" error. I digged a bit deeper: while posessing also a GT-7390 (Trend Lite) which does have the call blocker option I compared the /data/data/com.android.phone/databases folder contents and discovered the autoreject.db database on GT-7390. I've copied the database to my G313HN, set the permissions — still crashing. The logcat showsthe following lines:

07-30 17:26:09.854: E/AndroidRuntime(6630): FATAL EXCEPTION: main
07-30 17:26:09.854: E/AndroidRuntime(6630): Process: com.android.phone, PID: 6630
07-30 17:26:09.854: E/AndroidRuntime(6630): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.phone/com.android.phone.callsettings.CallSettingsActivity}: java.lang.IllegalArgumentException: Unknown URI content://com.android.phone.callsettings/reject_num
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2436)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2498)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.ActivityThread.access$900(ActivityThread.java:179)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.os.Handler.dispatchMessage(Handler.java:102)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.os.Looper.loop(Looper.java:146)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.ActivityThread.main(ActivityThread.java:5641)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at java.lang.reflect.Method.invokeNative(Native Method)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at java.lang.reflect.Method.invoke(Method.java:515)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1288)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1104)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at dalvik.system.NativeStart.main(Native Method)
07-30 17:26:09.854: E/AndroidRuntime(6630): Caused by: java.lang.IllegalArgumentException: Unknown URI content://com.android.phone.callsettings/reject_num
07-30 17:26:09.854: E/AndroidRuntime(6630):	at com.android.phone.callsettings.CallSettingsProvider.getDatabase(CallSettingsProvider.java:261)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at com.android.phone.callsettings.CallSettingsProvider.query(CallSettingsProvider.java:804)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.content.ContentProvider.query(ContentProvider.java:857)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.content.ContentProvider$Transport.query(ContentProvider.java:200)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.content.ContentResolver.query(ContentResolver.java:464)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.content.ContentResolver.query(ContentResolver.java:407)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at com.android.phone.callsettings.AutoRejectList.getAutoRejectNumber(AutoRejectList.java:1296)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at com.android.phone.callsettings.AutoRejectList.makeScreen(AutoRejectList.java:524)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at com.android.phone.callsettings.AutoRejectList.onCreateView(AutoRejectList.java:312)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.Fragment.performCreateView(Fragment.java:1700)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.BackStackRecord.run(BackStackRecord.java:684)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1453)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.Activity.performStart(Activity.java:5493)
07-30 17:26:09.854: E/AndroidRuntime(6630):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2409)
07-30 17:26:09.854: E/AndroidRuntime(6630):	... 11 more
07-30 17:26:09.864: W/ActivityManager(2109): Force finishing activity com.android.phone/.callsettings.CallSettingsActivity

I believe the Unknown URI content://com.android.phone.callsettings/reject_num part should create the error.

Any ideas?

The question is how to enable the blacklist feature?