So that all benefit, this thread is opened to allow others to post random useful adb examples, where the goal is a usable list of useful examples.
In the following examples APPLICATION is the full identifier of an application package.
To find out this identifier, go to the app list in Android, open the application information of the app and scroll down to the end of the
list. There you should find the identifier. If you have a vendor
specific UI (Xiaomi, Samsung etc.) it may look different. In this case,
check Google Play online in a browser. The application identifier is
part of the URL after the "id=" parameter like this:
<https://play.google.com/store/apps/details?id=com.google.android.apps.messaging>
So that all benefit, this thread is opened to allow others to post random useful adb examples, where the goal is a usable list of useful examples.
Arno Welzel <usenet@arnowelzel.de> wrote:
In the following examples APPLICATION is the full identifier of an
application package.
To find out this identifier, go to the app list in Android, open the
application information of the app and scroll down to the end of the
list. There you should find the identifier. If you have a vendor
specific UI (Xiaomi, Samsung etc.) it may look different. In this case,
check Google Play online in a browser. The application identifier is
part of the URL after the "id=" parameter like this:
<https://play.google.com/store/apps/details?id=com.google.android.apps.messaging>
Please note that Samsung (and other?) devices sadly do *not* show the
'id=' identifier in the 'App info' page of an app.
For example for the (Google) 'Messages' app, it only mentions the
'Version' (which says ...phone_samsung_dynamic). Same for other apps,
such as (Google) 'Maps' (but that has no Samsung specific tag in
'Version').
As the app-private storage areas (/Android/data, media and obb) are
not accessible for normal file managers, one can also not find the 'id=' identifier that way.
So for most Samsung users, they have to search the Google Play website
and hope they find the app(s) they have, and if so, lookup their 'id=' identifier in te URL of the Google Play entry.
Alternatively, some - but not all - APK 'downloader's, show the 'id=' identifier. For example, I use (amongst others) the (now apparently
defunct) 'Kanade' APK downloader, which indeed identifies the (Google) messages app as com.google.android.apps.messaging.
[...]
In the following examples APPLICATION is the full identifier of an application package.
To find out this identifier, go to the app list in Android, open the application information of the app and scroll down to the end of the
list. There you should find the identifier. If you have a vendor
specific UI (Xiaomi, Samsung etc.) it may look different. In this case,
check Google Play online in a browser. The application identifier is
part of the URL after the "id=" parameter like this:
<https://play.google.com/store/apps/details?id=com.google.android.apps.messaging>
For example Google Messages is com.google.android.apps.messaging and the
ADB command to disable this for user 0 would be:
adb shell pm disable-user --user 0 com.google.android.apps.messaging
Jeff Layman wrote:
Or you could use the Muntashirakon App Manager. Putting "messages" in
the search box results in:
Messages
com.google.android.apps.messaging
Hi Jeff,
I think I turned you on to Muntashirakon, didn't I?
If so, I'm glad you enjoy it.
Agree the package name (i.e., the unique identifier) is critical when using adb commands & agree that Muntashirakon App Manager is the best GUI.
<https://github.com/MuntashirAkon/AppManager> (apk)
<https://muntashir.dev/AppManager/en/> (doc)
Also agree the damn Samsung GUI is very different for no good reason
from the stock Android experience that, oh, say, a Pixel affords us.
Another way is to use adb to list all the package names on your system.
adb shell pm list packages
BTW, you can past your results into an LLM/AI and ask it to be brutally honest of what it thinks the user is who owns those apps on their phone.
Take a look at this, based only on a list of package names on my phone:
<https://i.postimg.cc/tCzzQNKT/Clipboard-10-09-2026-01.jpg>
Here are other related package listing commands for adb:
# List all packages on the device:
adb shell pm list packages
# List only third-party (user-installed) apps:
adb shell pm list packages -3
# List only system apps:
adb shell pm list packages -s
# List only enabled apps:
adb shell pm list packages -e
# List only disabled apps:
adb shell pm list packages -d
# Filter for a specific keyword (Case-insensitive):
adb shell pm list packages | grep -i "google"
# Count how many total packages are installed:
adb shell pm list packages | wc -l
# List packages that request a specific permission:
adb shell pm list packages -g android.permission.CAMERA
(Replace CAMERA with any permission string, such as
ACCESS_FINE_LOCATION or READ_CONTACTS, etc.)
# Show the APK file path alongside the package name:
adb shell pm list packages -f
# Show the UID (User ID) assigned to each package:
adb shell pm list packages -U
# Show installer source (who installed the app):
adb shell pm list packages -i
# Export a clean, un-prefixed list of just package names to a text file:
adb shell pm list packages | sed 's/package://g' > installed_apps.txt
I'm looking up commands to help clean out my internal 64GB sd card ('cuz I >gave my wife my 128GB sdcard and now I'm out of space) so these may help.
Maria Sophia <mariasophia@comprehension.com> wrote or quoted:
If someone else would run the adb commands to prove that, it would help.
Or, if someone could show screenshots like I did, showing FF there.
I told the chatbot my ideads for a little Halloween ADB story,
and he wrote the actual wording for me!
The rain outside the neon-lit shop window didn't fall;
it seemed to dissolve into the heavy, charcoal fog of All
Hallows' Eve. Inside, the shop smelled faintly of ozone and
old parchment.
Before Elena could even find the words to yell at him, she
found herself back out on the chilly, fog-slicked sidewalk,
the shop door locking firmly behind her with the soft chime of
a digital bell.
Carlos E. R. wrote:
Heh :-)
I get it that for some, Usenet is for their childish amusement,
but I'm trying to help people by providing useful adb examples.
To further add value to this thread which proves how useful adb is
for the average Android user, below is a post from moments ago which
shows how to install software on the phone over Wi-Fi using adb
without even knowing where the phone happens to be inside the home.
Newsgroups: alt.comp.software.firefox
Subject: Re: Android Firefox does NOT show up in my WhatsApp PDF attachment OpenWith sheet
Date: Sun, 1 Nov 2026 10:01:44 -0400
Message-ID: <11c7go7$2hik$1@nnrp.usenet.blueworldhosting.com>
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 498678:20:15 |
| Calls: | 212 |
| Calls today: | 3 |
| Files: | 912 |
| D/L today: |
31 files (22,593K bytes) |
| Messages: | 69,867 |