[Xiaomi Mi 11 Lite 5G] rayman95:
Hi, first of all, I'm not a dev or else just user who had difficulties to flash GSI on my phone... Was 7 years with a samsung galaxy Note 3, with twrp....So easy to flash....

with the help of @gr0ndpa, thanks to him.....

FLASH GSI​

Now I will explain how to flash easily with files attached

1/ first of all you need a phone and drivers installed, use xiaomi pc suite, unzip and install it

2/ you need to activate USB debug in dev options.

3/ dl adb folder unzip it and put in C

4/ run command and type

cd /adb

5/ then

adb devices

to check if phone recognised

6/

adb reboot bootloader

once in fast boot

7/

fastboot flash vbmeta vbmeta.img

wait finished type to enter in fastbootD

8/

fastboot reboot fastboot

9/

fastboot flash system

LiR 313.XXX.img

you will have a system error, but wait the flash begin in few seconds

at the end wait ok then

10/

fastboot reboot recovery

on stock recover

11/ wipe data and reboot with +/- and PWR

and you're done...

In case you want to flash custom kernel or patched boot image to root with magisk, you have to

12/

adb reboot bootloader

Copy kernel boot image to C drive and rename kernel boot image to boot.img.

13/

fastboot flash boot c:\boot.img

14/

fastboot reboot

In case you want to flash twrp put the file to adb folder and type in fastboot

15/

fastboot boot twrp.img

Downloads for : Xiaomi Mi 11 Lite 5G | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

You can check what I ve done on tuto ss...

if you have some comments, don't hesitate...

I flashed LiR 18.1 rom and very happy with it.....

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++==================================================================================================================================================================================================================++

Flash ROM​

This now how to flash ROM on your device, it's convenient for all roms like LOS, corvus, awaken...

First you need all the proper drivers installed and unlocked bootloader, USB debugging all of that stuff.

Now open up a cmd/terminal , and put the files i sent and the ROM file in the folder from where you're opening the cmd/terminal and connect the phone (you may need to put ./ as an suffix for all the commands if you're on linux)

Type

adb reboot bootloader

Then type

fastboot devices

to see if everything is ok

Then type

fastboot flash boot_ab boot.img

(you can drag and drop the file instead of typing it)

After that's done type

fastboot flash vendor_boot_ab vendor_boot.img

(you can drag and drop this too if you want)

fastboot flash dtbo dtbo.img

(you can drag and drop this too if you want)

After that's done type

fastboot reboot recovery

This will boot you into a recovery and now you need to go to wipe and format data

After that go to apply update then adb sideload then

In the cmd type

adb sideload rom.zip

for example (you put the ROM zip here you can drag and drop it)

Wait for that to finish it will go to 47% and on the phone it will show step 1/2 then step 2/2

and when it's done it's gonna show an error

adb: failed to read command: No error

Then you can reboot to system