Clean install
For a first install. You need a computer with the latest Android platform tools, which include adb and fastboot.
-
Back up the phone
A clean install erases everything, internal storage included.
-
Unlock the bootloader
Xiaomi phones don't unlock with a fastboot command. Unlock the bootloader with Xiaomi's Mi Unlock tool, following Xiaomi's steps for your phone, waiting period included, then come back here.
-
Download the build
From the POCO F7 downloads, get the ROM zip and its images:
boot,dtbo,init_boot,recoveryandvendor_boot. -
Boot to fastboot
Power off the phone, then hold Volume down and Power until FASTBOOT shows on the screen, and let go.
-
Flash the images
Run these from the folder with the images. The last line reboots into the RR recovery.
fastboot flash boot boot.img fastboot flash dtbo dtbo.img fastboot flash init_boot init_boot.img fastboot flash recovery recovery.img fastboot flash vendor_boot vendor_boot.img fastboot reboot recovery
-
Sideload the zip
Choose Apply update, then Apply from ADB, and run this on the computer with your file's name:
adb -d sideload ResurrectedRemix-YYYYMMDD-OFFICIAL-onyx.zip
-
Reboot to recovery
When the install finishes, choose Advanced, then Reboot to recovery.
-
Format data
Choose Factory reset, then Format data.
-
Reboot
Choose Reboot system now. The first boot can take a few minutes.
Already on Resurrected Remix? Update instead. Your data stays where it is.