From ce3daae6289ef12886f5d16ed208f55f446b7e7f Mon Sep 17 00:00:00 2001 From: Juan B <55644440+JnBenites@users.noreply.github.com> Date: Sun, 23 Jul 2023 04:01:26 -0500 Subject: [PATCH] Changed the organization to separate dangerous packages --- README.md | 93 ++++++------------- remove-bloatware.bat | 201 +++++++++++++++++++++-------------------- remove-bloatware.sh | 206 +++++++++++++++++++++---------------------- 3 files changed, 231 insertions(+), 269 deletions(-) diff --git a/README.md b/README.md index cab981b..e375322 100644 --- a/README.md +++ b/README.md @@ -1,87 +1,48 @@ -## Remove-bloatware-for-android +# Remove-bloatware-for-android + A simple tool to uninstall multiple bloat apps with a single command. To run it requires Android Debug Bridge (ADB). -### Requirements +## Requirements * Data cable -* Android Debug Bridge (ADB) - -## Script options for linux and windows -#### 0 Clear screen -* Clear screen (only for linux) -#### 1 Checking for devices -* Check if the device is connected -#### 2. Save list for packages -* Save list of names of applications installed on the device. -> packages.txt :page_facing_up: -#### 3. Reboot System Now -* Reboot the device quickly using ADB. :repeat: -#### 4. Remove-bloatware -* Uninstall bloat apps from Xiaomi, samsung, google, microsoft and more -#### 5. Exit -* Exit - -## Screenshot - -capturadepantalla-linux +* [Android Debug Bridge (ADB)](https://developer.android.com/studio/releases/platform-tools) -capturadepantalla-windows

+## Script options for Linux and Windows +#### 0. Exit +* Clear screen (only for Linux) -## Linux - -Debian/Ubuntu - -``sudo apt install android-tools-adb`` - -Centos/Fedora/openSUSE +#### 1. Checking for devices +* Check if the device is connected -``sudo dnf install android-tools`` +#### 2. Save list for packages +* Save a list of names of applications installed on the device. -> packages.txt 📄 -ArchLinux y derivados +#### 3. Remove Facebook bloatware +* Uninstall Facebook bloatware -``sudo pacman -Sy android-tools`` +#### 4. Remove Google bloatware +* Uninstall Google bloatware -## File organitation in windows -``` - README - LICENCIE - Remove-bloatware <-- Executable - adb - AdbWinApi.dll - AdbWinUsbApi.dll - dmtracedump - etc1tool - fastboot - hprof-conv - libwinpthread-1.dll - make_f2fs - make_f2fs_casefold - mke2fs.conf - mke2fs - NOTICE - source - sqlite3 -``` -## For linux -Unzip and move the platform-tools folder to /opt/ +#### 5. Remove Microsoft bloatware +* Uninstall Microsoft bloatware -`` -/opt/ -`` +#### 6. Removing Xiaomi Bloatware +* Uninstall Xiaomi bloatware -give permissions to .sh script +#### 7. Removing Bloatware extra +* Uninstall extra bloatware -`` -sudo chmod +x remove-bloatware.sh -`` +`- DANGER: Can corrupt your system completely -` -run script +#### 8. Removing miui securitycenter +* Uninstall miui securitycenter bloatware -`` -./remove-bloatware.sh -`` +#### 9. Removing Samsung Knox +* Uninstall Samsung Knox bloatware ## Contributions Issues will be fixed asap. Pull Request Welcomed https://github.com/JnBenites/Remove-bloatware-for-android/issues + diff --git a/remove-bloatware.bat b/remove-bloatware.bat index 5b164bd..7f12aac 100644 --- a/remove-bloatware.bat +++ b/remove-bloatware.bat @@ -2,30 +2,47 @@ :start cls echo Select an option:: -echo 1. Checking for devices 1 -echo 2. Save list for packages 2 -echo 3. Reboot System Now 3 -echo 4. Remove-bloatware 4 -echo 5. Exit 5 +echo. +echo 0. Exit +echo 1. Checking for devices +echo 2. Save list for packages +echo. +echo 3. Remove Facebook bloatware +echo 4. Remove Google bloatware +echo 5. Remove Microsoft bloatware +echo 6. Removing Xiaomi Bloatware +echo 7. Removing Bloatware extra +echo - DANGER Can corrupt your system completely DANGER - +echo 8. Removing miui securitycenter +echo 9. Removing samsung Knox +echo. set /p opcion=Enter the number of the option you want: - +if "%opcion%"=="0" goto opcion0 if "%opcion%"=="1" goto opcion1 if "%opcion%"=="2" goto opcion2 if "%opcion%"=="3" goto opcion3 if "%opcion%"=="4" goto opcion4 if "%opcion%"=="5" goto opcion5 +if "%opcion%"=="6" goto opcion6 +if "%opcion%"=="7" goto opcion7 +if "%opcion%"=="8" goto opcion8 +if "%opcion%"=="9" goto opcion9 echo Opción no válida goto start +:opcion0 + echo Bye +Exit + :opcion1 - echo Checking for devices... 1 + echo Checking for devices... adb devices pause goto start :opcion2 - echo Save list for packages 2 + echo Save list for packages adb shell pm list packages> ListPackages.txt echo List saved in packages.txt echo done @@ -33,113 +50,68 @@ goto start goto start :opcion3 - adb reboot -goto start - -:opcion4 - echo Removing bloatware... - echo Removing Facebook Bloatware ..... - adb shell pm uninstall -k --user 0 com.android.providers.partnerbookmarks + echo Remove Facebook bloatware adb shell pm uninstall -k --user 0 com.facebook.katana adb shell pm uninstall -k --user 0 com.facebook.appmanager adb shell pm uninstall -k --user 0 com.facebook.services adb shell pm uninstall -k --user 0 com.facebook.system + pause +goto start - echo Google apps ..... - adb shell pm uninstall -k --user 0 com.google.android.setupwizard - adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox +:opcion4 + echo Remove google bloatware + adb shell pm uninstall -k --user 0 com.android.chrome + adb shell pm uninstall -k --user 0 com.android.hotwordenrollment.google + adb shell pm uninstall -k --user 0 com.android.stk + adb shell pm uninstall -k --user 0 com.google.android.apps.docs adb shell pm uninstall -k --user 0 com.google.android.apps.googleassistant - adb shell pm uninstall -k --user 0 com.google.android.apps.podcasts - adb shell pm uninstall -k --user 0 com.google.android.apps.subscriptions.red adb shell pm uninstall -k --user 0 com.google.android.apps.magazines + adb shell pm uninstall -k --user 0 com.google.android.apps.maps + adb shell pm uninstall -k --user 0 com.google.android.apps.photos adb shell pm uninstall -k --user 0 com.google.android.apps.podcasts - adb shell pm uninstall -k --user 0 com.android.hotwordenrollment.xgoogle - adb shell pm uninstall -k --user 0 com.google.android.apps.youtube.music - adb shell pm uninstall -k --user 0 com.google.android.youtube + adb shell pm uninstall -k --user 0 com.google.android.apps.subscriptions.red adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon adb shell pm uninstall -k --user 0 com.google.android.apps.walletnfcrel - adb shell pm uninstall -k --user 0 com.android.chrome - adb shell pm uninstall -k --user 0 com.google.android.apps.walletnfcrel - adb shell pm uninstall -k --user 0 com.google.android.apps.photos + adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox adb shell pm uninstall -k --user 0 com.google.android.gm - adb shell pm uninstall -k --user 0 org.mipay.android.manager - adb shell pm uninstall -k --user 0 com.google.android.apps.maps - adb shell pm uninstall -k --user 0 com.google.android.apps.docs + adb shell pm uninstall -k --user 0 com.google.android.setupwizard adb shell pm uninstall -k --user 0 com.google.android.videos - adb shell pm uninstall -k --user 0 com.android.stk - - echo Removing Microsoft Bloatware ..... + adb shell pm uninstall -k --user 0 com.google.android.youtube + adb shell pm uninstall -k --user 0 org.mipay.android.manager + adb shell pm uninstall -k --user 0 com.google.android.apps.youtube.music + pause +goto start + +:opcion5 + echo Removing Microsoft Bloatware adb shell pm uninstall -k --user 0 com.microsoft.office.excel - adb shell pm uninstall -k --user 0 com.microsoft.skydrive - adb shell pm uninstall -k --user 0 com.microsoft.office.word - adb shell pm uninstall -k --user 0 com.microsoft.office.powerpoint adb shell pm uninstall -k --user 0 com.microsoft.office.onenote + adb shell pm uninstall -k --user 0 com.microsoft.office.powerpoint + adb shell pm uninstall -k --user 0 com.microsoft.office.word + adb shell pm uninstall -k --user 0 com.microsoft.skydrive + pause +goto start - echo Removing samsung Bloatware ..... - adb shell pm uninstall -k --user 0 flipboard.boxer.app - adb shell pm uninstall -k --user 0 com.samsung.android.weather - adb shell pm uninstall -k --user 0 com.samsung.android.easysetup - adb shell pm uninstall -k --user 0 com.samsung.android.app.notes - adb shell pm uninstall -k --user 0 com.samsung.android.app.galaxyfinder - adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder.setuppage - adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder - adb shell pm uninstall -k --user 0 com.samsung.android.voc - adb shell pm uninstall -k --user 0 com.samsung.android.email.provider - adb shell pm uninstall -k --user 0 com.samsung.android.scloud - adb shell pm uninstall -k --user 0 com.sec.android.widgetapp.samsungapps - adb shell pm uninstall -k --user 0 com.sec.android.app.samsungapps - adb shell pm uninstall -k --user 0 com.sec.android.daemonapp - adb shell pm uninstall -k --user 0 com.sec.android.app.voicenote - adb shell pm uninstall -k --user 0 com.sec.android.service.health - adb shell pm uninstall -k --user 0 com.sec.android.app.sbrowser - adb shell pm uninstall -k --user 0 com.sec.android.app.fm - adb shell pm uninstall -k --user 0 com.sec.android.soagent - adb shell pm uninstall -k --user 0 com.sec.android.app.shealth - adb shell pm uninstall -k --user 0 com.sec.android.widgetapp.webmanual - adb shell pm uninstall -k --user 0 com.linkedin.android - adb shell pm uninstall -k --user 0 com.samsung.android.coreapps - adb shell pm uninstall -k --user 0 com.samsung.android.beaconmanager - adb shell pm uninstall -k --user 0 com.samsung.android.app.simplesharing - adb shell pm uninstall -k --user 0 com.opera.max.oem - - echo Removing knox Bloatware .... - adb shell pm uninstall -k --user 0 com.sec.knox.switcher - adb shell pm uninstall -k --user 0 com.samsung.knox.appsupdateagent - adb shell pm uninstall -k --user 0 com.sec.knox.foldercontainer - adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder.setuppage - adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder - adb shell pm uninstall -k --user 0 com.sec.knox.kss - adb shell pm uninstall -k --user 0 com.sec.knox.knoxsetupwizardclient - - echo Xiaomi apps .... - ::#adb shell pm uninstall -k --user 0 com.caf.fmradio - ::#adb shell pm uninstall -k --user 0 com.miui.fm - ::#adb shell pm uninstall -k --user 0 com.miui.fmservice - ::#adb shell pm uninstall -k --user 0 com.android.thememanager - ::#adb shell pm uninstall -k --user 0 com.miui.player - ::#adb shell pm uninstall -k --user 0 com.xiaomi.discover +:opcion6 + echo Removing Xiaomi Bloatware adb shell pm disable-user com.xiaomi.scanner adb shell pm disable-user com.miui.notes adb shell pm disable-user com.miui.weather2 + adb shell pm disable-user com.mi.globalbrowser + adb shell pm uninstall com.mi.global.bbs + adb shell pm uninstall -k --user 0 com.xiaomi.glgm + adb shell pm uninstall -k --user 0 com.miui.miservice + adb shell pm uninstall -k --user 0 com.xiaomi.discover adb shell pm uninstall -k --user 0 com.mi.globalminusscreen + adb shell pm uninstall -k --user 0 com.miui.android.fashiongallery + adb shell pm uninstall -k --user 0 android.autoinstalls.config.Xiaomi.qssi + ::adb shell pm uninstall -k --user 0 com.miui.fm + ::adb shell pm uninstall -k --user 0 com.miui.fmservice + pause +goto start - adb shell pm uninstall -k --user 0 com.xiaomi.account - adb shell pm uninstall -k --user 0 com.miui.android.fashiongallery - adb shell pm uninstall -k --user 0 com.miui.cleaner - adb shell pm uninstall -k --user 0 com.miui.miservice - adb shell pm uninstall -k --user 0 com.xiaomi.midrop - adb shell pm uninstall -k --user 0 com.zhiliaoapp.musically - adb shell pm uninstall -k --user 0 com.xiaomi.micloud.sdk - adb shell pm uninstall -k --user 0 com.miui.micloudsync - adb shell pm uninstall -k --user 0 com.miui.cloudbackup - adb shell pm uninstall -k --user 0 com.miui.cloudservice - adb shell pm uninstall -k --user 0 com.xiaomi.glgm - adb shell pm uninstall -k --user 0 com.xiaomi.payment4 - - ::#adb shell pm uninstall -k --user 0 com.miui.securitycenter - ::#adb shell pm uninstall -k --user 0 com.miui.guardprovider - ::#adb shell pm uninstall -k --user 0 com.miui.securitycore - echo More apps .... +:opcion7 + echo Removing Bloatware extra adb shell pm uninstall -k --user 0 com.android.egg adb shell pm uninstall -k --user 0 com.android.providers.partnerbookmarks adb shell pm uninstall -k --user 0 com.android.bookmarkprovider @@ -152,11 +124,44 @@ goto start adb shell pm uninstall -k --user 0 cn.wps.moffice_eng adb shell pm uninstall -k --user 0 com.android.stk adb shell pm uninstall -k --user 0 com.csdroid.spkg + adb shell pm uninstall -k --user 0 com.zhiliaoapp.musically + adb shell pm uninstall -k --user 0 com.king.candycrushsaga + pause +goto start +:opcion8 + echo Removing Securitycenter Bloatware + adb shell pm uninstall -k --user 0 com.miui.securitycenter + adb shell pm uninstall -k --user 0 com.miui.guardprovider + adb shell pm uninstall -k --user 0 com.miui.securitycore + adb shell pm uninstall -k --user 0 com.miui.cleaner pause +goto start +:opcion9 + echo Removing Xnox Bloatware + adb shell pm uninstall -k --user 0 com.samsung.knox.appsupdateagent + adb shell pm uninstall -k --user 0 com.sec.knox.foldercontainer + adb shell pm uninstall -k --user 0 com.sec.knox.knoxsetupwizardclient + adb shell pm uninstall -k --user 0 com.sec.knox.kss + adb shell pm uninstall -k --user 0 com.sec.knox.switcher + adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder + adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder.setuppage + pause goto start -:opcion5 - echo Bye -Exit + + +::EXTRA +::adb +::adb shell pm uninstall -k --user 0 com.miui.fm +::adb shell pm uninstall -k --user 0 com.miui.fmservice +::adb shell pm uninstall -k --user 0 com.android.thememanager +::adb shell pm uninstall -k --user 0 com.miui.player +::adb shell pm uninstall -k --user 0 com.xiaomi.micloud.sdk +::adb shell pm uninstall -k --user 0 com.miui.micloudsync +::adb shell pm uninstall -k --user 0 com.miui.cloudbackup +::adb shell pm uninstall -k --user 0 com.miui.cloudservice +::adb shell pm uninstall -k --user 0 com.xiaomi.payment4 +::adb shell pm uninstall -k --user 0 com.xiaomi.account +::adb shell pm uninstall -k --user 0 com.xiaomi.midrop \ No newline at end of file diff --git a/remove-bloatware.sh b/remove-bloatware.sh index 14ff6a6..b70f8ec 100644 --- a/remove-bloatware.sh +++ b/remove-bloatware.sh @@ -1,139 +1,102 @@ #!/bin/bash -while : -do +while true; do + clear echo "Select an option:" echo "" - echo "0. Clear screen" - echo "1. Check for devices" - echo "2. Save list of packages" - echo "3. Reboot device" - echo "4. Remove bloatware" - echo "5. Exit" + echo "0. Exit" + echo "1. Checking for devices" + echo "2. Save list for packages" + echo "" + echo "3. Remove Facebook bloatware" + echo "4. Remove Google bloatware" + echo "5. Remove Microsoft bloatware" + echo "6. Removing Xiaomi Bloatware" + echo "7. Removing Bloatware extra" + echo "- DANGER Can corrupt your system completely DANGER -" + echo "8. Removing miui securitycenter" + echo "9. Removing Samsung Knox" echo "" - read -p "Enter option [1-5]: " option + read -p "Enter the number of the option you want: " option case $option in 0) - Clear + echo "Bye" + exit ;; 1) echo "Checking for devices..." adb devices + read -n 1 -s -r -p "Press any key to continue..." ;; 2) - echo "Saving list of packages..." - adb shell pm list packages >> packages.txt + echo "Save list for packages..." + adb shell pm list packages > ListPackages.txt + echo "List saved in packages.txt" + echo "done" + read -n 1 -s -r -p "Press any key to continue..." ;; 3) - echo "Rebooting device..." - adb reboot - ;; - 4) - echo "Removing bloatware..." - echo "Removing Facebook Bloatware ..... " - adb shell pm uninstall -k --user 0 com.android.providers.partnerbookmarks + echo "Remove Facebook bloatware..." adb shell pm uninstall -k --user 0 com.facebook.katana adb shell pm uninstall -k --user 0 com.facebook.appmanager adb shell pm uninstall -k --user 0 com.facebook.services adb shell pm uninstall -k --user 0 com.facebook.system - - echo "Google apps ..... " - adb shell pm uninstall -k --user 0 com.google.android.setupwizard - adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox + read -n 1 -s -r -p "Press any key to continue..." + ;; + 4) + echo "Remove Google bloatware..." + adb shell pm uninstall -k --user 0 com.android.chrome + adb shell pm uninstall -k --user 0 com.android.hotwordenrollment.google + adb shell pm uninstall -k --user 0 com.android.stk + adb shell pm uninstall -k --user 0 com.google.android.apps.docs adb shell pm uninstall -k --user 0 com.google.android.apps.googleassistant - adb shell pm uninstall -k --user 0 com.google.android.apps.podcasts - adb shell pm uninstall -k --user 0 com.google.android.apps.subscriptions.red adb shell pm uninstall -k --user 0 com.google.android.apps.magazines + adb shell pm uninstall -k --user 0 com.google.android.apps.maps + adb shell pm uninstall -k --user 0 com.google.android.apps.photos adb shell pm uninstall -k --user 0 com.google.android.apps.podcasts - adb shell pm uninstall -k --user 0 com.android.hotwordenrollment.xgoogle - adb shell pm uninstall -k --user 0 com.google.android.apps.youtube.music - adb shell pm uninstall -k --user 0 com.google.android.youtube + adb shell pm uninstall -k --user 0 com.google.android.apps.subscriptions.red adb shell pm uninstall -k --user 0 com.google.android.apps.tachyon adb shell pm uninstall -k --user 0 com.google.android.apps.walletnfcrel - adb shell pm uninstall -k --user 0 com.android.chrome - adb shell pm uninstall -k --user 0 com.google.android.apps.walletnfcrel - adb shell pm uninstall -k --user 0 com.google.android.apps.photos + adb shell pm uninstall -k --user 0 com.google.android.googlequicksearchbox adb shell pm uninstall -k --user 0 com.google.android.gm - adb shell pm uninstall -k --user 0 org.mipay.android.manager - adb shell pm uninstall -k --user 0 com.google.android.apps.maps - adb shell pm uninstall -k --user 0 com.google.android.apps.docs + adb shell pm uninstall -k --user 0 com.google.android.setupwizard adb shell pm uninstall -k --user 0 com.google.android.videos - adb shell pm uninstall -k --user 0 com.android.stk - - echo "Removing Microsoft Bloatware ..... " + adb shell pm uninstall -k --user 0 com.google.android.youtube + adb shell pm uninstall -k --user 0 org.mipay.android.manager + adb shell pm uninstall -k --user 0 com.google.android.apps.youtube.music + read -n 1 -s -r -p "Press any key to continue..." + ;; + 5) + echo "Removing Microsoft Bloatware..." adb shell pm uninstall -k --user 0 com.microsoft.office.excel - adb shell pm uninstall -k --user 0 com.microsoft.skydrive - adb shell pm uninstall -k --user 0 com.microsoft.office.word - adb shell pm uninstall -k --user 0 com.microsoft.office.powerpoint adb shell pm uninstall -k --user 0 com.microsoft.office.onenote - - echo "Removing samsung Bloatware ..... " - adb shell pm uninstall -k --user 0 flipboard.boxer.app - adb shell pm uninstall -k --user 0 com.samsung.android.weather - adb shell pm uninstall -k --user 0 com.samsung.android.easysetup - adb shell pm uninstall -k --user 0 com.samsung.android.app.notes - adb shell pm uninstall -k --user 0 com.samsung.android.app.galaxyfinder - adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder.setuppage - adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder - adb shell pm uninstall -k --user 0 com.samsung.android.voc - adb shell pm uninstall -k --user 0 com.samsung.android.email.provider - adb shell pm uninstall -k --user 0 com.samsung.android.scloud - adb shell pm uninstall -k --user 0 com.sec.android.widgetapp.samsungapps - adb shell pm uninstall -k --user 0 com.sec.android.app.samsungapps - adb shell pm uninstall -k --user 0 com.sec.android.daemonapp - adb shell pm uninstall -k --user 0 com.sec.android.app.voicenote - adb shell pm uninstall -k --user 0 com.sec.android.service.health - adb shell pm uninstall -k --user 0 com.sec.android.app.sbrowser - adb shell pm uninstall -k --user 0 com.sec.android.app.fm - adb shell pm uninstall -k --user 0 com.sec.android.soagent - adb shell pm uninstall -k --user 0 com.sec.android.app.shealth - adb shell pm uninstall -k --user 0 com.sec.android.widgetapp.webmanual - adb shell pm uninstall -k --user 0 com.linkedin.android - adb shell pm uninstall -k --user 0 com.samsung.android.coreapps - adb shell pm uninstall -k --user 0 com.samsung.android.beaconmanager - adb shell pm uninstall -k --user 0 com.samsung.android.app.simplesharing - adb shell pm uninstall -k --user 0 com.opera.max.oem - - echo "Removing knox Bloatware ...." - adb shell pm uninstall -k --user 0 com.sec.knox.switcher - adb shell pm uninstall -k --user 0 com.samsung.knox.appsupdateagent - adb shell pm uninstall -k --user 0 com.sec.knox.foldercontainer - adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder.setuppage - adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder - adb shell pm uninstall -k --user 0 com.sec.knox.kss - adb shell pm uninstall -k --user 0 com.sec.knox.knoxsetupwizardclient - - echo "Xiaomi apps ...." - #adb shell pm uninstall -k --user 0 com.caf.fmradio - #adb shell pm uninstall -k --user 0 com.miui.fm - #adb shell pm uninstall -k --user 0 com.miui.fmservice - #adb shell pm uninstall -k --user 0 com.android.thememanager - #adb shell pm uninstall -k --user 0 com.miui.player - #adb shell pm uninstall -k --user 0 com.xiaomi.discover + adb shell pm uninstall -k --user 0 com.microsoft.office.powerpoint + adb shell pm uninstall -k --user 0 com.microsoft.office.word + adb shell pm uninstall -k --user 0 com.microsoft.skydrive + read -n 1 -s -r -p "Press any key to continue..." + ;; + 6) + echo "Removing Xiaomi Bloatware..." + echo Removing Xiaomi Bloatware adb shell pm disable-user com.xiaomi.scanner adb shell pm disable-user com.miui.notes adb shell pm disable-user com.miui.weather2 - adb shell pm uninstall -k --user 0 com.mi.globalminusscreen - - adb shell pm uninstall -k --user 0 com.xiaomi.account - adb shell pm uninstall -k --user 0 com.miui.android.fashiongallery - adb shell pm uninstall -k --user 0 com.miui.cleaner - adb shell pm uninstall -k --user 0 com.miui.miservice - adb shell pm uninstall -k --user 0 com.xiaomi.midrop - adb shell pm uninstall -k --user 0 com.zhiliaoapp.musically - adb shell pm uninstall -k --user 0 com.xiaomi.micloud.sdk - adb shell pm uninstall -k --user 0 com.miui.micloudsync - adb shell pm uninstall -k --user 0 com.miui.cloudbackup - adb shell pm uninstall -k --user 0 com.miui.cloudservice + adb shell pm disable-user com.mi.globalbrowser + adb shell pm uninstall com.mi.global.bbs adb shell pm uninstall -k --user 0 com.xiaomi.glgm - adb shell pm uninstall -k --user 0 com.xiaomi.payment4 - - #adb shell pm uninstall -k --user 0 com.miui.securitycenter - #adb shell pm uninstall -k --user 0 com.miui.guardprovider - #adb shell pm uninstall -k --user 0 com.miui.securitycore - echo "More apps ...." + adb shell pm uninstall -k --user 0 com.miui.miservice + adb shell pm uninstall -k --user 0 com.xiaomi.discover + adb shell pm uninstall -k --user 0 com.mi.globalminusscreen + adb shell pm uninstall -k --user 0 com.miui.android.fashiongallery + adb shell pm uninstall -k --user 0 android.autoinstalls.config.Xiaomi.qssi + #adb shell pm uninstall -k --user 0 com.miui.fm + #adb shell pm uninstall -k --user 0 com.miui.fmservice + read -n 1 -s -r -p "Press any key to continue..." + ;; + 7) + echo "Removing Bloatware extra..." adb shell pm uninstall -k --user 0 com.android.egg adb shell pm uninstall -k --user 0 com.android.providers.partnerbookmarks adb shell pm uninstall -k --user 0 com.android.bookmarkprovider @@ -146,13 +109,46 @@ do adb shell pm uninstall -k --user 0 cn.wps.moffice_eng adb shell pm uninstall -k --user 0 com.android.stk adb shell pm uninstall -k --user 0 com.csdroid.spkg + adb shell pm uninstall -k --user 0 com.zhiliaoapp.musically + adb shell pm uninstall -k --user 0 com.king.candycrushsaga + read -n 1 -s -r -p "Press any key to continue..." ;; - 5) - echo "Exiting..." - break + 8) + echo "Removing Securitycenter Bloatware..." + adb shell pm uninstall -k --user 0 com.miui.securitycenter + adb shell pm uninstall -k --user 0 com.miui.guardprovider + adb shell pm uninstall -k --user 0 com.miui.securitycore + adb shell pm uninstall -k --user 0 com.miui.cleaner + read -n 1 -s -r -p "Press any key to continue..." + ;; + 9) + echo "Removing Samsung Knox..." + adb shell pm uninstall -k --user 0 com.samsung.knox.appsupdateagent + adb shell pm uninstall -k --user 0 com.sec.knox.foldercontainer + adb shell pm uninstall -k --user 0 com.sec.knox.knoxsetupwizardclient + adb shell pm uninstall -k --user 0 com.sec.knox.kss + adb shell pm uninstall -k --user 0 com.sec.knox.switcher + adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder + adb shell pm uninstall -k --user 0 com.samsung.knox.securefolder.setuppage + read -n 1 -s -r -p "Press any key to continue..." ;; *) echo "Invalid option" + read -n 1 -s -r -p "Press any key to continue..." ;; esac done + + +#EXTRA +#adb shell pm uninstall -k --user 0 com.miui.fm +#adb shell pm uninstall -k --user 0 com.miui.fmservice +#adb shell pm uninstall -k --user 0 com.android.thememanager +#adb shell pm uninstall -k --user 0 com.miui.player +#adb shell pm uninstall -k --user 0 com.xiaomi.micloud.sdk +#adb shell pm uninstall -k --user 0 com.miui.micloudsync +#adb shell pm uninstall -k --user 0 com.miui.cloudbackup +#adb shell pm uninstall -k --user 0 com.miui.cloudservice +#adb shell pm uninstall -k --user 0 com.xiaomi.payment4 +#adb shell pm uninstall -k --user 0 com.xiaomi.account +#adb shell pm uninstall -k --user 0 com.xiaomi.midrop \ No newline at end of file