Requirements:Hello, everyone.
I made a mistake when updating the ROM on my Xiaomi 12.
I had already updated my phone with the stable version. The updater kept saying that an update was available, but it never downloaded.
So I searched for the version number it was reporting (1.0.9) and believed that there would be no other ROM with the same version. I ended up finding this one: https://hyperosupdates.com/hyperos/cupid/version/OS1.0.13.0.ULCEUXM, which would be more up-to-date, by the way.
The update was done via FASTBOOT, but the device no longer started. So I went back to the stable version available here on the forum and the device started again, but extremely slowly and with some bugs. That's when I formatted the DATA partition, to try to get it back to normal. Almost everything went back to normal, but the camera, for example, no longer works.
I cleared CACHE and DALVIK, but it didn't work. What else can I try to do to fix this?
- Your device's bootloader must be unlocked.
- Download Xiaomi.eu ROM zip file
- Extract the ROM zip to a new folder
- Power off your device
- Boot your device in Fastboot mode (Hold volume down + power buttons)
- Connect to PC via USB cable
- Run one of the installation scripts (according to your PC operating system):
- install_and_format_data (or first_install_with_data_format) - with data wipe, if you're flashing Xiaomi.eu ROM for the first time or downgrading.
- install_upgrade (or update_rom) - without data wipe, if you're updating from an older Xiaomi.eu ROM. - Done!
(TWRP must be installed with Fastboot mode)
- Download Xiaomi.eu ROM zip file
- Reboot to TWRP
- If installing for the first time or downgrading: Wipe -> Format Data
- Copy the ROM zip file to the internal storage
- Install -> Select the ROM zip file
- Reboot to system
- Done!
(A Xiaomi.eu ROM and TWRP must already be installed on your device)
- Download Xiaomi.eu ROM zip file
- Copy the ROM zip file to the internal storage
- Updater -> Menu (...) -> Select update package
- Select the ROM zip file
- Confirm any dialogs
- Done!
If you are going from HyperOS Weekly ROM to HyperOS Stable ROM, you are doing a downgrade, so format data is mandatory!