[Xposed Framework Modules] S0bes:
also here is the instruction for doing the same thing but without xposed. Don't be afraid. Looks heavy but it's easy to do if follow exactly how it says.

please don't ask me how to do it cause the instruction is only for people who can work with apktool.

1. SystemUI\res\values\integers.xml

<integer name="status_bar_max_show_icons_size">5</integer>

responsible for amount of notifications icons in status bar.

2. SystemUI\smali\com\flyme\systemui\statusbar\phone\FlymeStatusBarIconUtils.smali

find

.method public static isInternalApp(Landroid/content/Context;Landroid/service/notification/StatusBarNotification;)Z
...

paste following methods before it

.method public static isInternalApp1(Landroid/content/Context;Landroid/service/notification/StatusBarNotification;)Z
.locals 1
.param p0, "mContext" # Landroid/content/Context;
.param p1, "sbn" # Landroid/service/notification/StatusBarNotification;

.prologue
const/4 v0, 0x1

return v0
.end method

.method public static isInternalApp1(Landroid/content/Context;Ljava/lang/String;)Z
.locals 1
.param p0, "mContext" # Landroid/content/Context;
.param p1, "pkg" # Ljava/lang/String;

.prologue
const/4 v0, 0x1

return v0
.end method

3. Change isInternalApp to isInternalApp1 in the following methods:

a)com/android/systemui/statusbar/phone/PhoneStatusBar.smali

.method protected addNotificationViews(Lcom/android/systemui/statusbar/NotificationData$Entry;Landroid/service/notification/NotificationListenerService$RankingMap;)V

.method protected removeNotificationViews(Ljava/lang/String;Landroid/service/notification/NotificationListenerService$RankingMap;)Landroid/service/notification/StatusBarNotification;

b)

.method public updateNotificationIcons(Lcom/android/systemui/statusbar/NotificationData;ZI)V

4. Create file SystemUI\smali\com\android\systemui\statusbar\IconScale.smali

with following code

.class Lcom/android/systemui/statusbar/IconScale;
.super Ljava/lang/Object;
.source "IconScale.java"

# static fields
.field public static scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

# direct methods
.method static constructor <clinit>()V
.locals 1

.prologue
.line 13
const/4 v0, 0x0

sput-object v0, Lcom/android/systemui/statusbar/IconScale;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

return-void
.end method

.method public constructor <init>()V
.locals 0

.prologue
.line 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

return-void
.end method

.method public static ScaleIfNeeded(Landroid/content/Context;Lcom/android/internal/statusbar/StatusBarIcon;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
.locals 2
.param p0, "context" # Landroid/content/Context;
.param p1, "icon" # Lcom/android/internal/statusbar/StatusBarIcon;
.param p2, "dr" # Landroid/graphics/drawable/Drawable;

.prologue
.line 18
const/4 v0, 0x0

.line 20
.local v0, "pkg":Ljava/lang/String;
iget-object v0, p1, Lcom/android/internal/statusbar/StatusBarIcon;->iconPackage:Ljava/lang/String;

invoke-static {p0, v0}, Lcom/android/systemui/statusbar/IconScale;->isSystemApp(Landroid/content/Context;Ljava/lang/String;)Z

move-result v1

if-nez v1, :cond_0

.line 22
instance-of v1, p2, Landroid/graphics/drawable/BitmapDrawable;

if-eqz v1, :cond_1

.line 24
invoke-static {p0, p2}, Lcom/android/systemui/statusbar/IconScale;->scaleIcon(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/BitmapDrawable;

move-result-object p2

.line 34
.end local p2 # "dr":Landroid/graphics/drawable/Drawable;
:cond_0
:goto_0
return-object p2

.line 27
.restart local p2 # "dr":Landroid/graphics/drawable/Drawable;
:cond_1
instance-of v1, p2, Landroid/graphics/drawable/AnimationDrawable;

if-eqz v1, :cond_0

.line 29
check-cast p2, Landroid/graphics/drawable/AnimationDrawable;

.end local p2 # "dr":Landroid/graphics/drawable/Drawable;
invoke-static {p0, p2}, Lcom/android/systemui/statusbar/IconScale;->scaleAnimation(Landroid/content/Context;Landroid/graphics/drawable/AnimationDrawable;)Landroid/graphics/drawable/AnimationDrawable;

move-result-object p2

goto :goto_0
.end method

.method public static isException(Ljava/lang/String;)Z
.locals 1
.param p0, "pkg" # Ljava/lang/String;

.prologue
.line 88
const-string v0, "com.google.android.apps.gmm"

invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v0

if-nez v0, :cond_0

.line 89
const-string v0, "com.google.android.googlequicksearchbox"

invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v0

if-nez v0, :cond_0

.line 90
const-string v0, "com.google.android.gms"

invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v0

if-nez v0, :cond_0

.line 91
const-string v0, "com.android.vending"

invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

move-result v0

if-eqz v0, :cond_1

.line 92
:cond_0
const/4 v0, 0x1

.line 93
:goto_0
return v0

:cond_1
const/4 v0, 0x0

goto :goto_0
.end method

.method public static isSystemApp(Landroid/content/Context;Ljava/lang/String;)Z
.locals 5
.param p0, "context" # Landroid/content/Context;
.param p1, "pkg" # Ljava/lang/String;

.prologue
const/4 v2, 0x0

.line 72
if-eqz p1, :cond_0

invoke-static {p1}, Lcom/android/systemui/statusbar/IconScale;->isException(Ljava/lang/String;)Z

move-result v3

if-eqz v3, :cond_1

.line 80
:cond_0
:goto_0
return v2

.line 75
:cond_1
:try_start_0
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

move-result-object v3

const/4 v4, 0x0

invoke-virtual {v3, p1, v4}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;

move-result-object v0

.line 76
.local v0, "appInfo":Landroid/content/pm/ApplicationInfo;
if-eqz v0, :cond_0

iget v3, v0, Landroid/content/pm/ApplicationInfo;->flags:I
:try_end_0
.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

and-int/lit8 v3, v3, 0x1

if-eqz v3, :cond_0

.line 77
const/4 v2, 0x1

goto :goto_0

.line 78
.end local v0 # "appInfo":Landroid/content/pm/ApplicationInfo;
:catch_0
move-exception v1

.line 79
.local v1, "e":Landroid/content/pm/PackageManager$NameNotFoundException;
invoke-virtual {v1}, Landroid/content/pm/PackageManager$NameNotFoundException;->printStackTrace()V

goto :goto_0
.end method

.method public static scaleAnimation(Landroid/content/Context;Landroid/graphics/drawable/AnimationDrawable;)Landroid/graphics/drawable/AnimationDrawable;
.locals 5
.param p0, "ctx" # Landroid/content/Context;
.param p1, "Aicon" # Landroid/graphics/drawable/AnimationDrawable;

.prologue
const/4 v3, 0x0

.line 47
invoke-virtual {p1, v3}, Landroid/graphics/drawable/AnimationDrawable;->getFrame(I)Landroid/graphics/drawable/Drawable;

move-result-object v0

check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

.line 48
.local v0, "frame00":Landroid/graphics/drawable/BitmapDrawable;
invoke-static {p0, v0}, Lcom/android/systemui/statusbar/IconScale;->scaleIcon(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/BitmapDrawable;

move-result-object v0

.line 49
new-instance v2, Landroid/graphics/drawable/AnimationDrawable;

invoke-direct {v2}, Landroid/graphics/drawable/AnimationDrawable;-><init>()V

sput-object v2, Lcom/android/systemui/statusbar/IconScale;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

.line 50
sget-object v2, Lcom/android/systemui/statusbar/IconScale;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

invoke-virtual {v2, v3}, Landroid/graphics/drawable/AnimationDrawable;->setOneShot(Z)V

.line 51
sget-object v2, Lcom/android/systemui/statusbar/IconScale;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

invoke-virtual {v2, v0, v3}, Landroid/graphics/drawable/AnimationDrawable;->addFrame(Landroid/graphics/drawable/Drawable;I)V

.line 54
const/4 v1, 0x0

.local v1, "i":I
:goto_0
invoke-virtual {p1}, Landroid/graphics/drawable/AnimationDrawable;->getNumberOfFrames()I

move-result v2

add-int/lit8 v2, v2, -0x1

if-le v1, v2, :cond_0

.line 60
sget-object v2, Lcom/android/systemui/statusbar/IconScale;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

return-object v2

.line 56
:cond_0
sget-object v2, Lcom/android/systemui/statusbar/IconScale;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

invoke-virtual {p1, v1}, Landroid/graphics/drawable/AnimationDrawable;->getFrame(I)Landroid/graphics/drawable/Drawable;

move-result-object v3

invoke-static {p0, v3}, Lcom/android/systemui/statusbar/IconScale;->scaleIcon(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/BitmapDrawable;

move-result-object v3

invoke-virtual {p1, v1}, Landroid/graphics/drawable/AnimationDrawable;->getDuration(I)I

move-result v4

invoke-virtual {v2, v3, v4}, Landroid/graphics/drawable/AnimationDrawable;->addFrame(Landroid/graphics/drawable/Drawable;I)V

.line 54
add-int/lit8 v1, v1, 0x1

goto :goto_0
.end method

.method public static scaleIcon(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/BitmapDrawable;
.locals 4
.param p0, "ctx" # Landroid/content/Context;
.param p1, "icon" # Landroid/graphics/drawable/Drawable;

.prologue
const/16 v3, 0x20

.line 65
check-cast p1, Landroid/graphics/drawable/BitmapDrawable;

.end local p1 # "icon":Landroid/graphics/drawable/Drawable;
invoke-virtual {p1}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

move-result-object v1

.line 66
.local v1, "src":Landroid/graphics/Bitmap;
const/4 v2, 0x1

invoke-static {v1, v3, v3, v2}, Landroid/graphics/Bitmap;->createScaledBitmap(Landroid/graphics/Bitmap;IIZ)Landroid/graphics/Bitmap;

move-result-object v0

.line 67
.local v0, "dest":Landroid/graphics/Bitmap;
new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v3

invoke-direct {v2, v3, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

return-object v2
.end method

5. SystemUI\smali\com\android\systemui\statusbar\StatusBarIconView.smali

Find method

.method public static getIcon(Landroid/content/Context;Lcom/android/internal/statusbar/StatusBarIcon;)Landroid/graphics/drawable/Drawable;

increment the number of locals to 1

before

.locals 9

after

.locals 10

Find

invoke-static {v5}, Lcom/flyme/systemui/statusbar/phone/MeizuCustomizedIcons;->isMeizuCustomizedIcon(Ljava/lang/String;)Z

move-result v5

paste after

move v9, v5

where v9 is a number which is very simple to get: .locals -1 =10 -1=9

Find

return-object v5

paste BEFORE it

if-nez v9, :cond_skip
invoke-static {p0, p1, v5}, Lcom/android/systemui/statusbar/IconScale;->ScaleIfNeeded(Landroid/content/Context;Lcom/android/internal/statusbar/StatusBarIcon;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;

move-result-object v5
:cond_skip

keep looking for registers (v9 and v5). If your code returning different register (not v5) then change it in pasted code as well.

6. SystemUI\smali\com\flyme\systemui\statusbar\phone\MarqueeTicker.smali

Find method

.method public addEntry(Landroid/service/notification/StatusBarNotification;)V

Find

invoke-virtual/range {p1 .. p1}, Landroid/service/notification/StatusBarNotification;->isOngoing()Z

move-result v4

if-eqz v4, :cond_5

change

if-eqz v4, :cond_5

To

goto :cond_5

Find

:cond_5

and find code a little bit bellow it

invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v18

.restart local v18 # "tickerIcon":Landroid/graphics/drawable/Drawable;

change the code so it looks now this:

invoke-virtual {v4, v5}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v18

iget-object v0, v0, Lcom/flyme/systemui/statusbar/phone/MarqueeTicker;->mContext:Landroid/content/Context;

invoke-static {v0, v13}, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->ScaleTicker(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;

move-result-object v13

move-object/from16 v18, v13

.restart local v18 # "tickerIcon":Landroid/graphics/drawable/Drawable;

where register v13 keeps drawable icon. you can check it if you search for the code like this:

invoke-static {v0, v4}, Lcom/android/systemui/statusbar/StatusBarIconView;->getIcon(Landroid/content/Context;Lcom/android/internal/statusbar/StatusBarIcon;)Landroid/graphics/drawable/Drawable;

move-result-object v13

7. Crearte file SystemUI\smali\com\flyme\systemui\statusbar\phone\IconScaleTicker.smali

with following strings:

.class Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;
.super Ljava/lang/Object;
.source "IconScaleTicker.java"

# static fields
.field public static scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

# direct methods
.method static constructor <clinit>()V
.locals 1

.prologue
.line 13
const/4 v0, 0x0

sput-object v0, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

return-void
.end method

.method public constructor <init>()V
.locals 0

.prologue
.line 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V

return-void
.end method

.method public static ScaleTicker(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/Drawable;
.locals 2
.param p0, "context" # Landroid/content/Context;
.param p1, "dr" # Landroid/graphics/drawable/Drawable;

.prologue
.line 18
const/4 v0, 0x0

.line 22
instance-of v1, p1, Landroid/graphics/drawable/BitmapDrawable;

if-eqz v1, :cond_1

.line 24
invoke-static {p0, p1}, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaleIcon(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/BitmapDrawable;

move-result-object p1

.line 34
.end local p1 # "dr":Landroid/graphics/drawable/Drawable;
:cond_0
:goto_0
return-object p1

.line 27
.restart local p1 # "dr":Landroid/graphics/drawable/Drawable;
:cond_1
instance-of v1, p1, Landroid/graphics/drawable/AnimationDrawable;

if-eqz v1, :cond_0

.line 29
check-cast p1, Landroid/graphics/drawable/AnimationDrawable;

.end local p1 # "dr":Landroid/graphics/drawable/Drawable;
invoke-static {p0, p1}, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaleAnimation(Landroid/content/Context;Landroid/graphics/drawable/AnimationDrawable;)Landroid/graphics/drawable/AnimationDrawable;

move-result-object p1

goto :goto_0
.end method

.method public static scaleAnimation(Landroid/content/Context;Landroid/graphics/drawable/AnimationDrawable;)Landroid/graphics/drawable/AnimationDrawable;
.locals 5
.param p0, "ctx" # Landroid/content/Context;
.param p1, "Aicon" # Landroid/graphics/drawable/AnimationDrawable;

.prologue
const/4 v3, 0x0

.line 47
invoke-virtual {p1, v3}, Landroid/graphics/drawable/AnimationDrawable;->getFrame(I)Landroid/graphics/drawable/Drawable;

move-result-object v0

check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

.line 48
.local v0, "frame00":Landroid/graphics/drawable/BitmapDrawable;
invoke-static {p0, v0}, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaleIcon(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/BitmapDrawable;

move-result-object v0

.line 49
new-instance v2, Landroid/graphics/drawable/AnimationDrawable;

invoke-direct {v2}, Landroid/graphics/drawable/AnimationDrawable;-><init>()V

sput-object v2, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

.line 50
sget-object v2, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

invoke-virtual {v2, v3}, Landroid/graphics/drawable/AnimationDrawable;->setOneShot(Z)V

.line 51
sget-object v2, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

invoke-virtual {v2, v0, v3}, Landroid/graphics/drawable/AnimationDrawable;->addFrame(Landroid/graphics/drawable/Drawable;I)V

.line 54
const/4 v1, 0x0

.local v1, "i":I
:goto_0
invoke-virtual {p1}, Landroid/graphics/drawable/AnimationDrawable;->getNumberOfFrames()I

move-result v2

add-int/lit8 v2, v2, -0x1

if-le v1, v2, :cond_0

.line 60
sget-object v2, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

return-object v2

.line 56
:cond_0
sget-object v2, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaled_anim:Landroid/graphics/drawable/AnimationDrawable;

invoke-virtual {p1, v1}, Landroid/graphics/drawable/AnimationDrawable;->getFrame(I)Landroid/graphics/drawable/Drawable;

move-result-object v3

invoke-static {p0, v3}, Lcom/flyme/systemui/statusbar/phone/IconScaleTicker;->scaleIcon(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/BitmapDrawable;

move-result-object v3

invoke-virtual {p1, v1}, Landroid/graphics/drawable/AnimationDrawable;->getDuration(I)I

move-result v4

invoke-virtual {v2, v3, v4}, Landroid/graphics/drawable/AnimationDrawable;->addFrame(Landroid/graphics/drawable/Drawable;I)V

.line 54
add-int/lit8 v1, v1, 0x1

goto :goto_0
.end method

.method public static scaleIcon(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/BitmapDrawable;
.locals 4
.param p0, "ctx" # Landroid/content/Context;
.param p1, "icon" # Landroid/graphics/drawable/Drawable;

.prologue
const/16 v3, 0x20

.line 65
check-cast p1, Landroid/graphics/drawable/BitmapDrawable;

.end local p1 # "icon":Landroid/graphics/drawable/Drawable;
invoke-virtual {p1}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

move-result-object v1

.line 66
.local v1, "src":Landroid/graphics/Bitmap;
const/4 v2, 0x1

invoke-static {v1, v3, v3, v2}, Landroid/graphics/Bitmap;->createScaledBitmap(Landroid/graphics/Bitmap;IIZ)Landroid/graphics/Bitmap;

move-result-object v0

.line 67
.local v0, "dest":Landroid/graphics/Bitmap;
new-instance v2, Landroid/graphics/drawable/BitmapDrawable;

invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

move-result-object v3

invoke-direct {v2, v3, v0}, Landroid/graphics/drawable/BitmapDrawable;-><init>(Landroid/content/res/Resources;Landroid/graphics/Bitmap;)V

return-object v2
.end method

AND FINALLY

in both smali files (IconScale.smali and IconScaleTicker.smali) there is a code:

.method public static scaleIcon(Landroid/content/Context;Landroid/graphics/drawable/Drawable;)Landroid/graphics/drawable/BitmapDrawable;
.locals 4
.param p0, "ctx" # Landroid/content/Context;
.param p1, "icon" # Landroid/graphics/drawable/Drawable;

.prologue
const/16 v3, 0x20
...

where 0x20 is a size of icon in HEX. We resize icons cause if we won't do this they'll be ****ing BIG.

0x20 is perfect for M2 mini I think. Other phones should use different number. Play with the number guys.

please give proper credits if you use it