ColorOSNotifyIcon icon indicating copy to clipboard operation
ColorOSNotifyIcon copied to clipboard

[问题与 BUG 反馈] coloros16下拉通知不生效

Open demo19930817 opened this issue 4 months ago • 41 comments

模块版本

1.100 ci 95b7611

系统类型

ColorOS

系统版本

ColorOS 16.0.0.212 安卓版本因没有16选项 实际安卓版本为16

Android 版本

15

Xposed 框架名称与版本号

LSPosed 1.9.2-it (7436)

与系统界面(系统 UI)同作用域的 Xposed 模块

详细描述问题发生的具体原因

一加13 coloros 16版本升级至PJZ110 16.0.0.212(CNO1) 后 模块通知栏图标增强功能正常 但是下拉栏图标 除了自带原生通知图标的应用会显示原生通知图标 其余应用图标优化功能均失效 包括默认着色 强制app图标等

Image Imagerizhi 系统界面的apk链接如下 https://www.123684.com/s/qEP4jv-y1wad?pwd=rFHV# 提取码:rFHV

提供模块问题 Log 或必要 Log

================================================================ Generated by ColorOSNotifyIcon Project Url: https://github.com/fankes/ColorOSNotifyIcon

[ColorOS Version]: 16 PJZ110_16.0.0.212(CN01) [System Locale]: zh_CN

2025-10-29T22:10:43.502 ------ [E] An exception occurred in PackageParam(a2.f0@f908150) by [type] PACKAGE [packageName] com.android.systemui [processName] com.android.systemui [appClassLoader] dalvik.system.PathClassLoader[DexPathList[[zip file "/system_ext/priv-app/SystemUI/SystemUI.apk"],nativeLibraryDirectories=[/system_ext/priv-app/SystemUI/lib/arm64, /system_ext/priv-app/SystemUI/SystemUI.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64, /system/lib64, /system_ext/lib64]]] [appInfo] ApplicationInfo{e3d2e95 com.android.systemui} [appResources] null 2025-10-29T22:10:43.502 ------ Dump stack trace for "java.lang.NoClassDefFoundError": java.lang.NoClassDefFoundError: VariousClass matches failed of [com.oplus.systemui.statusbar.phone.OplusNotificationIconAreaController, com.oplusos.systemui.statusbar.phone.OplusNotificationIconAreaController, com.oplusos.systemui.statusbar.policy.OplusNotificationIconAreaController, com.coloros.systemui.statusbar.policy.ColorNotificationIconAreaController]. at r3.i.a(P:34) at r3.i.d(P:1) at r3.f.a(P:51) at r3.f$a.c(P:1) at a2.f0.F0(P:9) at a2.f0.D(P:587) at m4.a.C(P:10) at q4.c.y(P:140) at z1.b.d(P:75) at z1.b.b(P:1) at z1.a.k(P:3) at x4.a.m(P:134) at y4.a.d(P:3) at z1.c.c(P:170) at z1.c.d(P:17) at z1.c.a(P:13) at com.fankes.coloros.notify.hook.HookEntry_YukiHookXposedInit.handleLoadPackage(P:3) at JzBIMCf.AxlgrapFQp.f.v.IXposedHookLoadPackage$Wrapper.handleLoadPackage(r8-map-id-993867dc49cd3d2e6172776313df8f42a09e3f058d705b5e4d9d1c48c30caf39:3) at JzBIMCf.AxlgrapFQp.f.v.callbacks.XC_LoadPackage.call(r8-map-id-993867dc49cd3d2e6172776313df8f42a09e3f058d705b5e4d9d1c48c30caf39:7) at JzBIMCf.AxlgrapFQp.f.v.callbacks.XCallback.callAll(r8-map-id-993867dc49cd3d2e6172776313df8f42a09e3f058d705b5e4d9d1c48c30caf39:27) at g1.after(r8-map-id-993867dc49cd3d2e6172776313df8f42a09e3f058d705b5e4d9d1c48c30caf39:402) at java.lang.reflect.Method.invoke(Native Method) at j0.callback(r8-map-id-993867dc49cd3d2e6172776313df8f42a09e3f058d705b5e4d9d1c48c30caf39:291) at LSPHooker_.createOrUpdateClassLoaderLocked(Unknown Source:11) at android.app.LoadedApk.getClassLoader(LoadedApk.java:1194) at android.app.LoadedApk.getResources(LoadedApk.java:1446) at android.app.ContextImpl.createAppContext(ContextImpl.java:3579) at android.app.ContextImpl.createAppContext(ContextImpl.java:3570) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:8474) at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2792) at android.os.Handler.dispatchMessage(Handler.java:115) at android.os.Looper.loopOnce(Looper.java:298) at android.os.Looper.loop(Looper.java:408) at android.app.ActivityThread.main(ActivityThread.java:9952) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:613) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1074) 2025-10-29T22:10:45.488 ------ [D] (Processing Status Bar Icon) ↓ [Title]: TempHeadsUpView [Content]: TempHeadsUpView [App Name]: 系统界面 [Package Name]: com.android.systemui [Sender Package Name]: com.android.systemui [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=tempHeasUpView shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=0 color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:45.497 ------ [D] (Processing Status Bar Icon) ↓ [Title]: TempHeadsUpView [Content]: TempHeadsUpView [App Name]: 系统界面 [Package Name]: com.android.systemui [Sender Package Name]: com.android.systemui [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=tempHeasUpView shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=0 color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:46.119 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 奶云 MilkCloud [Content]: 0B/s↑ 0B/s↓ [App Name]: FlClash [Package Name]: com.follow.clash [Sender Package Name]: com.follow.clash [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=FlClash shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=ONGOING_EVENT|ONLY_ALERT_ONCE|NO_CLEAR|FOREGROUND_SERVICE color=0x00000000 category=service actions=1 vis=PRIVATE) 2025-10-29T22:10:46.124 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 奶云 MilkCloud [Content]: 0B/s↑ 0B/s↓ [App Name]: FlClash [Package Name]: com.follow.clash [Sender Package Name]: com.follow.clash [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=FlClash shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=ONGOING_EVENT|ONLY_ALERT_ONCE|NO_CLEAR|FOREGROUND_SERVICE color=0x00000000 category=service actions=1 vis=PRIVATE) 2025-10-29T22:10:46.179 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 充值成功 [Content]: 本次充值:100.00 元,当前余额:133.90 元 [App Name]: 钱包 [Package Name]: com.finshell.wallet [Sender Package Name]: com.finshell.wallet [Custom Icon]: true [Grayscale Icon]: false [From System Push]: false [String]: Notification(channel=Wallet_channel_recharge shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=AUTO_CANCEL color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:46.189 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 充值成功 [Content]: 本次充值:100.00 元,当前余额:133.90 元 [App Name]: 钱包 [Package Name]: com.finshell.wallet [Sender Package Name]: com.finshell.wallet [Custom Icon]: true [Grayscale Icon]: false [From System Push]: false [String]: Notification(channel=Wallet_channel_recharge shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=AUTO_CANCEL color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:46.214 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 家人地图 [Content]: 家人地图服务正在运行 [App Name]: 高德地图 [Package Name]: com.autonavi.minimap [Sender Package Name]: com.autonavi.minimap [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=alive shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=0 color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:46.219 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 家人地图 [Content]: 家人地图服务正在运行 [App Name]: 高德地图 [Package Name]: com.autonavi.minimap [Sender Package Name]: com.autonavi.minimap [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=alive shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=0 color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:46.470 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 通用 / General in [ZH/EN] SukiSU:遇见 [Content]: 成小丑了 [App Name]: Nagram [Package Name]: xyz.nextalone.nagram [Sender Package Name]: xyz.nextalone.nagram [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=0channel_silent_b2b3a_-5868653313331042090 shortcut=ndid_-2449854113 contentView=null vibrate=null sound=null defaults=0 flags=AUTO_CANCEL color=0xff3b8fbb category=msg sortKey=9223370275107824807 actions=2 vis=PRIVATE locusId=LocusId[16_chars]) 2025-10-29T22:10:46.474 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 通用 / General in [ZH/EN] SukiSU:遇见 [Content]: 成小丑了 [App Name]: Nagram [Package Name]: xyz.nextalone.nagram [Sender Package Name]: xyz.nextalone.nagram [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=0channel_silent_b2b3a_-5868653313331042090 shortcut=ndid_-2449854113 contentView=null vibrate=null sound=null defaults=0 flags=AUTO_CANCEL color=0xff3b8fbb category=msg sortKey=9223370275107824807 actions=2 vis=PRIVATE locusId=LocusId[16_chars]) 2025-10-29T22:10:46.485 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 天气晚报 • 明日天气早知道 [Content]: 浦东新区,明天10月30日15°~23°,小雨,空气质量优,紫外线很弱,携带外套,能见度优。 [App Name]: 天气 [Package Name]: com.coloros.weather2 [Sender Package Name]: android [Custom Icon]: true [Grayscale Icon]: false [From System Push]: true [String]: Notification(channel=oppo.oplus.weather.remind_info shortcut=null contentView=null vibrate=null sound=null tick defaults=0 flags=AUTO_CANCEL color=0x00000000 groupKey=mcs.com.coloros.weather21826045149 vis=PUBLIC) 2025-10-29T22:10:46.489 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 天气晚报 • 明日天气早知道 [Content]: 浦东新区,明天10月30日15°~23°,小雨,空气质量优,紫外线很弱,携带外套,能见度优。 [App Name]: 天气 [Package Name]: com.coloros.weather2 [Sender Package Name]: android [Custom Icon]: true [Grayscale Icon]: false [From System Push]: true [String]: Notification(channel=oppo.oplus.weather.remind_info shortcut=null contentView=null vibrate=null sound=null tick defaults=0 flags=AUTO_CANCEL color=0x00000000 groupKey=mcs.com.coloros.weather21826045149 vis=PUBLIC) 2025-10-29T22:10:46.501 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 已激活VPN [Content]: 已连接到“FlClash”,点击管理网络 [App Name]: Android 系统 [Package Name]: android [Sender Package Name]: android [Custom Icon]: true [Grayscale Icon]: false [From System Push]: false [String]: Notification(channel=VPN shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=ONGOING_EVENT|CAN_COLORIZE|UNKNOWN(0x00020000) color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:46.507 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 已激活VPN [Content]: 已连接到“FlClash”,点击管理网络 [App Name]: Android 系统 [Package Name]: android [Sender Package Name]: android [Custom Icon]: true [Grayscale Icon]: false [From System Push]: false [String]: Notification(channel=VPN shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=ONGOING_EVENT|CAN_COLORIZE|UNKNOWN(0x00020000) color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:47.400 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 奶云 MilkCloud [Content]: 0B/s↑ 0B/s↓ [App Name]: FlClash [Package Name]: com.follow.clash [Sender Package Name]: com.follow.clash [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=FlClash shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=ONGOING_EVENT|ONLY_ALERT_ONCE|NO_CLEAR|FOREGROUND_SERVICE color=0x00000000 category=service actions=1 vis=PRIVATE) 2025-10-29T22:10:47.404 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 通用 / General in [ZH/EN] SukiSU:遇见 [Content]: 成小丑了 [App Name]: Nagram [Package Name]: xyz.nextalone.nagram [Sender Package Name]: xyz.nextalone.nagram [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=0channel_silent_b2b3a_-5868653313331042090 shortcut=ndid_-2449854113 contentView=null vibrate=null sound=null defaults=0 flags=AUTO_CANCEL color=0xff3b8fbb category=msg sortKey=9223370275107824807 actions=2 vis=PRIVATE locusId=LocusId[16_chars]) 2025-10-29T22:10:47.409 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 天气晚报 • 明日天气早知道 [Content]: 浦东新区,明天10月30日15°~23°,小雨,空气质量优,紫外线很弱,携带外套,能见度优。 [App Name]: 天气 [Package Name]: com.coloros.weather2 [Sender Package Name]: android [Custom Icon]: true [Grayscale Icon]: false [From System Push]: true [String]: Notification(channel=oppo.oplus.weather.remind_info shortcut=null contentView=null vibrate=null sound=null tick defaults=0 flags=AUTO_CANCEL color=0x00000000 groupKey=mcs.com.coloros.weather21826045149 vis=PUBLIC) 2025-10-29T22:10:47.415 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 充值成功 [Content]: 本次充值:100.00 元,当前余额:133.90 元 [App Name]: 钱包 [Package Name]: com.finshell.wallet [Sender Package Name]: com.finshell.wallet [Custom Icon]: true [Grayscale Icon]: false [From System Push]: false [String]: Notification(channel=Wallet_channel_recharge shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=AUTO_CANCEL color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:47.419 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 家人地图 [Content]: 家人地图服务正在运行 [App Name]: 高德地图 [Package Name]: com.autonavi.minimap [Sender Package Name]: com.autonavi.minimap [Custom Icon]: false [Grayscale Icon]: true [From System Push]: false [String]: Notification(channel=alive shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=0 color=0x00000000 vis=PRIVATE) 2025-10-29T22:10:47.423 ------ [D] (Processing Status Bar Icon) ↓ [Title]: 已激活VPN [Content]: 已连接到“FlClash”,点击管理网络 [App Name]: Android 系统 [Package Name]: android [Sender Package Name]: android [Custom Icon]: true [Grayscale Icon]: false [From System Push]: false [String]: Notification(channel=VPN shortcut=null contentView=null vibrate=null sound=null defaults=0 flags=ONGOING_EVENT|CAN_COLORIZE|UNKNOWN(0x00020000) color=0x00000000 vis=PRIVATE)

确认一下你提交的信息

  • [x] 我确保上述信息准确无误

demo19930817 avatar Oct 29 '25 14:10 demo19930817

16 魔改了通知栏的逻辑,需要重新适配,由于手里没有设备,可以再等等 @Nep-Timeline 看看(

fankes avatar Oct 29 '25 14:10 fankes

好的 感谢!

demo19930817 avatar Oct 29 '25 14:10 demo19930817

我试着修了 但是我编译出来的死活显示模块未激活 不知道为什么

Nep-Timeline avatar Oct 31 '25 12:10 Nep-Timeline

Image

Nep-Timeline avatar Oct 31 '25 12:10 Nep-Timeline

我能测试一下吗?看看有没有同样问题

demo19930817 avatar Oct 31 '25 13:10 demo19930817

我还没找到ColorOS的问题 没法测试

Nep-Timeline avatar Oct 31 '25 13:10 Nep-Timeline

@Nep-Timeline 试试 lsp-it,在 16 工作正常,顺便用 zygisk-next 的最新 rc

fankes avatar Oct 31 '25 15:10 fankes

@Nep-Timeline 试试 lsp-it,在 16 工作正常,顺便用 zygisk-next 的最新 rc

Image

Image

Nep-Timeline avatar Nov 01 '25 01:11 Nep-Timeline

把模块卸了重启,然后重新安装

fankes avatar Nov 01 '25 09:11 fankes

不行 我用action跑出来的没问题 但是自己Android Studio的就不行

Nep-Timeline avatar Nov 01 '25 12:11 Nep-Timeline

不行 我用 action 跑出来的没问题 但是自己 Android Studio 的就不行

是不是没开 always install with pm

fankes avatar Nov 01 '25 18:11 fankes

两位大佬 有进度吗😀

demo19930817 avatar Nov 20 '25 03:11 demo19930817

不知道,@Nep-Timeline 怎么样了(

fankes avatar Nov 20 '25 04:11 fankes

COS改了通知中心的通知样式 通知图标比较大 导致用原生通知图标会很模糊 暂时没空看

Nep-Timeline avatar Nov 22 '25 01:11 Nep-Timeline

Image 很迷

Nep-Timeline avatar Nov 22 '25 03:11 Nep-Timeline

Image 还有这个背景颜色问题还是没招

Nep-Timeline avatar Nov 22 '25 03:11 Nep-Timeline

感觉背景关掉协调一点 Image

onichan0923 avatar Nov 22 '25 03:11 onichan0923

Image 现在就差背景颜色和这个标题图标无法覆盖的问题了

Nep-Timeline avatar Nov 22 '25 03:11 Nep-Timeline

你加油

fankes avatar Nov 23 '25 13:11 fankes

现在问题就是图标仔细看很糊 因为COS16的图标比较大 如果缩小的话消息展开之后图标又会变得特别小 没有好的解决方案

Nep-Timeline avatar Nov 25 '25 17:11 Nep-Timeline

除了这个问题以外其他都差不多了

Nep-Timeline avatar Nov 25 '25 17:11 Nep-Timeline

除了这个问题以外其他都差不多了

大佬 那如果这个没有好的解决方案 通知栏中的图标强制为APP图标 这个功能生效吗?

demo19930817 avatar Nov 25 '25 22:11 demo19930817

除了这个问题以外其他都差不多了

大佬 那如果这个没有好的解决方案 通知栏中的图标强制为APP图标 这个功能生效吗?

也不对 不能说是app 图标 是目前主题调用的app图标 这样通知里面就不会带app自己图标牛皮藓了 谢谢

demo19930817 avatar Nov 25 '25 23:11 demo19930817

https://t.me/taichi91/45/20078 c16 realme 7.0 版本下工作正常

Qing0721 avatar Nov 26 '25 12:11 Qing0721

https://t.me/taichi91/45/20078 c16 realme 7.0 版本下工作正常

我发的测试包还有上述问题没解决呢,并且怎么给我转发出去了

Nep-Timeline avatar Nov 26 '25 16:11 Nep-Timeline

除了这个问题以外其他都差不多了

大佬 那如果这个没有好的解决方案 通知栏中的图标强制为APP图标 这个功能生效吗?

也不对 不能说是app 图标 是目前主题调用的app图标 这样通知里面就不会带app自己图标牛皮藓了 谢谢

强制主题图标挺影响性能的

Nep-Timeline avatar Nov 26 '25 16:11 Nep-Timeline

https://t.me/taichi91/45/20078 c16 realme 7.0 版本下工作正常

我发的测试包还有上述问题没解决呢,并且怎么给我转发出去了

啊•ᴗ•💧 刚试了下这个测试的 除了已有的问题 好像启用默认着色不对劲 不是那种透明的色调了 变成了深蓝色

demo19930817 avatar Nov 26 '25 23:11 demo19930817

  private val OplusNotificationHeaderViewWrapperExImpClass by lazyClassOrNull("com.oplus.systemui.statusbar.notification.row.wrapper.OplusNotificationHeaderViewWrapperExImp")
 OplusNotificationHeaderViewWrapperExImpClass?.resolve()?.optional()?.apply {
            firstMethodOrNull {
                name = "proxyOnContentUpdated"
                parameterCount = 1
            }?.hook()?.after {
                val nf = XposedHelpers.callMethod(
                    XposedHelpers.callMethod(args[0], "getEntry"),
                    "getSbn"
                ) as StatusBarNotification

                val imageView = XposedHelpers.getObjectField(XposedHelpers.callMethod(instance, "getBase"), "mIcon") as ImageView

            }
        }

Nep-Timeline avatar Nov 27 '25 07:11 Nep-Timeline

好了,可以测试一下了

fankes avatar Nov 27 '25 11:11 fankes

Image

Image

反馈,最新ci版,c16,当多条通知合并时是生效的,但单条通知不生效,合并通知展开时,第一条左上角的通知小图标也不生效

Gomiaco avatar Nov 27 '25 12:11 Gomiaco