Xiaomi Mi 9 β flagship 2019 year-on-year 6/8 GB of RAM and 64/128/256 GB ROM, but even it can have memory problems over time: sudden reboots, brakes when multitasking or file writing errors. 80% It is not the fault of optimization. MIUI, a hardware defects of memory modules or wear of the flash drive. This article will help diagnose memory on Mi 9 without disassembling the device - from standard tools to professional tests through ADB.
We will discuss 7 working methods, from built-in MIUI features to third-party utilities and hidden engineering menus, and focus on diagnosing eMMC errors, which often appear on smartphones older than 3 years and can lead to data loss. If your Mi 9 becomes βglutβ after an update or drop, these instructions will help identify the cause before visiting the service center.
1. Memory check through standard MIUI settings
So, to start with, the simplest of them all, the built-in MIUI tools, which don't provide deep diagnostics, but they show basic information about memory status and warn you of critical errors.
Open Settings β About the phone β Memory. Here you will see:
- π± Total ROM (e.g. 128 GB) and available space.
- π Memory state: If there is an exclamation point next to the inscription, it is a signal of problems with the flash drive.
- π RAM usage: If less than 1 GB is free with closed applications, memory leakage is possible.
Pay attention to the Warehouse section β If it displays an unknown partition or less than the stated memory (for example, 112 GB instead of 128 GB), this may indicate that the data is not available:
- π οΈ Hardware wear and tear eMMC/UF (typical of devices with intensive use).
- π§ Markup errors after incorrect update or reset.
π‘
If the Memory section displays a message "Check the drive," that's the first sign that the flash memory is starting to degrade.
2. Hidden Engineering Menu: Memory Test (#4636##)
The Xiaomi Mi 9 has a hidden menu for diagnosing hardware components, including memory.
- Open the Phone app.
- Enter the combination: ##4636###.
- Select the Testing (testing) item.
This menu is available:
- π§ RAM Test β checking RAM for read/write errors.
- πΎ Storage Test β Flash memory test (can take 5-10 minutes).
- πΆ Modem Test β indirectly affects memory performance when working with the network.
If you see a FAIL message next to RAM or Storage after the test, it means:
β οΈ Note: Mi 9 with older firmware MIUI 12.5 The memory test in the engineering menu may give false positives due to the limitations of the core.
3. Diagnosis through ADB: Professional Analysis
For deep memory check, you will need ADB (Android Debug Bridge), which is suitable if:
- π You suspect hardware defects (for example, broken sectors in ROM).
- π οΈ Standard tests show no errors, but the smartphone slows down.
- π You want to check the read/write speed of flash memory.
Instructions:
- Enable USB Debugging in Settings β About Phone β MIUI version (click 7 times, then go back to Additional β For Developers).
- Connect the Mi 9 to your PC and confirm the debugging permission.
- Open the command line and enter:
adb shell
cat /proc/meminfo | grep -i "memtotal\|memfree"
df -h /data
dd if=/dev/zero of=/sdcard/testfile bs=1M count=512Transcript of commands:
- cat /proc/meminfo β will show the total amount of RAM and free memory.
- df -h /data - displays the state of the /data partition (where applications are stored).
- dd if=/dev/zero... β a recording test (if the command ends with an error, there are problems with ROM).
What if the ADB does not recognize the device?
4. Applications for memory testing: top-3 utility
If you are uncomfortable with ADB, you can use third-party apps. We tested 10 utilities and selected the 3 most accurate for Xiaomi Mi 9:
| Annex | Checks | Pluses | Cons |
|---|---|---|---|
| MemTest86 | RAM (read/write errors) | πΉ The most accurate test RAMπΉ It works without root. | πΈ Requires a reboot to recovery mode |
| A1 SD Bench | ROM speed (read/write) | πΉ Shows the real speed of the eMMCπΉ Comparison with other devices | πΈ Not identifying broken sectors |
| Phone Doctor Plus | Comprehensive diagnostics (RAM + Storage) | πΉ Simple interfaceπΉ It also tests the processor and sensors. | πΈ Paid version for deep analysis |
For the Mi 9, we recommend starting with the A1 SD Bench, as memory problems on this device are more often associated with eMMC degradation (write speed falls below 50 MB/s). If the read speed is below 200 MB/s and the write speed is below 100 MB/s, this is a sign that the flash memory is worn out.
Charge your phone at least 50%
Connect to Wi-Fi (to download tests)
Make a backup copy of important data
Turn off the power saving modes-->
5. Checking for broken sectors: method with a marker file
If your Mi 9 suddenly reboots or forgets files, it may have broken sectors in the ROM.
- Create a file size of 1-2 GB on internal memory (for example, through the File Manager application).
- Copy it into another folder.
- Compare checksums (MD5) of the original and the copy using the Hash Droid app.
If the checksums do not match, this means:
- π¨ Flash memory is degraded (typical for devices with eMMC 5.1, as in the Mi 9).
- π§ Possible file system errors (will help reset to factory settings).
β οΈ Note: Xiaomi Mi 9 with firmware MIUI 13+ This can be used to protect against writing large files to the root folders. Use the Download folder or external folder for the test. SD-card (if supported).
6. Diagnostics via Fastboot mode (for power users)
If the phone doesn't turn on or is constantly rebooted, a memory check can be done via Fastboot.This method requires a PC and command line knowledge.
Instructions:
- Turn off the Mi 9 and press Power + Volume down to enter the Fastboot.
- Connect your phone to your PC and type a command:
fastboot devices
fastboot oem diag
fastboot oem test_memoryTranscription of results:
- PASS - Memory's fine.
- FAIL [ERROR_CODE] β Memory error (code can be decrypted via Qualcomm documentation).
- NOT_SUPPORTED β Your version of Fastboot doesn't support the test (update the Mi Flash Tool).
If the test shows an error, try flashing your phone through Mi Flash with the clean all option, which solves memory problems caused by a firmware failure in 60% of cases.
π‘
Memory test via Fastboot is the only way to diagnose hardware errors on a broken Xiaomi Mi 9. If the fastboot oem team test_memory return FAIL, It will probably require a replacement motherboard.
7.When to contact the service: signs of critical malfunctions
Not all memory problems can be solved software.
- π The phone is cyclically restarted (especially when loading heavy apps).
- π Record speed drops below 30 MB/s (checked through the A1 SD Bench).
- π« The system does not see part of the memory (for example, 32 GB is displayed instead of 128 GB).
- π₯ The phone overheats in the processor area for simple tasks (may indicate memory controller overload).
The average cost of memory repair on Xiaomi Mi 9 (2026)
- π§ Replacement eMMC/UF-storage: 3 500β6 000 β½ (volume-dependent).
- π₯οΈ Memory controller repair: 5,000β8,000 β½.
- π Flashing with partition restoration: 1,500β2,500 β½.
β οΈ Note: Mi 9 with Samsung memory modules KLUDG8U1ED-B0D1 (128 GB) is often a defect of "disappearing memory" after 2-3 years of use, it is a fault of the controller, and it can not be fixed software.