[Xiaomi Mi 5s Questions & Answers] wurstel:
i decided to make a debloat script on my own. I created this for global stable 8.0.4.0, because i dont trust xiaomi.eu. (they are very intransparent about their work, they could add god knows what to their ROM)

i used a script i found on the MIUI Forum and modified it to my needs:

ui_print("***********************************************");
ui_print("Remove MIUI 8 Global stable Bloatware ");
ui_print("***********************************************");
ui_print("Mounting system...");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Mounting data...");
run_program("/sbin/busybox", "mount", "/data");
show_progress(0.25, 2);
#ui_print("delete_recursive installed Custom-Stuff...");
#delete_recursive("/system/app/ESFileExplorer", "/system/app/GoogleLauncher ");
#ui_print("Installing new Custom-Stuff...");
#package_extract_dir("system", "/system");
#package_extract_dir("data", "/data");
show_progress(0.25, 20);
ui_print("Removing Bloat...");
delete_recursive("/system/app/AnalyticsCore");
delete_recursive("/system/app/AntiSpam");
delete_recursive("/system/app/AppIndexProvider");
delete_recursive("/system/app/ApplicationsProvider");
delete_recursive("/system/app/BasicDreams");
delete_recursive("/system/app/BookmarkProvider");
delete_recursive("/system/app/BugReport");
delete_recursive("/system/app/Chrome");
delete_recursive("/system/app/Cit");
delete_recursive("/system/app/CloudService");
delete_recursive("/system/app/Drive");
delete_recursive("/system/app/Email");
delete_recursive("/system/app/FileExplorer");
delete_recursive("/system/app/Galaxy4");
delete_recursive("/system/app/Gmail2");
delete_recursive("/system/app/Hangouts");
delete_recursive("/system/app/HoloSpiralWallpaper");
delete_recursive("/system/app/HTMLViewer");
delete_recursive("/system/app/KeyChain");
delete_recursive("/system/app/KingSoftCleaner");
delete_recursive("/system/app/LiveWallpapers");
delete_recursive("/system/app/LiveWallpapersPicker");
delete_recursive("/system/app/mab");
delete_recursive("/system/app/Maps");
delete_recursive("/system/app/MiDiscover");
delete_recursive("/system/app/MiLinkService");
delete_recursive("/system/app/MiLivetalk");
delete_recursive("/system/app/MiPlay");
delete_recursive("/system/app/MiuiCompass");
delete_recursive("/system/app/MiuiScanner");
delete_recursive("/system/app/MiuiVideoPlayer");
delete_recursive("/system/app/MiWallpaper");
delete_recursive("/system/app/ModemTestMode");
delete_recursive("/system/app/NetworkAssistant2");
delete_recursive("/system/app/NFCtestSvc");
delete_recursive("/system/app/NoiseField");
delete_recursive("/system/app/Notes");
delete_recursive("/system/app/PartnerBookmarksProvider");
delete_recursive("/system/app/PaymentService");
delete_recursive("/system/app/PhaseBeam");
delete_recursive("/system/app/Photos");
delete_recursive("/system/app/PhotoTable");
delete_recursive("/system/app/SecurityAdd");
delete_recursive("/system/app/SecurityCoreAdd");
delete_recursive("/system/app/talkback");
delete_recursive("/system/app/Videos");
delete_recursive("/system/app/WAPPushManager");
delete_recursive("/system/app/WfdService");
delete_recursive("/system/app/Whetstone");
delete_recursive("/system/app/YouTube");
ui_print("Removing bloatware priv-app...");
delete_recursive("/system/priv-app/Calendar");
delete_recursive("/system/priv-app/CellBroadcastReceiver");
delete_recursive("/system/priv-app/CleanMaster");
delete_recursive("/system/priv-app/CloudBackup");
delete_recursive("/system/priv-app/MiDrop");
delete_recursive("/system/priv-app/Mipub");
delete_recursive("/system/priv-app/MiuiGallery");
delete_recursive("/system/priv-app/SpacesManagerService");
delete_recursive("/system/priv-app/SpacesTrustAgent");
delete_recursive("/system/priv-app/Tag");
delete_recursive("/system/priv-app/WallpaperCropper");
delete_recursive("/system/priv-app/YellowPage");
ui_print("Removing bloatware system/data-app...");
delete_recursive("/system/data-app");
ui_print("Removing Whetstone leftovers");
delete_recursive("/system/etc/WhetstonePermission");
show_progress(0.25, 5);
show_progress(0.25, 5);
ui_print("Unmounting system...");
run_program("/sbin/busybox", "umount", "/data");
run_program("/sbin/busybox", "umount", "/system");
ui_print("Installation complete!");

everything works perfekt, only problem is that i can't search settings anymore. does anybody of you guys know what disabled app causes this?