WwhynotLevel 5 - Gold Elite Member
- Edited
ADB Commands
Uninstalling apps
The code to uninstall apps is adb shell pm uninstall —user 0 package.name
, and replace package.name
with the package name of the app you wish to uninstall
Here are some examples
Browser: adb shell pm uninstall —user 0 com.android.browser
Email on LG phones adb shell pm uninstall —user 0 com.lge.email
Here are some other package names
Message+: com.verizon.messaging.vzmsgs
Messaging: com.android.mms
For more package names see this [Login to see the link] made by [Login to see the link]
Installing apps
Note: most apps do not need adb install, you can click on the apk file on your phone (in file manager or, on some phones, have it sent to your phone via Bluetooth and click on it in notifications)
Put the apk file in the platform-tools folder and run adb install -g appname.apk
, replacing appname.apk
with the file name of the apk; for example the smartlist app from the apps4flip website is smartlist.apk
.
Note: If there is a space in the file name (for example smart list.apk
) you need to put quotation marks on either side (adb install -g “smart list.apk”
)
Troubleshooting
Device not showing up: Make sure the wire you are using allows data transfer (some wires are damaged and my may work for charging but won't be recognized by the computer)
Commands won't work: Spelling is important! Check that everything is spelled right. Some commands are case sensitive (make sure the correct letters are uppercase and lowercase).