Adb list packages. Jul 21, 2021 · adb: inaccessible or not found [duplicate] Asked 4 years, 2 months ago Modified 4 years, 2 months ago Viewed 61k times Jan 20, 2018 · How to uninstall system app or any app without having rooted? 1) Connect your phone via USB 2) Turn android debugging on 3) Go to android shell using $ adb shell how to remove apps now use this command now pm uninstall -k --user 0 trueadb devicesadb -s <adb_id/name>shellpm list packages --user 0 This should return a list of package names. To find the needed package name, try with a filter to output only packages with the company name in: for example: adb shell pm list packages |grep honeywell or list only packages filtered by the assumed application name or part of it: Aug 13, 2012 · Reply arbuz Over a year ago well if you insist doing it in adb, you can do: adb shell service call package 1 s16 "my. He was elected President by ADB’s Board of Governors and assumed office on 24 February 2025. adb shell “pm list packages -u -3”, here adding -u also includes apps that have been uninstalled previously. , com. Jan 13, 2020 · To get a list of all permissions available system-wide, use adb shell pm list permissions That will give you a full list of what permissions are available to be given/rejected on that device, including permissions defined by the manufacturer or by apps installed on the device. The Asian Development Bank (ADB) is committed to achieving a prosperous, inclusive, resilient, and sustainable Asia and the Pacific, while sustaining its efforts to eradicate extreme poverty. Oct 30, 2015 · I can get a list of all the packages installed on my android, but to open an application I need the activity name and the package name. Contribute to vrendina/adb-commands development by creating an account on GitHub. Learn how to quickly locate Android package and activity names using ADB for Appium automation. Jul 12, 2022 · To print the list of Vivo pre-installed apps, execute this command. Mar 27, 2023 · For adb backup it's important to know only apps that allow it in AndroidManifest. TL6 14,000 16,500 20,100 24,500 36,900 45,300 18,600 22,300 27,100 39,200 50,700 69,200 23,100 28,100 34,200 53,900 64,600 93,100 Learn more about how ADB is organized: Board of Governors, Board of Directors, Management, departments and country offices. Simplify your process without pulling APKs. tethering package:com. Feb 13, 2025 · This guide provides simple, direct steps to manually install the Google USB Driver and ADB/Fastboot binaries using winget on Windows 10/11. Mar 25, 2021 · I am running this command: adb shell pm list packages But there are a lot of packages. pm list packages -s As soon as you hit the Enter key, you’ll get a complete list of system apps preloaded on your Vivo phone. I've been using grep to find the ones I need, adb shell pm list packages | grep name but one of them doesn't A short answer without going in detail to get all permissions: adb shell pm list permissions lists permissions that comes with installed apps (false or true) adb shell cmd appops get <package> lists permissions on user level per app (allow, deny, ignore) adb shell dumpsys <package> lists permissions per app on system level (grant and revoke) A one pager resource for GNU/Linux. There are 3 ways to you can find the Android app package name. to obtain a list of all packages, but I need the version for May 18, 2019 · adb shell pm list packages Prints all packages, optionally only those whose package name contains the text in <FILTER>. Maybe there is kind of file with updates history? Objective: List all the installed packages on an Android phone through an ADB shell. You can do adb shell dumpsys package PKG_NAME (PKG_NAME → package name of an app) to know more details about that package/app. adb shell dumpsys This command shows a wide range of system information on May 20, 2025 · Below is a detailed ADB cheat sheet (PDF) of all commands. * Get step-by-step instructions on how to troubleshoot and resolve the issue. Activity manager commands need root however. Follow this easy guide with step-by-step commands. It helps testers … Jul 4, 2020 · 使用--user参数:adb shell pm list packages --user <USER_ID>,根据用户id查询用户的空间的所有包,USER_ID代表当前连接设备的顺序,从零开始: 1 2 3 4 5 6 # 获取包名 adb shell pm list package # 获取已安装APP的apk文件路径 adb shell pm path <package> # 导出apk文件 adb pull <path> /Destkop list all packages To see the list of all packages: Apr 6, 2025 · — list of packages for backup. Oct 3, 2021 · To reinstall an existing uninstalled package on a Samsung Android phone, connect the device to the computer in developer mode and start up ADB. 输出包和包相关联的文件 (安装路径) adb shell pm list packages -f 5. xml can be backed up with ADB. * See real-world examples of how other users have fixed this problem. name. May 29, 2011 · 1 Type this command in adb shell: pm list packages -3 | sed 's/^package://g' | sort -o /sdcard/packages. ADB List Installed Packages 20200121 A shell command called pm can be utilised to list the installed packages. OEM/Carrier/App Name>' without the dot before OEM. Aug 26, 2023 · (rooted galaxy j5 7. Thoughts? Feb 10, 2022 · 1. 输出包和安装信息(安装来源) adb shell pm list packages -i 6. example. ADB (1) MAN PAGE VERSION 1. ADB enables developers to run commands on Android devices Here’s a list of some useful ADB and Fastboot commands that might come in handy in different situations. First, connect to your device via ADB, then run the command adb shell pm list packages -3 -f. It enables debugging, file transfer, app installation, shell access, and more. Dec 21, 2020 · Using ADB if the app is already installed If the app is already installed on your Fire TV or other Android device, you can run a shell command that lists all the apps, with their package names, that are installed on your device. Is there a way to know activity names from the apk file? List of common useful ADB commands. This package list is specifically tailored for the Realme RMX2085 running RealmeUI 2 but is expected to be compatible with other versions as well. 9 billion in cofinancing in collaboration with its partners, to help Asia and the Pacific solve a range of complex development challenges. Issue this command to terminal with your device connected : $ adb shell pm list packages If that doesn't work, then: $ adb shell $ su $ pm list packages list all installed packages in android adb shell. we can use pm list packages -d to list disabled packages. Then, use the following command: pm list packages | grep '<. Feb 26, 2024 · Hi everyone! 👋 This article will help you to find package and activity name of an android application. Jun 21, 2020 · Having Fun with TechnologyThis article goes over using ADB Platform Tools and utilizing adb to uninstall packages by using these tools. The adb command facilitates a variety of device actions, such as installing and debugging apps. Pre-Requisites for Using ADB Setup all of the following to use ADB Setup Computer with ADB Platform Tools Windows Install with Chocolatey choco install adb Linux Install with Terminal sudo apt-get install android-tools-adb android-tools-fastboot MacOS Install Jun 20, 2025 · ADB, Android Debug Bridge, is a command-line utility included with Google’s Android SDK. the version number will be somewhere near 0x1F and the name string after 0x20 (should be 3rd line) Reply Jeremy Fishman Over a year ago adb shell dumpsys package my. I have an Android phone which is not rooted. Jul 30, 2024 · 手順: デバイスで USB デバッグが有効になっていることを確認します。 adb コマンド プロンプトを起動します。 以下にこの コマンド を入力し、 Enter キーをタップします。 adb shell pm list packages すべてのアプリケーション パッケージ名がコマンド ウィンドウに一覧表示されます。 Here is a handy list of adb commands widely used while working with Android platform. Mar 27, 2025 · adb shell pm list packages --user <userId> lists packages (-e for enabled, -d for disabled) for a specific user. adb shell pm path com. That will list all the apps you’ve personally installed on the device Jan 15, 2015 · Sometimes I have a trouble matching application's package name in /data/data/ or /data/app/*. Adb useful commands list. List all uninstalled packages and check the package name that is to be reinstalled, for example, gallery3d, in the adb window, enter:pm list packages -u | grep "gallery" <enter> To install… Feb 23, 2019 · Disable Any Pre-Installed System App On Android Without Root Follow this tutorial to get ADB up and running on your Windows, Mac, or Linux PC. apk with the app of interest. Both require Android Debug Bridge (adb) to be installed on the system. adb shell pm list packages [opt Oct 8, 2018 · there's an adb command for showing all packages list which includes hidden packages also: adb shell pm list packages -u But, I want to get list of only packages which are hidden in the android with list all installed packages in android adb shell. 1) As pm list packages -u shows ALL packages including uninstalled (at least on my system), what should be the right command to show ONLY uninstalled apps? Or is this an unexp Apr 3, 2019 · list all installed packages in android adb shell. txt The list of package names of all user-installed apps will be saved to a file called packages. This tutorial is just one of Feb 26, 2020 · I'm wondering is it possible to use ADB to get the list of all packages installed on device with information about last updates of each package. adb logcat This command displays the logcat output of the device, which can help with debugging and troubleshooting. The pm tools supports additional parameters for package listing: Nov 30, 2024 · Discover how to easily list Android app permissions using ADB, streamlining the process across multiple devices without manual checks in settings. It’s particularly useful when you need to identify apps for management tasks like uninstalling or clearing data. package" i32 0. The one-page guide to adb (Android Debug Bridge): usage, examples, links, snippets, and more. These ADB commands and ADB Shell commands work on all Android devices regardless of the device model or manufacturer. So i read online that you need to use --user 0 which was the solution for me ADB Shell multiple devices connected ADB Uninstall Mar 16, 2022 · 目标:通过ADB shell列出Android手机上所有已安装的软件包。 Android 软件包管理由 ADB shell 上的命令完成。若要列出 Android 设备上所有已安装的程序包,请使用以下语法。pm $ adb shell pm list packages 要仅列出系统软件包,请使用&q Jul 31, 2019 · Instead, it just removes it from a user. priv. This is what I get when I try to find out what's enabled/disabled: Mar 20, 2020 · adb shell list packages -r (list package name + path to apks) adb shell list packages -3 (list third party package names) adb shell list packages -s (list only system packages) adb shell list packages -u (list package names + uninstalled) How do I export installed apps on Android? 3 Answers Launch AppBrain app. SYNOPSIS adb [GLOBAL_OPTIONS] command [COMMAND_OPTIONS] DESCRIPTION Connects to the ADB Server via its smart socket interface. Some commands are fulfilled directly by the server while May 2, 2017 · Para mostrar todos los paquetes que identifican a una aplicación y estan instalados en el dispositivo mediante Android Debug Bridge, puedes realizarlo con la secuencia: $ adb shell pm list packages Para mostrar los paquetes de las aplicaciones de sistema: $ adb shell pm list packages -s Si deseas ver los apk instalados así como su ruta a los mismos: $ adb shell pm list packages -f Jul 30, 2020 · These ADB commands and ADB Shell commands work on all Android devices regardless of the device model or manufacturer. Jan 12, 2013 · Before switching to a new ROM, I wanted to keep a list of currently installed packages on my phone for reference. ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, and more. It is a client-server program that includes three components: A client, which sends commands. Allows sending requests, receives responses and manages lifecycle of the adb server. May 12, 2025 · You can find the app package name or Application ID of Android apps using ADB commands, an app package viewer, or in Google Play Store URL. 查看当前连接设备或者虚拟机的所有包 adb shell pm list packages 2. cts. Also helpful to pipe it into a text file with > [text file name]. But I need a list of all the apps that displayed on the home screen ("Desktop"). NTP Set NTP server for android - adb shell settings put global ntp_server <server_name> List NTP server - adb shell settings get global ntp_server Logs Android Logs - adb logcat Clear Android log buffer - adb logcat -c Install Packages Install app - adb install <apk> Reinstall app - adb install -r <apk> List all Packages adb shell pm list Dec 8, 2024 · コマンドでインストールされちるアプリケーションの一覧を取得する Androidの端末やエミュレータでインストールされているアプリの一覧を取得するにはadb shellコマンドを使って以下のように実行する。 $ adb shell pm list packages package:com. adb provides access to a Unix shell that you can use to run a variety of commands on a device. Nov 12, 2022 · So in ADB context, and with granted USB debugging access, this user should have the ability to not only list installed packages but to also install and uninstall packages for himself and for other users? Here is another one for swiping, this command retrieves touch event coordinates using getevent, and then uses awk to construct a touchscreen swipe command for input. To list all the installed packages on an Android device, use the following syntax. 9. adb shell pm list packages should do the job. 1. Nov 30, 2024 · Discover how to find the launchable activity name of an Android package using ADB on unrooted phones. If we want to create a backup of all non-system programs, including the . Select the Manage And Sync option. I tried the command adb shell pm list packages but it only shows package names. A bit of shell pipeline processing produces more accessible output. Apr 14, 2025 · adb shell pm list packages | grep Replace “ with part of the app’s name to quickly find the application you wish to uninstall. txt in adb shell in order to save all installed packages in a text file but I get the following saved in the txt file: cmd: Failure calling Jun 11, 2025 · If you want to uninstall system apps on your Samsung Galaxy phone or Tab, here is a list of safe-to-remove Samsung bloatware. Tasks are performed via commands. Here’s a list of packages you may consider uninstalling, along with their commands. android. 0. app), use the following command to uninstall it: adb shell pm uninstall diff <(adb shell pm list packages) <(adb shell pm list packages -u) - Lists uninstalled packages by showing the difference between the output of the list command and the list command with the "-u" operator. You can: List and modify app private data Automate UI interactions Debug complex issues Build custom automation scripts Feb 19, 2019 · Hello, can someone help me with adb pls? With "adb shell pm list packages -f > c:\1. Apr 24, 2020 · A post on how to use adb and aapt tools in android sdk to figure out the package and activity names for use in Appium desired capabilities. You can use this command with different parameters to get a more specific list of app packages. google. . Android package management is done by the pm command on the ADB shell. 输出所有第三方包 adb shell pm list packages -3 4. Mar 11, 2015 · I can know how to find list of packages of the application by adb shell pm list packages From the list of packages that displayed with above command, Once i know my package name (say xyz package) what shell command i have to use to list all the activities under that package (xyz package). ADB (Android Debug Bridge) ADB (Android Debug Bridge) is a versatile command-line tool that allows developers and power users to communicate with Android devices from a computer. To list only user installed applications “pm list packages -3″|cut -f 2 -d “:” This comment has been minimized. Feb 5, 2021 · The command adb shell pm list packages print a list of all the installed apps. Sep 3, 2025 · List of current and anticipated vacancies for the Asian Development Bank. This allows incredible control over installed packages, system settings, and low-level configurations. adb shell pm list packages Find path for specific App/APK Replace com. This worked for me on my S22 Ultra, unrooted on the newest version (via wired adb) i got some errors about user 150, which seems to be the secure folder user. ADB, or Android Debug Bridge, is a developer tool Feb 2, 2019 · The app likely just uses the disable or hide command, but I am not sure what I misclicked, so I need to get a list or currently disabled apps or reenable all apps. adb shell pm disable-user --user 0 package. but how can I list disabled feature/component inside a package? for example I disable all fitness related stuff from gms pm disable com. To get a list of the permissions applicable to a specific app, use adb shell appops get <PackageName> That will give /system/bin/sh adb inaccessible or not found * Learn what /system/bin/sh adb inaccessible or not found means and how to fix it. Idk if it's across the board, but generally I've seen package manager commands work without root or physical connection to ADB. apk with the user-friendly activity label I see in GUI. Use adb to get a list of installed packages and then dump the output to a file. The client Aug 14, 2020 · On Samsung device, if you install some themes, icon packs, etc in the Galaxy Theme app and do an adb shell pm list packages, the results are not found. Mar 21, 2025 · This privacy-focused tutorial below shows how you can do tricks with a PC to manage privacy-robbing system apps on non-rooted Android, using adb (and intimate knowledge of how Android works under the covers). Apr 16, 2021 · Using the above ADB Shell command, you can print the list of the app package names for all apps installed on your Android device. I'll bet this is possible through an ADB command. 输出包含过滤条件的包 adb shell pm Oct 23, 2024 · Adb useful commands list. International StaffEffective 1 January 2025 ($ per year) Masato Kanda Masato Kanda is the President of the Asian Development Bank (ADB) and the Chairperson of ADB’s Board of Directors. Nov 7, 2024 · Purpose: Provides various package management functionalities, including listing installed packages, installing new apps, and uninstalling apps. Is there a way to list all the activities in a package throug Android ADB Shell Commonds ManualPackage Manager adb install adb uninstall adb shell pm list packages adb shell pm path adb shell pm clear Sep 28, 2020 · Use pm. Is there any way I can obtain/export a list of all installed packages with their available activities? ADWLauncher has an activity picker in its custom Jan 20, 2025 · ADB Commands Here are some of the most frequently used ADB commands. Nov 26, 2024 · adb shell pm list packages The output will be a long list of installed packages on the connected device. pm command is a package manager which allows you to list, install, uninstal and disable your device packages. To list only the system packages, use the “-s” option. I'm trying to get a list of the currently installed apps on my Quest 2 to my computer. 3 billion from its own resources in 2024, coupled with $14. Once you have the package name (e. here It disables the app, but doesn't "uninstall" it, meaning that you can re-enable it with another ADB command instead of a factory reset. There are two ways to get this done. Apr 14, 2020 · ADB command to show Android app package & main activity name running in a connected real device - 0-running-app-activity. The supported filter parameters are as follows: Dec 16, 2024 · ADB Tips for Appium: How to Locate Android Package and Activity Names Easily In mobile test automation, Appium is a widely used tool for testing Android and iOS applications. For instructions on how to install and use adb, follow the ADB Setup Guide. ADB needs highly qualified, experienced, dedicated, and motivated staff with a varied mix of operational and technical skills. By default this always lists for the system user. apk files themselves, to a specific location, the command will look like this: May 6, 2024 · What’s bloatware? What are the lists of Samsung bloatware safe to remove? How to create your own Samsung bloatware list? Read answers here! Pull/Download APK View Installed Apps This will display a list of all the installed packages. sh Apr 26, 2020 · this is just a tiny fraction of adb commands, to not make it more complicated than it is you´ll mostly need the pm uninstall or pm disable command. Aug 18, 2021 · You can uninstall applications using package-manager (pm) inside adb without root privilege, even if you cannot disable / uninstall them from your phone interface. 只输出系统的包 adb shell pm list packages -s 3. Apr 19, 2016 · The line containing Package{ would show the package name of the app in between whitespace and }. GitHub Gist: instantly share code, notes, and snippets. Oct 26, 2024 · The adb shell grants permission to execute Android‘s built-in Linux shell commands directly on a device or emulator. Mar 17, 2019 · Enter the adb shell: adb shell Now you can use pm to list and (attempt to) disable/remove packages: pm list packages As this is Android’s command line, useful filtering tools like grep can be used to sort through the list. Uninstalling Apps with ADB Regular Apps For most downloadable apps (those you get from the Play Store), uninstalling is straightforward. How do I list application packages together with their activities? Apr 10, 2023 · adb shell pm clear [package name] This command clears the data and cache of an app, where the package name is the package name of the app you want to clear. You can split backup into packages. sh or list packages from cmd line: adb shell pm list packages -3 adb shell pm list packages -s for example In the command prompt/terminal window, enter adb shell and hit enter. ctsshim package Mar 4, 2022 · list all installed packages in android adb shell. Apr 29, 2025 · Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. - GitHub - sncvikas/ADB_Commands: Here is a handy list of adb commands widely used while working with Android platform. networkstack. apk Pull APK to local machine Pull/Download the APK of interest to your local machine with the following command. It captures the X and Y coordinates of the Nov 8, 2013 · To reinstate the app: adb shell pm unblock PACKAGE # for Android KitKat adb shell pm unhide PACKAGE # for Android Lollipop and only if you used `pm hide` earlier adb shell pm enable PACKAGE # for Android Lollipop and above Changes would take place immediately. txt" I get a list of my installed apps as text file, is there any way to get a list of the installed default apps? Removing an app with "adb shell pm uninstall --user 0" removes it from the user profile, but I can reinstall it and I can reset my phone to get the apps back, that means they are all still list all installed packages in android adb shell. ADB committed $24. 41 NAME adb CLI Client for ADB (Android Debug Bridge) Server. Feel free to use a package manager app to search for apps and their package names, this will give you additional information about the package, for example it´s icon, location path, To be able to remove bloatware on your Samsung device without root via ADB, you must have the package name of the app to be deleted. It assists its members and partners by providing loans, technical assistance, grants, and equity investments to promote social and economic development. package can be significantly quicker Jan 12, 2021 · That is, on the basis of adb shell pm list packages, you can add some parameters to filter and view different lists. Preferably a text list including least the game name, and package name, and the installed size. Apr 3, 2019 · list all installed packages in android adb shell. Only backup apps that you know. I entered TWRP recovery, mounted all partitions, and connected through ADB shell. List packages I want to retrieve a list of installed applications on KitKat and I also need their version numbers. 6 ADB List Installed Packages 20200121 A shell command called pm can be utilised to list the installed packages. Nov 24, 2024 · List Installed Apps Command: adb shell pm list packages This command gives you a complete list of all apps installed on your Android device, displaying their package names. . Thank you. The ADB commands list has been explained for Android users with examples. g. Here's a description for it: This command reads the output of adb shell getevent -l and searches for lines containing EV_ABS (absolute position event) and EV_SYN (event synchronization). Nov 30, 2024 · Discover how to effectively use ADB grant and revoke commands with our step-by-step guide, complete with syntax examples for managing app permissions. adb reboot This command reboots the device. Any ideas why? I've tried multiple switches and Jul 24, 2023 · The Android Debug Bridge (ADB) is a command-line tool that enables advanced users and developers to interface with Android devices. There are a couple of ways to get the removed app back to the user: one way is through an ADB shell with the command: adb shell cmd package install-existing <package_name> Or an extreme way would be through a factory reset of the device. Dec 27, 2020 · I tried running this command pm list packages > package. txt in your internal storage. The Asian Development Bank (ADB) is committed to achieving a prosperous, inclusive, resilient, and sustainable Asia and the Pacific, while sustaining its efforts to eradicate extreme poverty. This will list all the OEM and carrier apps installed on your device. I know I can use adb shell pm . you can try list_app_labels. pdqc keuk rcajwig uhzvkz ajbnj gmqia dxcw hukf gmm zhgrfsxq