So, congratulate, I got)
Do the following (for the type mi 5x "tissot"):
1) According toinstructions
with the command "fastboot getvar product" determine the type of product (you will need a computer with Windows). I got tissot.
Xiaomi Mi 5X Latest China Stable Version Fastboot File Download, and press to start the firmware download
3) Extract the firmware archive using 7-zip. And, surprisingly, the first tar will extract a file, then the file is unpacked again unpack 7-zipom. "We packed up the file in the archive, so you can unpack the archive, unpack until" :)
4) Download thehere
archive platform_tools.rar, unzip the folder on the C drive, and inside this folder put the extracted files and folders firmware
5) Open the file with notepad flash_all.bat (better notepad ++) and remove the first line (see the word tiffany)
6) Run the file flash_all.bat, the phone naturally must be connected to the PC in fastboot mode. Should start a command prompt and go to some that dvizhuha on the screen (do not know how to call this process properly, can "fill flash").
7) After completing the screen itself will be closed, and the phone will reboot. Will be loaded for a long time, since this is the first launch of miui, so be patient.
About the "dancing with tambourines" flexible1126 user to lock the bootloader until you began to understand. Even I do not understand what the "loader lock" so, to be honest)
Incidentally, the transfer from miui 8.5 to 9 is like, see what happens
upd: shuttle service was excellent, although not all applications were transferred.Post has been editedtemalover - 26.12.17, 16:30