Last active
October 6, 2019 22:48
-
-
Save chentz78/fb5fc97c501f7b714ebc62f7f0ab86a0 to your computer and use it in GitHub Desktop.
Remove bloatware from Android 6.0.1for Samsung Note 4 (N910C)
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 | |
#Based on https://gist.github.com/RobinPel/f4e3df304483c38c059c98c6fd66fdda | |
#https://www.androidsage.com/2018/09/01/list-of-bloatware-remove-uninstall-android-device-without-root/ | |
#Tested with Samsung Note 4 (n910c) and N910CZTO2DPE2 - 10/04/2019 | |
uninstall=( | |
com.google.android.music | |
com.google.android.apps.photos | |
com.google.android.apps.books | |
com.google.android.apps.magazines | |
com.google.android.play.games | |
com.google.android.apps.plus | |
#GBoard | |
com.google.android.inputmethod.latin | |
com.google.android.inputmethod.pinyin | |
com.google.android.marvin.talkback | |
com.google.android.apps.tachyon | |
#Device Health Service | |
com.google.android.apps.turbo | |
com.google.android.music | |
com.google.android.talk | |
com.google.android.tts | |
com.google.android.videos | |
com.google.android.feedback | |
#Google Search | |
#com.google.android.googlequicksearchbox | |
#Samsung | |
com.samsung.android.hmt.vrsvc | |
com.samsung.android.hmt.vrshell | |
com.samsung.android.app.vrsetupwizardstub | |
com.facebook.pages.app | |
com.facebook.katana | |
com.facebook.appmanager | |
com.facebook.services | |
com.facebook.system | |
com.instagram.android | |
com.whatsapp | |
flipboard.boxer.app | |
flipboard.app | |
#Others | |
com.sec.android.app.samsungapps | |
com.evernote | |
tv.peel.smartremote | |
com.sec.penup | |
com.dropbox.android | |
com.android.stk | |
) | |
if [ ! -z "$1" ]; then | |
if [ "$1" == 'f' ]; then | |
while read l; do | |
pkgID=`echo $l | cut -d '=' -f2` | |
pkgPath=`echo $l | cut -d '=' -f1` | |
echo "$pkgID $pkgPath" | |
done < <(adb shell pm list packages -f | cut -d ':' -f2 | sort) | |
else | |
adb shell pm list packages -f | cut -d ':' -f2 | sort | |
fi | |
else | |
for X in ${uninstall[@]} | |
do | |
echo $X | |
adb shell pm uninstall $X | |
adb shell pm uninstall --user 0 $X | |
done | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment