Steps to reproduce/复现步骤
Flash LineageOS 22.2 (Android 15) on Poco X3 Pro (vayu, SD860) with Magisk + Zygisk
Install/enable Vector debug 2.0 (3043) as System Framework, with Iconify 7.3.0 (foss) module enabled (any scope, even just its own app package — tested both)
Reboot device
Expected behaviour/预期行为
SystemUI should launch normally on boot without crashing.
Actual behaviour/实际行为
SystemUI crashes on its very first launch with RuntimeException: Null or empty currentSystemRoutes. Something is wrong. in MediaRouter2.loadSystemRoutes → → findOrCreateProxyInstanceForCallingUser → getInstance → RouterInfoMediaManager. → InfoMediaManager.createInstance → MediaDeviceManager.onMediaDataLoaded.
Isolation testing:
Crash occurs with Iconify scoped to system/systemui/settings.
Crash still occurs with Iconify scope reduced to only its own app package (no system scope) — same stacktrace, first launch.
With Vector completely disabled (System Framework off), the crash does NOT occur and boot is clean.
This confirms the issue originates from Vector's own framework hooks affecting MediaRouter2/IMediaRouterService, not from any specific module.
Xposed Module List/Xposed 模块列表
Root implementation/Root 方案
Magisk 30.7 Stable
System Module List/系统模块列表
aml
zygisk_vector
iconify
viperfx4android-re-fork
LSPosed version/LSPosed 版本
2.0-3043 (debug)
Android version/Android 版本
LineageOS 22.2, Android 15
Version requirement/版本要求
Logs/日志
Scoped exception in full.log:
06-13 00:44:50.519 3118 3118 E AndroidRuntime: FATAL EXCEPTION: main
06-13 00:44:50.519 3118 3118 E AndroidRuntime: Process: com.android.systemui, PID: 3118
06-13 00:44:50.519 3118 3118 E AndroidRuntime: java.lang.RuntimeException: Null or empty currentSystemRoutes. Something is wrong.
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at android.media.MediaRouter2.loadSystemRoutes(MediaRouter2.java:664)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at android.media.MediaRouter2.(MediaRouter2.java:643)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at android.media.MediaRouter2.findOrCreateProxyInstanceForCallingUser(MediaRouter2.java:436)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at android.media.MediaRouter2.getInstance(MediaRouter2.java:393)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at com.android.settingslib.media.RouterInfoMediaManager.(...)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at com.android.settingslib.media.InfoMediaManager.createInstance(...)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at com.android.systemui.media.controls.domain.pipeline.MediaDeviceManager.onMediaDataLoaded(...)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at com.android.systemui.media.controls.domain.pipeline.MediaDataManager$Listener.onMediaDataLoaded$default(...)
LSPosed_2026-06-13T00_47_08.233448.zip
Steps to reproduce/复现步骤
Flash LineageOS 22.2 (Android 15) on Poco X3 Pro (vayu, SD860) with Magisk + Zygisk
Install/enable Vector debug 2.0 (3043) as System Framework, with Iconify 7.3.0 (foss) module enabled (any scope, even just its own app package — tested both)
Reboot device
Expected behaviour/预期行为
SystemUI should launch normally on boot without crashing.
Actual behaviour/实际行为
SystemUI crashes on its very first launch with RuntimeException: Null or empty currentSystemRoutes. Something is wrong. in MediaRouter2.loadSystemRoutes → → findOrCreateProxyInstanceForCallingUser → getInstance → RouterInfoMediaManager. → InfoMediaManager.createInstance → MediaDeviceManager.onMediaDataLoaded.
Isolation testing:
Crash occurs with Iconify scoped to system/systemui/settings.
Crash still occurs with Iconify scope reduced to only its own app package (no system scope) — same stacktrace, first launch.
With Vector completely disabled (System Framework off), the crash does NOT occur and boot is clean.
This confirms the issue originates from Vector's own framework hooks affecting MediaRouter2/IMediaRouterService, not from any specific module.
Xposed Module List/Xposed 模块列表
Root implementation/Root 方案
Magisk 30.7 Stable
System Module List/系统模块列表
LSPosed version/LSPosed 版本
2.0-3043 (debug)
Android version/Android 版本
LineageOS 22.2, Android 15
Version requirement/版本要求
Logs/日志
Scoped exception in full.log:
06-13 00:44:50.519 3118 3118 E AndroidRuntime: FATAL EXCEPTION: main
06-13 00:44:50.519 3118 3118 E AndroidRuntime: Process: com.android.systemui, PID: 3118
06-13 00:44:50.519 3118 3118 E AndroidRuntime: java.lang.RuntimeException: Null or empty currentSystemRoutes. Something is wrong.
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at android.media.MediaRouter2.loadSystemRoutes(MediaRouter2.java:664)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at android.media.MediaRouter2.(MediaRouter2.java:643)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at android.media.MediaRouter2.findOrCreateProxyInstanceForCallingUser(MediaRouter2.java:436)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at android.media.MediaRouter2.getInstance(MediaRouter2.java:393)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at com.android.settingslib.media.RouterInfoMediaManager.(...)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at com.android.settingslib.media.InfoMediaManager.createInstance(...)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at com.android.systemui.media.controls.domain.pipeline.MediaDeviceManager.onMediaDataLoaded(...)
06-13 00:44:50.519 3118 3118 E AndroidRuntime: at com.android.systemui.media.controls.domain.pipeline.MediaDataManager$Listener.onMediaDataLoaded$default(...)
LSPosed_2026-06-13T00_47_08.233448.zip