Have you ever wondered where Xiaomiโs phone hides the very โsecretโ settings that are talked about in the forums? Or maybe you need to find system files, but the standard file manager shows only photos and downloads? Xiaomi smartphones (especially on MIUI) are known for an abundance of hidden features โ from engineering menus to service codes that the manufacturer does not advertise in the official documentation.
In this article, we will not just list the ways of setting up โ About the phone, and we will analyze the physical and logical location of key elements: where the application data is stored, how to access system partitions (including: /data and /system), And what can you do without superuser rights, and let's talk about the unique features. MIUI, Android doesnโt have any โ for example, where to look for bug logs or how to open a hardware component testing menu.
Important: some of the methods require caution, for example, changing files to /system without backup can lead to a device "brick", but don't worry - we will note all the dangerous moments and give alternative ways for beginners.
1. Where Xiaomi stores user data: memory structure
Any Xiaomi smartphone (whether Redmi Note 12 or POCO F5) has a standard Android file system, but with features from MIUI.
- ๐ Internal Memory (User Data): Section /data, where all your files, application settings and cache are stored. Available through the file manager as a root folder Internal drive.
- ๐ง System section: Folder /system โ So you have firmware files, system applications, and libraries, and without root rights, you'll only see a fraction of the content.
- ๐ Cash section: /cache โ Temporary update files and logs cleared automatically, but sometimes requires manual cleaning.
- ๐ฑ SD-Card (if any): Mounted as /storage/XXXX-XXXX (where XXXX โ unique ID In the maps. MIUI It can be displayed as an external drive.
To see the full structure, use a root file manager (like Root Explorer) or connect your phone to your PC in mode. MTP. Please note: in MIUI Some folders are hidden by default. To display them, click on the file manager. โฎ โ Settings โ Show hidden files.
Where do you look for specific data?
| Type of data | The path in the file system | Access without root |
|---|---|---|
| Photographs and videos | /storage/emulated/0/DCIM/ | Yes. |
| Downloads. | /storage/emulated/0/Download/ | Yes. |
| Application settings | /data/data/[package_name]/ | No (with root only) |
| Log files of the system | /data/log/ or /sdcard/MIUI/debug_log/ | Partially (MIUI log available) |
| Firmware updates | /data/ota_package/ | No. |
โ ๏ธ Note: Do not delete files from folders /system or /data It can cause the phone to fail, like deleting a file. /system/build.prop Make the device unusable until reflashing.
2. How to open the engineering menu and hidden settings
The Engineering Mode in Xiaomi lets you test hardware components, calibrate sensors, and even change some network settings.
- Open the Phone app.
- Enter the code ##4636## (for battery information and usage statistics).
- For a full engineering menu, type ##36446337## (not all models).
- New devices (such as the Xiaomi 13T) may require codes like ##6484## (display test) or #64663# (GPS test).
In the engineering menu you will find:
- ๐ถ Network Test: Signal Checking GSM, LTE, Wi-Fi.
- ๐ Audio test: Check of speakers, microphone, 3.5 mm connector (if any).
- ๐ฑ Sensor test: Accelerometer, gyroscope, proximity sensor.
- ๐ Battery information: Real charge level, temperature, charging cycles.
๐ก
If the engineering menu doesnโt open, try using the MTK Engineering Mode app (for MediaTek processors) or Qualcomm EngineerMode app (for Snapdragon).
In some models (for example, POCO X5 Pro) Engineering menu locked. In this case, you can use ADB-team:
adb shell am start -n com.android.settings/.DevelopmentSettingsThis team will open a developer menu where there are additional testing options.
3. Where in MIUI hidden settings for developers
The Xiaomi Developer Menu contains options that the manufacturer hides from ordinary users to activate:
- Go to Settings. โ The phone.
- Click 7 times on the MIUI version (you are a developer!).
- Return to the main settings menu โ there will be a new section Additional โ For developers.
You'll find this menu:
- ๐ Debugging by USB: Necessary for working with ADB.
- ๐ Unlocking OEM: Allows you to unlock the loader (needed for firmware custom). ROM).
- ๐ฑ Simulation of additional displays: Useful for multitasking testing.
- ๐ Background Processes: Limiting the number of running applications.
โ ๏ธ Warning: Turning on the option Do not turn off the screen while charging can cause the battery to overheat if the phone stays on charge for a long time with the display on. Use this feature only when necessary.
Is debugging on-line USB|Is it unlocked? OEM|Is the check off? MIUI firmware authenticity|Is the data backup done?-->
4.Where Xiaomi stores log files and how to read them
Logs are a record of all system actions, errors and events, useful for diagnosing problems, but not so easy to find. Xiaomi logs are stored in several places:
- ๐ Basic Logic MIUI: /sdcard/MIUI/debug_log/. Here are files with the.log and.txt extensions that can be opened by any text editor.
- ๐ง System Logs: /data/log/ (Root rights required: Provides detailed information about boot, kernel errors and service performance.
- ๐ฑ Logs of applications: /data/data/[package_name]/cache/. For example, Google Play Services logs can be found in the /data/data/com.google.android.gms/.
To read logs without root, use the Logcat Extreme or MatLog app. They allow you to filter entries by importance level (for example, show only errors โ ERROR). Example of commands for deleting logs through ADB:
adb logcat | grep -i "error"This command will show all records marked "error" in real time.
How to save logs for sending to support
If you need a specific application log, use the filter by its identifier, for example, for WhatsApp:
adb logcat | grep "com.whatsapp"5.Where to look for hardware information on Xiaomi phone
You often need to know the exact model of the processor, the version of the camera module or the type of screen. At Xiaomi, this information can be found in several ways:
- Through settings: Settings โ About phone โ Full spec. This shows the processor model, RAM capacity and MIUI version.
- Enter ##4636## and select Device Information, and show details about the battery, network and hardware components.
- Install CPU-Z or AIDA64 โ they will show the temperature of the processor, the model of the chipset and even information about the sensors.
For advanced users, the ADB team is useful:
adb shell getprop ro.product.model
adb shell getprop ro.boot.hardwareThe first command will output a phone model (e.g. 23049PCD8G for the Redmi Note 12 Pro+) and the second will output a platform (e.g. mt6895 for MediaTek Dimensity 1080).
| Component | How to find out a model | Example of meaning |
|---|---|---|
| Processor | Settings โ The phone. โ processor or CPU-Z | Qualcomm Snapdragon 8 Gen 2 |
| Camera. | Camera2 API Probe app or engineering menu | Sony IMX707 (50 MP) |
| Screen. | adb shell dumpsy display or AIDA64 | AMOLED, 120 Hz, 2400ร1080 |
| Battery | Engineering menu (#4636##) or adb shell dumpsys battery | 4700 mAh, 67W fast charging |
6.Where Xiaomi Stores Backups and How to Manage Them
MIUI has a built-in backup system, but backup files are not stored where many people expect them to be, so here's where to look and how to manage them:
- ๐ Local backups: /MIUI/Backup/AllBackup/. Here are the archives with the extension.bak, created through Settings โ Additionally. โ Backup.
- โ๏ธ Cloud backups: Sync with Mi Cloud. To see the list, go to Settings โ Xiaomi account โ Mi Cloud โ Backup.
- ๐ Update backups: /data/ota_package/ (Here are stored the downloaded firmware before installation).
To create a backup manually:
- Go to Settings โ Additional โ Backup.
- Select data to save (contacts, messages, Wi-Fi settings, etc.).
- Click Create a backup and wait until it is completed.
โ ๏ธ Attention: Backups MIUI Do not include the installed applications and their data by default. To save the applications, use adb backup or third-party tools like Swift Backup (requires root).
๐ก
Backup copies MIUI They're not encrypted by default. SD-In the cloud or in the map, password protect the file through the archiver (for example, 7-Zip).
7. How to find and remove unnecessary system applications
MIUI is known for its abundance of pre-installed applications (bloatware) that can't be removed by standard means, and here's where they're stored and how to get rid of them:
- ๐ฑ List of system applications: All pre-installed programs are in /system/priv-app/ and /system/app/. You can see them through a file manager with root rights.
- ๐๏ธ How to remove without root: Disable via Settings โ Annexes โ Application management โ [Select the application] โ Shut down.
- ๐ง Remove from root: Use Titanium Backup or command ADB: adb shell pm uninstall -k --user 0 com.miui.weather (replace com.miui.weather with the desired application package).
List of safe packets to remove (does not affect system stability):
- ๐ฆ๏ธ com.miui.weather - Weather
- ๐ต com.miui.player - Music
- ๐ฐ com.miui.notes - Notes
- ๐ com.xiaomi.shop โ Mi Shop
Do not delete:
- โ ๏ธ com.android.settings - Settings
- โ ๏ธ com.miui.home - Launcher
- โ ๏ธ com.miui.securitycenter - Security