Xiaomi Mi 5X (xiaomi-tiffany)

How to enter flash mode

 * Stock Fastboot: Power on the device with both and  buttons
 * lk2nd Fastboot: Power on the device. After it vibrates, hold


 * Recovery: Power on the device with both and  buttons

Installation
Xiaomi Mi 5X can have 4 codenames: (Primary codename),  (A device created at the Xiaomi factory in Beijing "Exclusively" for the Chinese market),  (Although it is Mi A1, but also Mi 5X are found with the same codename. Most likely it is Mi A1, but the a/b structure was changed to a only, and miui from Mi 5X was also installed. But it could also be Mi 5X (tiffany), but with a flashed bootloader from Mi A1),  (A device with firmware from the seller (more often from Vietnam) with an unlocked bootloader and a "surprise" in the form of a bootloader from Xiaomi Mi Max2 under the nickname Oxygen).

Mainline
Look at Xiaomi Mi A1 (xiaomi-tissot) status

See also: MSM8953 mainlining status

Serial debugging (UART)
See also: Serial debugging