[Xperia Z5 Premium Android Development] datorprofessor:
inside my script that works on RomAur 4.2.1

Thank you for your critical view and questioning Mr Arubamon :)

Credit to [MENTION=6245709]LolaPalocs[/MENTION]

My script is updated for the latest version z5 firmware .224

# 20160603 : updated for 32.2.A.0.224

# Moved :

# /system/priv-app/Exchange2 => /system/app/Exchange2

# /system/priv-app/SemcEmail => /system/app/SemcEmail

# Renamed :

# /system/app/app-textInputLive-release => /system/app/textinput-tng-live

# /system/app/skin-picker-release => /system/app/skin-picker-standard-release

# /system/app/sneiaccountmanager-live => /system/app/sneiaccountmanager

# /system/priv-app/GetMore-stub-release => /system/priv-app/GetMore-release

# Removed :

# /system/app/Lifelog-googlePreloadLive-release-2.9.P.3.8-5377032

# New :

# /system/app/GetMoreClient-release # = Xperia Tips

# /system/priv-app/ContactsRcs

# /system/priv-app/SuperStamina

# /system/priv-app/USMHome

inside the zip you could open with notepad ++ and check the file META-INF\com\google\android\updater-script. But I will put it in here too. Actually credit goes to another guy too [MENTION=6245709]LolaPalocz[/MENTION] for his info in this post http://xdaforums.com/showpost.php?p=67339653&postcount=14

ui_print("****************************************************");
ui_print("Running Slimcore for MM 6.0.1");
ui_print("By Datorprofessor and Frixed Dubzcore and Lola Palocs");
ui_print("****************************************************");
show_progress(0.2, 1);
run_program("/sbin/sleep", "2");
run_program("/sbin/busybox", "umount", "/system");
run_program("/sbin/busybox", "mount", "/system");
ui_print("Creating backup folders...");
run_program("/sbin/sleep", "2");
run_program("/sbin/busybox", "mkdir", "/system/__Backup");
run_program("/sbin/busybox", "mkdir", "/system/__Backup/various");
run_program("/sbin/busybox", "mkdir", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mkdir", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mkdir", "/system/__Backup/various/etc_custom_apps");
run_program("/sbin/busybox", "mkdir", "/system/__Backup/various/etc_prod_apps");
run_program("/sbin/busybox", "mkdir", "/system/__Backup/various/etc_prod_content");
run_program("/sbin/busybox", "mkdir", "/system/__Backup/various/vendor_app");
run_program("/sbin/busybox", "mkdir", "/system/__Backup/various/vendor_overlay");
run_program("/sbin/busybox", "chmod", "755", "/system/__Backup");
run_program("/sbin/busybox", "chmod", "755", "/system/__Backup/various");
run_program("/sbin/busybox", "chmod", "755", "/system/__Backup/system_app");
run_program("/sbin/busybox", "chmod", "755", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "chmod", "755", "/system/__Backup/various/etc_custom_apps");
run_program("/sbin/busybox", "chmod", "755", "/system/__Backup/various/etc_prod_apps");
run_program("/sbin/busybox", "chmod", "755", "/system/__Backup/various/etc_prod_content");
run_program("/sbin/busybox", "chmod", "755", "/system/__Backup/various/vendor_app");
run_program("/sbin/busybox", "chmod", "755", "/system/__Backup/various/vendor_overlay");
show_progress(0.3, 1);
ui_print("Cleaning up...");
run_program("/sbin/sleep", "2");
run_program("/sbin/busybox", "mv", "/system/vendor/app", "/system/__Backup/various/vendor_app");
run_program("/sbin/busybox", "mv", "/system/etc/customization/applications", "/system/__Backup/various/etc_custom_apps");
run_program("/sbin/busybox", "mv", "/system/etc/product/applications", "/system/__Backup/various/etc_prod_apps");
run_program("/sbin/busybox", "mv", "/system/etc/product/content", "/system/__Backup/various/etc_prod_content");
run_program("/sbin/busybox", "mv", "/system/app/AnonymousData", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Books", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Chrome", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/com.sonyericsson.xhs", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/com.sonymobile.xperialounge.services", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/device-monitor", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/DeviceConfigTool", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/diagnostics", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Drive", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/DrmDialogs", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/DrmUI", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/DualShockManager", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/EditorsDocsStub", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/enchantedforest-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/ExactCalculator", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/experienceflow2livewallpaper-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/FaceLock", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Galaxy4", "/system/__Backup/system_app");
show_progress(0.4, 1);
run_program("/sbin/busybox", "mv", "/system/app/Gmail2", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/gmail-reader-service", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/GoogleLyricsPlugin", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/GoogleTTS", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Hangouts", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/HoloSpiralWallpaper", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/HTMLViewer", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/IddAgent", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Iengine", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/IntelligentBacklight", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/KeepStub", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Lifelog-googlePreloadLive-release-3.0.P.0.16-6291472", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Maps", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/com.sonyericsson.music", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/NewsstandStub", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/NewsWeather", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/OmaDownload", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/OmaV1AgentDownloadServices", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/PartnerBookmarksProvider", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/phone-usage", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Photos", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Photoslideshow-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/PhotoTable", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/PhotoWidget-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/PlayGames", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/PlusOne", "/system/__Backup/system_app");
show_progress(0.5, 1);
run_program("/sbin/busybox", "mv", "/system/app/PrintSpooler", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/RemoteControlService", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/RemoteFileAccess", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/RemoteStorageService", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SemcAutoPowerOff", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SemcSimDetection", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SemcWarrantyTime", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SomcMovieCreatorRmm", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SomcMovieCreatorRmm-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SomcSketch-live", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SonyEntrance", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/StartupFlagV2", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/support", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SyncHub-release", "/system/__Backup/system_app");
show_progress(0.6, 1);
run_program("/sbin/busybox", "mv", "/system/app/talkback", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Tasks", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/textinput-chn", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/TopContactsWidget-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/TouchBlock", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/TouchFilterPackageSwitchService", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Videos", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/weather-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/WikipediaPlugin", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/WirelessControllerManagerService", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/WorldClockWidget-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/YouTube", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/YouTubeKaraokePlugin", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/YouTubePlugin", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Exchange3Google", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/KerberosService", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Lifelog-googlePreloadLive-release-2.8.P.0.18", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SomcEnterpriseInstallationService", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Photos", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/PrototypeProtection", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/ExternalKeyboardJP", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SomcPOBox", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/fota-service", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/GetMoreClient-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/XperiaTransferMobile-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/CrashMonitor", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/CrashMonitorSystem", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/TopContactsWidget-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/RcaHandler", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/WeatherWidget-release", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/Exchange2", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/SemcEmail", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/app/AntHalService", "/system/__Backup/system_app");
show_progress(0.7, 1);
run_program("/sbin/busybox", "mv", "/system/priv-app/OMAClientProvisioning-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/ActiveClipper", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/album-albumLive-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/AndroidForWork", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/BackupRestoreConfirmation", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/CivilAlerts", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/com.bambuser.sociallive", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/com.sonymobile.backgrounddefocus", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/com.mobisystems.fileman", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/DualCamera-xhdpi-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/DefaultCapabilities", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/EnterpriseService", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/FBCalendarSync", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/filecommander", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/GetMore-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/GoogleBackupTransport", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/GoogleFeedback", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/helpapp", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/infoeye", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/livewaremanager", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/MyXperia", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/OMAClientProvisioning", "/system/__Backup/system_priv-app");
show_progress(0.8, 1);
run_program("/sbin/busybox", "mv", "/system/priv-app/retaildemo", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SemcEmail", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SEMCFacebookProxy", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SemcVideo", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SharedStorageBackup", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SimpleHome", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SmallApp-Calculator-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SmallApp-Timer-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SmallAppManagerService-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SmallAppsFramework-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SmallAppsLauncher-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SmallAppWidget-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SmartcardService", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SnpVUStore", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SocialEngineCore", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SocialEngineFacebookPlugin", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SocialEnginePicasaPlugin", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SomcPhotoAnalyzer", "/system/__Backup/system_priv-app");
show_progress(0.9, 1);
run_program("/sbin/busybox", "mv", "/system/priv-app/SomcPlayAnywhere", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/somc-get-to-know-it-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/textinput-chn-xxhdpi", "/system/__Backup/system_app");
run_program("/sbin/busybox", "mv", "/system/priv-app/UpdateCenter-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/usb-mtp-backup-transport", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/usb-mtp-factoryreset-wrapper", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/usb-mtp-fotaupdate-wrapper", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/usb-mtp-update-wrapper", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/usb-mtp-vendor-extension-service", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SomcPodcast", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SemcMusic", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SomcSeamlessTethering", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SOMCTwitterAccount", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SonyEntrance2", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/Tag", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/TimeShiftCamera", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/com.sonyericsson.updatecenter", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/Velvet", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/VoiceDialer", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/youtubelive", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/CameraWearableBridgeHandheldServer", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/somc-get-more-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/sonyentrance2-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/RecommendationEngineExtension", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/bgdefocus", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/infoeye", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "mv", "/system/priv-app/SemcAlbum-albumLive-release", "/system/__Backup/system_priv-app");
run_program("/sbin/busybox", "umount", "/system");
show_progress(1, 1);
ui_print("DONE! Thank you for using Slimcore! Thank You! By Datorprofessor and Frixed Dubzcore and LolaPalocs!");

and here is a spreadsheet per app info https://docs.google.com/spreadsheets/d/1geFByRKDTOOZSIBOixO2boG1_78NUjqzkB6iozzJ4-k/htmlview