[Verizon Samsung Galaxy S7 Guides, News, & Discussi] blaz1nr:
[MENTION=1599591]psouza4[/MENTION] I've added AT&T bloatware to your existing script. I do have a much larger list of safe to remove apk's,but will save that for later. From fresh reset I went from 192 in system to 997mb free after my additions. Thanks for getting the first cleaner out,enjoy the ATT bloat killer. I also junked some google apps from system. It better to just download google extras such as music/youtube blah blah

ui_print(" ");

ui_print(" ");

ui_print("================================================");

ui_print(" Samsung Galaxy S7 SM-G930* or SM-G935*");

ui_print("================================================");

ui_print(" ");

ui_print("[ update from psouza4, version 13, 2016-07-11 ]");

ui_print(" ");

ui_print("Mounting Filesystem");

run_program("/sbin/mount", "-t", "auto", "/system");

run_program("/sbin/mount", "-t", "auto", "/data");

ui_print("Deleting Bloatware");

delete_recursive("/system/app/AdvSoundDetector2015");

delete_recursive("/system/app/Amazon_Audible");

delete_recursive("/system/app/Amazon_IMDB");

delete_recursive("/system/app/AmazonKindle_vpl_ATT");

delete_recursive("/system/app/Amazon_MP3");

delete_recursive("/system/app/BasicDreams");

delete_recursive("/system/app/BBCAgent");

delete_recursive("/system/app/Bridge");

delete_recursive("/system/app/BriefingPanel");

delete_recursive("/system/app/canid");

delete_recursive("/system/app/Chrome");

delete_recursive("/system/app/ChromeCustomizations");

delete_recursive("/system/app/CloudGateway");

delete_recursive("/system/app/com.gotv.nflgamecenter.us.lite");

delete_recursive("/system/app/ContainerAgent");

delete_recursive("/system/app/ContainerEventsRelayManager");

delete_recursive("/system/app/Directv_ATT");

delete_recursive("/system/app/Directtv_Shade_ATT");

delete_recursive("/system/app/Facebook_stub");

delete_recursive("/system/app/FBInstagram_stub");

delete_recursive("/system/app/FlipboardBriefing");

delete_recursive("/system/app/Gmail2");

delete_recursive("/system/app/Go90");

delete_recursive("/system/app/Hangouts");

delete_recursive("/system/app/Kies");

delete_recursive("/system/app/Kindle");

delete_recursive("/system/app/KLMSAgent");

delete_recursive("/system/app/KnoxAppsUpdateAgent");

delete_recursive("/system/app/KnoxAttestationAgent");

delete_recursive("/system/app/KnoxFolderContainer");

delete_recursive("/system/app/KnoxSetupWizardClient");

delete_recursive("/system/app/KnoxSwitcher");

delete_recursive("/system/app/LocationAgent");

delete_recursive("/system/app/Lookout_TMO");

delete_recursive("/system/app/Maps");

delete_recursive("/system/app/Music2");

delete_recursive("/system/app/MyATT_ATT");

delete_recursive("/system/app/MyInfozone");

delete_recursive("/system/app/NaverTvCast");

delete_recursive("/system/app/Plenti_vpl_ATT");

delete_recursive("/system/app/RCPComponents");

delete_recursive("/system/app/Safetyinformation");

delete_recursive("/system/app/SDM");

delete_recursive("/system/app/SDMViewer");

delete_recursive("/system/app/SecHelp");

delete_recursive("/system/app/SecurityLogAgent");

delete_recursive("/system/app/Slacker");

delete_recursive("/system/app/Swype");

delete_recursive("/system/app/Uber_vpl_ATT");

delete_recursive("/system/app/UniversalMDMClient");

delete_recursive("/system/app/Videos");

delete_recursive("/system/app/VZNavigator");

delete_recursive("/system/app/withTV");

delete_recursive("/system/app/WhatsAppDownloader");

delete_recursive("/system/app/YouTube");

delete_recursive("/system/container");

delete_recursive("/system/etc/secure_storage/com.samsung.android.securitylogagent");

delete_recursive("/system/etc/secure_storage/com.samsung.android.securitylogagent!dex");

delete_recursive("/system/etc/secure_storage/com.sec.knox.store!dex");

delete_recursive("/system/etc/secure_storage/com.sec.knox.store");

delete_recursive("/system/preloadedkiosk");

delete_recursive("/system/preloadedmdm");

delete_recursive("/system/preloadedsso");

delete_recursive("/system/priv-app/AmazonInstaller_ATT");

delete_recursive("/system/priv-app/Amazon_Shopping");

delete_recursive("/system/priv-app/Amazon_Shopping_vpl");

delete_recursive("/system/priv-app/AmazonShopping_vpl_ATT");

delete_recursive("/system/priv-app/com.customermobile.preload.vzw");

delete_recursive("/system/priv-app/DigitalLocker_ATT");

delete_recursive("/system/priv-app/DriveMode_ATT");

delete_recursive("/system/priv-app/FamilyUtility_ATT");

delete_recursive("/system/priv-app/IgniteVerizon");

delete_recursive("/system/priv-app/KLMSAgent");

delete_recursive("/system/priv-app/Lookout_ATT");

delete_recursive("/system/priv-app/LLKAgent");

delete_recursive("/system/priv-app/MILK_US");

delete_recursive("/system/priv-app/MobileLocate_ATT");

delete_recursive("/system/priv-app/MyInfozone");

delete_recursive("/system/priv-app/RemoteSupport_ATT");

delete_recursive("/system/priv-app/SimLock_TMO");

delete_recursive("/system/priv-app/VMS");

delete_recursive("/system/priv-app/VzCloud");

delete_recursive("/system/priv-app/WhitePagesNameId-release_TMO");

ui_print("Updating System");

delete_recursive("/system/app/imsservice");

package_extract_dir("data", "/data");

package_extract_dir("system", "/system");

ui_print("Setting Startup Scripts");

run_program("/system/bin/chmod", "0777", "/data/s7tmp/s7startupinject.sh");

run_program("/system/bin/chmod", "0755", "/data/s7startup/master.sh");

run_program("/system/bin/chcon", "u:object_r:app_data_file:s0:c512,c768", "/data/s7startup/master.sh");

run_program("/system/bin/chmod", "0755", "/data/s7startup/s7cpusettings.sh");

run_program("/system/bin/chcon", "u:object_r:app_data_file:s0:c512,c768", "/data/s7startup/s7cpusettings.sh");

run_program("/system/bin/chmod", "0755", "/data/s7startup/s7updatebuildprop.sh");

run_program("/system/bin/chcon", "u:object_r:app_data_file:s0:c512,c768", "/data/s7startup/s7updatebuildprop.sh");

run_program("/system/bin/chmod", "0755", "/data/s7startup/s7updateothersxml.sh");

run_program("/system/bin/chcon", "u:object_r:app_data_file:s0:c512,c768", "/data/s7startup/s7updateothersxml.sh");

run_program("/data/s7tmp/s7startupinject.sh");

# Delete temporary injection script and any old scripts I wrote before this release

ui_print("Cleaning Up");

delete("/data/s7startup/startupscript.sh");

delete("/data/s7startup/updatebuildprop.sh");

delete("/data/s7startup/updateothersxml.sh");

# Also delete stubborn feature.xml -- causes conflicts with others.xml

delete("/system/csc/feature.xml");

delete_recursive("/data/s7tmp");

ui_print("Unmounting File System");

wipe_cache();

unmount("/system");

unmount("/data");

ui_print("Success!");

ui_print(" ");

ui_print("================================================");

ui_print(" Finished Updating System");

ui_print("================================================");

ui_print(" ");