ColorOS Notification Icon Enhancer / ColorOS 通知图标增强

GitHub license GitHub CI GitHub release GitHub all releases GitHub all releases

Telegram CI Telegram Channel Telegram QQ QQ Channel

LOGO

简体中文用户请 前往这里 以查看简体中文版自述文件内容。


English

Project Migration Notice

Maintaining two modules for both HyperOS/MIUI and ColorOS at the same time is very inconvenient, so I plan to gradually merge and decouple the two projects into a new one, with plans to support more systems and devices, such as AOSP and AOSP-like systems.

The new project is Sumi, which is currently in development. After the new project publishes its official release, I will stop maintaining this project and recommend that everyone move to the new project.

Features of this module that are unrelated to notification icons (for example, removing the developer options warning notification and the charging complete notification) will not be migrated to the new project.

Compatibility Notes

  • LSPosed is recommended (scope: "System UI", if you want to adapt the Fluid Cloud notification icon function on ColorOS 16+, please add "System Messages")
  • It has only been tested on ColorOS 11, 12, 12.1, 13 and 17. If you have problems, please submit an issue
  • It is recommended to use ColorOS 11 or above

Compatibility Changes

Because ColorOS 15 changed the system notification icon behavior and forcibly replaces icons with the colored app icon during icon initialization, the "System Framework" scope has been added. If this scope is not checked automatically after the module is installed, please check it manually and restart the system to fix this breakage. Systems older than ColorOS 15 do not need to check it.

Thanks to Nep-Timeline for providing the solution.

Release Channels

LOGO GitHub CI CI automatic builds (beta)
LOGO Telegram CI Channel CI automatic builds (beta)
LOGO GitHub Releases Official releases (stable)
LOGO Xposed-Modules-Repo Official releases (stable)

The release addresses of this module are limited to those listed above. We are not responsible for any impact caused by versions downloaded from other unofficial channels.

Choose a Module Version by Scenario

The installation packages of this project come in two tracks: modern and legacy.

  • Versions marked modern are for Xposed frameworks that support the libxposed API, such as LSPosed
  • Versions marked legacy are for Xposed frameworks that support the Xposed Framework API, such as old LSPosed (≤ 1.9.0), EdXposed, etc.

The modern version supports automatic hot reload on LSPosed 2.1.0+. After the first installation, later module updates take effect without restarting System UI.

Notes

  1. This software is free and developed out of interest, for learning and communication only. If you obtained it from an unofficial channel by paying for it, you may have been defrauded, and you are welcome to report suspicious behavior to us.
  2. This software is licensed under the GNU Affero General Public License (AGPL 3.0). According to the license:
    1. Any derivative work must use the same AGPLv3 license
    2. The complete source code must be provided when distributing this software or its modified versions
    3. The original copyright notice and license information must be retained
    4. No additional restrictions may be imposed to limit others' free use of this software
  3. We encourage free distribution and improvement under the terms of AGPLv3, but please respect the author's attribution and do not impersonate the original author

More Projects

Hey, please stay a moment! 👋

If you find this project helpful, take a look at my other projects below!

If these projects help you, consider giving me a follow or a star ⭐️!

Built with

This module is built with YukiHook.

YukiHook is a modern hook API and Xposed module solution that makes developing Xposed modules easier and more reliable.

This module is powered by KavaRef.

KavaRef is a modern Java reflection library implemented in Kotlin, designed to make your Xposed module development more stable and up-to-date.

Copyright © 2017 Fankes Studio(qzmmcn@163.com)


Simplified Chinese

项目迁移公告

由于本人同时维护 HyperOS/MIUI 与 ColorOS 两个系统需要同时维护两个模块,十分不方便,所以我决定在后期逐渐合并两个项目并解耦合为一个新项目并计划适配更多系统与设备,例如原生与类原生系统。

在新的项目确定后,会在这里添加新项目的链接,届时我会终止维护这个项目并建议大家转移到新项目。

新项目已确定为 Sumi,目前处于开发阶段,在新项目发布正式版本后,我会终止维护这个项目并建议大家转移到新项目。

此模块中与通知图标无关的功能 (例如移除开发者选项警告通知、移除充电完成通知) 不会被迁移到新项目。

适配说明

  • 推荐使用 LSPosed (作用域 “系统界面”,如需在 ColorOS 16+ 适配流体云通知图标功能请添加 “系统消息”)
  • 目前仅在 ColorOS 11、12、12.1、13 和 17 上测试通过,如有问题请 提交 issues
  • 建议在不低于 ColorOS 11 的版本上使用

兼容性变更

由于 ColorOS 15 版本的系统性通知图标行为变更,系统在通知图标初始化阶段就将图标强制替换为应用彩色图标进行破坏,所以加入了 “系统框架” 作用域,如果在模块安装后没有自动勾选此作用域,请手动进行勾选并重新启动系统以修复此破坏行为,ColorOS 15 以下版本的系统无需勾选。

感谢 Nep-Timeline 提供的解决方案。

发行渠道

LOGO GitHub CI CI 自动构建 (测试版)
LOGO Telegram CI 频道 CI 自动构建 (测试版)
LOGO GitHub Releases 正式版 (稳定版)
LOGO Xposed-Modules-Repo 正式版 (稳定版)
LOGO 123 云盘 正式版 (稳定版)

本模块发布地址仅限于上述所列出的地址,从其他非正规渠道下载到的版本或对您造成任何影响均与我们无关。

按场景选择模块版本

此项目的模块安装包采用双轨制,分为 modern 和 legacy 两个版本。

  • 标有 modern 的版本适配支持 libxposed API 的 Xposed 框架,例如 LSPosed
  • 标有 legacy 的版本适配支持 Xposed Framework API 的 Xposed 框架,例如旧版 LSPosed (≤ 1.9.0)、EdXposed 等

modern 版本的模块在 LSPosed 2.1.0+ 支持自动热重载功能,在首次安装后,接下来的版本中继续更新模块,不再需要重启系统界面即可生效。

注意事项

  1. 本软件免费、由兴趣驱动开发,仅供学习交流使用。如果你是从其他非官方渠道付费获得本软件,可能已遭遇欺诈,欢迎向我们举报可疑行为。
  2. 本软件采用 GNU Affero General Public License (AGPL 3.0) 许可证。根据该许可证的要求:
    1. 任何衍生作品必须采用相同的 AGPLv3 许可证
    2. 分发本软件或其修改版本时,必须提供完整的源代码
    3. 必须保留原始的版权声明及许可证信息
    4. 不得额外施加限制来限制他人对本软件的自由使用
  3. 我们鼓励在遵守 AGPLv3 条款的前提下进行自由传播和改进,但请尊重作者署名权,勿冒用原作者名义

更多项目

嘿,还请君留步!👋

如果你觉得这个项目能给你提供帮助,不妨继续往下看看我的更多项目吧!

如果这些项目能为你提供帮助,不妨为我点个关注或者 star ⭐️ 吧!

基于以下项目构建

本模块使用 YukiHook 构建。

YukiHook 是一个现代化的 Hook API 与 Xposed 模块解决方案,让你的 Xposed 模块开发变得更轻松可靠。

本模块使用 KavaRef 强力驱动。

KavaRef 是一个使用 Kotlin 实现的现代化 Java 反射,让你的 Xposed 模块开发变得更稳定和现代化。

版权所有 © 2017 Fankes Studio(qzmmcn@163.com)

Releases

1.100

Stable

4/24/2023, 10:52:22 PM

1.修复并已查明从 1.9 版本开始长达 5 个版本系统界面 OOM 的问题,感谢 @Art-Chen 提供的 VM Heap 查到的问题
2.更新底层 Hook 框架
3.优化部分代码,提升应用稳定性

Assets

1

1.99

Stable

4/22/2023, 2:46:12 PM

1.彻底移除数据缓存功能,解决系统界面可能出现 OOM 的问题
2.优化部分代码逻辑,提升稳定性

Assets

1

1.98

Stable

4/20/2023, 6:32:10 PM

1.新增数据缓存功能开关,如果你的系统界面依然存在内存溢出 (OOM) 问题,可以尝试关闭
2.更换底层数据缓存功能到 LruCache,防止系统界面内存溢出 (OOM) 问题
3.更新底层 Hook 框架

Assets

1

1.97

Stable

4/17/2023, 5:58:02 PM

1.尝试修复一段时间后系统界面可能会 OOM 的问题
2.新增通知栏中的通知图标强制跟随系统着色功能
3.添加模块更新提醒通知
4.优化部分 UI
5.新增通知图标优化规则的 GitHub Proxy 地址
6.修复未开启通知面板背景透明度功能时在 OxygenOS、ColorOS 11 上仍然会修改通知面板背景透明度的问题
7.再次尝试修复部分机型在 ColorOS 12、12.1 系统上出现通知栏通知图标白块问题
8.更新底层 Hook 框架

Assets

1

1.95

Stable

2/6/2023, 10:52:55 PM

1.解决上一个版本出现的通知栏卡顿问题
2.修复 ColorOS 11、12、12.1 通知栏通知图标飘移和位置不正确问题
3.修复 ColorOS 11 动态刷新系统界面后状态栏图标出现黑白块问题
4.修复 ColorOS 11 移除免打扰通知失败问题
5.对 ColorOS 11 隐藏一些无法使用的模块功能
6.优化部分界面文案
7.更换通知图标优化功能的占位符图标

Assets

1

1.9

Stable

2/5/2023, 8:11:40 PM

Happy New Year 2023!

这是一次重大更新:

1.优化模块 UI,将所有图标素材转为矢量
2.适配 ColorOS 13 并修复系统界面崩溃问题
3.适配 ColorOS 13 添加的原生 Monet 取色功能
4.移除了每个版本自动修补的 ADB 通知图标,使用系统默认图标实现
5.使用强制替换布局方式修复在一些 ColorOS 版本中通知栏的系统推送通知图标出现黑白块的问题 (仅测试了 ColorOS 13)
6.新增通知图标兼容模式
7.修改所有 Android 12 通知样式的文案为 Material 3
8.修复在 Google Play 更新 trichromelibrary 后出现大量的空白 APP 名称的“您已安装 XXX”通知
9.解耦合通知外观设置与图标优化设置,现在它们可以单独进行设置
10.新增未适配的通知图标可以启用“占位符图标”功能临时修补状态栏中不规范的彩色通知图标
11.修复通知图标优化名单无法同步的问题,移除 FastGit,更换为 7ED Services
12.新增通知图标优化名单自动同步失败时可以点击通知栏的通知进行重试
13.修复一个通知图标优化名单无法自动同步的历史遗留问题
14.更换判断 APP 安装与卸载的相关代码以及通知图标优化名单自动更新的相关代码
15.合并通知图标优化名单的相关在线功能到 AndroidNotifyIconAdapt 项目
16.修复手动停用模块后依然显示“模块已激活”的问题
17.加入手动刷新系统界面的功能,可以在完全激活模块的前提下在重启系统界面对话框中选择“立即生效”
18.重写模块调试日志功能,现在调试日志可以动态启用和关闭,以及可以导出全部调试日志
19.模块主界面加入 Android 版本代号名称的显示功能
20.加入非中文语言的 I18n 适配警告对话框
21.加入 Root 权限获取失败的相关说明
22.优化大量底层代码
23.更新 YukiHookAPI

Assets

1

1.85

Stable

5/30/2022, 8:08:33 PM

1.修复上一个版本低于 Android 12 的系统反复提示重启系统界面的问题
2.优化模块安装包体积
3.新增可调整通知栏图标圆角边框大小功能,仅支持启用了 Android 12 通知栏风格的通知图标

Assets

1

1.8

Stable

5/29/2022, 8:00:56 PM

1.修复在线规则自动更新在部分系统会闪退的问题
2.完全重构底层 Hook 以及模块通讯 API
3.新增图标规则开启“全部替换”时的提示
4.优化部分 UI
5.新增通知栏的通知图标可强制使用 APP 图标的功能(参考了部分用户的建议)

Assets

1

1.77

Stable

5/9/2022, 8:12:06 AM

1.修复 ColorOS 12.1 上媒体通知无法应用透明度的问题(可能不会在旧版本生效)
2.新增媒体通知自动展开的功能(仅支持 ColorOS 12.1 和 RealmeUI 3+)
3.通知面板背景透明度调整改为百分比计算方式,之前设置的值会失效,请重新设置

Assets

1

1.76

Stable

5/8/2022, 5:25:04 PM

1.尝试修复通知面板透明功能在 ColorOS 12 不生效的问题
2.修复通知图标优化名单自动更新崩溃问题
3.更新底层 Hook API

Assets

1

1.75

Stable

5/5/2022, 7:21:00 AM

1.修复通知面板中折叠通知背景不能透明化的问题,感谢 @NextAlone
2.修复部分系统可能存在通知面板背景透明后有阴影的问题
3.默认关闭通知面板背景透明度功能,且调整为实验性功能
4.更新底层 Hook API

Assets

1

1.7

Stable

5/3/2022, 10:51:12 PM

1.新增通知面板透明度调整功能
2.优化底层 Hook 逻辑,运行速度更快

Assets

1

1.6

Stable

4/13/2022, 7:22:25 PM

1.更换方案,彻底修复通知过多时系统界面会卡死停止运行的问题
2.优化底层 Hook 逻辑
3.增加 DEBUG 版本的应用安装将不再会推送通知图标适配提醒通知

Assets

1

1.53

Stable

4/4/2022, 3:25:07 PM

1.修复 Android 11 版本 Hook 完全不生效的问题
2.修复潜在的 Hook 异常问题

Assets

1

1.52

Stable

4/4/2022, 6:54:31 AM

1.修复系统界面未响应和停止运行的问题
2.性能提升,优化底层 Hook 逻辑
3.其它已知 BUG 修复

Assets

1

1.51

Stable

3/29/2022, 1:23:44 PM

1.修复 Hook 方法未做缓存造成的系统 GC 系统界面停止运行问题
2.优化 Hook 性能,提升通知栏图标动态刷新响应速度

Assets

1

1.5

Stable

3/28/2022, 6:52:17 AM

1.加入模块自动检查更新功能
2.加入通知图标优化名单在线规则自动更新功能
3.加入动态刷新系统界面功能,不需要再次重启系统界面
4.优化模块 UI 风格
5.加入模块激活有效性检查
6.增加通知栏磁贴快捷打开通知图标在线规则同步列表
7.重构模块大量代码,提升 Hook 效率和稳定性

Assets

1

1.36

Stable

3/12/2022, 6:09:34 PM

增加移除免打扰通知功能

Assets

1

1.35

Stable

3/5/2022, 7:26:38 PM

1.通知图标优化名单自定义规则加入可导入数组和非数组 JSON 选择合并和覆盖功能
2.修复 CI 版本 LSPosed 在开启了“只有模块classloader可以使用Xposed API“后功能失效的问题

Assets

1

1.3

Stable

3/4/2022, 5:01:49 PM

1.增加 FastGit 通知图标优化在线规则同步地址
2.同步地址和规则加入自定义功能
3.修改 ColorOS 版本判断方式

Assets

1

1.2

Stable

3/1/2022, 7:27:49 PM

1.增加联网判断以及保姆级设置教程
2.升级 Hook API,修复部分可能存在的问题

Assets

1

1.1

Stable

2/28/2022, 4:38:50 PM

1.尝试修复 ColorOS11 不能使用的问题
2.修复 OPPO、Realme 系列设备发生的问题
3.优化深色模式下 Android 12 的通知图标着色处理方案
4.修复部分可能发生的问题
5.给系统通知增加原生 Android 小图标

Assets

1

1.0

Stable

2/27/2022, 4:12:52 PM

首个版本提交,有问题请提交至 issues

Assets

1