Skip to content

Instantly share code, notes, and snippets.

@yoosefi
Last active December 27, 2017 00:24
Show Gist options
  • Save yoosefi/bbf4222717a72e69da9605b14e10b727 to your computer and use it in GitHub Desktop.
Save yoosefi/bbf4222717a72e69da9605b14e10b727 to your computer and use it in GitHub Desktop.
best-effort package removal for android bloatware, via adb
#!/bin/bash
# best-effort package removal via adb.
# use on android bloatware.
#
# the first and only argument to this script is the package name.
for x in uninstall disable hide clear; do
echo $x
adb shell pm $x $1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment