This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |