Download Appteka (works without ads)

Appteka is a community-driven, free Android apps market

Notification Icon Fix

Notification Icon Fix icon

Notification Icon Fix

20 downloads

Uploaded by
Psychopath
Version
1.6.11 (build 98) 
Size
22.0 KiB
Publish Date
2025-09-26
Category
Tools
Package
io.github.howard20181.notificationiconfix
Minimum OS
Android 8.1
SHA1
c0c26aba2f4ffbbccfbbf38f62351a6222b3cebf
Description
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

You may also be interested