CFW Migration Step MIUI

Home » , » CFW Migration Step MIUI

CFW Migration

how to cfw migration
What is CFW ?

Coming from MIUI

- Downgrade to MIUI Android 9, if not already
- Flash preloader
- Flash any non-CFW Android 9 recovery
- Boot into recovery
- Wipe system, cache, dalvik
- Flash CFW, CFW compitable ROM (flash GApps here if necessary, flash any extra mods later!)
- Format data (not wipe, slect "Format Data", you'll lose all userdata)
- Reboot to bootloader
- Flash CFW recovery
- Reboot! You're now on CFW!

Coming from non-CFW Custom ROMs

- Make sure preloader and LK are installed (see this post)
- Boot into recovery
- Wipe system, cache, dalvik
- Flash CFW, CFW compitable ROM (flash GApps here if necessary, flash any extra mods later!)
- Format data (not wipe, select "Format Data", you'll lose all userdata)
- Reboot to bootloader
- Flash CFW recovery

Updating CFS-enabled builds on CFW

Since you're already on CFW, just install the update and reboot like any other device:
- Remove lockscreen if any
- Reboot to recovery
- Wipe data, system, cache, dalvik
- Flash ROM (+ GApps if necessary)
- Reboot!

Going back to MIUI from CFW

- Flash full MIUI firmware from SP Flash Tools or fastboot

CFW Download

- CFW begonia
- CFW begoniain

CFW Supported Recoveries

- Unofficial TWRP

CFW Supported ROMs

- POSP v3.1.9+14 and greater
- CesiumOS v2.6.x and greater
- Pixel Experience (and Plus) 2020/06/06 and newer
- SuperiorOS

CFW Supported custom kernels

- Zenitsu Kernel

Troubleshooting

ROM Reboots to recovery after boot logo (no bootanimation):
Usually, this indicates that the device isn't able to setup encryption. You'll also see randomly named files and folders in TWRP. In this case, just Format Data (not wipe), and reboot.

Rescuing the device:
Since CFW is always running factory preloader and bootloader (LK), you can use SP Flash in case something should go wrong.
Assuming you're stuck in some sort of loop/brick while on factory preloader/CFW, here are the EDL modes:
There are 2 modes of "EDL":
- Preloader: Factory preloader will always advertise a download mode when the device is starting, right before the Redmi logo (You may not get a logo if you're bricked, only a blinking LED). You do not need to hold any buttons. Just plug in the device and it'll show up on your computer periodically. Load any Android 9 firmware in SP Flash, uncheck preloader, lk and lk2, connect your device and hit download in SP Flash.

BootROM: If you don't have factory preloader, you will have to flash via BootROM. This requires an authorized account. Unless you have one yourself, you will need to head to a service center to get your device fixed. If you do need to load BootROM download, hit download in SP Flash with the Authorized Account logged in, hold volume up and plug in the device while holding the key. Release the key as soon as your computer recognizes it. SP Flash will start the download.

If you are able to enter this mode yourself, and the service center quotes soomething like a"motherboard replacement", show the this section of the post and tell them it's a software issues. Given the nature of such a new unique device, often even the best make mistakes! If you're a XiaoMi Service Center and a customer has showed this to you, Please try this. The phone will enter BootROM if you hold the keys at the correct time. You do not need to take the phone apart to short any pins. Just login and bind to your special account, hit "Download" in SP Flash and hold the keys for 5-15 seconds with the device plugged in. The software will recognize the device and start flashing.

Booting different modes:

The key combinations on factory preloader and bootloader are a little different:
- Power + Vol Up
boot modes power + volume up
This loads a menu you can change between different boot modes with the volume up and select the mode with volume down.

- Power + Vol Down
boot modes power + volume down
Unlike MIUI, this loads a factory testing menu. Do not open this. If you do load it by accident, hold power button to force reboot.
Use the Power + Vol Up menu for Fastboot.
.
Share this article :