[Xposed Framework Modules] stormy1777:
[MENTION=4969223]Krowne[/MENTION] Thanks!! This phone is running Android 9/Pie (MIUI 10 stock ROM 10.2.5), not sure if this is "supported", I've seen other apps not (yet) supporting pie fully.

Anyways, KMod FWA has 2 permissions: Contacts and Storage

in the "other permissions" it has: show on lock screen, start in bg, permanent notification (all granted), the home screen shotcut is not.

Using official WA (no mods), 2.19.291, searching through contacts works ok, also did a refresh within WA, its fine.

maybe the "hooks" or access pattern to the wa_contacts is different in android 9?

already tried to uncheck/reboot/check the app, maybe uninstall KMod completely?

each time going into white/black list, getting output below, it has a line saying "SQLiteLog: (1) no such table: wa_contacts" ???

10-25 09:29:53.080 13402 13402 D EventBus: [13402, u0] onBusEvent(AppTransitionFinishedEvent) duration: 13 microseconds, avg: 1981
10-25 09:29:53.111 25121 25121 I /system/bin/app_process: The ClassLoaderContext is a special shared library.
10-25 09:29:53.141 24885 24885 W kmod.xposed: type=1400 audit(0.0:117405): avc: denied { search } for comm=4173796E635461736B202334 name="com.whatsapp" dev="mmcblk0p60" ino=903859 scontext=u:r:untrusted_app:s0:c162,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c27,c257,c512,c768 tclass=dir permissive=0
10-25 09:29:53.189 25121 25121 D AndroidRuntime: Calling main entry com.android.commands.am.Am
10-25 09:29:53.196 5789 14403 D ActivityTrigger: ActivityTrigger activityStopTrigger
10-25 09:29:53.202 5789 6936 D CompatibilityInfo: mCompatibilityFlags - 0
10-25 09:29:53.202 5789 6936 D CompatibilityInfo: applicationDensity - 320
10-25 09:29:53.202 5789 6936 D CompatibilityInfo: applicationScale - 1.0
10-25 09:29:53.241 24885 24885 W kmod.xposed: type=1400 audit(0.0:117406): avc: denied { search } for comm=4173796E635461736B202334 name="com.whatsapp" dev="mmcblk0p60" ino=903859 scontext=u:r:untrusted_app:s0:c162,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c27,c257,c512,c768 tclass=dir permissive=0
10-25 09:29:53.255 25133 25133 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
10-25 09:29:53.271 25133 25133 W /system/bin/app_process: Could not reserve sentinel fault page
10-25 09:29:53.288 25121 25121 D AndroidRuntime: Shutting down VM
[b]10-25 09:29:53.288 24885 25011 E SQLiteLog: (1) no such table: wa_contacts[/b]
10-25 09:29:53.298 24885 25011 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #4
10-25 09:29:53.298 24885 25011 E AndroidRuntime: Process: kmod.xposed, PID: 24885
10-25 09:29:53.298 24885 25011 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:354)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:271)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: Caused by: android.database.sqlite.SQLiteException: no such table: wa_contacts (code 1 SQLITE_ERROR): , while compiling: SELECT jid, is_whatsapp_user, number, display_name, phone_label, wa_name from wa_contacts WHERE is_whatsapp_user=1 AND jid LIKE ? ORDER BY display_name ASC
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:939)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:550)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:46)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1408)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1347)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at kmod.xposed.pref.f.a(Unknown Source:38)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at kmod.xposed.pref.PreferenceHC$g.doInBackground(Unknown Source:352)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at kmod.xposed.pref.PreferenceHC$g.doInBackground(Unknown Source:0)
10-25 09:29:53.298 24885 25011 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:333)