SHARE
TWEET

Untitled

a guest Oct 21st, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env bash
  2.  
  3. packages=(
  4.   # MICROSOFT
  5.   com.microsoft.office.word
  6.   com.microsoft.office.excel
  7.   com.microsoft.office.powerpoint
  8.   com.microsoft.skydrive
  9.   # GOOGLE
  10.   com.google.android.music
  11.   com.google.android.apps.maps
  12.   com.google.android.apps.photos
  13.   com.android.chrome
  14.   com.google.android.videos
  15.   com.google.android.googlequicksearchbox
  16.   # LINKEDIN
  17.   com.linkedin.android
  18.   # FACEBOOK
  19.   com.facebook.system
  20.   com.facebook.katana
  21.   com.facebook.services
  22.   com.facebook.appmanager
  23.   # SAMSUNG
  24.   com.sec.android.app.shealth
  25.   com.samsung.android.email.provider
  26.   # Radio
  27.   com.sec.android.app.fm
  28. )
  29.  
  30. remove_package(){
  31.   adb shell pm uninstall --user 0 $1
  32. }
  33.  
  34. for package in "${packages[@]}"; do
  35.   printf "Do you want to remove $package package?\n"
  36.   read answer
  37.  
  38.   if [ "$answer" == "y" ]; then
  39.     remove_package $package;
  40.     printf "\n$package removed!\n\n"
  41.   fi
  42.  
  43. done
  44.  
  45. printf "\nEnjoy your bloat free device :)"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top