Created
February 19, 2026 14:39
-
-
Save tternes/1725072ff1466ccec3cad9579dd3c650 to your computer and use it in GitHub Desktop.
Remove Android Packages
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
| #!/bin/bash | |
| # Uninstalls a list of unwanted apps from an Android device via ADB. | |
| REMOVE_LIST=( | |
| "com.dti.att" # DTI | |
| "com.google.android.youtube" | |
| "com.google.android.videos" | |
| "com.bleacherreport.android.teamstream" | |
| "com.cnn.mobile.android.phone" | |
| "com.wb.goog.got.conquest" | |
| "com.google.android.apps.restore" | |
| "com.google.android.apps.turbo" | |
| "com.google.android.gm" | |
| "com.google.android.apps.tachyon" | |
| "com.google.android.googlequicksearchbox" | |
| "com.facebook.katana" | |
| "com.google.android.apps.photos" | |
| "com.google.android.apps.docs" | |
| "com.google.android.apps.maps" | |
| "com.samsung.android.themestore" | |
| "com.samsung.android.app.galaxyfinder" | |
| "com.samsung.android.app.tips" | |
| "com.samsung.android.arzone" | |
| "com.pinterest" | |
| "com.soulcompany.bubbleshooter.relaxing" | |
| "com.staplegames.blocksClassicSGGP" | |
| # https://www.reddit.com/r/GalaxyS21/comments/qpsrnf/my_personal_debloating_oriented_commands/ | |
| "com.asurion.android.protech.att" | |
| "com.sec.enterprise.knox.attestation" | |
| "com.dti.att" | |
| "com.samsung.android.knox.attestation" | |
| "com.att.mobilesecurity" | |
| "com.att.callprotect" | |
| "com.att.myWireless" | |
| "com.synchronoss.dcs.att.r2g" | |
| "com.sec.android.app.ewidgetatt" | |
| "com.att.iqi" | |
| "com.att.dh" | |
| "com.att.tv" | |
| "com.att.android.attsmartwifi" | |
| "com.att.csoiam.mobilekey" | |
| "com.att.personalcloud" | |
| "com.samsung.android.bixby.agent" | |
| "com.samsung.android.bixby.agent.dummy" | |
| "com.samsung.android.bixby.es.globalaction" | |
| "com.samsung.android.bixby.plmsync" | |
| "com.samsung.android.bixby.service" | |
| "com.samsung.android.bixby.voiceinput" | |
| "com.samsung.android.bixby.wakeup" | |
| "com.samsung.android.bixbyvision.framework" | |
| "com.samsung.systemui.bixby" | |
| "com.samsung.systemui.bixby2" | |
| "com.samsung.android.kidsinstaller" | |
| "com.particlenews.newsbreak" | |
| "com.microsoft.skydrive" | |
| "com.samsung.android.messaging" | |
| "com.samsung.android.app.dressroom" | |
| "com.tripledot.woodoku" | |
| "com.zynga.pottermatch" | |
| ) | |
| if ! command -v adb > /dev/null; then | |
| echo "adb not found. Please install adb and ensure PATH is set." | |
| exit 1 | |
| fi | |
| if ! adb devices | grep -q 'device$'; then | |
| echo "No device connected. Please connect an Android device via USB and enable USB debugging." | |
| exit 1 | |
| fi | |
| for pkg in "${REMOVE_LIST[@]}"; do | |
| if adb shell pm list packages | grep -q "$pkg"; then | |
| echo "Removing package $pkg" | |
| output=$(adb shell pm uninstall -k --user 0 "$pkg" 2>&1) | |
| status=$? | |
| if [ $status -ne 0 ]; then | |
| echo -e "\033[31mFailed to uninstall $pkg: $output\033[0m" | |
| fi | |
| else | |
| echo "Package $pkg not found" | |
| fi | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment