Notification Icon Fix

Verified safeOpen sourceExclusive
No reviews reviews
69
downloads
8.1
android

AI summary

Xposed module that fixes white notification icons on AOSP, MIUI, and HyperOS by automatically detecting icon structure, extracting primary colors, and generating properly contrasted, bordered icons. v1.7.1 refactors the icon generation algorithm for gradient background support and adds API 101 compatibility.

Generated by AI. May contain inaccuracies.

Screenshots

About this app

A module for AOSP, MIUI, and HyperOS that uses an algorithm to convert white notification icons into recognizable icons.

Supported Systems

- Android 8.1 and above (AOSP main branch) - HyperOS - MIUI 10 and above

Algorithm Details

1. Detect and reduce oversized icons to the maximum allowed icon size 2. Map the icon’s pixel positions to a two-dimensional coordinate system and calculate the geometric center 3. (For MIUI) Detect transparent borders and trim the icons 4. (For MIUI and HyperOS) Detect if the icon has a marketing banner and replace it with a proper icon (requires manual installation) 5. (For HyperOS) Detect if the icon is a weather icon and replace it with an MAML icon displaying real-time temperature (note: there is a race condition on HyperOS causing the temperature area to sometimes appear blank, which is a system bug) 6. Calculate the average luminance, excluding transparent pixels 7. Identify the most common color of edge pixels 8. Calculate the Euclidean distance between the edge pixel colors and the most common color in the Lab color space to determine whether the icon has a border 9. Determine whether the icon background is light or dark 10. Use K-means clustering to extract the primary color of the icon 11. Invert the icon foreground according to the background and remove the border 12. Determine the actual visible area of the icon and remove blank spaces based on the visual center 13. Output the final result, caching the icon and accent color to a WeakHashMap

What's new

v1.7.1Apr 7, 2026

Refactored icon generation algorithm; now it can calculate outlines even with gradient backgrounds. - Added support for API 101.

About this version

Version
1.7.1 (103)
Size
25.09 KB
Requires Android
8.1
Target SDK
27
Architecture
universal
Downloads
69
Updated
Apr 7, 2026
Package
io.github.howard20181.notificationiconfix

Similar apps

Ratings & reviews

0 ratings
  • 5
    0
  • 4
    0
  • 3
    0
  • 2
    0
  • 1
    0

Write a review

Tap a star to rate this app