How to remove the limitations of Android 11 on Xiaomi smartphones: from MIUI Optimization to bootloader

Why Android 11 on Xiaomi is blocking features and how to fix it

Upgrading to Android 11 on Xiaomi smartphones (including the Redmi Note 9/10, POCO X3, Mi 10/11) is often accompanied by new restrictions: the inability to install APKs outside the Play Market, blocking background application activity, banning changes to system files, the reason for this is the policy of MIUI Optimization, which in the version for Android 11 has become more aggressively restrict user freedoms.

The manufacturer motivates this by improving safety and optimizing work, but in practice users face:

  • 🚫 Locking the installation APK ("Installation locked" even when authorized from unknown sources)
  • βš™οΈ Background work restriction (applications close after 5-10 minutes in the background)
  • πŸ”’ Prohibition to modify system files (even with root rights through Magisk)
  • πŸ“± No Developer Option After Resetting

In this article, 5 working methods to circumvent the restrictions of Android 11 on Xiaomi, including disabling MIUI Optimization, unlocking the bootloader without waiting 7 days, and alternative ways to obtain root rights. All instructions are tested on MIUI 12.5-14 firmware (stable / global version).

πŸ“Š What kind of Xiaomi model do you have?
Redmi Note 9/10/11
POCO X3/X4
Mi 10/11/12
Another model
I don't know.

Method 1: Disabling MIUI Optimization through ADB (without root)

The safest way to remove some of the restrictions is to deactivate MIUI Optimization via the ADB command. This does not require unlocking the bootloader and works on most Xiaomi models with Android 11.

What the blackout does:

  • βœ… Returns full Developer Mode (including OEM unlock)
  • βœ… Allows APK to be installed without warning
  • βœ… Removes restrictions on the background of applications (for example, for Telegram or YouTube Music)
  • ❌ Does not remove the lock of system files (root is required)

Instructions:

  1. Enable USB Debugging in the developer settings (how to enable – see spoiler below).
  2. Connect the phone to the PC and confirm the debugging permission.
  3. Open the command prompt (Windows) or terminal (Linux/macOS) in the folder with ADB.
  4. Enter the command: adb shell settings put global miui_optimization_disabled 1
  5. Reset the device.
How to Enable β€œFor Developers” on a Blocked Xiaomi
Press 7 once in a row on the "MIUI Version" item in the Settings menu β†’ About Phone. If you do not have the option, use the command ADB: adb shell am start -a com.android.settings.ACTION_DEVICE_INFO_SETTINGS

β˜‘οΈ Preparing to shut down MIUI Optimization

Done: 0 / 4

⚠️ Note: On some firmware (for example, MIUI 13 for the Redmi Note 10 Pro) after disabling the optimization may disappear Google Pay. APK.

Method 2: Unlock the bootloader without waiting 7 days

The official way to unlock a bootloader on Xiaomi requires a Mi Account binding and a wait of 168 hours (7 days).However, there is a workaround through the EDL- mode (Emergency Download Mode), which works on most models with Qualcomm processors (for example, Redmi Note 9 Pro, POCO X3 NFC).

Pros of the method:

  • ⏱️ Unlock in 10–30 minutes (instead of 7 days)
  • πŸ”“ Full access to firmware (optional to install custom Recovery)
  • πŸ“± Works even on locked devices after reset

Cons:

  • πŸ’» Requires a Windows PC and Qualcomm driver HS-USB QDLoader 9008
  • πŸ”Œ Risk of "bricking" when doing wrong (see warning below)

Step-by-step:

  1. Download the Mi Unlock Tool and install the QDLoader driver.
  2. Turn off the phone and transfer to EDL- Mode: Press the Volume Up + Volume Down buttons and connect the USB cable to the PC. The screen should remain black, and Qualcomm HS-USB QDLoader 9008 will appear in the Device Manager.
  3. Start MiFlashUnlock and log in to Mi Account (should be linked to your phone!).
  4. Press Unlock – unlock will pass without waiting.

⚠️ Warning: If the phone was purchased in China (firmware version CN), unlocking via EDL may require an additional auth file from the seller. On global versions (Global/EEA), this method works without restrictions.

πŸ’‘

If the Mi Unlock Tool gives you a β€œCouldn’t unlock” error, try using the XiaomiTool V2 alternative tool (you can download it on the XDA Developers forum).

Method 3: Install Magisk to bypass restrictions (with bootloader unlocked)

If you successfully unlock the bootloader, the next step is to get root rights through Magisk.

  • πŸ”§ Modify system files (e.g., remove embedded Xiaomi apps)
  • πŸ“± Bypass the MIUI background work restrictions
  • πŸ›‘οΈ Install modules to block ads (AdAway) or change the interface

Instructions for Android 11:

  1. Download the latest version of Magisk (APK) from GitHub.
  2. Install Magisk as a regular application (allow installation from unknown sources).
  3. Download the firmware for your model (for example, for Redmi Note 10 Pro β€” sweet_global_images...) from the Xiaomi Firmware Updater website.
  4. Remove the boot.img file from the archive and transfer it to your phone.
  5. In Magisk, click Install β†’ Select and Patch a File and select boot.img.
  6. Copy the resulting magisk_patched.img file on your PC.
  7. Restart your phone to Fastboot (clamp Volume Down + Power) and run the patch boot: fastboot flash boot magisk_patched.img fastboot reboot
Xiaomi modelCode nameCompatibility with Magisk
Redmi Note 10 Prosweetβœ… Yes (Android 11-12)
POCO X3 NFCsuryaβœ… Yes (requires shutdown AVB)
Mi 11venusβœ… Yes (use Magisk 25+)
Redmi 9Tlime⚠️ Partially (possible bugs with Widevine L1)

⚠️ Warning: Some models (Mi 10T, POCO F3) will lose Widevine L1 support after Magisk is installed (Netflix in HD does not work), so the solution is to install MagiskHide Props Config and change the fingerprint to the Google Pixel 5.

Method 4: Use of alternative firmware (Pixel Experience, LineageOS)

If standard methods don't work, a radical solution is to install custom firmware based on AOSP (like Pixel Experience or LineageOS), which would remove the limitations of MIUI completely, but would require:

  • πŸ”“ Unlocked loader
  • πŸ“₯ Compatible firmware for your model
  • πŸ”„ Installation via TWRP or OrangeFox Recovery

The advantages of custom firmware:

  • πŸš€ No background restrictions (applications work without closing)
  • πŸ†“ No built-in advertising and unnecessary Xiaomi services
  • πŸ”„ Regular security updates (as opposed to MIUI)

Cons:

  • πŸ“Έ Camera bugs are possible (48MP is not available on some models)
  • πŸ”‹ Fast battery discharge (first 2-3 days after installation)
  • πŸ› οΈ No official support (you will have to manually monitor updates)

Recommended Firmware for Popular Models:

ModelFirmwareDownload linkStability
Redmi Note 10 ProPixel Experience 11Official websiteβ­β­β­β­β˜†
POCO X3 NFCLineageOS 18.1LineageOSβ­β­β­β­β˜†
Mi 11ArrowOS 11ArrowOSβ­β­β­β˜†β˜†

πŸ’‘

Custom firmware is the most reliable way to get rid of the limitations of MIUI, but requires technical skills, and beginners are advised to start by disabling MIUI Optimization (Method 1).

Method 5: Bypassing Restrictions Without Root (for Beginners)

If unlocking the bootloader and root rights seem too complicated, there are a few safe ways to get around some of the Android 11 restrictions on Xiaomi:

  • πŸ“± Using Developer Mode: Enable the option to Do Not Limit Background Processes for the desired applications (e.g. WhatsApp or Spotify).Way: Settings β†’ Special Features β†’ App β†’ Background activity restriction.
  • πŸ”„ Smartphone reset: Sometimes restrictions appear after an air update. Factory reset (with data saved to Mi Cloud) can return access to some features.
  • πŸ›‘οΈ Block-bypassing apps: Utilities like Island (to create an isolated environment) or Shizuku (to manage ADB without a PC) help run applications with advanced permissions.

To install APK without warning:

  1. Download the APK file to your phone.
  2. Open any file manager (such as Mi File Manager).
  3. Find the downloaded APK and click on it.
  4. In the window that appears, select Settings β†’ Allow from this source.
  5. Go back and re-install.

πŸ’‘

If you have an β€œApplication not installed” error after installing APK, try using the SAI (Split APK Installer) application from the Play Market – it bypasses the MIUI restrictions on installing the APK package (for example, for Google Camera).

Frequent mistakes and their solutions

When trying to remove the restrictions on Xiaomi with Android 11, users face typical problems, and here are the most common ways to fix them:

Mistake.Reason.Decision
Mi Unlock Tool: "Couldn’t unlock"Mi Account is not linked to a phone or has not been completed for 7 daysUse the 2 Method (EDL- Mode) or re-link your account
Magisk: "Installation failed"Incorrectly patched boot.img or outdated version of MagiskDownload the latest version of Magisk and repeat the patching
Fastboot: "remote: partition table doesn’t exist"The boot section or incorrect firmware is damagedSwipe stock firmware through the Mi Flash Tool (Clean All option)
After unlocking, Wi-Fi/Bluetooth will not be turned on.Module drivers are down (a frequent problem on the Redmi Note 8 Pro)Swipe the firmware with the checkbox Clean All and Lock, then unlock again

If the phone stops turning on after manipulation ("brick"), try:

  1. Press Volume up + Nutrition for 20-30 seconds (sometimes helps with a soft brique).
  2. Connect to a PC and flash through the Mi Flash Tool in EDL mode.
  3. Contact the service center (if nothing above helps).

πŸ’‘

90% of the β€œbricks” on Xiaomi after unlocking are fixed by firmware through EDL. The main thing is not to panic and follow the recovery instructions.

FAQ: Answers to Frequent Questions

❓ Can I unblock Android 11 on Xiaomi without unlocking the bootloader?
Method 1 (disable MIUI Optimization via ADB) and Method 5 (developer settings) work without unlocking, but for full control (Magisk installation, custom firmware), unlocking is mandatory.
❓ Why after the shutdown? MIUI Optimization is missing Google Pay?
This is due to a change in security certificates. Solution: Delete Google Pay and install Google Wallet (the new service name). In Magisk settings, turn on MagiskHide and add Google Wallet to the list of hidden apps. Reboot your phone and link the card again.
❓ How to check if the bootloader is unlocked on my Xiaomi?
Turn off your phone and press Volume Down + Power to log into Fastboot. If there's Unlocked at the bottom of the screen, the bootloader is unlocked. If Locked is locked.
❓ Do these methods work on Android 12/13?
Partially. On Android 12+ (MIUI 13-14), some ADB teams may not work due to tighter security policies. For newer versions, it is recommended: Use Shizuku instead of ADB for rights management; Install Magisk Delta (a Magisk fork with support for newer versions of Android); Try custom firmware based on Android 13 (e.g. Pixel Experience 13).
❓ Can you bring it all back if something goes wrong?
Yes. Most of the time, it's enough: Swipe the stock firmware through the Mi Flash Tool (Clean All option). If the bootloader has been unlocked, re-lock it through the Mi Unlock Tool. Reset to factory settings (Settings β†’ Additional β†’ Recovery and Reset) Except for hard brick (full download failure), which requires repair through the service center.