[Redmi Note 8 Pro Guides, News, & Discussion] Agent_fabulous:
Reserved

CFW Migration Steps

Coming from MIUI

Method 1

- Downgrade to MIUI Android 9 if not already, or try using Method 2

- Flash preloader and lk as mentioned in first post

- Flash any non-CFW Android 9 recovery

- Boot into recovery

- Wipe system, cache, dalvik

- Flash CFW, CFW compatible ROM (flash GApps mods later! :) )

- Format data (not wipe, select "Format Data", you'll lose all userdata)

- Reboot to bootloader

- Flash CFW recovery

- Reboot! You're now on CFW!

Method 2 Try at own risk!*

- Flash a non-CFW A10 recovery from fastboot (such as LR TWRP for MIUI A10)

- Boot directly into recovery by holding [Volume +] after flashing and rebooting

- (Optional) For safety sake, select Advanced option "Close AVB 2.0"

- Take a full nandroid backup (IMPORTANT! Will be helpful if lost IMEI)

- Turn off "Reboot after installing ROM" from TWRP settings

- Wipe system, dalvik and cache

- Flash CFW and a CFW compatible ROM (flash GApps and mods later! :) )

- Format data (not wipe, select "Format Data", you'll lose all userdata)

- Reboot to bootloader from the Reboot menu

- Flash CFW recovery

- Reboot! You're now on CFW!

*NOTE: This method has worked for each everyone who has tried it and followed correctly, so far. The idea for this method was mine, but I personally have not tried it myself. It will particularly be useful if you're using MIUI A10 and are on a limited data plan ;)

Coming from non-CFW Custom ROMs

- Make sure preloader and LK are installed (see first post)

- Boot into recovery

- Wipe system, cache, dalvik

- Flash CFW, CFW compatible 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 CFW-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 :D

Android 11

Changes

- Update to MIUI 12 blobs and fw images

- Prebuilt vendor image for A11

- Fully enforced and vendor isolation enabled

Coming from A10 CFW

- Flash "CFWv3+vendor" package followed by the ROM.

Note: You don't need to flash the "CFWv3+vendor" package more than once when switching to other A11 ROMs, unless you have gone back to A10.

Coming from MIUI

- Follow instructions above to CFW, just use A11 CFW and A11 ROM instead

Going back to A10 CFW

- Flash CFWv2 along with your A10 ROM.

Going back to MIUI

- Fastboot flash full MIUI ROM

Note 1: Do not wipe vendor on A11. If you do, you'll have to reflash the "CFWv3+vendor" package to have a functional device.

Note 2: On VNDK30 A11 builds, you may wipe vendor, since the builds ship with a vendor image. :)

CFW Downloads

Android 11 (CFWv4) For VNDK-30 builds only! (is the same as CFWv2.1, but version changed to avoid confusion ;))

- begoniain: https://sourceforge.net/projects/begonia-oss/files/CFW/begoniain-A11-CFW_20210105.zip/download

- begonia: https://sourceforge.net/projects/begonia-oss/files/CFW/begonia-A11-CFW_20210105.zip/download

Android 11 (CFWv3+vendor)

- begoniain: https://sourceforge.net/projects/be...egoniain-A11-CFW-vendor-20201026.zip/download

- begonia: https://sourceforge.net/projects/begonia-oss/files/CFW/begonia-A11-CFW-vendor-20201026.zip/download

Android 10 (CFWv2)

- begoniain: https://sourceforge.net/projects/begonia-oss/files/CFW/begoniain-A10-CFW_20200823.zip/download

- begonia: https://sourceforge.net/projects/begonia-oss/files/CFW/begonia-A10-CFW_20200823.zip/download

CFW Supported Recoveries

- Unofficial TWRP

- Anything else marked with "[CFW]"

CFW Supported ROMs and kernels

- Pretty much everything active, at this point lol

The latest non-CFW Unofficial TWRP can be found on AFH, on my thread (see last line on post) and in the Telegram group as note "#twrp-non-cfw-for-roms"

Troubleshooting

IMEI lost (requires full TWRP backup of MIUI when IMEI was present!):

From a full TWRP backup, restore the following partitions:

- nvcfg

- nvdata

- nvram

- persist

- protect_f

- protect_s

Reboot and check! IMEI should be back :highfive:

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 something like a "motherboard replacement", show them this section of the post and tell them it's a software issue. Given the nature of such a new and 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.

If you as the technician are wondering why you should trust a random person on the internet, here's why: I received the device from XiaoMi India, as part of their developer program and have been reversing things on it for the past 6+ months. I have been through 3 hard-bricks and have helped multiple service centers diagnose the device correctly and having them fix my own device too.

The following "Booting different modes" is obsolete in CFWv2! Latest CFW menus behave like MIUI.

Booting different modes:

The key combinations on factory bootloader are a little different:

- Power + Vol Up:

This loads a menu. You can change between different boot modes with volume up and select the mode with volume down.

- Power + Vol 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

According to a user on Telegram, here's what the menu translates to:

The title is Factory Mode
The first is automatic testing
The second is manual test
The third is a single test
The fourth is the test report
The fifth is debugging test items
The sixth is to clear emmc
The seventh is version information
The eighth is to restart the mobile phone.