Created
March 19, 2015 18:20
-
-
Save 6f70/e1acf390ad8c464a1e01 to your computer and use it in GitHub Desktop.
Script for removing/blocking unneeded preinstalled apps on Xperia Z3 (D6603)
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 | |
# Script for removing/blocking unneeded preinstalled apps on Xperia Z3 | |
# USE THIS AT YOUR OWN RISK | |
# Tested on D6603 23.0.1.A.5.77 | |
# pm list packages -3 | |
UNINST=( | |
'com.linkedin.android' | |
'com.s.antivirus' | |
'com.facebook.katana' | |
'com.sonyericsson.trackid' | |
'com.sony.nfx.app.sfrc' | |
'com.evernote' | |
'com.gotv.crackle.handset' | |
'com.kobobooks.android' | |
'com.sonymobile.smallbrowser' | |
'com.sonymobile.androidapp.diagnostics' | |
'com.navigon.navigator_select_sony_eu' | |
'com.mobisystems.office' | |
'com.twitter.android' | |
'com.scee.psxandroid' | |
'com.sony.tvsideview.phone' | |
'com.sonymobile.acr' | |
) | |
# my choices | |
BLOCK=( | |
'com.mobisystems.fileman' | |
'com.sonymobile.lifelog' | |
'com.sonymobile.moviecreator' | |
'com.sonymobile.moviecreator.rmm' | |
'com.sony.snei.vu' # Video Unlimited | |
'com.sonymobile.advancedwidget.entrance' # Whats New | |
'com.sonymobile.sketch' | |
'com.realvnc.android.remote' # ??? | |
'com.sonymobile.simplehome' | |
'com.sony.smallapp.launcher' # The launcher you see when you open Recents screen | |
'com.sonymobile.androidapp.cameraaddon.arfun' | |
'com.sonymobile.androidapp.cameraaddon.areffect' | |
'com.sonymobile.androidapp.cameraaddon.infoeye' | |
'com.sonyericsson.xhs' # Xperia Lounge | |
'com.sonymobile.sonyselect' | |
) | |
for p in ${UNINST[@]}; do | |
echo "[*] Removing '$p'..." | |
adb shell "pm uninstall $p" | |
done | |
for p in ${BLOCK[@]}; do | |
echo "[*] Blocking '$p'..." | |
adb shell "pm block $p" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment