Skip to content

Instantly share code, notes, and snippets.

@middieNomad
middieNomad / gist:59d82b128de30b2114199e77ded93c60
Last active September 22, 2021 08:02
Export Apps from Play Store for use in de-googled phone
adb shell pm list packages | grep <packageName> # Get the package name from package manager.
adb shell pm path <output from line 1> # Get the location of the apk from the filesystem.
adb pull <output from line 3> # Pull the apk
adb install -r base.apk # Disconnect your old android phone, plug the de-googled one in and install the apk. Obviously, you will not get updates for this apk, so be wise and get the updated apk's every month or so. I have this packaged as a script.
#/usr/bin/bash