Last active
November 16, 2015 08:21
-
-
Save 6f70/b6dba10c32b22e3eefda to your computer and use it in GitHub Desktop.
Script for removing/blocking unneeded preinstalled apps of Xperia Z3 Tablet Compact
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 of Xperia Z3 Tablet Compact | |
# USE THIS AT YOUR OWN RISK | |
# Tested on SGP612 23.0.1.A.0.167 | |
# pm list packages -3 | |
UNINST=( | |
'jp.sony.petamap.spot.sp' | |
'com.sonymobile.androidapp.mora.dashboardextension' | |
'com.facebook.katana' | |
'com.sonyericsson.trackid' | |
'com.sonyericsson.androidapp.appnavi' | |
'jp.co.labelgate.moratouch' | |
'com.sony.nfx.app.sfrc' | |
'com.sonymobile.xperialink' | |
'com.sonymobile.smallbrowser' | |
'com.sonymobile.androidapp.diagnostics' | |
'com.trendmicro.tmmspersonal.jp' | |
'com.dropbox.android' | |
'com.sony.drbd.reader.other.jp' | |
'com.mobisystems.office' | |
'com.twitter.android' | |
'com.skype.raider' | |
'com.sonymobile.androidapp.audiorecorder' | |
'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.wifichecker' | |
'com.sonymobile.sketch' | |
'com.realvnc.android.remote' # ??? | |
'com.sonymobile.simplehome' | |
'com.sony.smallapp.launcher' # A launcher you see when you open Recents screen | |
'com.sonymobile.androidapp.cameraaddon.arfun' | |
'com.sonymobile.androidapp.cameraaddon.areffect' | |
) | |
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