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).

    whynot This is great!
    Just a comment on your phone adb setup instructions:
    KaiOS is of no interest here, as its adb is locked down, so if you're going by Android phones, the only 2 with that code are the TCL Flip 2 and the Alcatel Go Flip V
    What you wrote for Kyocera applies to Schok, Sonim, and many other phones, so that one could say all other phones.

      whynot The sonim xp3 is *#*#2387#*#* pressing the build number doesn't work for that phone

        Techgen thanks. I think that’s also true for the xp5

          FliphoneBochur I have 2 AT&T ones, and one sprint, and build number didn't work on any. It could be it works on some, maybe it depends on the software version, but it for sure makes sense to put in the other version also

          whynot Np. Otherwise very nice clear guide

          FliphoneBochur I don't understand why people use spreadsheets unless you are doing an equation. It makes life so cunfusing... 🙂 👍🎓