2021/03/16

Xperia Z4 Tablet 初期化後のADBコマンドメモ


#パッケージ一覧出力
adb shell pm list packages
#システムアプリ
adb shell pm list packages -s
#アプリ有効化
adb shell pm enable <パッケージ名>

adb devices

#アプリに権限付与
adb shell pm grant com.ivianuu.oneplusgestures android.permission.WRITE_SECURE_SETTINGS 
adb shell pm grant com.ivianuu.hidenavbar android.permission.WRITE_SECURE_SETTINGS
 

#Facebook関連
adb shell pm uninstall -k --user 0 com.facebook.appmanager
adb shell pm uninstall -k --user 0 com.facebook.system
#What's New
adb shell pm disable-user --user 0 com.sonymobile.entrance
#Smart Connect
adb shell pm disable-user --user 0 com.sonyericsson.extras.liveware
#FMラジオ
adb shell pm disable-user --user 0 com.sonyericsson.fmradio
#ビデオ関連
adb shell pm disable-user --user 0 com.sony.tvsideview.videoph
adb shell pm disable-user --user 0 com.sonyericsson.video
#SIMツールキット
adb shell pm disable-user --user 0 com.android.stk
#Exchangeサービス(不要になったが常駐する)
adb shell pm disable-user --user 0 com.sonymobile.exchange