The system folder /system on Android is the โheartโ of the operating system, where critical files responsible for device operation. From the kernel and drivers to standard applications and fonts - all this is hidden in a protected section, which is inaccessible to the user by default. But what if you need to look there? Perhaps you want to remove unnecessary software, replace system sounds, or fix an error after an unsuccessful update.
In this article we will take a detailed look at where is the /system folder physically located on Android devices from different manufacturers, how to access it (including rooted and non-rooted phones), as well as which manipulations with system files are considered safe, and which can turn a smartphone into a โbrickโ. We will pay special attention to the nuances of working with Samsung, Xiaomi, Google Pixel and other popular brands, where the directory structure may differ.
What is the /system folder and why do you need it
Folder /system โ This is a separate partition of Android internal memory that is mounted in read-only mode (ro). The following are stored here:
- ๐ OS kernel (
/system/bin,/system/lib) - low-level components that control the hardware. - ๐ต System sounds and fonts (
/system/media,/system/fonts) - alarm tones, notifications, standard headsets. - ๐ฑ Built-in applications (
/system/app,/system/priv-app) - Google Services, camera, phone and other services that cannot be deleted without root access. - ๐ง Configuration files (
/system/build.prop,/system/etc) - network settings, screen resolutions, performance parameters.
It is important to understand that changing files in /system without understanding the consequences can lead to:
- โ ๏ธ Cyclic reboot (bootloop) - the device gets stuck on the logo.
- โ ๏ธ Loss of functionality - failure of the camera, Wi-Fi or mobile network.
- โ ๏ธ Bootloader block (on some devices, for example, LG or Sony).
โ ๏ธ Attention: Starting from Android 10, Google has tightened its security policy: modification section /system may trigger DM-Verity (system integrity check) and automatically reset the device. This applies even to rooted phones.
Where is the /system folder physically located on Android
The physical location of the partition /system depends on the device memory architecture:
| Memory type | Location /system | Device examples |
|---|---|---|
| eMMC (old smartphones) | A separate partition on a memory chip, mounted as /dev/block/mmcblk0pX |
Samsung Galaxy S5, Xiaomi Redmi Note 3 |
| UFS (modern flagships) | Partition in the structure /dev/block/sdaX or /dev/block/by-name/system |
Google Pixel 6, OnePlus 10 Pro |
| Dynamic partitions (Android 10+) | Part super.img (combined image), mounted through dm-verity |
Samsung Galaxy S22, Xiaomi 12 |
In the user interface (for example, through the file manager) folder /system usually not visible, even if you enable the display of hidden files. This is due to:
- ๐ Lack of read rights for regular applications.
- ๐ก๏ธ Protection
SELinuxthat blocks access. - ๐ฑ Features of manufacturers' firmware (for example, MIUI or One UI hide system partitions completely).
To see /systemyou will need either root accessor use ADB (Android Debug Bridge). data-i="92">root access
How to access the /system folder without root access
If you have no root accessbut need to view the contents /system, there are several legal ways. They will not allow you to edit files, but will allow you to copy them for analysis.
Method 1: Through ADB (Android Debug Bridge)
Instructions for Windows/Linux/macOS:
- Enable USB debugging in the developer settings (
Settings โ About phone โ Build number (press 7 times) โ For developers โ USB debugging). - Connect your phone to the PC and confirm trust in the computer.
- Open terminal (or command line) and run:
adb shell
ls /system
To copy a file (for example, build.prop) to a PC:
adb pull /system/build.prop C:\temp\
โ ๏ธ Attention: On devices with Android 11+ and dynamic partitions, the commandls /systemmay produce an error. In this case. use:adb shell "su -c 'ls /system'"But this will require root access.
Method 2: Through a file manager with ADB support
Applications like FX File Explorer or Solid Explorer can connect to ADB and view system folders:
- Install the application from Google Play.
- Enable in the settings
ADB Root Mode(connection to a PC is required). - Go to
/systemvia the manager interface.
Limitations:
- ๐ซ It is not possible to edit files.
- ๐ Not all folders can be displayed (depending on the policy
SELinux).
If you just need to view the contents of a system file (for example, build.prop), use the command adb shell cat /system/build.prop โit will output the contents directly to the terminal without copying.
Access to /system with root access: step-by-step guide
If you have root access (received via Magisk, SuperSU or custom recovery), you can not only view, but also edit files in /system. However, this requires caution.
Step 1: Installing root explorer
The best options:
- ๐ Root Explorer (paid, but reliable).
- ๐ Mixplorer (free, with root support).
- ๐ FX File Explorer (you need to enable root mode in the settings).
After installation:
- Open the application and provide root access when asked.
- Go to the root directory (
/and find the foldersystem.
Step 2: Mount /system in write mode
Default /system is mounted as read-only. To edit files, run in adb shell or terminal:
su
mount -o rw,remount /system
If the command did not work, try:
mount -o rw,remount /
โ ๏ธ Attention: On devices with Android 10+ and dynamic partitions (super.img) standardmountmay not work. In this case you will need:
- Use Magisk for temporary mounting.
- Or unpack
super.imgon a PC using Payload Dumper.
Step 3: Editing files
Examples of safe changes (for experienced users):
- ๐ Replacing system sounds in
/system/media/audio(for examplealarm.ogg). - ๐ Editing
build.propto change the DPI or device model (caution: it may break Google Pay!). - ๐๏ธ Removing built-in applications from
/system/app(do this first backup!).
Critical important: before making any changes, create a backup copy of the /system partition via TWRP or command adb backup. Recovering from an error may require a complete flashing.
โ๏ธ Preparing to edit /system
Where /system is located on devices of different brands
Manufacturers often modify the structure of system folders Here are the key features for popular brands:
| Brand | Features of /system | Additional sections |
|---|---|---|
| Samsung (One UI) | Section /system hidden behind /system_root (starting from Android 10). |
/product, /vendor, /odm - contain drivers and proprietary services. |
| Xiaomi (MIUI) | /system can be compressed into system.img inside super.img. |
/miui โcustom themes and services. |
| Google Pixel | Standard AOSP structure, but with strict verification dm-verity. |
/product โGoogle applications (GMS). |
| OnePlus (OxygenOS) | /system often mounted as part of / (root partition). |
/opproduct โproprietary optimizations. |
For example, on Samsung Galaxy S21 the path to system applications will look like this:
/system_root/system/priv-app
And on Xiaomi Redmi Note 10 Pro - like this:
/system/system_ext/app
โ ๏ธ Attention: On devices Huawei i Honor s EMUI access to /system is blocked at the kernel level, even with root access. Modifications will require unlocking the bootloader and custom recovery.
What can be safely changed in /system (and what cannot)
Even with root access not all files in /system can be edited without riskHere is a checklist. safe and dangerous actions:
โ What can be changed (with caution)
- ๐ต Sounds and melodies in
/system/media/audioโ replacealarm.oggornotification.oggto your files (the format must match!). - ๐ Fonts to
/system/fontsโadd custom.ttffiles (do not delete standard!). - ๐ฑ Screensavers and wallpapers v
/system/mediaโreplacebootanimation.zip(but check the resolution!). - ๐ Build.prop โchange parameters
ro.sf.lcd_density(DPI) orro.product.model(but this may break banking applications!).
โ What should not be touched (high risk)
- ๐ซ Files in /system/bin i
/system/libโ deleting or replacing libraries will lead to system crash. - ๐ซ Kernel (
/system/bootimgor/boot) - changes without knowledge of assembler are guaranteed to block the device. - ๐ซ SELinux files (
/system/sepolicy) - an error in security policies will cause bootloop. - ๐ซ System APK from
/system/priv-appโ deletingSettings.apkorTeleService.apkwill make the phone inoperable.
Example safe modification:
- Copy your sound file (for example,
my_alarm.mp3) to/system/media/audio/alarms. - Set rights
644(owner - root):
chmod 644 /system/media/audio/alarms/my_alarm.mp3
chown root:root /system/media/audio/alarms/my_alarm.mp3
Example dangerous modification:
rm /system/bin/sh # Removing the shell will lead to loss of access to ADB!
Even "safe" changes to /system can cause problems with OTA updates. Before installing the update, it is recommended to return all files to their original state.
How to restore /system after errors
If after editing /system the device:
- ๐ Got stuck on the logo (bootloop).
- ๐ต Doesn't turn on at all (brick).
- ๐จ Gives an error
dm-verity corruption.
You will need one of the solutions:
Method 1: Recovery via TWRP
- Boot into TWRP (hold
Power + Volume Upwhen turning on). - Select
Mount โ System. - Connect the phone to the PC and copy the backup or stock files back to
/system. - Correct the rights:
chmod 755 /system/bin/*
chmod 644 /system/app//.apk
Method 2: Flashing the stock firmware
For most brands:
- ๐ฅ Download the stock firmware from the official website (Samsung โ Sammobile, Xiaomi โ Xiaomi Firmware Updater).
- ๐ง Use the tools:
- ๐ฑ Odin for Samsung.
- ๐ฑ Fastboot for Google Pixel, OnePlus.
- ๐ฑ Mi Flash for Xiaomi.
Method 3: Bypass DM-Verity (for Android 10+)
If the device does not boot due to triggering dm-verity, try:
- Boot into fastboot (
Power + Volume Down). - Disable verification:
fastboot disable-verity
fastboot disable-verification
Then reboot.
โ ๏ธ Attention: On some devices (for example, Samsung s Knox) any modifications/systemcause the flag to be triggeredRMM StateorKnox Tripwhich voids the warranty and blocks Samsung Pay/Secure Folder.
FAQ: Frequently asked questions about folder /system
Is it possible to access /system without root access?
Yes, but only for reading - through ADB or specialized file managers with ADB support. It is impossible to edit files without root.
Why did build.prop stop working after changing. banking applications?
Many banks (for example, Sberbank, Tinkoff) check the integrity of the system through SafetyNet. Changing the parameters in build.prop (for example, ro.product.model) can trigger the protection. data-i="295">Sberbank
- Return the original values in
build.prop. - Use Magisk with the module Universal SafetyNet Fix.
How to find out if my phone has dynamic partitions (super.img)?
Execute in adb shell:
ls -l /dev/block/by-name/
If there are superin the list, then a dynamic structure is used to work with such partitions you will need Payload Dumper or lpunpack.
Is it possible to increase the size of the partition? /system?
Theoretically yes, but this requires:
- Unlocking the bootloader.
- Changing the partition table through
fastbootor DiskGenius. - Reflashing the modified
boot.img.
In practice, this is risky and can lead to data loss. It is better to use bind mount to redirect folders (for example, /system/media) to the user partition.
What to do if after editing /system the phone does not turn on?
Follow algorithm:
- Try to boot into recovery (
Power + Volume Up). - If there is a backup, restore
/systemvia TWRP. - If there is no backup, flash the stock firmware via Odin/Fastboot.
- For devices with a locked bootloader (for example Huawei) may require a service center.