| Deutsch English Français Italiano |
|
<vqugrs$td8$1@nnrp.usenet.blueworldhosting.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: Marion <marion@facts.com>
Newsgroups: comp.mobile.android
Subject: Re: How many packages are installed on your Android phone?
Date: Thu, 13 Mar 2025 11:51:25 -0000 (UTC)
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <vqugrs$td8$1@nnrp.usenet.blueworldhosting.com>
References: <vqu716$1djd$1@nnrp.usenet.blueworldhosting.com> <l4kaalxloc.ln2@Telcontar.valinor> <m3fmq0Fu3s9U1@mid.individual.net> <7lnaalxj9j.ln2@Telcontar.valinor> <vquj3c.so8.1@ID-201911.user.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 13 Mar 2025 11:51:25 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
logging-data="30120"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (CYGWIN_NT-10.0-WOW/2.8.0(0.309/5/3) (i686)) Hamster/2.0.2.2
Cancel-Lock: sha1:ct6PDuHVso0aZr7mYtV8ffuBBkk= sha256:j0SwrQ8g75zepK1GRxpv0PaFm4Oy/r/Kk795F02g4xg=
sha1:ufKocIXLfU6us7pXxDo2EGHi32w= sha256:YNGqp1xxgB/GAivwR4n3Jxkdd2MCW+i3NEUOTH03Yg8=
Bytes: 3734
Lines: 47
On 13 Mar 2025 11:29:40 GMT, Frank Slootweg wrote :
> On my Samsung (Galaxy A51, Android 13) phone, Settings -> Apps, only
> gives a list, no count.
My Samsung results agree with both those of Carlos & Frank just now.
I haven't found a *native* method yet to get the app count from my Samsung.
Of course, adb will do it (or local adb if you don't have a PC handy):
*list all installed packages in android adb shell*
<https://gist.github.com/davidnunez/1404789?permalink_comment_id=3278028>
I just ran this:
C:\> adb shell pm list packages -f > packages.txt
C:\> find /c /v "" packages.txt
This reports 943 lines in "packages.txt".
The format of those 943 lines is as follows:
package:/data/app/~~mth6kx-ogsD89anLzWRrkA==/com.keuwl.compass-SiG1BsCqHCGY4JN5NeVpKA==/base.apk=com.keuwl.compass
package:/data/app/~~RYkubbbzHJGp5p7brdJm8Q==/rk.android.app.pinnedshortcuts-MWerRKDsOONOFYH3uWktpA==/base.apk=rk.android.app.pinnedshortcuts
package:/data/app/~~yyilB0oeZL-qNl-JoP7XKg==/com.codex.appinspector-xVt6wmd2tYRiYAMIvKWoVw==/base.apk=com.codex.appinspector
package:/data/app/~~LamcZDJjU5ny3g9RgbGFCg==/com.alpaca.android.readout-nCWF7C8s-Au-XGTbemToYQ==/base.apk=com.alpaca.android.readout
etc.
To find out how many are 3rd-party (not system) packages:
C:\> adb shell pm list packages -f -3 > 3rdparty.txt
C:\> find /c /v "" 3rdparty.txt
This reports 552 lines in "3rdparty.txt".
To find out how many system packages are installed:
C:\> adb shell pm list packages -s > system.txt
C:\> find /c /v "" system.txt
This reports 391 lines in "system.txt".
Interesting that Muntashirakon listed slightly different numbers.
<https://github.com/MuntashirAkon/AppManager>
<https://muntashirakon.github.io/AppManager/en/>
<https://muntashirakon.github.io/AppManager/vi/>
Here are some of the relevant adb commands users can try out:
C:\> adb shell pm list packages <--- list all packages on the device
C:\> adb shell pm list packages -f -3 <--- list third-party packages
C:\> adb shell pm list packages <--- list only the disabled packages
C:\> adb shell pm list packages -s <--- list only the system packages
C:\> adb shell pm list packages -u <--- list only uninstalled packages
C:\> adb shell dumpsys package packages <--- list package information
C:\> adb shell pm dump com.facebook.appmanager <--- info on a package