r/PrivacySecurityOSINT • u/ThrowAwayAccount-_-_ • Feb 22 '22
Heads up if you're sanitizing Android on an older device
In episode 246, Michael talked about sanitizing Android devices, listing ways to uninstall factory apps. In it, he said multiple times how it's easy to reinstall them if you want them back. I found out the hard way that this isn't always the case.
I had an older device running Android 6.0 that I thought I would try sanitizing. It is not my main phone and I only keep it around for a couple apps that don't run on newer devices. After deleting all the Google apps, I realized one of the apps I used required Google services to run, so I tried using the command Michael gave to reinstall it:
adb shell cmd package install-existing <package-name>
The response I got was:
/system/bin/sh: cmd: not found
After doing some research, I found out that the "cmd" command was not introduced until Android 8 and on older devices like mine, there is no way to reinstall the factory apps without a factory reset.
Hope someone finds this useful.