How to restore or reinstall package uninstalled on android using adb

To reinstall an existing uninstalled package on a Samsung Android phone, connect the device to the computer in developer mode and start up ADB.

List all uninstalled packages and check the package name that is to be reinstalled, for example, gallery3d, in the adb window, enter:
pm list packages -u | grep "gallery" <enter>

To install it back, enter in the adb window:
pm package install-existing com.sec.android.gallery3d <enter>

This will restore gallery3d onto the android phone.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s