[Xiaomi Mi 5s Themes, Apps, and Mods] mirfatif:
Good work man. I'm on Redmi Note 4, MiUI 8.2.10 Global Stable. Your script works great for me. You can also add following to the script:

/system/app/GuardProvider/GuardProvider.apk (antivirus)
/system/app/TouchAssistant/TouchAssistant.apk (quick ball feature)
/system/app/XMRemoteController/XMRemoteController.apk
/system/app/Updater/Updater.apk (if someone doesn't wanna use OTA updates of MiUI)
/system/priv-app/Backup/Backup.apk (local backup of system settings)
/system/priv-app/TimerSwitch/TimerSwitch.apk (if someone doesn't wanna use scheduled power ON/OFF

Also look into a few others I'm not sure about if these are from google or XIAOMI and/or if these are essential or not. I couldn't find a proper description of these:

/system/priv-app/SensorTest/SensorTest.apk
/system/app/SSCMService/SSCMService.apk
/system/vendor/app/CABLService/CABLService.apk
/system/app/FactoryKitTest/FactoryKitTest.apk
/system/app/NewFpSetting/NewFpSetting.apk
/system/app/PrintSpooler/PrintSpooler.apk
/system/app/PowerOffHandlerApp/PowerOffHandlerApp.apk
/system/app/ConferenceDialer/ConferenceDialer.apk
/system/app/CloudPrint2/CloudPrint2.apk
/system/app/MiuiDaemon/MiuiDaemon.apk
/system/priv-app/MusicFX/MusicFX.apk
/system/app/HybridPlatform/HybridPlatform.apk
/system/app/miui/miui.apk (it's essential I think but reported malware by some virus scanners)

Also I'll suggest other apps to be added in script when I clean flash MiUI. I already uninstalled a few built-in apps I don't remember now.

Here is the complete list of system apps in my device. I want to remove maximum of these which aren't needed except some necessary google services. ;)

package:/system/app/SampleExtAuthService/SampleExtAuthService.apk=com.qualcomm.qti.auth.sampleextauthservice
package:/system/priv-app/TelephonyProvider/TelephonyProvider.apk=com.android.providers.telephony
package:/system/app/PowerKeeper/PowerKeeper.apk=com.miui.powerkeeper
package:/system/app/FM/FM.apk=com.miui.fm
package:/system/priv-app/CalendarProvider/CalendarProvider.apk=com.android.providers.calendar
package:/system/priv-app/MediaProvider/MediaProvider.apk=com.android.providers.media
package:/system/app/MiLinkService/MiLinkService.apk=com.milink.service
package:/system/priv-app/GoogleOneTimeInitializer/GoogleOneTimeInitializer.apk=com.google.android.onetimeinitializer
package:/system/app/SSCMService/SSCMService.apk=com.securespaces.android.sscm.service
package:/system/app/ModemTestMode/ModemTestMode.apk=com.qualcomm.qti.modemtestmode
package:/system/app/XiaomiAccount/XiaomiAccount.apk=com.xiaomi.account
package:/system/app/shutdownlistener/shutdownlistener.apk=com.qualcomm.shutdownlistner
package:/system/priv-app/WallpaperCropper/WallpaperCropper.apk=com.android.wallpapercropper
package:/system/priv-app/CNEService/CNEService.apk=com.quicinc.cne.CNEService
package:/system/app/AutoRegistration/AutoRegistration.apk=com.qualcomm.qti.autoregistration
package:/system/vendor/app/SmartcardService/SmartcardService.apk=org.simalliance.openmobileapi.service
package:/system/app/Updater/Updater.apk=com.android.updater
package:/system/priv-app/DocumentsUI/DocumentsUI.apk=com.android.documentsui
package:/system/priv-app/ExternalStorageProvider/ExternalStorageProvider.apk=com.android.externalstorage
package:/system/app/uimremoteclient/uimremoteclient.apk=com.qualcomm.uimremoteclient
package:/system/priv-app/TimerSwitch/TimerSwitch.apk=com.android.timerswitch
package:/system/app/HTMLViewer/HTMLViewer.apk=com.android.htmlviewer
package:/system/app/SecurityAdd/SecurityAdd.apk=com.miui.securityadd
package:/system/priv-app/MiuiGallery/MiuiGallery.apk=com.miui.gallery
package:/system/priv-app/QuickSearchBox/QuickSearchBox.apk=com.android.quicksearchbox
package:/system/priv-app/MmsService/MmsService.apk=com.android.mms.service
package:/system/priv-app/DownloadProvider/DownloadProvider.apk=com.android.providers.downloads
package:/system/app/SampleAuthenticatorService/SampleAuthenticatorService.apk=com.qualcomm.qti.auth.sampleauthenticatorservice
package:/system/app/PaymentService/PaymentService.apk=com.xiaomi.payment
package:/system/priv-app/SecurityCenter/SecurityCenter.apk=com.miui.securitycenter
package:/system/app/NotificationService/NotificationService.apk=com.qualcomm.qti.notificationservice
package:/system/priv-app/Browser/Browser.apk=com.android.browser
package:/system/app/ApplicationsProvider/ApplicationsProvider.apk=com.android.providers.applications
package:/system/priv-app/ConfigUpdater/ConfigUpdater.apk=com.google.android.configupdater
package:/system/priv-app/SoundRecorder/SoundRecorder.apk=com.android.soundrecorder
package:/system/priv-app/DefaultContainerService/DefaultContainerService.apk=com.android.defcontainer
package:/system/app/GuardProvider/GuardProvider.apk=com.miui.guardprovider
package:/system/priv-app/DownloadProviderUi/DownloadProviderUi.apk=com.android.providers.downloads.ui
package:/system/priv-app/com.android.vending/com.android.vending.apk=com.android.vending
package:/system/app/PacProcessor/PacProcessor.apk=com.android.pacprocessor
package:/system/vendor/app/CABLService/CABLService.apk=com.qualcomm.cabl
package:/system/priv-app/Backup/Backup.apk=com.miui.backup
package:/system/app/MiuiDaemon/MiuiDaemon.apk=com.miui.daemon
package:/system/app/CertInstaller/CertInstaller.apk=com.android.certinstaller
package:/system/priv-app/CarrierConfig/CarrierConfig.apk=com.android.carrierconfig
package:/system/app/BluetoothExt/BluetoothExt.apk=org.codeaurora.bluetooth
package:/system/app/datastatusnotification/datastatusnotification.apk=com.qti.qualcomm.datastatusnotification
package:/system/framework/framework-res.apk=android
package:/system/priv-app/Contacts/Contacts.apk=com.android.contacts
package:/system/app/WfdService/WfdService.apk=com.qualcomm.wfd.service
package:/system/app/HybridPlatform/HybridPlatform.apk=com.miui.hybrid
package:/system/app/SecurityCoreAdd/SecurityCoreAdd.apk=com.miui.securitycore
package:/system/app/QtiGbaAuthService/QtiGbaAuthService.apk=com.qualcomm.qti.GBAHttpAuthentication.auth
package:/system/app/NewFpSetting/NewFpSetting.apk=com.goodix.test
package:/system/priv-app/Mms/Mms.apk=com.android.mms
package:/system/app/Stk/Stk.apk=com.android.stk
package:/system/priv-app/BackupRestoreConfirmation/BackupRestoreConfirmation.apk=com.android.backupconfirm
package:/system/app/XiaomiSimActivateService/XiaomiSimActivateService.apk=com.xiaomi.simactivate.service
package:/system/app/MiGalleryLockscreen/MiGalleryLockscreen.apk=com.mfashiongallery.emag
package:/system/priv-app/Music/Music.apk=com.miui.player
package:/system/priv-app/Provision/Provision.apk=com.android.provision
package:/system/priv-app/ims/ims.apk=org.codeaurora.ims
package:/system/priv-app/StatementService/StatementService.apk=com.android.statementservice
package:/system/app/SYSOPT/SYSOPT.apk=com.miui.sysopt
package:/system/app/miuisystem/miuisystem.apk=com.miui.system
package:/system/priv-app/Calendar/Calendar.apk=com.android.calendar
package:/system/app/KSICibaEngine/KSICibaEngine.apk=com.miui.translation.kingsoft
package:/system/app/FactoryKitTest/FactoryKitTest.apk=com.huaqin.factory
package:/system/app/MiuiCompass/MiuiCompass.apk=com.miui.compass
package:/system/app/SecureExtAuthService/SecureExtAuthService.apk=com.qualcomm.qti.auth.secureextauthservice
package:/system/framework/framework-ext-res/framework-ext-res.apk=com.miui.rom
package:/system/app/MiDrive/MiDrive.apk=com.android.midrive
package:/system/priv-app/qcrilmsgtunnel/qcrilmsgtunnel.apk=com.qualcomm.qcrilmsgtunnel
package:/system/priv-app/SettingsProvider/SettingsProvider.apk=com.android.providers.settings
package:/system/priv-app/SharedStorageBackup/SharedStorageBackup.apk=com.android.sharedstoragebackup
package:/system/app/PrintSpooler/PrintSpooler.apk=com.android.printspooler
package:/system/priv-app/PersonalAssistant/PersonalAssistant.apk=com.miui.personalassistant
package:/system/priv-app/InCallUI/InCallUI.apk=com.android.incallui
package:/system/app/telresources/telresources.apk=com.android.frameworks.telresources
package:/system/app/XMRemoteController/XMRemoteController.apk=com.duokan.phone.remotecontroller
package:/system/app/BugReport/BugReport.apk=com.miui.bugreport
package:/system/priv-app/InputDevices/InputDevices.apk=com.android.inputdevices
package:/system/app/SecureSampleAuthService/SecureSampleAuthService.apk=com.qualcomm.qti.auth.securesampleauthservice
package:/system/app/OmaDrmEngine/OmaDrmEngine.apk=com.oma.drm
package:/system/app/FileExplorer/FileExplorer.apk=com.android.fileexplorer
package:/system/app/xdivert/xdivert.apk=com.qti.xdivert
package:/system/app/StepsProvider/StepsProvider.apk=com.miui.stepsprovider
package:/system/app/CloudPrint2/CloudPrint2.apk=com.google.android.apps.cloudprint
package:/system/priv-app/MusicFX/MusicFX.apk=com.android.musicfx
package:/system/app/PersonalAssistantPlugin/PersonalAssistantPlugin.apk=com.miui.home.launcher.assistant
package:/system/priv-app/CloudBackup/CloudBackup.apk=com.miui.cloudbackup
package:/system/priv-app/CellBroadcastReceiver/CellBroadcastReceiver.apk=com.android.cellbroadcastreceiver
package:/data/app/com.google.android.webview-1/base.apk=com.google.android.webview
package:/system/priv-app/OneTimeInitializer/OneTimeInitializer.apk=com.android.onetimeinitializer
package:/system/priv-app/Telecom/Telecom.apk=com.android.server.telecom
package:/system/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk=com.google.android.syncadapters.contacts
package:/system/app/PowerOffHandlerApp/PowerOffHandlerApp.apk=com.android.poweroffhandlerapp
package:/system/app/KeyChain/KeyChain.apk=com.android.keychain
package:/system/priv-app/MiuiKeyguard/MiuiKeyguard.apk=com.android.keyguard
package:/system/priv-app/MiuiCamera/MiuiCamera.apk=com.android.camera
package:/system/app/UpnpService/UpnpService.apk=com.xiaomi.upnp
package:/system/app/XiaomiServiceFramework/XiaomiServiceFramework.apk=com.xiaomi.xmsf
package:/system/priv-app/PackageInstaller/PackageInstaller.apk=com.google.android.packageinstaller
package:/data/app/com.google.android.gms-2/base.apk=com.google.android.gms
package:/system/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk=com.google.android.gsf
package:/system/app/GoogleTTS/GoogleTTS.apk=com.google.android.tts
package:/system/priv-app/CallLogBackup/CallLogBackup.apk=com.android.calllogbackup
package:/system/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk=com.google.android.partnersetup
package:/system/priv-app/FingerprintServiceExtension/FingerprintServiceExtension.apk=com.fingerprints.serviceext
package:/system/app/btmultisim/btmultisim.apk=org.codeaurora.btmultisim
package:/system/app/AntHalService/AntHalService.apk=com.dsi.ant.server
package:/system/priv-app/FindDevice/FindDevice.apk=com.xiaomi.finddevice
package:/system/priv-app/ProxyHandler/ProxyHandler.apk=com.android.proxyhandler
package:/system/app/CarrierLoadService/CarrierLoadService.apk=com.qualcomm.qti.loadcarrier
package:/system/priv-app/Mipub/Mipub.apk=com.miui.mipub
package:/system/app/Mqsas/Mqsas.apk=com.miui.mqsas
package:/system/app/Notes/Notes.apk=com.miui.notes
package:/system/priv-app/MiuiVideo/MiuiVideo.apk=com.miui.video
package:/system/app/WMService/WMService.apk=com.miui.wmsvc
package:/system/priv-app/GoogleFeedback/GoogleFeedback.apk=com.google.android.feedback
package:/system/priv-app/MiDrop/MiDrop.apk=com.xiaomi.midrop
package:/system/app/MiPlay/MiPlay.apk=com.xiaomi.miplay
package:/system/app/TranslationService/TranslationService.apk=com.miui.translationservice
package:/system/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk=com.google.android.syncadapters.calendar
package:/system/app/CloudService/CloudService.apk=com.miui.cloudservice
package:/system/priv-app/ManagedProvisioning/ManagedProvisioning.apk=com.android.managedprovisioning
package:/system/priv-app/SensorTest/SensorTest.apk=com.fingerprints.sensortesttool
package:/system/app/TouchAssistant/TouchAssistant.apk=com.miui.touchassistant
package:/system/app/AppIndexProvider/AppIndexProvider.apk=com.xiaomi.providers.appindex
package:/system/app/PartnerBookmarksProvider/PartnerBookmarksProvider.apk=com.android.providers.partnerbookmarks
package:/system/priv-app/SpacesManagerService/SpacesManagerService.apk=com.securespaces.android.ssm.service
package:/system/priv-app/GoogleLoginService/GoogleLoginService.apk=com.google.android.gsf.login
package:/system/app/WAPPushManager/WAPPushManager.apk=com.android.smspush
package:/system/app/Calculator/Calculator.apk=com.miui.calculator
package:/system/app/KingSoftCleaner/KingSoftCleaner.apk=com.cleanmaster.sdk
package:/system/app/LiveWallpapersPicker/LiveWallpapersPicker.apk=com.android.wallpaper.livepicker
package:/system/priv-app/AutoTest/AutoTest.apk=com.mi.AutoTest
package:/system/priv-app/CloudServiceSysbase/CloudServiceSysbase.apk=com.miui.cloudservice.sysbase
package:/system/app/MiWallpaper/MiWallpaper.apk=com.miui.miwallpaper
package:/system/app/MiuiBluetooth/MiuiBluetooth.apk=com.xiaomi.bluetooth
package:/system/app/MetokNLP/MetokNLP.apk=com.xiaomi.metoknlp
package:/system/priv-app/TelephonyExtVodafonePack/TelephonyExtVodafonePack.apk=com.qualcomm.qti.telephony.vodafonepack
package:/system/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk=com.google.android.backuptransport
package:/system/priv-app/CleanMaster/CleanMaster.apk=com.miui.cleanmaster
package:/system/app/CarrierCacheService/CarrierCacheService.apk=com.qualcomm.qti.accesscache
package:/system/priv-app/ConfigurationClient/ConfigurationClient.apk=com.wdstechnology.android.kryten
package:/system/app/ExtSettings/ExtSettings.apk=com.qualcomm.qti.extsettings
package:/system/app/BookmarkProvider/BookmarkProvider.apk=com.android.bookmarkprovider
package:/system/priv-app/Settings/Settings.apk=com.android.settings
package:/system/vendor/app/imssettings/imssettings.apk=com.qualcomm.qti.ims
package:/system/priv-app/Weather/Weather.apk=com.miui.weather2
package:/system/priv-app/com.qualcomm.location/com.qualcomm.location.apk=com.qualcomm.location
package:/system/priv-app/MiuiScanner/MiuiScanner.apk=com.xiaomi.scanner
package:/system/app/QSService/QSService.apk=com.qualcomm.qti.qs
package:/system/app/NetworkAssistant2/NetworkAssistant2.apk=com.miui.networkassistant
package:/system/app/OmaDrmEngineServer/OmaDrmEngineServer.apk=com.oma.drm.server
package:/system/priv-app/QtiTetherService/QtiTetherService.apk=com.qualcomm.qti.tetherservice
package:/system/priv-app/YellowPage/YellowPage.apk=com.miui.yellowpage
package:/system/app/AntiSpam/AntiSpam.apk=com.miui.antispam
package:/system/priv-app/VpnDialogs/VpnDialogs.apk=com.android.vpndialogs
package:/system/app/Email/Email.apk=com.android.email
package:/system/priv-app/TeleService/TeleService.apk=com.android.phone
package:/system/priv-app/Shell/Shell.apk=com.android.shell
package:/system/app/UserDictionaryProvider/UserDictionaryProvider.apk=com.android.providers.userdictionary
package:/system/priv-app/WeatherProvider/WeatherProvider.apk=com.miui.providers.weather
package:/system/app/LunarInfoProvider/LunarInfoProvider.apk=com.qualcomm.qti.lunarinfo
package:/system/priv-app/FusedLocation/FusedLocation.apk=com.android.location.fused
package:/system/app/SpacesPolicyApp/SpacesPolicyApp.apk=com.securespaces.android.agent
package:/system/app/DeskClock/DeskClock.apk=com.android.deskclock
package:/system/priv-app/MiuiSystemUI/MiuiSystemUI.apk=com.android.systemui
package:/system/app/BluetoothMidiService/BluetoothMidiService.apk=com.android.bluetoothmidiservice
package:/system/app/ConferenceDialer/ConferenceDialer.apk=com.qualcomm.qti.confdialer
package:/system/app/SpacesCore/SpacesCore.apk=com.securespaces.android.settings
package:/system/app/NetworkSetting/NetworkSetting.apk=com.qualcomm.qti.networksetting
package:/system/app/SmsExtra/SmsExtra.apk=com.miui.smsextra
package:/system/app/ThemeManager/ThemeManager.apk=com.android.thememanager
package:/system/app/fastdormancy/fastdormancy.apk=com.qualcomm.fastdormancy
package:/system/app/ThemeModule/ThemeModule.apk=com.android.thememanager.module
package:/system/priv-app/AuthManager/AuthManager.apk=com.lbe.security.miui
package:/system/app/Whetstone/Whetstone.apk=com.miui.whetstone
package:/system/app/Bluetooth/Bluetooth.apk=com.android.bluetooth
package:/system/app/TimeService/TimeService.apk=com.qualcomm.timeservice
package:/system/app/embms/embms.apk=com.qualcomm.embms
package:/system/priv-app/ContactsProvider/ContactsProvider.apk=com.android.providers.contacts
package:/system/app/CaptivePortalLogin/CaptivePortalLogin.apk=com.android.captiveportallogin
package:/system/app/miui/miui.apk=com.miui.core
package:/system/priv-app/MiuiHome/MiuiHome.apk=com.miui.home