← All posts

Root

How to root a Xiaomi, Redmi or POCO phone on HyperOS

Xiaomi's official HyperOS unlock process: community approval, account binding, waiting periods, the China-only limits, then Magisk. What you lose and how to undo it.

Pocket4 min read

Xiaomi, Redmi and POCO phones can be unlocked officially, but on HyperOS you need Xiaomi's permission first, and you wait. Mainland China phones are the hard case. Our main source is Xiaomi's own Boot Loader Lock FAQ, plus the official Magisk install guide.

Who can unlock

Xiaomi's FAQ sets these rules for HyperOS:

  • Unlock access "is only available to some users", decided by Xiaomi's review.
  • Only Xiaomi accounts registered outside mainland China can apply, and only for non-mainland devices.
  • The Xiaomi Community app is the only official way to apply. Xiaomi warns against any other unlock tool or service.
  • Permission expires. If it lapses, you apply again.
  • One account can unlock up to three devices.
  • A phone with a valid SIM must be bound to the account in Developer options, and you then wait before the unlock tool will work.

Other reporting adds detail that Xiaomi doesn't spell out the same way. A February 2026 Notebookcheck article says the account must be at least 30 days old, that Xiaomi hands out a limited number of approvals each day from 12:00 China time, and that it saw a one-device limit per account, which conflicts with the FAQ's three. In 2023 GSMArena reported that Chinese HyperOS users must reach level 5 on Xiaomi's Chinese forum before they can unlock. The waiting period after binding is commonly reported as 168 hours (7 days), sometimes longer. Expect the details to shift, and check the Community app for your account.

If your phone is a mainland China model and you have no Chinese account that meets the forum requirement, assume it cannot be unlocked. Do not use paid unlock services or tools that claim to skip the wait.

Steps

  1. Back up the phone. On recent models, unlocking wipes it.
  2. Sign in to a global Xiaomi account on the phone, with a SIM inserted and mobile data available.
  3. In the Xiaomi Community app, apply for unlock permission and wait for approval.
  4. Turn on Developer options (tap the OS version in About phone seven times). Turn on OEM unlocking and USB debugging.
  5. In Developer options → Mi Unlock status, bind the account to the device. The waiting period starts. Keep the phone online and signed in to the same account; signing in with another account restarts the clock.
  6. When the wait is over, power off and hold volume down and power to enter fastboot.
  7. On a Windows PC, open Xiaomi's Mi Unlock tool, sign in with the same account, connect the phone and tap Unlock. It wipes and reboots.

Root with Magisk

  1. Download the fastboot ROM for your exact model, region and HyperOS build, and extract init_boot.img (newer models) or boot.img (older ones). Keep a copy on your computer.
  2. Install Magisk, check the Ramdisk field on its home screen, then Install → Select and Patch a File.
  3. Pull the patched image back and flash it from fastboot.
  4. Reboot and open Magisk to finish setup.
adb pull /sdcard/Download/magisk_patched-<random>.img
adb reboot bootloader
fastboot flash init_boot magisk_patched.img   # or: fastboot flash boot ...
fastboot reboot
Flash the image type your model uses.

Updates

In 2023 Xiaomi said phones with an unlocked bootloader would not receive HyperOS updates over the air until relocked, as GSMArena reported. Plan to update by hand: download the new full ROM, patch its init_boot or boot, and flash it. Always patch from the build you are moving to.

What you lose

  • Warranty: Xiaomi's FAQ says unlocking invalidates the official warranty and may affect future service.
  • Your account, if misused: the FAQ warns that using an unlocked phone for "unusual purposes" can get the Xiaomi account blocked.
  • Strong Play Integrity. Google's MEETS_DEVICE_INTEGRITY verdict needs hardware proof of a locked bootloader on Android 13 and later, and MEETS_STRONG_INTEGRITY builds on it (Play Integrity verdicts). Some banking, payment and streaming apps check this and refuse to run.
  • Painless updates. Every system update replaces the boot image and removes root. You re-patch the new image each time.
  • Some security. Any app you grant root can read everything on the phone. Use a phone dedicated to the job and grant root only to apps you trust.

How to unroot

  1. Flash the stock init_boot.img or boot.img you saved, or use Uninstall Magisk in the app.
  2. To go fully stock, flash the full fastboot ROM with Xiaomi's flashing tool. A clean flash wipes the phone.
  3. Relock only on fully stock firmware from the correct region. Relocking on the wrong region's firmware can leave the phone unusable.

After root: turn it into a bot phone with Pocket

Once the Xiaomi is rooted, install Pocket and open Account → Voice → Own SIM. It shows whether the phone is rooted. Grant Pocket root in Magisk when asked, then flash the Pocket call-audio module in Magisk and reboot. From then on the bot hears and speaks on calls on your own SIM with no adapter, reads WhatsApp messages Android hides as "sensitive", and can take messages as a voicemail box. The full list of what root unlocks is in Phone control → Root mode.

We wrote up what broke when we kept a phone rooted through updates, and the fix for each, in Rooting a phone so a bot can work on it all day. If you would rather not root at all, Pocket Link is a small adapter that gives the bot your own number on an unrooted phone.

RootAndroidPhoneGuideXiaomi

Try it on your own number

Thirty minutes of agent time free, no card.

Keep reading