[Xiaomi Mi 5 ROMs, Kernels, Recoveries, & Other Dev] zicoxx:
This patch enable Blur in MiuisystemUi for Notification Panel and Recent Panel

Decompile /priv-app/MiuiSystemUI.apk (and make a backup of it) with BatchApkTool.exe (Search in bottom folder in language RU )

1) IMPORTANT : you must add Blur library smali in smali/com/android/systemui/statusbar/phone

PhoneStatusBarBlurImageView.smali

2) you must edit res/layout

- recents.xml

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.phone.BlurBackground android:id="@id/background" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" />
<com.android.systemui.statusbar.AlphaOptimizedView android:id="@id/background" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<com.android.systemui.recents.views.RecentsView android:id="@id/recents_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<ViewStub android:layout_gravity="center|top" android:id="@id/incompatible_app_overlay_stub" android:layout="@layout/recents_incompatible_app_overlay" android:inflatedId="@id/incompatible_app_overlay" android:layout_width="fill_parent" android:layout_height="128.0dip" />
<com.android.systemui.statusbar.AlphaOptimizedImageView android:layout_gravity="bottom|center" android:id="@id/nav_bar_scrim" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/recents_lower_gradient" android:scaleType="fitXY" />
<include android:layout_gravity="bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:alpha="0.0" layout="@layout/recents_memory_clear" />
<TextView android:textSize="@dimen/recents_dock_btn_text_size" android:textColor="@color/recents_dock_btn_text_color" android:gravity="center" android:layout_gravity="start|center|top" android:id="@id/btnDock" android:paddingLeft="10.0dip" android:paddingTop="23.0dip" android:paddingRight="30.0dip" android:paddingBottom="23.0dip" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/recents_multi_window_mode" android:drawableLeft="@drawable/ic_recents_dock_btn" android:drawablePadding="5.0dip" android:alpha="0.0" android:fontFamily="sans-serif-medium" style="@style/TaskItemTitle" />
<TextView android:textSize="12.0sp" android:textColor="@color/recents_tip_color" android:layout_gravity="center|top" android:id="@id/tip" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/recents_tip_margin_top" android:text="@string/recent_dock_tip" android:fontFamily="sans-serif-medium" style="@style/TaskItemTitle" />
</FrameLayout>

-status_bar_expanded.xml

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.TrackingView android:id="@id/notification_panel" android:background="@drawable/notification_panel_outside_bg" android:focusable="true" android:descendantFocusability="afterDescendants" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.phone.PhoneStatusBarBlurImageView android:id="@id/expanded_bg" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" />
<View android:id="@id/expanded_bg" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:gravity="center_horizontal" android:layout_gravity="@integer/notification_panel_layout_gravity" android:id="@id/expanded_status_bar_content" android:background="@drawable/notification_list_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
<include android:id="@id/expanded_notifications" layout="@layout/status_bar_expanded_notifications" />
<include android:id="@id/expended_toggles" layout="@layout/status_bar_expanded_toggles" />
</FrameLayout>
<com.android.systemui.statusbar.phone.ExpandedBottomView android:id="@id/tab_bar" android:layout_width="fill_parent" android:layout_height="wrap_content">
<LinearLayout android:layout_gravity="bottom|center" android:id="@id/tab_indicator" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/tab_notifications" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tab_notifications_bg" android:contentDescription="@string/accessibility_desc_notification_shade" />
<ImageView android:id="@id/tab_toggles" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tab_toggles_bg" android:contentDescription="@string/accessibility_desc_quick_settings" />
</LinearLayout>
<LinearLayout android:layout_gravity="bottom|center" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" android:textSize="12.0dip" android:ellipsize="marquee" android:gravity="center" android:id="@id/latest_area_info1" android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" android:paddingStart="15.0dip" android:paddingEnd="15.0dip" />
<TextView android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent" android:textSize="12.0dip" android:ellipsize="marquee" android:gravity="center" android:id="@id/latest_area_info2" android:visibility="invisible" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" android:paddingStart="15.0dip" android:paddingEnd="15.0dip" />
</LinearLayout>
</com.android.systemui.statusbar.phone.ExpandedBottomView>
<LinearLayout android:layout_gravity="bottom|center" android:id="@id/tab_buttons" android:layout_width="wrap_content" android:layout_height="wrap_content">
<ImageView android:id="@id/clear_all_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" android:contentDescription="@string/accessibility_clear_all" />
<ImageView android:layout_gravity="center_vertical" android:id="@id/settings_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_quicksettings" android:contentDescription="@string/accessibility_settings" />
</LinearLayout>
<include layout="@layout/status_bar_expanded_header" />
<include android:id="@id/status_bar_simple_expanded" layout="@layout/status_bar_simple" />
</com.android.systemui.statusbar.phone.TrackingView>

-status_bar_expanded_single_page.xml

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.NotificationPanelView android:id="@id/notification_panel" android:background="@drawable/notification_panel_outside_bg" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:androidprv="http://schemas.android.com/apk/res-auto"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.phone.PhoneStatusBarBlurImageView android:id="@id/expanded_bg" android:layout_width="fill_parent" android:layout_height="fill_parent" android:scaleType="centerCrop" />
<View android:id="@id/expanded_bg" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<FrameLayout android:gravity="center_horizontal" android:layout_gravity="@integer/notification_panel_layout_gravity" android:orientation="vertical" android:id="@id/notification_container_parent" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="center_horizontal" android:orientation="vertical" android:id="@id/quick_settings_container" android:background="@drawable/toggles_bg" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.phone.ExpandableTogglesLayout android:orientation="vertical" android:id="@id/expandable_toggle_layout" android:layout_width="fill_parent" android:layout_height="@dimen/single_page_toggles_height" />
<include android:layout_width="fill_parent" android:layout_height="@dimen/single_page_brightness_panel_height" android:layout_marginBottom="@dimen/single_page_brightness_panel_bottom" layout="@layout/status_bar_expanded_brightness_panel" />
<include android:layout_width="fill_parent" android:layout_height="wrap_content" layout="@layout/status_bar_expanded_flow" />
</LinearLayout>
<View android:id="@id/notification_stack_bg" android:background="@drawable/notification_list_bg" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.stack.NotificationStackScrollLayout android:id="@id/notification_stack_scroller" android:fadingEdge="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" />
<include android:id="@id/qs_detail" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" layout="@layout/qs_detail" />
</FrameLayout>
<ImageView android:layout_gravity="center_horizontal" android:id="@id/clear_all_button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_notify_clear" android:contentDescription="@string/accessibility_clear_all" />
<include layout="@layout/status_bar_expanded_header" />
<include android:id="@id/status_bar_simple_expanded" layout="@layout/status_bar_simple" />
</com.android.systemui.statusbar.phone.NotificationPanelView>

-------

BONUS in res/layout you can edit

--------

status_bar_simple (to make center clock or as you want)

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.phone.SimpleStatusBar android:gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_height" android:paddingStart="@dimen/round_cornor_padding" android:paddingEnd="@dimen/round_cornor_padding"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.phone.BatteryIndicator android:layout_gravity="top" android:id="@id/battery_indicator" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/battery_indicator" android:scaleType="fitXY" />
<LinearLayout android:orientation="horizontal" android:id="@id/icons" android:paddingLeft="3.0dip" android:paddingRight="3.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:gravity="left" android:paddingRight="3.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<LinearLayout android:gravity="center_vertical" android:id="@id/signal_cluster_container" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<include android:id="@id/signal_cluster" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<include android:id="@id/signal_cluster2" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" layout="@layout/signal_cluster_view" />
<com.android.systemui.statusbar.NetworkSpeedView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:gravity="center|left" android:id="@id/network_speed_view" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginLeft="3.0dip" android:layout_marginRight="3.0dip" android:singleLine="true" />
<LinearLayout android:gravity="center|right" android:id="@id/notification_icon_area" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/notification_more_icon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<com.android.systemui.statusbar.phone.IconMerger android:gravity="center_vertical" android:id="@id/notificationIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</LinearLayout>
</LinearLayout>
<TextView android:textAppearance="@style/TextAppearance.StatusBar.PhoneTicker" android:gravity="center" android:id="@id/returnToMultiMode" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="@string/click_to_return_multi_window" android:singleLine="true" android:layout_centerInParent="true" />
</LinearLayout>
<LinearLayout android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="start|center" android:id="@id/clock" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" />
</LinearLayout>
<LinearLayout android:gravity="right" android:layout_gravity="right" android:paddingLeft="3.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0">
<com.android.systemui.statusbar.phone.StatusBarIcons android:gravity="end|center" android:id="@id/statusbar_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentEnd="true">
<com.android.systemui.statusbar.StatusBarIconView android:id="@id/moreIcon" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/stat_notify_more" />
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/statusIcons" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<ImageView android:id="@id/battery_charging_icon" android:layout_width="wrap_content" android:layout_height="fill_parent" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Battery" android:gravity="center" android:id="@id/battery_num" android:paddingBottom="@dimen/statusbar_battery_text_bottom_padding" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_marginStart="1.0dip" android:layout_marginEnd="3.0dip" />
<com.android.systemui.statusbar.phone.BatteryStatusIconView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</com.android.systemui.statusbar.phone.StatusBarIcons>
</LinearLayout>
</LinearLayout>
</com.android.systemui.statusbar.phone.SimpleStatusBar>

signal_cluster_view.xml to make a REAL IOS signal icon (wifi AFTER cellular signal)

<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.SignalClusterView android:orientation="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="center_vertical" android:id="@id/speech_hd" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_speech_hd" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="center_vertical" android:id="@id/mobile_roam" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_data_connected_roam" />
<FrameLayout android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content">
<LinearLayout android:id="@id/mobile_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="start|bottom|center" android:id="@id/mobile_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.android.systemui.statusbar.AnimatedImageView android:id="@id/mobile_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<ImageView android:id="@id/card_slot" android:visibility="invisible" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@id/carrier" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:layout_width="0.0dip" android:layout_height="fill_parent" android:maxEms="10" android:singleLine="true" android:layout_weight="1.0" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:gravity="center_vertical" android:id="@id/mobile_type" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="1.0dip" android:paddingEnd="3.0dip" />
</LinearLayout>
<com.android.systemui.statusbar.AnimatedImageView android:id="@id/airplane" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:gravity="center_vertical" android:id="@id/mobile_combo_cdma" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent">
<ImageView android:id="@id/mobile_inout_cdma" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<LinearLayout android:orientation="vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layoutDirection="ltr">
<LinearLayout android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:id="@id/mobile_signal_evdo" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Carrier.CDMA" android:id="@id/mobile_type_evdo" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
<LinearLayout android:gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1.0">
<ImageView android:id="@id/mobile_signal_cdma" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Carrier.CDMA" android:id="@id/mobile_type_cdma" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/stat_sys_data_connected_1x_half" />
</LinearLayout>
</LinearLayout>
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@id/carrier_cdma" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:layout_width="0.0dip" android:layout_height="wrap_content" android:maxEms="10" android:singleLine="true" android:layout_weight="1.0" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" />
</LinearLayout>
</FrameLayout>
<com.android.systemui.statusbar.AnimatedImageView android:id="@id/wifi_ap_on" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_wifi_ap_on" />
<LinearLayout android:id="@id/wifi_combo" android:layout_width="wrap_content" android:layout_height="wrap_content">
<FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<com.android.systemui.statusbar.AnimatedImageView android:id="@id/wifi_signal" android:layout_width="wrap_content" android:layout_height="wrap_content" />
<com.android.systemui.statusbar.AnimatedImageView android:id="@id/wifi_ap_connect_mark" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/stat_sys_wifi_ap" />
<com.android.systemui.statusbar.AnimatedImageView android:layout_gravity="bottom|center" android:id="@id/wifi_inout" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:ellipsize="marquee" android:gravity="center_vertical" android:id="@id/wifi_label" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="fill_parent" android:maxEms="10" android:singleLine="true" android:paddingStart="3.0dip" android:paddingEnd="3.0dip" />
<TextView android:textAppearance="@style/TextAppearance.StatusBar.Carrier" android:ellipsize="marquee" android:gravity="center_vertical" android:layout_gravity="center_vertical" android:id="@id/volte" android:paddingBottom="@dimen/statusbar_text_bottom_padding" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/status_bar_volte_label" android:maxEms="10" android:singleLine="true" android:paddingStart="1.0dip" android:paddingEnd="3.0dip" />
</LinearLayout>
</com.android.systemui.statusbar.SignalClusterView>

3) you must edit in values-mcc9998-mnc9999

bools.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_show_statusbar_blur_bg">true</bool>
<bool name="config_show_statusbar_search">false</bool>
</resources>