Xiaomi Mi 8 Lite (xiaomi-platina)

Contributors

 * MollySophia

Bootloader Unlocking
Like other Xiaomi devices, the user will have to acquire the bootloader unlock key: https://en.miui.com/unlock

The device will not unlock if the device isn't 7 days old (from the time when your device connects to internet and powered on, and linked with Mi Account)

Recovery mode

 * Turn the device off (or restart also works)
 * Hold and  button
 * Once you feel vibration and phone turns on, release button
 * Keep holding until you get to recovery.

Flashing (Download, Fastboot) mode

 * Same as recovery, but this time hold the and  keys.

Installation
pmbootstrap install pmbootstrap flasher flash_kernel pmbootstrap flasher flash_rootfs pmbootstrap flasher flash_vbmeta
 * Install pmbootstrap first on your PC
 * zap & reinit pmbootstrap, choose  as a device
 * proceed with installation as usual: reboot device to fastboot mode, then:

And then fastboot reboot