GUIDE: DEBLOAT a Galaxy S7 or S7 Edge

psouza4

Inactive Recognized Developer
Feb 26, 2009
746
853
0
Meridian, ID
www.PeterSouza.com
This is a follow-up post to my GUIDE: ROOT, install XPOSED, and UNROOT/returning to stock a Verizon Galaxy S7

If you have not already rooted your Galaxy S7 or S7 Edge, please follow my guide and also see the "Recommended Next Steps" section that follows. If you would rather not root your phone and just want to freeze bloat, you can do so with Package Disabler Pro (Samsung) without requiring root.

REMOVING OBVIOUS BLOAT

Please see the "Recommended Next Steps" section of my guide for rooting this phone. If you you don't have root (and don't want it), then here is a list of bloat that's safe to freeze using Package Disabler Pro (Samsung):

Code:
AdvSoundDetector2015 [com.samsung.android.app.advsounddetector]
Amazon_Audible 
Amazon_IMDB 
Amazon_MP3 [com.amazon.mp3]
Amazon_Shopping [com.amazon.mShop.android]
BBCAgent [com.samsung.android.bbc.bbcagent]
Bridge 
BriefingPanel 
canid [com.cequint.ecid]
Chrome [com.android.chrome]
ChromeCustomizations [com.sec.android.app.chromecustomizations]
CloudGateway [com.samsung.android.slinkcloud]
ContainerAgent2 [com.sec.knox.containeragent2]
ContainerEventsRelayManager
FlipboardBriefing [flipboard.briefing.app]
Go90 [com.verizonmedia.go90.enterprise]
IgniteVerizon [com.LogiaGroup.LogiaDeck]
Kies [com.sec.android.Kies]
Kindle [com.amazon.kindle]
kioskdefault [com.sec.android.kiosk]
KLMSAgent [com.samsung.klmsagent]
KnoxAppsUpdateAgent [com.samsung.knox.appsupdateagent]
KnoxAttestationAgent [com.sec.enterprise.knox.attestation]
KnoxBBCProvider [com.samsung.android.bbc.fileprovider]
KnoxBluetooth [com.sec.knox.bluetooth]
KnoxFolderContainer [com.sec.knox.foldercontainer]
KnoxKeyguard [com.samsung.knox.kss]
KnoxSetupWizardClient [com.sec.knox.knoxsetupwizardclient]
KnoxShortcuts [com.sec.knox.shortcutsms]
KnoxSwitcher [com.sec.knox.switcher]
KnoxTrustAgent [com.samsung.knox.knoxtrustagent]
LLKAgent [com.verizon.llkagent]
LocationAgent [com.telecomsys.directedsms.android.SCG]
MILK_US [com.samsung.mdl.radio]
MyInfozone [com.vzw.hss.widgets.infozone]
MyKNOXManager [com.sec.enterprise.knox.cloudmdm.smdms.agent.global.myknox]
NaverTvCast 
RCPComponents [com.samsung.knox.rcp.components]
SDM [com.samsung.sdm]
SDMViewer [com.samsung.sdm.sdmviewer]
SecurityLogAgent [com.samsung.android.securitylogagent]
SharedDeviceKeyguard [com.sec.enterprise.knox.shareddevice.keyguard]
Slacker [com.slacker.radio]
Swype 
UniversalMDMClient [com.sec.enterprise.knox.cloudmdm.smdms]
VMS [com.asurion.android.verizon.vms]
VzCloud [com.vcast.mediamanager]
VZNavigator [com.vznavigator.Generic]
withTV [com.samsung.android.app.withtv]
[com.customermobile.preload.vzw ]
[com.gotv.nflgamecenter.us.lite]


FREEZING BORDERLINE BLOAT

WARNING: there is absolutely NO SUPPORT or help offered for you disabling apps on your own and if you run into trouble. As of 7/12/2016 using the new 2.76 SuperSU package from Chainfire you can use 'adb' to 'pm enable' frozen apps back (2.74 had a bug that prevented this) as long as you kept USB Debugging enabled. However, please proceed with caution.

Once you've rooted and have performed some of the recommended next steps, you may want to further freeze/disable other installed software on the phone that you aren't interested in using right now, but don't necessarily want to delete. This stuff is skipped by my debloat package because some of the software is useful to some and not to others.

Want to do this manually?

I freeze apps using Titanium Backup with root. If you don't have root (and don't want it), I would instead recommend Package Disabler Pro (Samsung). Here's a list of stuff you can technically freeze if you want to and won't prevent your phone from working (but may prevent certain apps, services, or functionality from working):

Code:
AASAservice [com.samsung.aasaservice]
AllShare FileShare Service [com.samsung.android.allshare.service.fileshare]
Android Pay [com.google.android.apps.walletnfcrel]
ANT + DUT [com.dsi.ant.sample.acquirechannels]
ANT HAL Service [com.dsi.ant.server]
ANT Radio Service [com.dsi.ant.service.socket]
ANT+ Plugins Service [com.dsi.ant.plugins.antplus]
AODService [com.samsung.android.app.aodservice]
Assistant menu [com.samsung.android.app.assistantmenu]
BeaconManager [com.samsung.android.beaconmanager]
Bookmark Provider [com.android.bookmarkprovider]
CarmodeStub [com.samsung.android.drivelink.stub]
ClipboardSaveService [com.samsung.clipboardsaveservice]
ClipboardUIService [com.samsung.android.clipboarduiservice]
Clock [com.sec.android.app.clockpackage]
CMHProvider [com.samsung.cmh]
Cocktailbar service [com.samsung.android.app.cocktailbarservice]
com.samsung.storyservice
Control TV [com.samsung.android.controltv]
DeviceTest [com.sec.factory]
EasyOneHand [com.sec.android.easyonehand]
EasySetup [com.samsung.android.easysetup]
Email [com.samsung.android.email.provider]
English Language Pack [com.sec.svoice.lang.en_US]
Enterprise VPN Services [com.sec.enterprise.mdm.vpn]
eSE UCS Plugin [com.samsung.ucs.agent.ese]
Favorite Contacts [com.sec.android.widgetapp.easymodecontactswidget]
FIDO UAF ASM [com.sec.android.fido.uaf.asm]
FIDO UAF Client [com.sec.android.fido.uaf.client]
Filter Provider [com.samsung.android.provider.filterprovider]
Galaxy Essentials Widget [com.sec.android.widgetapp.samsungapps]
Gallery [com.sec.android.gallery3d] (only if you have another photo app)
Game Launcher [com.samsung.android.game.gamehome]
Game Tools [com.samsung.android.game.gametools]
GamepadService [com.samsung.android.gamepad.service]
GameService [com.enhance.gameservice]
Gear VR Service [com.samsung.android.hmt.vrsvc]
Gear VR SetupWizardStub [com.samsung.android.app.vrsetupwizardstub]
Gear VR Shell [com.samsung.android.hmt.vrshell]
Hancom Office 2014 [com.hancom.office.editor]
Health Service [com.sec.android.service.health]
Help [com.samsung.helphub]
IntelligenceService2 [com.samsung.android.intelligenceservice2]
IPsec Service [com.ipsec.service]
Live wallpaper picker [com.android.wallpaper.livepicker]
Magnifier [com.sec.android.app.magnifier]
MDMApp [com.samsung.android.mdm]
Memo [com.sec.android.app.memo]
Message+ [com.sec.verizon.messaging.vzmsgs]
Messages [com.android.mms] (only if you have another SMS messaging app, like Facebook Messenger, Google Hangouts, etc.)
Mobile tracker [com.sec.android.app.mt]
Music2 [com.google.android.music]
My Files [com.sec.android.app.myfiles] (although you should have at least one file manager installed)
My interests [com.samsung.android.keyguardwallpaperupdator]
My Places [com.sec.android.widgetapp.locationwidget]
My Verizon [com.vzw.hss.myverizon]
Nearby devices [com.samsung.android.nearby.mediaserver]
Nearby Service [com.samsung.android.allshare.service.mediashare]
Nfc Service [com.android.nfc]
Personal Data Management (S Cloud) [com.samsung.android.scloud]
Photos [com.google.android.apps.photos]
Quick connect [com.samsung.android.qconnect]
RootPA [com.gd.mobicore.pa]
S Finder [com.samsung.android.app.galaxyfinder]
S Health [com.sec.android.app.shealth]
S Voice App [com.samsung.voiceserviceplatform]
Safety assistance [com.sec.android.app.safetyassurance]
Samsung account [com.osp.app.signin]
Samsung Billing [com.sec.android.app.billing]
Samsung Content Agent [com.sec.android.app.SamsungContentsAgent]
Samsung Galaxy [com.sec.android.app.sns3]
Samsung Gear [com.samsung.android.app.watchmanager]
Samsung keyboard [com.sec.android.inputmethod] (only if you have a keyboard replacement installed like Google Keyboard or SwiftKey)
Samsung Location SDK [com.sec.location.nsflp2]
Samsung MirrorLink [com.samsung.android.app.mirrorlink]
Samsung PaymentFramework [com.samsung.android.spayfw]
Samsung Push Service [com.sec.spp.push]
Samsung text-to-speech engine [com.samsung.SMT]
SamsungDLPService [com.samsung.android.dlp.service]
SapaMonitor [com.samsung.android.sdk.professionalaudio.utility.jammonitor]
Screen Mirroring [com.sec.allsharecastplayer]
Security policy updates [com.policydm]
Settings Receiver [com.samsung.android.SettingsReceiver]
Simple sharing [com.samsung.android.app.simplesharing]
SmartcardService [org.simalliance.openmobileapi.service]
SmartFaceService [com.samsung.android.smartface]
Smart Switch [com.sec.android.easyMover]
Smart Switch Agent [com.sec.android.easyMover.Agent]
SnsImageCache [com.sec.android.app.snsimagecache]
Software update [com.sec.android.soagent]
Spanish Language Pack [com.sec.svoice.lang.es_US]
TalkBack [com.google.android.marvin.talkback]
Theme store [com.samsung.android.themestore]
Themes [com.samsung.android.themecenter]
TouchWiz easy home [com.sec.android.app.easylauncher] (only if you have a replacement launcher installed like Google Now Launcher or Nova Launcher)
TouchWiz home [com.sec.android.app.launcher] (only if you have a replacement launcher installed like Google Now Launcher or Nova Launcher)
Universal switch [com.samsung.android.universalswitch]
Verizon login [com.motricity.verizon.ssodownloadable]
Videos [com.google.android.videos]
Virtual tour [com.sec.android.app.tourviewer]
Voice Assistant [com.samsung.android.app.talkback]
Voice service [com.samsung.svoice.sync]
Voice wake-up [com.samsung.android.voicewakeup]
VPN Client [com.ipsec.vpnclient]
VZW_Multicast_MW [com.qualcomm.ltebc_vzw]
Wallpapers [com.sec.android.wallpapercropper2]
Weather [com.sec.android.daemonapp] (this one is the widget) 
Weather [com.samsung.android.weather] (this one is the actual app) 
Wi-Fi calling [com.sec.vowifispg]
Wi-Fi Direct [com.samsung.android.app.FileShareClient]
Wi-Fi Direct share [com.samsung.android.app.FileShareServer]
YouTube [com.google.android.youtube]
[com.android.wallpapercropper]
[com.cnn.mobile.android.phone.edgepanel]
[com.samsung.android.slinkcloud]
[com.samsung.faceservice]
[com.samsung.hs20provider]
[com.sec.android.app.minimode.res]
[com.sec.android.app.wfdbroker]
[com.sec.bcservice]
[com.verizon.vzwavs]
Or would you like to flash a package that does it automatically? (root required)
Notice: this automatic method will delete files from your phone (the obvious bloat listed above) and then it will freeze the remaining packages that are borderline bloat. If you don't want anything deleted, don't use the automatic method!

Install FlashFire on your phone:
https://play.google.com/store/apps/details?id=eu.chainfire.flash

Download the fix/debloat script flashable ZIP package and copy this file to your device:
S7_or_S7Edge_DeepDebloat_V2.zip (MD5 hash 0CBC0DC9C0B6BD4131F0D4A8DD3A4320) (any Samsung Galaxy S7 or S7 Edge)

Launch FlashFire on the phone and click the (+) button in the lower right to add a step. Select a 'Flash ZIP or OTA' flash step. Locate the flashable ZIP package and select it. For options, check on 'Mount /system read/write' and leave the rest of the options unchecked.

Scroll all the way down and click the 'Flash' lightning button in the lower left to commit this single step and wait a few moments. You should see the phone flash the package briefly before rebooting.

Once the phone finishes its first bootup after flashing this package, you will get you to your usual lockscreen in about the usual amount of time, but then the phone will appear to be frozen for a few minutes. This is normal and the phone is busy running a startup script to freeze the borderline bloat packages. You'll know it's done when your phone reboots by itself again.

Anything you care about using or need you will need to manually unfreeze with Titanium Backup or whatever your prefered method is.

I tested this script on my Verizon Galaxy S7 (SM-G930V) and another user tested it on their AT&T Galaxy S7 Edge (SM-G935A) and everything worked out fine for us. There is bootloop protection baked into the startup script, but if something is frozen that your variant requires, you may need to use ADB to PM ENABLE whatever packages are causing issues (and I'm not equipped to provide you support on how to do that). I doubt you'll have any problems that require that level of effort, but wanted to warn you all just in case.
With a few exceptions like YouTube and Edge-only apps, I have almost all of these packages disabled, but I do run replacement apps for my launcher, keyboard, SMS messenger, photo, and file manager. My experience has been fine; no force-closes or anything preventing me from re-enabling packages with Titanium Backup, but again -- please freeze/disable packages only at your own risk.

Please post if you have any details to share about what else might be safe to remove or freeze/disable. The more collaboration, the better experience for everyone.

Want even more performance? Check out my fine-tuning performance guide for the more hardcore.

 
Last edited:

davecotefilm

Senior Member
May 11, 2014
861
240
73
Vancouver
davecote.com
.....

Please post if you have any details to share about what else might be safe to remove or freeze/disable. The more collaboration, the better experience for everyone.
[/HIDE]
You seem like the guy to ask : is there any chance of pulling the fm radio modules and files out of your ROM? I'm on the sm-g9350 Qualcomm, been rooted for several months, but my for method tripped knox so no ota and in HK they havent patched fm. I'd really like fm radio.
Awesome work by the way!
 

cuezaireekaa

Senior Member
Apr 26, 2010
3,614
2,846
0
glacier bay
www.last.fm
@psouza4 ~ I see you recommend freezing with TiB. If I were to go ahead and uninstall this borderline bloat, would that cause issues avoided by just freezing?

Thank you for your work!!!!!!
I would go against uninstalling all that borderline bloat. Some of that stuff may be needed when/if you update and it's always smart to reenable/defrost those apps. Plus, there might be something you need from that list down the road. Some app may call for one of those processes/apps.
Maybe psouza will have the same advice but this is what I do

Sent from my SM-G935T using Tapatalk
 

psouza4

Inactive Recognized Developer
Feb 26, 2009
746
853
0
Meridian, ID
www.PeterSouza.com
You seem like the guy to ask : is there any chance of pulling the fm radio modules and files out of your ROM? I'm on the sm-g9350 Qualcomm, been rooted for several months, but my for method tripped knox so no ota and in HK they havent patched fm. I'd really like fm radio.
I can send you an archive of the files you're looking for from my SM-G930V if you want (that's what I personally have access to), but you'll have to tell me exactly what files you want -- I'm not familiar with the FM radio drivers.


@psouza4 ~ I see you recommend freezing with TiB. If I were to go ahead and uninstall this borderline bloat, would that cause issues avoided by just freezing?
I would go against uninstalling all that borderline bloat. Some of that stuff may be needed when/if you update and it's always smart to reenable/defrost those apps. Plus, there might be something you need from that list down the road. Some app may call for one of those processes/apps.
Like @cuezaireekaa said, I would strongly recommend you not uninstall anything that you don't want to permanently lose. One mistake and you may need to go back to flashing a stock image to fix it. Freezing an app is far more forgiving.
 
  • Like
Reactions: [email protected]

blaz1nr

Senior Member
May 8, 2012
1,404
1,288
0
The Dark Side
@psouza4 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:eek:bject_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:eek:bject_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:eek:bject_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:eek:bject_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(" ");
 
Last edited:

Haunt3r

Senior Member
Jul 16, 2012
165
18
48
Portland,Oregon
Loop
Nope... or you wouldn't see it at all. Try using ADB (or terminal emulator) to use pm and reenable it. You can also extract the flashable zip on your hard drive to examine what it does.
Just attempted to pm enable com.sec.vowifispg and it states unknown package. I am referring to the T-mobile variant not the Verizon. My guess is the wifi packages are named differently.

Hey make sure its actually turned on. Go to system/applications/phone. Scroll all the way down make sure wifi calling box is checked.
have confirmed this is checked. It just states under wi-fi calling settings "enabling"

Edit:

If any other T-mobile user flashes this, can you let me know if your wifi calling continues to work afterwards? I unfortunately don't have the time to flash stock, reroot, and re-setup everything tonight.

Edit 1: luckily I had a flash fire backup made. Got that flashed and reinstalled everything up until this zip file and my Wi-Fi calling works perfect again(as perfect as it can/s). I'm not sure what is removed during this zip file being flashed but it breaks T-Mobile variant S7's. So if you have a T-Mobile variant I'd stay away from it for now.
 
Last edited: