[Xiaomi Redmi Note 5 Pro ROMs, Kernels, Recoveries,] Pupet_Master:
Hey guys, i've made a MIUI Debloat Script for ALL MIUI based ROMs (even Chinese as i included crap apps such as Baidu to debloat exclusive from that ROM). The idea is to keep a simple and clean system. You also can install a Full Hosts File so you can block ads without installing a third party app.

Tested on mi-Globe

To install download the MIUI-Debloat.zip or MIUI-Debloat-Safe.zip or MIUI-Debloat-Full.zip and Hosts.zip

Download:

https://www.androidfilehost.com/?w=files&flid=296356

Instructions:

HOW TO INSTALL?

Flash the Debloat zip AFTER the first boot and initial setup!!

1 - Download and save the choosen zip file to the folder that you use to flash zips.

2 - Reboot to TWRP recovery.

3 - Make a FULL nanobackup on TWRPs "BACKUP" section (data, system, vendor, boot, all you can/need).

4 - Select the zip you just downloaded and flash it.

5 - If you want, flash the hosts.zip after.

7 - Reboot.

What apps will it exclude from my system?

MIUI-Debloat Setting:

("/system/app/AnalyticsCore");

("/system/app/BasicDreams");

("/system/app/CloudPrint2");

("/system/app/Email");

("/system/app/FileExplorer");

("/system/app/GooglePrintRecommendationService");

("/system/app/GoogleTTS");

("/system/app/KSICibaEngine");

("/system/app/Lens");

("/system/app/MarkupGoogle");

("/system/app/MiDrive");

("/system/app/MiuiBugReport");

("/system/app/MiuiDaemon");

("/system/app/MiuiSuperMarket");

("/system/app/SoundPickerPrebuilt");

("/system/app/Stk");

("/system/app/YellowPages");

("/system/app/YouDaoEngine");

("/system/data-app/");

("/system/priv-app/BATestApp");

("/system/priv-app/Browser");

("/system/priv-app/GoogleFeedback");

("/system/priv-app/HotwordEnrollmentOKGoogleWCD9340");

("/system/priv-app/HotwordEnrollmentXGoogleWCD9340");

("/system/priv-app/SetupWizard");

("/system/priv-app/Updater");

("/system/priv-app/Velvet");

("/system/priv-app/WellbeingPrebuilt");

("/system/priv-app/YellowPages");

Safe Setting:

("/system/app/AnalyticsCore");

("/system/app/BasicDreams");

("/system/app/CloudPrint2");

("/system/app/GooglePrintRecommendationService");

("/system/app/KSICibaEngine");

("/system/app/Lens");

("/system/app/MarkupGoogle");

("/system/app/MiuiBugReport");

("/system/app/MiuiDaemon");

("/system/app/MiuiSuperMarket");

("/system/app/SoundPickerPrebuilt");

("/system/app/Stk");

("/system/app/YouDaoEngine");

("/system/data-app/BaiduIME");

("/system/data-app/cn.wps.moffice_eng");

("/system/data-app/com.eg.android.AlipayGphone");

("/system/data-app/com.taobao.taobao");

("/system/data-app/com.xunmeng.pinduoduo");

("/system/data-app/Email");

("/system/data-app/MiFinance");

("/system/data-app/MiMobileNoti");

("/system/data-app/MiShop");

("/system/data-app/XiaomiSpeechEngine");

("/system/priv-app/BATestApp");

("/system/priv-app/Updater");

("/system/priv-app/Velvet");

("/system/priv-app/WellbeingPrebuilt");

Full Debloat:

("/system/app/AnalyticsCore");

("/system/app/BasicDreams");

("/system/app/BookmarkProvider");

("/system/app/CloudPrint2");

("/system/app/Email");

("/system/app/FileExplorer");

("/system/app/GoogleKeyboard");

("/system/app/GooglePrintRecommendationService");

("/system/app/GoogleTTS");

("/system/app/greenguard");

("/system/app/KSICibaEngine");

("/system/app/Lens");

("/system/app/MarkupGoogle");

("/system/app/MiDrive");

("/system/app/MiuiBugReport");

("/system/app/MiuiDaemon");

("/system/app/MiuiSuperMarket");

("/system/app/SoundPickerPrebuilt");

("/system/app/Stk");

("/system/app/XMCloudEngine");

("/system/app/YellowPage");

("/system/app/YouDaoEngine");

("/system/data-app/");

("/system/data-app/BaiduIME");

("/system/priv-app/BATestApp");

("/system/priv-app/Browser");

("/system/priv-app/CloudBackup");

("/system/priv-app/GoogleBackupTransport");

("/system/priv-app/GoogleRestore");

("/system/priv-app/GoogleFeedback");

("/system/priv-app/HotwordEnrollmentOKGoogleWCD9340");

("/system/priv-app/HotwordEnrollmentXGoogleWCD9340");

("/system/priv-app/MiCloudSync");

("/system/priv-app/MiRecycle");

("/system/priv-app/MusicFX");

("/system/priv-app/SetupWizard");

("/system/priv-app/Updater");

("/system/priv-app/Velvet");

("/system/priv-app/WellbeingPrebuilt");

("/system/priv-app/YellowPage");

I did made an AROMA build but for some reason it isn't working, if anyone want to look to the code, you are welcome