As a variant to Robert's answer, but working on-device: Helium Backup does ADB backups directly there. If your device is not rooted, it will however need to be initialized via its desktop component after each boot.

Helium (source: Google Play; click images for larger variants)
Other than with my other approach, you'd need multiple steps here to "freeze" it:
- backup the app using Helium
- uninstall the app (e.g. via *Settings › Apps)
However, "unfreezing" would just mean to restore it.
As I commented on Robert's answer: before deleting the app, make sure a proper backup was achieved. Developers can chose to have their apps opt-out of this, setting ALLOW_BACKUP=FALSE
. In this case, one usually ends up with a 41 byte file (just containing the "backup header", but neither app nor data). Also make sure to tick the box for inclusion of the .apk
file (see second screenshot), or you might have another surprise :)
Side-effect: As the 3rd screenshot shows, you can use Helium also to create regular backups on a schedule. Can't hurt :)
In case you wonder about the app being named "Carbon" in the screenshot: that was its former name, Koush obviously didn't remove it there.
adb shell pm hide package
will do, wherepackage
is package name of the app. – Firelord Mar 10 '17 at 07:59adb backup -f mybackup.ab -apk <packagename of app>
. When you need the app again you can restore the mybackup.ab file. This works on non-rooted phones. – Robert Mar 10 '17 at 13:56