Have you ever wondered where exactly those applications that cannot be deleted using standard methods are hidden in your smartphone? We are talking about system APKs - from Google Play Services to proprietary utilities of the manufacturer like MiUI or One UI. These files take up disk space, are updated in the background, and sometimes conflict with user apps. But where to look for them?
Unlike regular applications, which are stored in a folder /data/app, system APKs are distributed across several protected sections of Android. Their location depends on the OS version, device model, and even the type of firmware (stock or custom). In this article, we'll look at system apps, how to view them (including non-root methods), and the risks associated with tampering with these files. If you plan to delete or modify system APKs, be sure to read to the warning section! all possible ways to system applications, ways to view them (including non-root methods), and the risks associated with tampering with these files. If you plan to delete or modify system APKs, be sure to read the warning section!
1. Main folders with system applications in Android
System APK files are distributed across three key sections of the Android file system. Their location is standardized, but may vary slightly depending on the manufacturer (for example, Samsung or Xiaomi add their own subfolders). Here are the basic paths:
- ๐
/system/appโstandard Google and manufacturer applications integrated into the firmware. Examples: Calendar, Contacts, Samsung Knox. - ๐
/system/priv-appโprivileged system APKs with extended rights (for example, Services Framework or Telephony Provider). These applications are launched on behalf of the system. - ๐
/vendor/app- applications specific to the hardware platform (camera drivers, communication modules, etc.). Often there are proprietary utilities like Mi Camera or Huawei Mobile Services.
On devices with dynamic partitions (Android 10+), part of the system APK can be stored in virtual volumes super.img. In this case, the physical paths will look like /system/system_ext/app or /product/app. You can check this through the command:
adb shell ls -la /system/ | grep "app"
โ ๏ธ Attention: Starting from Android 11, Google has tightened control over system partitions. Even with root access, modifying files in/systemcan lead to soft-brick (the device boots, but is unstable) due to the dm-veritymechanism. Before making any changes, create a full backup viaTWRPor OrangeFox.
2. How to View System APKs Without Root
If you don't have root access, your options for viewing system apps are limited, but they are there. Here are the working methods:
Method 1: Via ADB (Android Debug Bridge)
Connect the device to a PC with installed Platform Tools and execute:
adb shell pm list packages -s
This command will display a list all system packages (flag -s). To find the path to a specific APK, use:
adb shell pm path com.android.vending
Example output: package:/system/priv-app/Phonesky/Phonesky.apk. Please note that some paths may point to files (new package format in Android 10+). Method 2: Through a file manager with ADB access. Apps like .apex-files (new package format in Android 10+).
Method 2: Through a file manager with ADB access
Applications like Mixplorer or view system folders via FX File Explorer allow you to view system folders via FTP via ADB:
- Enable
USB debuggingin the developer settings. - In the file manager, select ADB connection (usually in the side menu).
- Go to
/system/appor/system/priv-app.
โ ๏ธ Attention: Some manufacturers (for example, Huawei or Oppo) block access to system folders even through ADB. In this case, only root or custom recovery will help.
If the command pm path returns a path like package:/data/app/..., this means that the system application was updated via Google Play and is now stored as a user one. It can be deleted using standard means, but after a reboot it will be restored from /system.
3. Searching for system APKs on rooted devices
With root access, the possibilities expand. You can not only view, but also edit system files. Here's how to do it safely:
Method 1: Through Root Explorer
Install a file manager with root support (for example, Solid Explorer or Root Browser) and:
- Give the application root access when request.
- Go to
/systemand open the foldersapp,priv-apporvendor/app. - Pay attention to files with the extension
.apki.odex(optimized Dalvik cache).
Method 2: Through Terminal Emulator
Open a terminal on the device (for example, Termux) and do:
su
ls -R /system/app /system/priv-app /vendor/app
To find a specific application (for example, Google Play Market), use:
find /system -name "Phonesky"
| Folder | Typical content | Can it be deleted? |
|---|---|---|
/system/app |
Standard applications (Calendar, Contacts, FM radio) | Yes, but errors may occur in related services |
/system/priv-app |
Critical services (Telephony, Settings, Google Services Framework) | No, there is a high risk of system malfunction |
/vendor/app |
Manufacturer drivers and utilities (Camera, NFC Module) | Partially, but hardware functionality may break |
/product/app |
Applications specific to the region/model (for example, Samsung Global Goals) | Yes, usually safe |
Create a backup via TWRP|Check package dependencies (dumpsys package)|Disable automatic recovery (pm uninstall -k --user 0)|Make sure that the APK is not critical for the operation of the system-->
4. Features of storing system APKs in different versions of Android
With each new version of Android, Google changes its approach to storing system applications. Here are the key differences:
Android 9 Pie and older
Up to Android 10 system APKs were stored as separate files in /system. They could be easily modified or replaced via recovery. However, even then there was an integrity check mechanism (SELinux) that could block changes.
Android 10โ12: dynamic partitions and APEX
C Android 10 Google has implemented dynamic sections (super.imgthat combine several traditional sections (system, vendor, product) into one virtual volume. This made accessing system files more difficult. In addition, .apexpackages have appeared - a new format for critical components (for example, com.android.art or com.android.tzdata).
Android 13+ and Project Mainline
In the latest versions of Android, some of the system components updated via Google Play System Updates (Project Mainline). These modules are stored in /apex and cannot be deleted or changed without breaking the system. Examples:
- ๐
com.android.permission(permission management) - ๐
com.android.tethering(modem and access point) - ๐ก
com.android.wifi(Wi-Fi drivers)
What are APEX files?
APEX (Android Pony EXpress) is a new package format that replaced APK for system components. They are cryptographically signed and updated via Google Play without flashing the device. Unlike APK, APEX files are mounted. as separate volumes /apex and contain both code and native libraries. An attempt to modify them will lead to a mounting error and system crash.
5. Risks and consequences of interfering with system APKs
Deleting or modifying system applications can lead to a variety of consequences - from harmless ones. glitches until the device is completely inoperable. Here's what you need to know:
Frequent problems after deleting system APK
- โ ๏ธ Bootloop (cyclic reboot) - if a critical component is deleted like
com.android.phone. - ๐ต Loss of connection - deletion
TelephonyProviderorImsServicewill turn off calls and SMS. - ๐ Rapid battery drain - some system services are responsible for optimizing energy consumption.
- ๐ Blocking OTA updates - a modified system may not pass integrity checks.
How to minimize risks
If you still decide to remove the system application:
- First disable it via
pm disable-userand check the stability of the work. - Use
pm uninstall -k --user 0instead of completely deleting it - this will keep the APK on the system, but will hide it from the user. - Before making any changes, study the dependencies of the package command:
dumpsys package com.android.example | grep "dependencies"
โ ๏ธ Attention: On devices with Samsung Knox or Huawei EMUI modification of system files may trigger the flagKNOX 0x1orTamper Detectedwhich will void the warranty and block some functions (for example Samsung Pay or Secure Folder).
Even if the system application is successfully removed, it can be restored after an OTA update. To avoid this, you need to โfreezeโ the package through Magisk or edit the file /system/addon.d/70-gapps.sh (for custom firmware).
6. Alternatives to deletion: how to disable system apps
If the goal is to free up space or get rid of annoying notifications, deletion is not always the best option. Here are safer ways:
Method 1: Disabling via ADB (without root)
Connect the device to the PC and do:
adb shell pm disable-user --user 0 com.android.bloatware
Replace com.android.bloatware with the package name (you can find it through pm list packages). This method hides the application from the system, but does not delete its files.
Method 2: Using Magisk and the Universal Android Debloater module
If you have root and installed Magisk, you can use modules to โneutralizeโ system applications:
- Install Universal Android Debloater via Magisk.
- Select applications to disable in the module interface.
- Reboot the device.
The advantage of this method is the ability to restore disabled packages in one click.
Method 3: Replacing system APKs with dummies
For experienced users: you can replace the original APK with a modified one (for example, with removed services). To do this:
- Download a โcleanedโ APK (for example, from the forum XDA Developers).
- Rename the original file to
Name.apk.bak. - Place the new APK in the same folder and set the rights
644.
adb shell pm enable com.android.package
If the package was completely deleted, it can only be restored through flashing or backup.-->
7. How to restore deleted system applications
If after deleting the system APK the device becomes unstable, there are several ways to get everything back:
Method 1: Through TWRP backup
If you have system backup:
- Boot into TWRP or OrangeFox.
- Select
Restoreand mark the sectionSystem. - Confirm the restoration.
Method 2: Manual APK copy
If there is no backup, but there is another smartphone with the same firmware:
- Copy the missing APK from another device (for example,
/system/priv-app/Settings/Settings.apk). - Place the file in the appropriate folder on your device.
- Install the correct ones rights:
chmod 644 /system/priv-app/Settings/Settings.apk - Reboot the device.
Method 3: Flashing via Fastboot
If the system does not boot:
- Download the official firmware for your model from the manufacturer's website.
- Unpack the archive and find the file
system.img. - Flash it via fastboot:
fastboot flash system system.img
โ ๏ธ Attention: When restoring system APKs via fastboot or TWRP, anti-rollback protection may work (for example, on devices Xiaomi or Oppo). This will block the bootloader. Always check the firmware version before restoring!
FAQ: Frequently asked questions about system applications in Android
Is it possible to transfer system applications to an SD card?
No, system APKs are strictly tied to the /system or /vendorpartitions. Transfer is only possible for user applications (via adb shell pm move-package), but this does not apply to system packages.
Why does it appear again after deleting the system APK?
This happens due to the mechanism OTA updates or Google Play System Updates. The system restores critical packages when checking integrity. To prevent this, you need to disable automatic updates for a specific package or use modules like DisableFlags in Magisk.
How to find out which system application consumes the most battery?
Use the command:
adb shell dumpsys batterystats --charged
Look for lines with com.android. or com.google.. Alternatively, applications like BetterBatteryStats (requires root).
Is it possible to update the system application manually?
Yes, but with reservations:
- Download the APK of the desired version (for example, from APKMirror).
- Uninstall the current version via
pm uninstall. - Install a new APK with the command
pm install.
However, some system applications (for example, Google Play Services) are updated only via Google Play and may conflict with manual versions.
What to do if, after deleting the system APK, Google services stopped working?
Most likely, you deleted com.google.android.gms or com.google.android.gsfRestore them through:
- Installation Open GApps (for custom firmware).
- Manual copying of APK from another firmware.
- Complete flashing of the device.
Will not work without these packages Google Play, account synchronization and push notifications.