How to adb commands
Table of Contents
How to use adb:
Install in GNU/Linux:
sudo apt-get install android-sdk-platform-tools
Connect the phone with Developer options ON and USB debugging ON
Allow the Fingerprint
Check for connected device:
$ adb devices
For listing all the applications:
:/ $ pm list packages
For searching on above list:
:/ $ pm list packages | grep '<OEM/Carrier/App Name>'
Unistalling the appps:
:/ $ pm uninstall -k --user 0 NameOfPackage
Reinstalled application:
$ adb shell cmd package install-existing com.android.vending