Hey guys,
The Xiaomi Mi A3 (laurel_sprout) is exactly the Xiaomi Mi CC9e (laurus) with the only difference being the Mi CC9e runs MIUI while the Mi A3 runs on stock Android.
Thanks to Project Treble developed by Google, the two devices now have the ability of converting to each other. In previous versions of Android, devices that didn't support A/B updates could mount the system image under the /system directory. In Android Pie, the root of the system image is mounted as the root of the device.
Xiaomi Mi CC9e has been used the partition layout called "system-as-root" which means we could flash a A/B system image into it, while Xiaomi Mi A3 has been used typical A/B slot partition layout.
Now let's get rid of MIUI and experience stock Android One based on Android Pie.
Steps:
0. Make sure you have done the three things below.
Your device is Xiaomi Mi CC9e (laurus).
The bootloader of your devices has been unlocked.
The "Find My Phone" function has been disabled.
1. Flash China Developer Edition MIUI
No matter which version of MIUI your device is running, download the latest official China Developer Edition MIUI and update to it. This will update your device firmware.
Full-OTA Rom Download Link (China Developer Edition 20.1.16)
Download the zip file to /sdcard/Download folder, make sure you have already backup important data, make sure you have login MIUI account.
Open Settings-My Device-MIUI version, click the MIUI logo for 5 times, then click the icon in upper right corner, choose "Update from local rom" (or a similar description), locate to /sdcard/Download folder and choose your downloaded rom. The device will update automatically to China Developer Edition MIUI.
2. Flash TWRP Recovery
Download Android SDK Platform-Tools from official Google website or Google Drive. Extract to a folder that does not contain Chinese characters in the path.
Download TWRP Recovery for Xiaomi Mi CC9e from Google Drive, copy to the same folder as above.
Thanks to TWRP Developer: wzsx150
Fully shutdown your Xiaomi Mi CC9e and hold the power and volume - keys simultaneously until you see a fastboot logo on the screen, then connect your phone to the computer.
Open your Windows CMD or Windows Powershell or Linux Terminal or macOS Terminal, use cd command to locate to your extraction folder.
First, type the code below to detect your devices connected to the computer.
Then, type the code below to flash TWRP Recovery to your Xiaomi Mi CC9e.
Then, hold the volume + button and type the code below to reboot to recovery.
Maybe you will see the logo of TWRP Recovery twice, don't worry, just hold the volume + button until you see some blocks. Then click the block named "清除" (Clear) then "清除 Data 数据" (Clear Data), type "yes" and slide to clean your data partition.
Then, type the code below to reboot to recovery.
3. Flash Xiaomi.eu Rom
You can change the language of the TWRP Recovery in the menu named "设置" (Settings) or you can just follow my steps if you don't understand Chinese.
You'd better download the same version of Xiaomi.eu Rom as the China Developer Edition MIUI you have flashed before.
Xiaomi.eu Developer Edition Rom Download Link
Example:
You have flashed China Developer Edition MIUI 20.1.16 in step 1, so you need to download the same version of Xiaomi.eu Rom from here.
Download the zip file to your computer, make sure you have already backup important data of your Xiaomi Mi CC9e.
Transfer the zip file to the phone, then click "安装" (Install) of the TWRP Recovery from the phone, find the zip file you just transferd and click it, silde to flash the Xiaomi.eu Rom.
Don't reboot or shutdown! Just continue.
4. Flash Xiaomi Mi A3 Official Rom
Download Payload_Dumper to the computer and extract to a folder that does not contain Chinese characters in the path.
Download the latest Xiaomi Mi A3 official rom to the computer, extract the payload.bin file to folder named "payload_input" of the extraction folder above.
Full-OTA Rom Download Link (Global Edition V10.3.13.0) (January 2020 Security Patch)
Run payload_dumper.exe until the command window close automatically, copy system.img from the folder named "payload_output" and transfer to the phone.
Click the button named "清除" (Clear) of the TWRP Recovery, just slide to clear data and cache partition, then click "安装" (Install) then "刷入 Image", choose the system.img you have just transfered, select the "System 镜像" (System Image) option, then slide to flash.
After flash system image, click the button named "清除" (Clear) of the TWRP Recovery, just slide to clear data and cache partition.
Don't reboot or shutdown! Just continue.
5. Flash Magisk
You HAVE TO flash Magisk to successfully boot.
Download Magisk V19.4 from official GitHub Release Page, transfer to the phone.
Click "安装" (Install) of the TWRP Recovery from the phone, find the zip file you just transferd and click it, silde to flash Magisk.
DON'T flash Magisk V20.x ! You won't boot successfully.
If you want, you can clear the cache and dalvik cache partition, but DON'T clear data partition after flashing Magisk.
6. Reboot to system
Enjoy your Android One!
The Xiaomi Mi A3 (laurel_sprout) is exactly the Xiaomi Mi CC9e (laurus) with the only difference being the Mi CC9e runs MIUI while the Mi A3 runs on stock Android.
Thanks to Project Treble developed by Google, the two devices now have the ability of converting to each other. In previous versions of Android, devices that didn't support A/B updates could mount the system image under the /system directory. In Android Pie, the root of the system image is mounted as the root of the device.
Xiaomi Mi CC9e has been used the partition layout called "system-as-root" which means we could flash a A/B system image into it, while Xiaomi Mi A3 has been used typical A/B slot partition layout.
Now let's get rid of MIUI and experience stock Android One based on Android Pie.
Steps:
0. Make sure you have done the three things below.
Your device is Xiaomi Mi CC9e (laurus).
The bootloader of your devices has been unlocked.
The "Find My Phone" function has been disabled.
1. Flash China Developer Edition MIUI
No matter which version of MIUI your device is running, download the latest official China Developer Edition MIUI and update to it. This will update your device firmware.
Full-OTA Rom Download Link (China Developer Edition 20.1.16)
Download the zip file to /sdcard/Download folder, make sure you have already backup important data, make sure you have login MIUI account.
Open Settings-My Device-MIUI version, click the MIUI logo for 5 times, then click the icon in upper right corner, choose "Update from local rom" (or a similar description), locate to /sdcard/Download folder and choose your downloaded rom. The device will update automatically to China Developer Edition MIUI.
2. Flash TWRP Recovery
Download Android SDK Platform-Tools from official Google website or Google Drive. Extract to a folder that does not contain Chinese characters in the path.
Download TWRP Recovery for Xiaomi Mi CC9e from Google Drive, copy to the same folder as above.
Thanks to TWRP Developer: wzsx150
Fully shutdown your Xiaomi Mi CC9e and hold the power and volume - keys simultaneously until you see a fastboot logo on the screen, then connect your phone to the computer.
Open your Windows CMD or Windows Powershell or Linux Terminal or macOS Terminal, use cd command to locate to your extraction folder.
First, type the code below to detect your devices connected to the computer.
Code:
fastboot devices
Code:
fastboot flash recovery TWRP_Recovery_for_laurus.img
Code:
fastboot reboot
Then, type the code below to reboot to recovery.
Code:
adb reboot recovery
You can change the language of the TWRP Recovery in the menu named "设置" (Settings) or you can just follow my steps if you don't understand Chinese.
You'd better download the same version of Xiaomi.eu Rom as the China Developer Edition MIUI you have flashed before.
Xiaomi.eu Developer Edition Rom Download Link
Example:
You have flashed China Developer Edition MIUI 20.1.16 in step 1, so you need to download the same version of Xiaomi.eu Rom from here.
Download the zip file to your computer, make sure you have already backup important data of your Xiaomi Mi CC9e.
Transfer the zip file to the phone, then click "安装" (Install) of the TWRP Recovery from the phone, find the zip file you just transferd and click it, silde to flash the Xiaomi.eu Rom.
Don't reboot or shutdown! Just continue.
4. Flash Xiaomi Mi A3 Official Rom
Download Payload_Dumper to the computer and extract to a folder that does not contain Chinese characters in the path.
Download the latest Xiaomi Mi A3 official rom to the computer, extract the payload.bin file to folder named "payload_input" of the extraction folder above.
Full-OTA Rom Download Link (Global Edition V10.3.13.0) (January 2020 Security Patch)
Run payload_dumper.exe until the command window close automatically, copy system.img from the folder named "payload_output" and transfer to the phone.
Click the button named "清除" (Clear) of the TWRP Recovery, just slide to clear data and cache partition, then click "安装" (Install) then "刷入 Image", choose the system.img you have just transfered, select the "System 镜像" (System Image) option, then slide to flash.
After flash system image, click the button named "清除" (Clear) of the TWRP Recovery, just slide to clear data and cache partition.
Don't reboot or shutdown! Just continue.
5. Flash Magisk
You HAVE TO flash Magisk to successfully boot.
Download Magisk V19.4 from official GitHub Release Page, transfer to the phone.
Click "安装" (Install) of the TWRP Recovery from the phone, find the zip file you just transferd and click it, silde to flash Magisk.
DON'T flash Magisk V20.x ! You won't boot successfully.
If you want, you can clear the cache and dalvik cache partition, but DON'T clear data partition after flashing Magisk.
6. Reboot to system
Enjoy your Android One!
Attachments
-
109.5 KB Views: 1,241
-
81.3 KB Views: 1,258
-
70.5 KB Views: 1,227
-
81 KB Views: 1,091