Short answer: you can go back from HyperOS 4 to HyperOS 3 only with a Fastboot ROM and an unlocked bootloader, and the phone is wiped in the process. Before you flash anything, check that the HyperOS 3 ROM’s anti-rollback (ARB) index isn’t lower than your phone’s. If it is, the downgrade can hard-brick the phone. The built-in updater (three dots → Choose update package) won’t install an older build: Xiaomi itself says there is no way back to HyperOS 3 through the update menu, only a full reflash from a PC or at a service center, which erases everything.
Never delete the anti-rollback lines from flash_all.bat and never flash an older ROM through TWRP or OrangeFox: those are the steps that actually brick phones. Use the ROM of the region your phone runs now, and never a China (CN) ROM on a Global, EEA or India phone. If Mi Flash stops with “mix flash is not allowed” or an anti-rollback error, stop there and don’t edit the script. Some forum instructions tell you to delete the top block of flash_all.bat when you see this error; that block holds both the codename check and the anti-rollback check, and removing it only switches off the script’s safety stop.
Before you start: should you downgrade?
Many early HyperOS 4 problems are fixed within weeks. Xiaomi is already working through a list of known bugs (see what Xiaomi is fixing in HyperOS 4). If your phone runs a Pilot build, a later stable build often fixes the worst issues. Downgrade only if a bug blocks you every day (calls, banking app, camera) and you accept a full wipe.
You’ll need:
- An unlocked bootloader. Unlocking also wipes the phone, and Xiaomi’s waiting period applies: see how to unlock the bootloader on HyperOS. Xiaomi has closed official unlocking for China-market phones. Unofficial exploits exist for some models, at your own risk, and a phone unlocked that way needs extra steps before it can be relocked.
- A Windows PC with ADB & Fastboot, the Xiaomi USB drivers and Mi Flash Tool. If Mi Flash shows driver errors, use Driver → Reinstall in Mi Flash, try another USB port or cable, and on AMD Ryzen PCs connect through a USB hub.
- The last HyperOS 3 Fastboot ROM for your region (a
.tgzfile). You’ll find it on your phone’s page in our firmware hub. Not sure which region you have? Paste your version into the version decoder.
Step 1: Back up
Everything on the phone is erased. Back up photos and files to a PC or cloud storage, and export chats from WhatsApp or Telegram separately. Don’t count on restoring a local backup made on HyperOS 4 after the downgrade: copy your files off the phone and treat app data as lost.
Step 2: Check anti-rollback
- Boot into Fastboot (Power + Volume Down) and connect the phone.
- Run
fastboot getvar anti. The number is your phone’s current ARB index. If the command returns nothing, also runfastboot getvar alland look for arollback verline (used on a few older models such as the Redmi 6 Pro). If neither shows a number, the phone doesn’t use the index. - Extract the HyperOS 3 ROM and open
images\anti_version.txt. It holds one number: the ROM’s anti-rollback index. (Only old MIUI ROMs without this file have it inflash_all.batasset CURRENT_ANTI_VER=.) Best target: if your phone got late HyperOS 3 builds on the same Android version as HyperOS 4 (the Xiaomi 17 got3.0.337.0.XPCMIXMon Android 17), use that one. 4PDA users downgraded the Xiaomi 17 from HyperOS 4 to 3.0.337.0 this way. - The ROM’s number must be equal to or higher than the phone’s. If it’s lower, stop: that ROM can’t be installed safely.
Full explanation with examples: Xiaomi anti-rollback: check the index before you downgrade.
Step 3: Flash HyperOS 3 with Mi Flash
- Extract the
.tgzwith 7-Zip to a short path without spaces or non-Latin characters, for exampleC:\rom. - Recommended: delete
flash_all_lock.batfrom the extracted folder, so you can’t relock the phone by accident. - Open Mi Flash, click Select and choose the extracted folder (the one with
flash_all.batin it). - Click Refresh. Your phone should appear with its serial number.
- At the bottom, choose Clean all. Never choose Clean all and lock for a downgrade. On the Xiaomi 17, 4PDA users found that relocking on HyperOS 3 after HyperOS 4 fails with “The system has been destroyed”. And if a locked phone won’t boot, Fastboot can’t fix it: you’d have to go through Mi Unlock again (if the phone still reaches Fastboot and your account is allowed to unlock) or pay for an EDL repair.
- Click Flash and wait for “success” (5–10 minutes). The first boot can take another 10 minutes.
Command-line alternative: copy the platform-tools files (fastboot.exe and its DLLs) into the ROM folder, put the phone in Fastboot and run flash_all.bat. It does the same as “Clean all”. If the window closes immediately, open cmd, cd to the folder and run the script from there.
Step 4: After the downgrade
- Turn off Download automatically and Update automatically (Settings → About phone → tap the Xiaomi HyperOS card → ⋮ → Update settings), or the phone may download HyperOS 4 again. Our guide on how to disable HyperOS updates also shows how to hide the update notification.
- Don’t relock after this downgrade. On the Xiaomi 17, 4PDA users found that relocking on HyperOS 3 after HyperOS 4 fails with “The system has been destroyed”, and locking only worked again once HyperOS 4 was back. In general, relock only on an unmodified official ROM that matches the hardware: a China ROM on a China phone, or any international ROM (Global, EEA, Russia, India…) on an international phone. If you unlocked with an unofficial exploit, run
fastboot erase efispbeforefastboot oem lock. - When a fixed HyperOS 4 build comes out, you can update normally again. Our HyperOS 4 tracker shows new builds for every region.
FAQ
Can I downgrade from HyperOS 4 without unlocking the bootloader?
No. Xiaomi says there’s no rollback through the update menu: going back to HyperOS 3 needs a reflash from a PC (which requires an unlocked bootloader) or a service center, and it erases the phone.
Will I lose my data?
Yes. Both unlocking the bootloader and flashing the Fastboot ROM with “Clean all” erase the phone completely.
Does HyperOS 4 raise the anti-rollback index?
On some models a new major version raises it, on others it doesn’t. That’s why you have to check both numbers for your own phone and ROM before flashing, as described in step 2.
Can I go back to an older HyperOS 3 build instead of the last one?
Pick the newest HyperOS 3 build for your region. Older builds are more likely to have a lower ARB index and, just as important, older security patches.
Sources: 4PDA Xiaomi FAQ by Dima_Apatity (flashing with Mi Flash / Fastboot, anti-rollback mini-FAQ); Xiaomi 17 thread: Alexander-Sergeevich (HyperOS 4 → 3 and relocking), *DEMON_ODESSA13* (efisp); POCO X7 Pro firmware thread (Dead master); POCO F5 Pro thread (relock rules); 4PDA news on Xiaomi’s HyperOS 4 rollback warning.
Xiaomi firmware & news on Telegram
New firmware, HyperOS 4 rollout updates, guides and Xiaomi news, all in one channel.

