Xiaomi Mi 11 Lite 5G - flashing

Prerequisites

The flashing itself

  1. Flash boot and vendor_boot:
    • fastboot flash boot boot.img
    • fastboot flash vendor_boot vendor_boot.img
    • fastboot flash dtbo dtbo.img
  2. Reboot to recovery by holding volume up and power buttons until you see Mi logo on your screen
  3. Go to "Apply update", followed by "Apply from ADB"
  4. Now sideload the ROM:
    • adb sideload ROM.zip
    You can also drag ROM zip file into your terminal window, instead of typing the full name/path to file
  5. After the rom, firmware should be flashed:
    • adb sideload firmware.zip
    You don't have to flash firmware every time you flash the ROM, unless the maintainer says so. As long as you stay on AOSP, you are good.
  6. If it's your first time flashing the ROM, it's highly advised to format data. To do so, go to "Factory reset", followed by "Format data/factory reset".

If you have any additional questions, feel free to ask in telegram group!