Skip to content

Instantly share code, notes, and snippets.

@ftpmorph
Last active April 21, 2022 16:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ftpmorph/f9a060c206b0f027c4e621a41ad21d76 to your computer and use it in GitHub Desktop.
Save ftpmorph/f9a060c206b0f027c4e621a41ad21d76 to your computer and use it in GitHub Desktop.
Samsung Galaxy Z Fold 3 (+ Fold 2, Flip 2/3, S20/S21, Note 20/21 etc...) and Galaxy Watch 4 debloating reference
# Tips for what is safe to remove for latest gen Samsung Android phones
# Does not require root, only Android Debug Bridge (adb)
# Has been tested on both a Samsung Galazy Z Fold 3 and Samsung Galaxy A71 both running Android 11 with One UI 3.1.1
# Have not noticed any crashes or other bugs, however if you decide you want an app/service back for any reason, simply run:
# pm install-existing --user 0 com.samsung.android.arzone
# Where "com.samsung.android.arzone" can be any preinstalled package you have removed
# Can also be run as a bash script to automate removal of everything here once below steps are followed
# It is also a good idea to run this after each OS update as if one of these components is updated it is sometimes reinstalled
# Steps on the phone:
# 1. Enable developer mode by going to settings > about > software > tap build number eight times
# 2. Go to main settings screen then go to developer options > turn on USB debugging
# 3. Plug into computer, three prompts should show on phone to give permission for the computer to access the phone
# Steps on the computer:
# 1. Run adb devices
# 2. Your phone should show up as a serial number
# 3. Run adb shell
# 4. Run the commands below for the things you want to remove or run this file as a bash script
# Remember to turn USB debugging OFF on the phone after you are done!
# Needed here for if you run this as a bash script
adb shell
# Samsung Bixby
pm uninstall -k --user 0 com.samsung.android.bixby.agent
pm uninstall -k --user 0 com.samsung.android.bixby.agent.dummy
pm uninstall -k --user 0 com.samsung.systemui.bixby2
pm uninstall -k --user 0 com.samsung.systemui.bixby # For older devices
pm uninstall -k --user 0 com.samsung.android.bixby.service
pm uninstall -k --user 0 com.samsung.android.visionintelligence
pm uninstall -k --user 0 com.samsung.android.bixbyvision.framework
pm uninstall -k --user 0 com.samsung.android.bixby.wakeup
pm uninstall -k --user 0 com.samsung.android.app.settings.bixby
pm uninstall -k --user 0 com.samsung.android.app.routines
# Facebook
pm uninstall -k --user 0 com.facebook.appmanager
pm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.facebook.system
# LinkedIn
pm uninstall -k --user 0 com.linkedin.android
# Spotify
pm uninstall -k --user 0 com.spotify.music
# Netflix
pm uninstall -k --user 0 com.netflix.mediaclient
pm uninstall -k --user 0 com.netflix.partner.activation
# Opera (preinstalled on some older devices)
pm uninstall -k --user 0 com.opera.max.oem
pm uninstall -k --user 0 com.opera.max.preinstall
# Microsoft
pm uninstall -k --user 0 com.microsoft.appmanager
pm uninstall -k --user 0 com.microsoft.office.officehubrow
pm uninstall -k --user 0 com.microsoft.office.excel
pm uninstall -k --user 0 com.microsoft.office.powerpoint
pm uninstall -k --user 0 com.microsoft.office.word
pm uninstall -k --user 0 com.microsoft.skydrive
# Link to Windows
pm uninstall -k --user 0 com.samsung.android.mdx
# Call and text on other devices
pm uninstall -k --user 0 com.samsung.android.mdecservice
# Continue apps on other devices
pm uninstall -k --user 0 com.samsung.android.mcfds
# Samsung Tips
pm uninstall -k --user 0 com.samsung.android.app.tips
# Galaxy Store (Samsung's app store)
pm uninstall -k --user 0 com.sec.android.app.samsungapps
# Galaxy Theme Store
pm uninstall -k --user 0 com.samsung.android.themestore
# Samsung Themes itself
pm uninstall -k --user 0 com.samsung.android.themecenter
# Samsung Game Launcher
pm uninstall -k --user 0 com.samsung.android.game.gamehome
pm uninstall -k --user 0 com.samsung.android.game.gametools
pm uninstall -k --user 0 com.samsung.android.game.gos
pm uninstall -k --user 0 com.enhance.gameservice # This one for older devices
pm uninstall -k --user 0 com.sec.android.app.gamehub # Older devices again
# Samsung My Galaxy (older devices)
pm uninstall -k --user 0 com.mygalaxy
# Samsung Galary Stories
pm uninstall -k --user 0 com.samsung.storyservice
# Samsung Cloud
pm uninstall -k --user 0 com.samsung.android.scloud
# Link Sharing (shares files by uploading to Samsung Cloud)
pm uninstall -k --user 0 com.samsung.android.app.simplesharing
# Nearby Devices & Quick Share (file sharing via WiFi)
pm uninstall -k --user 0 com.samsung.android.allshare.service.mediashare
pm uninstall -k --user 0 com.samsung.android.allshare.service.fileshare
pm uninstall -k --user 0 com.samsung.android.app.sharelive
# SmartThings
pm uninstall -k --user 0 com.samsung.android.beaconmanager
pm uninstall -k --user 0 com.samsung.android.easysetup
# Samsung Private Share
# Looks cool to me but most won't use it and those privacy concious enough to want it will prefer open source alternatives
# What it is: https://www.samsung.com/levant/support/mobile-devices/how-to-keep-your-personal-data-safe-using-private-share/
pm uninstall -k --user 0 com.samsung.android.privateshare
# Samsung Secure WiFi (repackaged McAfee IPSec VPN)
# Read more: https://www.ctrl.blog/entry/what-is-samsung-secure-wi-fi.html
pm uninstall -k --user 0 com.samsung.android.fast
# Samsung Free (previously Samsung Daily)
pm uninstall -k --user 0 com.samsung.android.app.spage
# Upday
pm uninstall -k --user 0 de.axelspringer.yana.zeropage
# Samsung Pass
pm uninstall -k --user 0 com.samsung.android.samsungpass
pm uninstall -k --user 0 com.samsung.android.samsungpassautofill
# Samsung Pay
pm uninstall -k --user 0 com.samsung.android.spay
pm uninstall -k --user 0 com.samsung.android.spayfw
# Samsung Visit In (geofencing app)
pm uninstall -k --user 0 com.samsung.android.ipsgeofence
# Samsung Location SDK (location services still work fine)
pm uninstall -k --user 0 com.sec.location.nsflp2
# Samsung Diagnostics (phones home even if you disable diagnostics in settings)
pm uninstall -k --user 0 com.sec.android.diagmonagent
# Samsung Knox Analytics
pm uninstall -k --user 0 com.samsung.android.knox.analytics.uploader
# Samsung Keyboard "stickers" (Bitmoji, Mojitok, DECO PIC, etc)
pm uninstall -k --user 0 com.sec.android.mimage.avatarstickers
pm uninstall -k --user 0 com.samsung.android.livestickers
# AR Emoji
pm uninstall -k --user 0 com.samsung.android.aremoji
pm uninstall -k --user 0 com.samsung.android.aremojieditor
# AR Zone
pm uninstall -k --user 0 com.samsung.android.arzone
# AR Doodle
pm uninstall -k --user 0 com.samsung.android.ardrawing
# Auto Doodle
pm uninstall -k --user 0 com.sec.android.autodoodle.service
# Samsung "Configuration Update" (Recommended Apps notifications etc)
# Bugs about installing TikTok on the Galaxy A71 and likely other low to mid-range devices
# NOT to be confused with carrier configuration updates, those are handled in a separate package
pm uninstall -k --user 0 com.samsung.android.app.omcagent
# Samsung Application Recommendations
# Same as above
pm uninstall -k --user 0 com.samsung.android.mapsagent
# Setup Wizard (for if you still have a notification saying "finish setting up your phone" even though you already have)
pm uninstall -k --user 0 com.google.android.setupwizard
# Hiya Star (call screening service used when "filter spam calls" is enabled)
pm uninstall -k --user 0 com.hiya.star
# Samsung device customisation service (learns usage patterns etc, Google already has its own version of this)
pm uninstall -k --user 0 com.samsung.android.rubin.app
# Samsung Google Chrome customisations
pm uninstall -k --user 0 com.sec.android.app.chromecustomizations
# Android Partner Bookmarks (websites who paid to be forced into your bookmarks)
# This will source from the OEM, carrier, possibly Google, not sure
# Either way, get rid
pm uninstall -k --user 0 com.android.providers.partnerbookmarks
# Samsung Kids
pm uninstall -k --user 0 com.samsung.android.kidsinstaller
pm uninstall -k --user 0 com.sec.android.app.kidshome
# Cleaning up in case you are using this as a bash script
# Remember to disable ADB inside developer settings on the phone yourself, this script cannot do that for you!
exit
echo "Remember to disable ADB inside developer settings on the watch yourself, this script cannot do that for you!"
# As above but for the Samsung Galaxy Watch 4
# Runs a heavily skinned version of Android Wear OS
# Since, unlike most Samsung smartwatches, it runs Wear OS not Tizen, we can also use adb to clean it up!
# In case you want to use this as a shell script
adb shell
# The process is very similar:
# 1. Make sure an updated adb is installed on your computer and both are connected to the same WiFi network
# 2. Enable developer settings on the watch by going to settings > about > software and tapping version until it tells you
# 3. Go into developer settings on the watch and enable Android Debugging (ADB) then enable ADB over WiFi
# 4. After a few seconds it will give you an IP address and port to connect with for example: 192.168.1.64:5555
# 5. Using that example IP address you would enter into your computer: adb connect 192.168.1.64:5555
# 6. Confirm the connection on the watch
# 7. Now on the computer run: adb shell
# 8. Once you have the shell, copy/paste the commands for the apps you want to remove
# 9. You can also just run this as a shell script once you have connected to automate the process
# 10. Once complete, type "exit" into the shell then "adb disconnect" into the command line
# 11. Finally, go back into developer settings and disable debugging, then enjoy your debloated watch!
# Samsung Bixby
pm uninstall -k --user 0 com.samsung.android.bixby.agent
pm uninstall -k --user 0 com.samsung.android.bixby.wakeup
# Samsung Diagnostics
pm uninstall -k --user 0 com.sec.android.diagmonagent
# Samsung Pay (for if you use Google Pay instead)
pm uninstall -k --user 0 com.samsung.android.samsungpay.gear
# Samsung Cloud
pm uninstall -k --user 0 com.samsung.android.scloud
# AR Emoji
pm uninstall -k --user 0 com.samsung.android.watch.watchface.aremoji
# Closing connections in case you are using this as a bash script
# Remember to disable ADB inside developer settings on the watch yourself, this script cannot do that for you!
exit
adb disconnect
echo "Remember to disable ADB inside developer settings on the watch yourself, this script cannot do that for you!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment