Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Flashing LOS on Cupid
- Xiaomi 12 LOS 20 ROM flashing
- Prerequisites:
- Your bootloader must be unlocked.
- You should use latest platform tools on Windows. https://dl.google.com/android/repository/platform-tools-latest-windows.zip
- Your device should be charged above 50%. Well, it doesn't have to be, but this is just for your phones safety.
- Download all required files - ROM, boot, vendor_boot, dtbo and recovery.
- Make a proper backup if needed and push it to another storage.
- First steps:
- After you have unlocked the bootloader, device will reboot automatically. Finish the setup, enable developer settings and finally enable USB-Debugging in developer settings.
- In Windows open the folder in which you have unzipped the platform tools.
- Hold left shift and press right click
- click "open powershell window here"
- Type in Terminal for example "adb devices" and grant the permissions for this PC on your device.
- Reboot your device to fastboot and connect it with your PC.
- The flashing procedure:
- Flash boot, vendor_boot, dtbo and recovery:
- Type in Windows Terminal:
- fastboot flash boot lineage-20-20230128-UNOFFICIAL-cupid-boot.img
- fastboot flash vendor_boot lineage-20-20230128-UNOFFICIAL-cupid-vendor_boot.img
- fastboot flash dtbo_ab lineage-20-20230128-UNOFFICIAL-cupid-dtbo.img
- fastboot flash recovery lineage-20-20230128-UNOFFICIAL-cupid-recovery.img
- and finally
- fastboot reboot recovery or
- reboot to recovery by holding volume up and power buttons until you see Mi logo on your screen (on device).
- In LOS recovery:
- do a factory reset first
- go to "Factory reset" and perform "Format data / Factory reset"
- all data will be erased. Then....
- go to "Apply update", followed by "Apply from ADB"
- First sideload the MIUI 14 firmware, if you're not coming from MIUI 14 :
- type in Windows Terminal
- adb sideload fw_cupid_miui_CUPID_V14.0.4.0.TLCCNXM_ac05f40933_13.0.zip
- Then sideload the ROM itself :
- adb sideload
- lineage-20-20230128-UNOFFICIAL-cupid.zip
- You can also drag ROM zip file into your terminal window, instead of typing the full name/path to file.
- When finished, reboot simply your device.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement