Situations when the user needs to save the application installation file directly from the device arise quite often. Perhaps you want to transfer your favorite game to a new smartphone without downloading from an online store, save a working version of a app that has disappeared from the official catalog, or simply create a backup copy before resetting the settings. Extracting APK files is a basic skill that gives you access to complete control over your software.
A modern operating system Android stores all installed applications as files with the extension .apk (or .xapk for large apps) in system memory sections. Previously, access to this data required complex manipulations to obtain superuser rights, but today the situation has changed dramatically. Standard system tools and available utilities allow you to export without deep intervention in the OS architecture.
In this guide, we will examine in detail the methods of exporting apps: from using simple file managers to using a professional tool Android Debug Bridge. You will learn how to bypass system restrictions, where to look for hidden files, and how to correctly save data for later installation on another device.
Using specialized extractor applications
The simplest and most accessible way for the average user is to install third-party software designed specifically for these purposes. Such utilities scan the list of installed apps, find the path to their installation package and copy it to a folder accessible to the user. This solution is ideal if you need to quickly save one or more applications without connecting to a computer.
When choosing a tool, you should pay attention to the presence of the creation function backup copies and support for batch operations. Many popular extractors allow you to unload all installed apps at once with one click, which saves a lot of time. In addition, high-quality applications are able to separate the base APK and additional resources (split packages), which is critical for modern apps that use backup copy technology Android App Bundle.
⚠️ Attention: When using third-party extractors, check the requested permissions. If an app requires access to your contacts or microphone to extract APK files, this is a clear sign of malicious code. legit utilities only need access to the storage and the list of installed apps.
The process of working with such apps is usually intuitive. After launch, you see a list of all software on the device. Next to each item there is a “Share” or “Backup” button. Clicking on it initiates copying the file from the system directory /data/app to the internal memory or to the card SD. The finished file can then be sent via messenger, saved to the cloud or transferred to a PC.
Manual extraction through file managers with root access
For experienced users who have an unlocked bootloader and installed root access, direct access to the file system is opened. This method allows you to extract the app manually, bypassing the installation of additional software for export. However, it requires caution, since the work is carried out with system directories, changing which can lead to unstable operation of the device.
The standard path to installed user applications in modern versions Android looks like /data/app/. Inside this folder there are directories with package names (for example, com.example.app-xyz123). They contain the main file base.apk. If the application uses a separate installation, there may also be files split_config.arm64_v8a.apk and other resources.
To copy the file, you will need an advanced file manager that supports working with superuser rights, for example Root Explorer or MiXplorer. After granting access rights, you will be able to see the contents of the folder /data, which are usually hidden. Just copy the desired .apk file to any other directory, for example, to /sdcard/Download, from where you can move it freely.
Risks of working with root access
Obtaining superuser rights will void the device warranty in most cases. In addition, careless deletion or movement of system files can lead to a “bricked” smartphone, requiring a complete flashing via a computer.
It is important to consider that the directory structure may differ on different firmwares. On some devices with custom skins, paths may be changed by developers. If you don't find files at the standard address, use the package name search inside the file manager. This will allow you to quickly locate the desired object, even if it is hidden deep in the partition structure.
Exporting applications through a computer and the ADB utility
The most reliable and universal method that does not require root access is using a debug bridge ADB (Android Debug Bridge). This tool is included Android SDK Platform-Tools and allows you to control the device from your computer via the command line. The method is ideal for bulk extraction of apps or working with devices where installing third-party software is impossible.
To get started, you need to activate the developer mode on your smartphone. Go to Settings → About phone and click 7 times on the “Build number” item. After this, the “For Developers” section will appear in the settings menu, where you need to enable software debugging. Connect the phone to the PC with a cable and confirm permission for debugging in the pop-up window on the smartphone screen. USB. Connect your phone to the PC with a cable and confirm permission to debug in the pop-up window on your smartphone screen.
The extraction process itself consists of two stages: obtaining the full path to the application and copying it to the computer. First you need to find out the exact package name of the app you want to save. This can be done through the list all packages command. Find the desired name in the list (for example, com.whatsapp).
adb shell pm list packages | findstr "whatsapp"
Once the package name is known, use the command pm pathto find out the full path to the APK file on the system. This command will return a string like package:/data/app/com.whatsapp-xyz/base.apk. You will need the part of the path after the colon. The next step is to run the command adb pull, which copies the file from phone to the computer's hard drive in the current directory.
☑️ Preparing to work with ADB
⚠️ Attention: The command line interface and the set of available commands may vary slightly depending on the version of the Android platform and the device manufacturer. Some vendors block access to certain system paths even through ADB without root access.
Features of working with split packages (App Bundles)
The modern standard for distributing applications on Google Play is Android App Bundle (AAB). Unlike classic monolithic APKs, such apps consist of several parts: base code, resources for a specific screen density, language packs and libraries for a specific processor. Simply copying the file base.apk in this case will lead to the fact that the app will not run on another device.
When you try to extract such an application using standard methods, you will only get the basis, which is not enough for work. The installer Package Installer will simply give a parsing or crash error when trying to install an incomplete package. This often misleads users into thinking that the file is damaged, although the problem lies in the distribution architecture.
To correctly extract AAB format applications, you must use tools that support working with split-APK. Specialized extractors (mentioned in the first section) automatically collect all the necessary parts into one archive .apks or .xapk. When using ADB, you will have to manually search and download all files starting with split_ in the same directory as the base file, and then combine them using utilities like SAI (Split APKs Installer).
| Package type | File extension | Composition | Extract complexity |
|---|---|---|---|
| Universal APK | .apk | One file with all contents | Low |
| Split APK | .apk (several files) | Base + configurations (language, screen, CPU) | Medium |
| App Bundle | .aab (in store) / .apks (export) | Dynamic resource delivery | High |
| XAPK | .xapk | APK + OBB folder with data | Medium |
If you extracted the application in .apks or .xapk format, you will need a special installer to install it on another device, since the standard Android package manager does not recognize these formats without the help of third-party software.
Search and save cache data and OBB files
Many heavy games and professional applications store the main resources (graphics, sounds, levels) not inside the APK file, but in separate directories. This data is usually located in a folder Android/obb/ or Android/data/ in internal storage. Without these files, the app will launch, but will close immediately or require resuming gigabytes of information.
To make a full backup of the game, it is not enough to just pull out the installation file. You need to copy the corresponding folder from the section OBB. The name of this folder is usually the same as the application package name (for example, com.gameloft.android.ANMP.GloftA8HM). Move this folder to your computer or external drive along with the APK file.
On devices with Android 11 and higher, access to the folder Android/data and Android/obb through standard file managers is limited by the security policy Scoped Storage. You can see the folders, but you won't be able to go inside or copy files. To bypass this limitation, use file managers that support special access (for example, through the “Data Access” settings in the system) or connect the device to a PC in MTP mode, where restrictions are often less strict.
⚠️ Attention: Do not delete files from folders
Android/obbon your phone until you are sure that their copies have been successfully written to another media and have been verified for integrity. Losing this data will make the game inoperable.
Restoring and installing saved apps
The process of installing saved files depends on their type. Regular .apk files are installed by simply clicking on them in the file manager. The system will ask for permission to install from unknown sources - provide it for the application through which you are running the installer. After confirmation, the standard procedure for deploying the app will begin.
If you saved the data in the format .xapk or a set of split packages, you will need a third-party installer. Install an installer application (for example SAI or the built-in installer from the extractor), open it, select the saved file and follow the on-screen instructions. The utility itself will distribute resources to the required directories and register the application in the system.
To restore cache data (folders OBB), they must be manually placed back into the directory /sdcard/Android/obb/ before starting the game. Observe the folder structure: if there was a folder inside the archive with the name of the package, it should be located directly in the folder obb, and not inside another subdirectory. Violation of the path structure is the most common reason why the game does not see downloaded resources.
Successful application transfer requires saving three components: the installation file (APK), additional resources (OBB) and, ideally, progress saves if they are not synchronized with the cloud.
Is it possible to pull out system applications that cannot be deleted?
Yes, it is technically possible to extract the system application file, since they are also stored as an APK. However, installing them on another device is often impossible due to the lack of necessary system libraries, developer signature, or dependencies on a specific firmware version. Trying to install the system application of one smartphone on another can lead to a cyclic reboot.
Why, after installing a saved game, does it require you to download the data again?
This happens if you copied only the APK file, but forgot about the cache data folder (OBB). Or you damaged the folder structure during recovery. Make sure that the folder with the package name is exactly on the path Android/obb/package_name/ and there are data files inside it.
Is it safe to install APK files downloaded from other phones?
Installing files from trusted devices (such as your second phone) is safe as long as you are sure that the original device is not infected. The risk arises if the file has been modified by third parties. Always check the digital signature of an app if you are in doubt about its origin, although this is more difficult to do on a mobile device than on a PC.
How to find the name of an application package in order to find it through ADB?
The package name can be found through the phone settings: go to “Applications”, select the one you need and scroll down to “Application information” or “Version”. The identifier is often indicated there (for example, com.instagram.android). You can also use applications like “App Inspector”, which display this information on the main screen icons.