Install DotOS Mojito/Sunny
1. Flash Lineage Recovery .
https://drive.google.com/file/d/1Q9TZFtyOSBezOVc3DXBGQXQCi0hEr6gq/view?usp=sharing
command : fastboot flash boot recovery.img
2. Select "Wipe Option" and select "Format data and Factory Reset"
3. Flash Required FW From - https://xiaomifirmwareupdater.com/firmware/mojito/stable/V12.0.7.0.RKGMIXM/
Command - adb sideload fw_mojito_miui_MOJITOGlobal_V12.0.7.0.RKGMIXM_5a09f57e13_11.0.zip
Note : if you before alredy flash FW, you can skip.
4. Download DotOs Rom - HERE
There are two builds available one is GAPPS and another one is VANILLA. To download the builds go to files section and download your favourite variant there
5. ****Recovery Installation****
Select "Install", and select "from sdcard1", and select file DotOS where you move file folder.
Note : move file ROM to microSd
****ADB Sideload Installation****
Select "Install" and select "Sideload from ADB"
COMMANDS :-
FOR GAPPS - adb sideload dotOS-R-v5.0.1-mojito-GAPPS-UNOFFICIAL-20210504-1406.zip
FOR VANILLA - adb sideload dotOS-R-v5.0.1-mojito-UNOFFICIAL-VANILLA-20210505-0538.zip
(TIP: If the installation process reports the message "(~47%) adb: failed to read the command: No error", do not worry, the process was completed successfully and you can restart the device.)
6. Reboot to System and enjoy
*Note : If after flashing the rom recovery doesn't work or throws error while flashing just reflash the recovery by following the step 1 it will be solved