Data encryption on Xiaomi smartphones β a standard security feature in firmware MIUI, It protects personal information from unauthorized access, but in some cases, users want to disable it to speed up the device, make it easier to back up or solve compatibility issues. It is important to understand that disabling encryption completely removes file protection in case of phone loss or theft β even a factory reset will not guarantee data cleanup.
In this article, we will discuss the official and informal ways to disable encryption on different Xiaomi models, from the Redmi Note 10 to the Xiaomi 13 Ultra, as well as the consequences and alternative methods of protection. If you decide to go this step, carefully study all sections, especially the block with warnings.
Why Xiaomi is encrypting data by default?
Starting with the version MIUI 10 (and mandatory on all Android 10 devices)+), Xiaomi activates file system encryption FBE (File-Based Encryption) when you first turn on your smartphone. This is a requirement for Google for all manufacturers that make devices with Google Mobile Services preinstalled (GMS).
The main reasons for automatic encryption:
- π Protection against theft/loss: no PIN-code or password attacker will not be able to extract data even through connection to the PC.
- π± Compatibility with corporate policies: Many companies require encryption to access work emails and documents.
- π Safe Reset: When Factory Resetting through Settings β Data reset is deleted cryptographically, not just erased.
- π‘οΈ Malware protection: even if the virus gets root access, decrypting files without a key will be extremely difficult.
In practice, encryption adds ~5-15% load on the processor when working with files, but on modern smartphones (for example, Xiaomi) 12T or POCO F5) The main complaints about performance arise on low-end models with a weak chipset (for example, Redmi). 9A Helio G25).
β οΈ Warning: Disabling encryption on Android 11 devices+ and MIUI 12.5+ This results in a complete reset of all data, which is a security requirement of Google!
Official method: reset to unencrypted state
Xiaomiβs only supported method of disabling encryption is to completely reset the unencrypted settings at the initial setup stage, which works on all models but requires preparation.
Steps for official shutdown:
- Create a backup through Settings β About Phone β Backup or manually copy files to your PC.
- Go to Settings β About Phone β Resetting β Erase all data.
- After restarting at the stage "Setting up the device" skip the sentence enter PIN/Password or select the option "Skip encryption" (if available).
- Complete the setup without creating a pattern lock or password.
On devices with MIUI 14 and the newer option of skipping encryption may be absent - in this case, the system will automatically encrypt the data when you first connect to the Mi Account. This can only be avoided by unlocking the bootloader (see the next section).
Save Contacts in Google Account|Copy photo/video on PC|Write down a list of installed applications|Make sure you know the username/password from your Mi Account|Unlock the device from Google Pay (if used)-->
| Xiaomi model | MIUI version | Is it possible to disable encryption without resetting? | Is it necessary to unlock the loader? |
|---|---|---|---|
| Redmi Note 10/11 | 12.5β13 | No. | Yeah (for roundabouts) |
| POCO X3/X4 | 12β14 | No. | Yes. |
| Xiaomi 12/13 Series | 13β14 | No. | Yes (with the risk of brick) |
| Redmi 9/9A | 12 | Yes (via ADB) | No. |
Unofficial methods: unlock the bootloader and ADB
For power users, there are two alternative ways to disable encryption without completely resetting: ADB (Android Debug Bridge or after unlocking the bootloader. Both methods require technical skills and carry risks.
Method 1: Disconnection through ADB (only MIUI 12 and below)
This works on older firmware versions and some budget models.
- π₯οΈ PC with installation ADB Tools.
- π USB-cable (original, with data transmission support).
- π± Included debugging by USB (Settings β The phone. β Version. MIUI β 7 times to unlock the developer options, then Settings β Additionally. β For developers β Debugging by USB).
Instructions:
- Connect your smartphone to your PC and confirm your trust in the computer on the device screen.
- Open the command line (Windows) or terminal (macOS/Linux) and type:
adb shell
su
tune2fs -O ^encrypt /dev/block/bootdevice/by-name/userdata
rebootβ οΈ Warning: This command can result in data loss or cyclic reboot (bootloop). MIUI 13+ It's not working because of changes in the core.
Method 2: Unlock the loader + custom-fix
A more reliable but complicated way:
- Unlock the bootloader through the official Xiaomi tool (it takes 7-30 days to wait).
- Install custom recovery (TWRP or OrangeFox).
- Flip through the modified firmware without encryption (e.g. Pixel Experience or LineageOS).
What is bootloop and how to avoid it?
Risks and consequences of disabling encryption
Disabling data encryption on Xiaomi entails not only obvious security vulnerabilities, but also less noticeable problems:
Vulnerability of personal data
- π Files on internal memory are available to anyone who connects the phone to the PC through the MTP (Even without unlocking the screen in some cases).
- π Wi-Fi passwords, browser-saved data and application tokens are stored in the open form.
- π΅οΈ If you lose your phone, an attacker will be able to extract photos, correspondence and documents using tools like Autopsy or Oxygen Forensic.
2.Productivity and compatibility issues
- β‘ On some models (Redmi Note 8 Pro, POCO F1) Disabling encryption can reduce read/write speed due to optimizations in the MIUI partition.
- π With future updates MIUI The system can automatically turn on encryption again, which will lead to errors.
- π± Some banking applications (Sberbank, Tinkoff) and corporate solutions (Microsoft Intune) refuse to work on unencrypted devices.
Limitations of functionality MIUI
- π The βSecond Spaceβ and βPrivate Foldersβ functions stop working.
- π Backups via Mi Cloud may end with an error 0x80070057.
- π‘ Some Google Play Services modules (e.g. Device Protection) are disabled.
Yes, by official means (dumping)|Yes, through ADB/custom-fix|No, but I'm planning.|No, I'm not.|I don't know what it is.-->
β οΈ Note: On devices with chipset Qualcomm (e.g. Xiaomi) 11T or POCO X3 Pro) disabling encryption may result in loss IMEI It's because of the way the Snapdragon modem and the module work. QSEE (Qualcomm Secure Execution Environment).
Alternatives: How to speed up your phone without turning off encryption
If the goal of disabling encryption is to improve performance, consider less risky optimizations:
1. Disabling unnecessary functions MIUI
- π Animations and transitions: Settings β The phone. β Version. MIUI (7 times) β For developers β Scale of animation (off.).
- π Autosynchronization: Settings β Accounts. β Autosynchronization of data.
- π± Background Processes: Limit through Settings β Annexes β Permits β Auto-start.
System cleanup
- π§Ή Use the built-in security utility β Cleaning to remove cache.
- ποΈ Remove duplicate photos via Google Photos or Gallery Go.
- π§ Disable pre-installed applications (bloatware) through ADB: adb shell pm uninstall -k --user 0 com.miui.analytics
3. Storage optimization
- πΎ Move apps to the memory card (if supported): Settings β Annexes β [Select an application] β Warehouse β Change.
- π Format the memory card as an internal storage (increases speed but encrypts it).
- π Check the health of the storage system regularly. AIDA64 Or AndroBench.
π‘
If the phone is slowing down due to encryption, try turning off smooth transitions in the developer settings, which will reduce the load on the processor when working with encrypted files without sacrificing security.
Frequent mistakes and their solutions
When you try to disable encryption, users face typical problems.
1. the error "Cannot disable encryption" in ADB
Causes and solutions:
- π Non-Original Cable: Use a Cable from the Bundle or Certified USB-C 3.1.
- π Insufficient rights: make sure that the debugging is USB enabled and you have given permission to the PC (adb devices must show your device).
- π± Lockdown MIUI: Some firmware requires first to perform adb disable-verity.
2. the telephone shall not be switched on after discharge
If after the reset the device stuck on the logo MI:
- π Wait 10-15 minutes β the first download after a reset can be long.
- π Hold the Power. + Volume Up to log in to Recovery Mode and reset.
- π₯οΈ If it doesnβt work, run the original firmware through the Mi Flash Tool (requires an unlocked bootloader).
3. Encryption is activated by itself after the update
MIUI It can automatically encrypt data after the update, to prevent it from happening:
- π΅ Before updating, disconnect the Internet and Mi Account.
- π§ After the update, reset immediately via fastboot: fastboot erase userdata fastboot reboot.
π‘
On Android 12 devices+ It's not possible to turn off encryption without resetting data for technical reasons. All bypass methods from the Internet are either outdated or cause the phone to fail.
Xiaomi models that are particularly risky to disable encryption
Some Xiaomi smartphones have hardware or software features that can cause serious problems with disabling encryption, and here is a list of such models:
| Model | Problem. | Recommendation |
|---|---|---|
| Xiaomi 12S Ultra | Loss of chamber calibration after reset | Don't turn off encryption. |
| POCO F4 GT | Failure of shoulder button triggers | Use it. ADB-cautiously |
| Redmi K50 Gaming | Overheating of the processor due to lack of thermal throttle | Optimize through the developer settings |
| Xiaomi Mix Fold 2 | Inoperability of the second screen | Unsupported decoupling of encryption |
On these devices, even an official reset with no encryption can lead to a loss of functionality. 12S Ultra after disabling encryption camera stops focusing due to reset calibration data in the module Leica.
If you own one of these models, consider alternatives:
- π Use light firmware (for example, MIUI Lite for POCO).
- π± Turn off the visuals. MIUI through the developer's settings.
- π Replace the battery (on older models, the brakes are often associated with a worn-out battery).