Last active
May 8, 2023 10:35
-
-
Save iamutkarshtiwari/f67e8d2485d6d6ee269e5df3367799b0 to your computer and use it in GitHub Desktop.
Samsung Galaxy Debloater Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# List of package names to be removed | |
packages=( | |
# Samsung apps | |
# You can add more here. Checkout out this blogpost: | |
# https://technastic.com/remove-samsung-bloatware-safe-to-remove-apps/ | |
"com.samsung.android.calendar" | |
"com.samsung.android.email.provider" | |
"com.samsung.android.app.notes" | |
"com.samsung.android.contacts" | |
"com.google.android.apps.tachyon", | |
"com.samsung.android.bixby.wakeup", | |
"com.samsung.android.app.spage", | |
"com.samsung.android.app.routines", | |
"com.samsung.android.bixby.service", | |
"com.samsung.android.visionintelligence", | |
"com.samsung.android.bixby.agent", | |
"com.samsung.android.bixby.agent.dummy", | |
"com.samsung.android.bixbyvision.framework", | |
"com.samsung.android.mateagent", | |
"com.samsung.android.app.watchmanagerstub", | |
"com.samsung.android.app.social", | |
"com.samsung.ecomm.global", | |
"com.samsung.android.oneconnect", | |
"com.samsung.hidden.china", | |
"com.samsung.android.spay", | |
"com.samsung.android.spay", | |
# Google apps | |
"com.google.android.videos" | |
# Add more package names here if needed | |
) | |
# Disable bloatware apps instead of removing them completely | |
# Uncomment the following line if you want to disable instead of removing | |
# disable_apps=true | |
# Loop through the package names and remove/disable them | |
for package in "${packages[@]}" | |
do | |
if [ "$disable_apps" = true ]; then | |
echo "Disabling $package" | |
adb shell pm disable-user --user 0 "$package" | |
else | |
echo "Uninstalling $package" | |
adb shell pm uninstall --user 0 "$package" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use this:
USB Debugging
is enabled on your Samsung device