In the operating system ecosystem, Android each application has its own unique digital identifier, which developers call the package name or Package Name. Unlike the name we are used to, which is displayed on the desktop (for example, “Messenger” or “Bank Client”), the name of the package looks like a set of words separated by dots, for example com.example.messenger. This line serves as the foundation for the system's interaction with a specific software product, allowing the OS to distinguish between apps even if their visible names are the same.

Knowing the exact name of the package is necessary in a variety of situations: from creating complex automation scripts in applications like Tasker to forced removal of system garbage through ADB. This information may seem redundant to the average user, but for enthusiasts and system administrators this is a key device management parameter. Without the correct identifier, many advanced commands simply will not work, since the system will not understand which object you are accessing.

There are several ways to obtain this data, ranging from simple visual methods to using the command line. The choice of a specific method depends on your goals, the presence of root access and the connected computer. In this article, we will analyze in detail each of the available options so that you can choose the most suitable one for your current task.

Using third-party launchers and application managers

The easiest and safest way to find out the identifier of any installed application is to use specialized utilities that display detailed technical information. apps such as App Inspector or Package Name Viewerscan the installed software and display comprehensive data about each element. You don't need to connect your smartphone to your computer or enter complex commands, just install such an application from the store Google Play.

After launching such a tool, you will see a list of all apps, sorted alphabetically or by installation date. When you click on a specific application, a card with information will open, where the field Package Name will be highlighted separately. Often, such utilities provide the function of copying an identifier to the clipboard with one touch, which is extremely convenient when preparing scripts or settings for other apps.

⚠️ Attention: Be careful when granting permissions to third-party application managers. While most popular utilities are safe, some may request access to your contact list or call history without a valid reason. Use only trusted applications with high ratings.

Some alternative launchers, such as Nova Launcher or Lawnchairalso allow you to view this information when editing desktop shortcuts. If you hold down the application icon and select "Edit", in the advanced settings you can sometimes find a field with a technical name. However, this method does not work for all shortcuts, especially if they are widgets or shortcuts rather than full application launchers.

💡

To quickly check the package name of a specific application, you can install a lightweight "App Info" widget on your desktop, which displays the ID when you click on any icon.

Viewing information through Android settings

Built-in tools systems also provide access to technical information, although the path to it may vary depending on the version Android and shell of the manufacturer (MIUI, OneUI, ColorOS). The standard route usually goes through the menu Settings → Applications → Manage applications. Here you will find a complete list of installed software, including system services that are often hidden from normal view.

Having selected the desired application from the list, go to the "About the application" or "Details" section. In some firmware, the package name is displayed immediately below the app name in small gray font. In other cases, for example on a clean Android, this information may be hidden inside the "Advanced" or "Store Version" item. If you don't see the format string com.android..., then your shell is hiding this data from the normal user.

You can activate developer mode to access deeper data. Go to Settings → About phone and quickly click 7 times on the "Build number" item. After the message “You have become a developer” appears, a new section will appear in the main settings menu. There you can find the item "Usage statistics" or "Running services", where the full names of packages running in the background of processes are often displayed.

📊 Where do you most often find out technical information about applications?
Through the phone settings
Using third-party applications
Through a computer and ADB
I don’t know what it is

Using the ADB command line without root access

The most universal and professional method is to use a debug bridge Android Debug Bridge (ADB). This tool allows you to control your smartphone from your computer by sending commands directly to the operating system. To work, you will need a PC with installed device drivers and a package of platform tools (Platform Tools), as well as USB debugging enabled in the phone settings.

Connect the device to the computer with a cable and open a command line or terminal in the folder with the utility adb.exe. First, make sure that the connection is established by entering the command adb devices. If everything went well, you will see the serial number of your device. Next, to get a list of all installed packages, use the following command:

adb shell pm list packages

The output of the command can be huge, as it lists hundreds of system and user packages. To find a specific application, you can add a filter with part of its name. For example, if you are looking for a package related to YouTube, enter:

adb shell pm list packages | findstr youtube

On macOS or Linux, instead of findstr the command is used grep. In response, the system will issue a line like package:com.google.android.youtube. The part after the colon is the name you are looking for. This method is ideal for finding system applications that cannot be removed in the usual way, or for checking for the presence of hidden software.

⚠️ Attention: The command line interface is case sensitive and typos. If the command does not work, carefully check the spelling, especially if you are using grep or findstr filtering.

☑️ Preparing to work with ADB

Done: 0 / 4

Analysis of APK files before installation

Often a situation arises when you need to find out the package name of an application that is not yet installed on the device. This is relevant when downloading APK files from third-party sources, such as 4PDA or APKMirror. Knowing the identifier helps you understand whether the file is an update to an existing app or whether it is a completely new application with a similar name.

To analyze the file without installation, you can use online services or special APK analyzer applications. By uploading the file to such a utility, you will receive a detailed report, including the code version, required permissions and, of course, Package Name. This is critical when installing modified versions of games or apps, as mod package names often differ from the originals (for example, adding a suffix .mod), allowing them to be installed next to the official version.

This information can also be retrieved by temporarily installing the application and then immediately uninstalling it using the methods in the previous sections. However, there are more elegant solutions. Some file managers with an archive viewing function allow you to look inside an APK file (which is essentially a ZIP archive) and find the file AndroidManifest.xml. In decoded form, the attribute will be written there package at the very beginning of the document.

Why are the names of mod packages different?

Modification developers deliberately change the name of the package so that the Android system perceives the mod as a separate application. This allows you to avoid signature conflicts and save the original version of the game on the device simultaneously with the modified one.

Finding the package name for system services and widgets

System services and widgets that do not have an icon in the launcher and are not displayed in the regular list of applications are especially difficult. The names of such packages are often required to fine-tune power saving or disable unnecessary functions via ADB. For example, to disable the built-in voice recorder or manufacturer's gallery, you need to know their exact technical identifier.

In such cases, the ADB command with an advanced filter will help. You can list only those packages that have launch activity, or, conversely, find all services associated with a specific manufacturer. Often system packages begin with prefixes like com.sec.android (Samsung), com.miui (Xiaomi) or com.oneplus. Knowing the vendor, you can narrow your search.

Component type Example package name Where it is used
System launcher com.google.android.apps.nexuslauncher Desktop replacement
Google Play Services com.google.android.gms Background services and notifications
Camera (Stock) com.android.camera Standard photo application
Phone (Dialer) com.google.android.dialer Call management
System settings com.android.settings OS configuration menu

When working with system components, it is important to understand the difference between a package and its active component. Sometimes, to launch a specific action (for example, opening a specific settings section), you need not just the package name, but the full path to the activity, which looks like com.android.settings/.Settings. You can find out the full structure of activities using the command adb shell dumpsys package.

⚠️ Attention: Disabling or deleting critical system packages (for example, Google services or the system launcher) can lead to an endless reboot of the device (bootloop). Always back up your data before tampering with the system partition.
💡

The package name is a unique access key to the application. A single letter error will render any automation or deletion command inoperable.

Package Name Based Automation and Scripting

Knowing package names opens the door to the world of advanced automation. Applications like Tasker, MacroDroid or Automate allow you to create complex scripts that respond to the launch of specific apps. For example, you can configure your phone so that when you open a package com.spotify.music Bluetooth automatically turns on and the speaker is connected, and the screen brightness decreases.

In the settings of such automation applications there is often an “Application” or “Package” field where you need to insert an identifier. Some designers allow you to select an application from a list, but for working with hidden system processes, manual entry Package Name remains the only option. This is also used in energy saving profiles: you can specify lists of packages that are allowed to run in the background, and the rest are prohibited.

Another application is the creation of custom gestures or shortcuts. Using applications for creating shortcuts (for example, Shortcut Maker), you can bring to the desktop not the application itself, but a specific function inside it, knowing the name of the activity. This allows you to create a widget that immediately opens not just “Settings”, but a specific “Wi-Fi” section, using the corresponding technical address within the system.

💡

When creating automation scripts, use an exact match of package names. If the application is updated and changes its identifier (which is rare, but happens when the developer changes), your script will no longer work.

In conclusion, it is worth noting that the ability to work with package names moves the user from the category of observers to the category of administrators of their device. This gives you control over what is happening “under the hood” of your smartphone, allowing you to clean the system of unnecessary software, set up ideal automation and gain a deeper understanding of the architecture. Android.

Is it possible to change the package name of an already installed application?

No, the package name is hardcoded into the application signature during compilation. The only way to change it is by decompiling the APK file, editing the manifest, and rebuilding it with a new signature. However, after such a procedure, the application will be considered completely new, and data from the old version will not be transferred automatically.

Why can one application have several package names?

This is typical for large ecosystems. For example, instant messengers often have a separate package for the main application, a separate one for the “light” version (Lite) and a separate one for the business version. Also, different regions or application stores (Galaxy Store vs Google Play) may have slightly different identifiers for the same software.

Is it dangerous to enter ADB commands to search for packages?

The search commands themselves (list packages) are absolutely safe, since they only read information. The danger is executing commands to remove (uninstall) or disable (disable) system components without understanding their purpose.

Where can I find the package name for a desktop widget?

Widgets are often part of the main application package, but have their own components. To find them, the most convenient way is to use the application App Inspectorby going to the "Widgets" tab. It will indicate which main package a particular widget belongs to.

What should I do if ADB does not see my device?

Check if USB debugging is enabled in the "For Developers" menu. Try a different USB cable or port. Your computer may not have ADB drivers - you need to download them from the official Android Developer website. Also, a request for debugging permission may appear on the phone screen, which needs to be confirmed.