Skip to content

Instantly share code, notes, and snippets.

@YukariChiba
Created December 28, 2022 11:12
Show Gist options
  • Select an option

  • Save YukariChiba/c322d6f45d9d4f5834c5510dd48ad97f to your computer and use it in GitHub Desktop.

Select an option

Save YukariChiba/c322d6f45d9d4f5834c5510dd48ad97f to your computer and use it in GitHub Desktop.
Script to disable bloat apps in Xperia XZ2C
#!/bin/bash
# docomo apps
adb shell pm list packages | grep docom | cut -f 2 -d ':' | xargs -I @ adb shell pm disable-user --user 0 @
# swiftkey IME
adb shell pm list packages | grep swiftkey | cut -f 2 -d ':' | xargs -I @ adb shell pm disable-user --user 0 @
# docomo contacts app
adb shell pm disable-user --user 0 com.android.contacts
# radio app, unavailable outside JP
adb shell pm disable-user --user 0 jp.co.fsi.fs1seg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment