Xiaomi Mi 4c (xiaomi-libra)

Contributors

 * aostanin

Issues

 * (Gnome) Password request dialog covers OnBoard input

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
 * Install pmbootstrap first on your PC
 * zap & reinit pmbootstrap, choose  as a device
 * proceed with installation as usual: reboot device to fastboot mode, then:

Mainline kernel
There is a close-to-mainline kernel fork featuring USB, screen via simplefb and basic core bringup. Find it here.