Last active
October 26, 2019 16:28
-
-
Save VladimirMikulic/820347a9ed372c215123f9785eca7e94 to your computer and use it in GitHub Desktop.
Script to remove common Android built-in apps
This file contains hidden or 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
#!/usr/bin/env bash | |
packages=( | |
# MICROSOFT | |
com.microsoft.office.word | |
com.microsoft.office.excel | |
com.microsoft.office.powerpoint | |
com.microsoft.skydrive | |
com.google.android.music | |
com.google.android.apps.maps | |
com.google.android.apps.photos | |
com.android.chrome | |
com.google.android.videos | |
com.google.android.googlequicksearchbox | |
com.linkedin.android | |
com.facebook.system | |
com.facebook.katana | |
com.facebook.services | |
com.facebook.appmanager | |
# SAMSUNG | |
com.sec.android.app.shealth | |
com.samsung.android.email.provider | |
# Radio | |
com.sec.android.app.fm | |
com.google.android.talk | |
com.google.android.apps.books | |
com.google.android.apps.magazines | |
com.google.android.apps.docs | |
) | |
remove_package(){ | |
adb shell pm uninstall --user 0 $1 | |
} | |
for package in "${packages[@]}"; do | |
printf "Do you want to remove $package package?\n" | |
read answer | |
if [ "$answer" == "y" ]; then | |
remove_package $package; | |
printf "\n$package removed!\n\n" | |
fi | |
done | |
printf "\nEnjoy your bloat free device :)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment