[Xposed Framework Modules] Publiuss:
Other logs while manual triggering media scanner from app interface (notification set on):

I/Xposed (22499): XMSO: Going to hook application com.android.providers.media in PID 22.499
I/Xposed (22499): XMSO: appInfo in LoadPackageParam is null. Trying to hook first ContextImpl creation to retrieve a context.
D/XMSO (22499): Setting up hook to capture first Context creation
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
I/Xposed (22499): XMSO: Cannot find method scanFile will now try to hook scanFileOrDirectory.
I/Xposed (22499): java.lang.NoSuchMethodError: com.android.providers.media.MediaScannerService#scanFile(java.lang.String,java.lang.String)#exact
I/Xposed (22499): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
I/Xposed (22499): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
I/Xposed (22499): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
I/Xposed (22499): at com.thomashofmann.xposed.mediascanneroptimizer.MsoXposedMod.doHandleLoadPackage(MsoXposedMod.java:354)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule.handleLoadPackage(XposedModule.java:331)
I/Xposed (22499): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
I/Xposed (22499): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
I/Xposed (22499): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:208)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
I/Xposed (22499): at android.app.ActivityThread.handleBindApplication(Native Method)
I/Xposed (22499): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
I/Xposed (22499): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
I/Xposed (22499): at android.os.Handler.dispatchMessage(Handler.java:102)
I/Xposed (22499): at android.os.Looper.loop(Looper.java:136)
I/Xposed (22499): at android.app.ActivityThread.main(ActivityThread.java:5158)
I/Xposed (22499): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed (22499): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed (22499): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
I/Xposed (22499): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I/Xposed (22499): at dalvik.system.NativeStart.main(Native Method)
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/XMSO (22499): Request for loadPackageParam for PID 22.499. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@42385160
D/ActivityThread(22499): handleBindApplication:android.process.media
D/ActivityThread(22499): setTargetHeapUtilization:0.25
D/ActivityThread(22499): setTargetHeapMinFree:524288
W/Xposed (22499): Package name for /data/app/com.zst.xposed.xuimod-1.apk had to be retrieved via parser
I/brcm-gr ( 5196): [gralloc_lock]: new usage 0x933
D/XMSO (22499): ContextImpl#android.app.ContextImpl called with result null
I/Xposed (22499): XMSO: Executing hooked method android.app.ContextImpl on android.app.ContextImpl@42453528. Capturing some Context. Stacktrace is java.la
ng.RuntimeException: Determine Stacktrace
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule.getCurrentStackTraceString(XposedModule.java:419)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:125)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:122)
I/Xposed (22499): at com.thomashofmann.xposed.lib.AfterMethodHook.afterHookedMethod(AfterMethodHook.java:17)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed (22499): at android.app.ContextImpl.<init>(Native Method)
I/Xposed (22499): at android.app.ContextImpl.createAppContext(ContextImpl.java:2044)
I/Xposed (22499): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4308)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed (22499): at android.app.ActivityThread.handleBindApplication(Native Method)
I/Xposed (22499): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
I/Xposed (22499): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
I/Xposed (22499): at android.os.Handler.dispatchMessage(Handler.java:102)
I/Xposed (22499): at android.os.Looper.loop(Looper.java:136)
I/Xposed (22499): at android.app.ActivityThread.main(ActivityThread.java:5158)
I/Xposed (22499): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed (22499): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed (22499): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
I/Xposed (22499): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I/Xposed (22499): at dalvik.system.NativeStart.main(Native Method)
I/Xposed (22499): XMSO: Setting ApplicationContext for PID 22.499. Context is android.app.ContextImpl@42453528
I/Xposed (22499): XMSO: Registering BroadcastReceiver for action pref-xmso
D/XMSO (22499): applicationContextsByPid size is 1
D/XMSO (22499): ContextImpl#android.app.ContextImpl returns with result null
D/XMSO (22499): ContextImpl#android.app.ContextImpl called with result null
I/Xposed (22499): XMSO: Executing hooked method android.app.ContextImpl on android.app.ContextImpl@42471a30. Capturing some Context. Stacktrace is java.la
ng.RuntimeException: Determine Stacktrace
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule.getCurrentStackTraceString(XposedModule.java:419)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:125)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:122)
I/Xposed (22499): at com.thomashofmann.xposed.lib.AfterMethodHook.afterHookedMethod(AfterMethodHook.java:17)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed (22499): at android.app.ContextImpl.<init>(Native Method)
I/Xposed (22499): at android.app.ContextImpl.createAppContext(ContextImpl.java:2044)
I/Xposed (22499): at android.app.LoadedApk.makeApplication(LoadedApk.java:508)
I/Xposed (22499): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4458)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed (22499): at android.app.ActivityThread.handleBindApplication(Native Method)
I/Xposed (22499): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
I/Xposed (22499): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
I/Xposed (22499): at android.os.Handler.dispatchMessage(Handler.java:102)
I/Xposed (22499): at android.os.Looper.loop(Looper.java:136)
I/Xposed (22499): at android.app.ActivityThread.main(ActivityThread.java:5158)
I/Xposed (22499): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed (22499): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed (22499): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
I/Xposed (22499): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I/Xposed (22499): at dalvik.system.NativeStart.main(Native Method)
D/XMSO (22499): ContextImpl#android.app.ContextImpl returns with result null
D/XMSO (22499): ContextImpl#android.app.ContextImpl called with result null
I/Xposed (22499): XMSO: Executing hooked method android.app.ContextImpl on android.app.ContextImpl@424e6978. Capturing some Context. Stacktrace is java.la
ng.RuntimeException: Determine Stacktrace
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule.getCurrentStackTraceString(XposedModule.java:419)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:125)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:122)
I/Xposed (22499): at com.thomashofmann.xposed.lib.AfterMethodHook.afterHookedMethod(AfterMethodHook.java:17)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed (22499): at android.app.ContextImpl.<init>(Native Method)
I/Xposed (22499): at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:1963)
I/Xposed (22499): at android.app.ContextImpl.createPackageContext(ContextImpl.java:1941)
I/Xposed (22499): at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:643)
I/Xposed (22499): at android.app.ActivityThread.installProvider(ActivityThread.java:4904)
I/Xposed (22499): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4526)
I/Xposed (22499): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4466)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed (22499): at android.app.ActivityThread.handleBindApplication(Native Method)
I/Xposed (22499): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
I/Xposed (22499): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
I/Xposed (22499): at android.os.Handler.dispatchMessage(Handler.java:102)
I/Xposed (22499): at android.os.Looper.loop(Looper.java:136)
I/Xposed (22499): at android.app.ActivityThread.main(ActivityThread.java:5158)
I/Xposed (22499): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed (22499): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed (22499): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
I/Xposed (22499): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I/Xposed (22499): at dalvik.system.NativeStart.main(Native Method)
D/XMSO (22499): ContextImpl#android.app.ContextImpl returns with result null
E/SELinux (22499): SELinux: Loaded file_contexts from /file_contexts
E/SELinux (22499): SELinux: Could not open /data/system/packages.list: Permission denied.
D/XMSO (22499): ContextImpl#android.app.ContextImpl called with result null
I/Xposed (22499): XMSO: Executing hooked method android.app.ContextImpl on android.app.ContextImpl@42503fc8. Capturing some Context. Stacktrace is java.la
ng.RuntimeException: Determine Stacktrace
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule.getCurrentStackTraceString(XposedModule.java:419)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:125)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:122)
I/Xposed (22499): at com.thomashofmann.xposed.lib.AfterMethodHook.afterHookedMethod(AfterMethodHook.java:17)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed (22499): at android.app.ContextImpl.<init>(Native Method)
I/Xposed (22499): at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:1963)
I/Xposed (22499): at android.app.ContextImpl.createPackageContext(ContextImpl.java:1941)
I/Xposed (22499): at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:643)
I/Xposed (22499): at android.app.ActivityThread.installProvider(ActivityThread.java:4904)
I/Xposed (22499): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4526)
I/Xposed (22499): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4466)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed (22499): at android.app.ActivityThread.handleBindApplication(Native Method)
I/Xposed (22499): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
I/Xposed (22499): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
I/Xposed (22499): at android.os.Handler.dispatchMessage(Handler.java:102)
I/Xposed (22499): at android.os.Looper.loop(Looper.java:136)
I/Xposed (22499): at android.app.ActivityThread.main(ActivityThread.java:5158)
I/Xposed (22499): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed (22499): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed (22499): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
I/Xposed (22499): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I/Xposed (22499): at dalvik.system.NativeStart.main(Native Method)
D/XMSO (22499): ContextImpl#android.app.ContextImpl returns with result null
D/flow ( 2712): ********** onNotificationPosted
D/flow ( 2712): ID :38012877 t: null p: zzs.notisysinfo
D/flow ( 2712): Notification id is 1417608530827
D/Event ( 2712): No subscribers registered for event class com.larvalabs.flow.event.NotificationAddedEvent
D/Event ( 2712): No subscribers registered for event class de.greenrobot.event.NoSubscriberEvent
I/brcm-gr ( 5196): [gralloc_lock]: new usage 0x933
D/XMSO (22499): ContextImpl#android.app.ContextImpl called with result null
I/Xposed (22499): XMSO: Executing hooked method android.app.ContextImpl on android.app.ContextImpl@42531520. Capturing some Context. Stacktrace is java.la
ng.RuntimeException: Determine Stacktrace
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule.getCurrentStackTraceString(XposedModule.java:419)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:125)
I/Xposed (22499): at com.thomashofmann.xposed.lib.XposedModule$5.apply(XposedModule.java:122)
I/Xposed (22499): at com.thomashofmann.xposed.lib.AfterMethodHook.afterHookedMethod(AfterMethodHook.java:17)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed (22499): at android.app.ContextImpl.<init>(Native Method)
I/Xposed (22499): at android.app.ContextImpl.createAppContext(ContextImpl.java:2044)
I/Xposed (22499): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2602)
I/Xposed (22499): at android.app.ActivityThread.access$1800(ActivityThread.java:144)
I/Xposed (22499): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1287)
I/Xposed (22499): at android.os.Handler.dispatchMessage(Handler.java:102)
I/Xposed (22499): at android.os.Looper.loop(Looper.java:136)
I/Xposed (22499): at android.app.ActivityThread.main(ActivityThread.java:5158)
I/Xposed (22499): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed (22499): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed (22499): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
I/Xposed (22499): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
I/Xposed (22499): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I/Xposed (22499): at dalvik.system.NativeStart.main(Native Method)
D/XMSO (22499): ContextImpl#android.app.ContextImpl returns with result null
I/Xposed (22499): XMSO: onStartCommand is called with Intent Intent { cmp=com.android.providers.media/.MediaScannerService (has extras) }, startId 1, file
path null, mimetype null and volume external on com.android.providers.media.MediaScannerService@42530e08
D/XMSO (22499): startIdsByPid is {22499=1}
I/Xposed (22499): Reloaded preferences: {pref_prevent_repetetive_scans_state=true, pref_run_media_scanner_as_foreground_service_state=true, pref_restrict_
directories_to_scan_state=false, pref_log_to_xposed_log_state=true, pref_show_results_state=true, pref_logging_enabled_state=false, pref_restrict_to_certai
n_media_types_state=false, pref_run_media_scanner_with_background_thread_priority_state=true}
I/Xposed (22499): XMSO: Number of start commands for external volume is 1
I/Xposed (22499): XMSO: Number of successful runs for external volume is 0
I/Xposed (22499): XMSO: scan is called for directories [/storage/emulated/0, /storage/sdcard1, /storage/usbdisk] on volume external
I/Xposed (22499): XMSO: Set service to foreground
I/Xposed (22499): XMSO: createSimpleNotification with title Media Scanner Optimizer, text Processing volume external, subText null
D/XMSO (22499): Request for ApplicationContext for PID 22.499. Returning android.app.ContextImpl@42453528.
I/Xposed (22499): XMSO: The following directories will be scanned by MediaScanner: [/storage/emulated/0, /storage/sdcard1, /storage/usbdisk]
D/flow ( 2712): ********** onNotificationPosted
D/flow ( 2712): ID :1 t: null p: com.android.providers.media
D/flow ( 2712): Notification id is 1414502844631
D/Event ( 2712): No subscribers registered for event class com.larvalabs.flow.event.NotificationAddedEvent
D/Event ( 2712): No subscribers registered for event class de.greenrobot.event.NoSubscriberEvent
D/AndroidRuntime(22499): Shutting down VM
W/dalvikvm(22499): threadid=1: thread exiting with uncaught exception (group=0x417cace0)
W/ResourceType( 3128): getEntry failing because entryIndex 65281 is beyond type entryCount 4
W/ResourceType( 3128): Failure getting entry for 0x7f02ff01 (t=1 e=65281) in package 0 (error -2147483647)
W/StatusBarIconView( 3128): Icon not found in 2130902785: 7f02ff01
W/StatusBarIconView( 3128): No icon for slot com.android.providers.media/0x1
W/StatusBar( 3128): removeNotification for unknown key: android.os.BinderProxy@424f6e20
D/flow ( 2712): ********** onNOtificationRemoved
D/flow ( 2712): ID :1tnulltcom.android.providers.media
D/flow ( 2712): Notification id is 1414502844631
W/StatusBar( 3128): removeNotification for unknown key: android.os.BinderProxy@424f6e20
D/Event ( 2712): No subscribers registered for event class com.larvalabs.flow.event.NotificationRemovedEvent
D/Event ( 2712): No subscribers registered for event class de.greenrobot.event.NoSubscriberEvent
D/NotificationService( 1553): onNotification error pkg=com.android.providers.media tag=null id=1; will crashApplication(uid=10006, pid=22499)
E/AndroidRuntime(22499): FATAL EXCEPTION: main
E/AndroidRuntime(22499): Process: android.process.media, PID: 22499
E/AndroidRuntime(22499): android.app.RemoteServiceException: Bad notification posted from package com.android.providers.media: Couldn't create icon: Status
BarIcon(pkg=com.android.providers.mediauser=0 id=0x7f02ff01 level=0 visible=true num=0 )
E/AndroidRuntime(22499): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1372)
E/AndroidRuntime(22499): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(22499): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime(22499): at android.app.ActivityThread.main(ActivityThread.java:5158)
E/AndroidRuntime(22499): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(22499): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime(22499): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime(22499): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime(22499): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime(22499): at dalvik.system.NativeStart.main(Native Method)
I/Xposed (22499): XMSO: Changing thread priority in MediaScanner constructor
D/XMSO (22499): In android.media.MediaScanner#processDirectory prescan

[...]

I/Xposed (22560): XMSO: Going to hook application com.android.providers.media in PID 22.560
I/Xposed (22560): XMSO: appInfo in LoadPackageParam is null. Trying to hook first ContextImpl creation to retrieve a context.
D/XMSO (22560): Setting up hook to capture first Context creation
D/XMSO (22560): Request for loadPackageParam for PID 22.560. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@4244dd70
D/XMSO (22560): Request for loadPackageParam for PID 22.560. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@4244dd70
D/XMSO (22560): Request for loadPackageParam for PID 22.560. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@4244dd70
D/XMSO (22560): Request for loadPackageParam for PID 22.560. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@4244dd70
D/XMSO (22560): Request for loadPackageParam for PID 22.560. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@4244dd70
D/XMSO (22560): Request for loadPackageParam for PID 22.560. Returning de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam@4244dd70
I/Xposed (22560): XMSO: Cannot find method scanFile will now try to hook scanFileOrDirectory.
I/Xposed (22560): java.lang.NoSuchMethodError: com.android.providers.media.MediaScannerService#scanFile(java.lang.String,java.lang.String)#exact
I/Xposed (22560): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
I/Xposed (22560): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
I/Xposed (22560): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
I/Xposed (22560): at com.thomashofmann.xposed.mediascanneroptimizer.MsoXposedMod.doHandleLoadPackage(MsoXposedMod.java:354)
I/Xposed (22560): at com.thomashofmann.xposed.lib.XposedModule.handleLoadPackage(XposedModule.java:331)
I/Xposed (22560): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
I/Xposed (22560): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
I/Xposed (22560): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
I/Xposed (22560): at de.robv.android.xposed.XposedBridge$3.afterHookedMethod(XposedBridge.java:252)
I/Xposed (22560): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed (22560): at android.app.LoadedApk.<init>(Native Method)
I/Xposed (22560): at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1664)
I/Xposed (22560): at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1628)
I/Xposed (22560): at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1601)
I/Xposed (22560): at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:1960)
I/Xposed (22560): at android.app.ContextImpl.createPackageContext(ContextImpl.java:1941)
I/Xposed (22560): at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:643)
I/Xposed (22560): at android.app.ActivityThread.installProvider(ActivityThread.java:4904)
I/Xposed (22560): at android.app.ActivityThread.installContentProviders(ActivityThread.java:4526)
I/Xposed (22560): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4466)
I/Xposed (22560): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed (22560): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed (22560): at android.app.ActivityThread.handleBindApplication(Native Method)
I/Xposed (22560): at android.app.ActivityThread.access$1500(ActivityThread.java:144)
I/Xposed (22560): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
I/Xposed (22560): at android.os.Handler.dispatchMessage(Handler.java:102)
I/Xposed (22560): at android.os.Looper.loop(Looper.java:136)
I/Xposed (22560): at android.app.ActivityThread.main(ActivityThread.java:5158)
I/Xposed (22560): at java.lang.reflect.Method.invokeNative(Native Method)
I/Xposed (22560): at java.lang.reflect.Method.invoke(Method.java:515)
I/Xposed (22560): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
I/Xposed (22560): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
I/Xposed (22560): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I/Xposed (22560): at dalvik.system.NativeStart.main(Native Method)
[...]

Must first reboot to make it work with notification off?