Post

HOW TO RECOVER ACCIDENTALLY DELETED PRE-INSTALLED APPLICATIONS(ADB)

Sometimes you want to use adb to delete some useless pre-installed applications on the phone. It’s actually quite simple, just execute the command like this:

Examp1e

The actual removal command is

$ adb uninstall –user 0

However, what should I do if I find that I deleted it by mistake after deleting it? Of course, you can choose to reset the phone and restore everything to factory settings easily, but this is not what we want.
In fact, using adb can also easily restore accidentally deleted applications. You only need to execute the command

$ adb shell cmd package install-existing

like this:

Example

That’s all, thanks for reading

This post is licensed under CC BY 4.0 by the author.