LiberaMente Web

List of all packages you can or cannot or should not remove from your Android 9, tested on Sony Xperia XZ Premium

The list contains some links to Google Play Store, not all the links may work because I just made a quick replace with a regex, I didn't check every one of them

As mentioned in the title, this was tested on a Sony Xperia XZ Premium with Android 9

Worthless to say, but all you do is at your own risk, don't do anything if your device is working fine or if you don't want to get problems with your device.

Important: This procedure does not completely remove the files from your system, since you are not root, but it removes the package from the user. If you use a guest user on the phone you will still see the apps around, but at least the package is removed from your user. I didn't test performances but hopefully this should free up some space, memory and battery usage.

Do I need Root Access or to unlock my phone?


What do I do if I removed a package and now I want to reinstall it?

Usually packages can be found on Play Store, in case you removed a package that was not there you can try to browse for the APK, you could try to search for it on APK Mirror or just Google the package name to see if you find a way to download and reinstall as before.

Puoi provare a riabilitare o riattivare un pacchetto con questi comandi:

You can try to re-enable o re-activate a package with the follow commands:

  • adb shell pm install-existing <package_name>
  • pm enable --user 0 <package_name>

An example: adb shell pm install-existing

What do I need?

You need to install ADB on your PC and then run the adb shell to open the package manager (pm) and uninstall the packages. Here is how:

  • Install ADB on your computer (you can find many guides online, like this from XDA: How to Install ADB on Windows, macOS, and Linux)
    • If you didn't enable the "Developer options" on your phone, then go to "Settings" and tap on "About Phone". Find the "Build Number" and tap on it 7 times to enable the "Developer options".
    • enter Developer Options and enable USB Debugging
  • Connect your phone via USB in debugging mode allowing Debug access
  • You don't need to turn off your phone or anything like that
  • Open command prompt (for example cmd on Windows or any shell or console you use on Linux)
  • Type "adb shell" and then press Enter
  • If everything is working fine you should see something like "daemon not running" and then "daemon started succesfully", this means ADB connected to your phone
  • You are now using your phone shell, in my case I see G8141:/ $ in my command prompt. From here you can type "pm list packages" to get all the packages installed on your phone. "pm" stands for Package Manager
  • To delete a package, you need to type "pm uninstall -k --user 0 {package-name}". Replace {package name} with the name like "com.sonymobile.scan3d". "-k" means keep data and cache, I didn't try without it because I don't know if it's better/safer. "--user 0" means for system user.
  • Done, you removed the package

If you browse online looking for your phone you can surely find lists of packages that are safe to remove. I will share here below the list of packages I had, the ones I removed and the ones I didn't remove.

If you have tried something different or had issues please comment below to let me now.

List of packages removed/kept on Sony Xperia XZ Premium with Android 9



I didn't remove this packages as I am not sure they can be safely removed without negative consequences


I didn't remove these packages as many of them seems core Android stuff (like android.*) or I couldn't find someone that removed them already.


This is the list of packages I let installed on my Sony Xperia XZ Premium Android 9