Whith this tools (developed in visual basic 2010) you can make this function on Xiaomi Mi3:
1) adb/fastboot
2) backup/restore device
3) console adb
4) Repartion system1, system2, data, cache
5) Push file
https://mega.co.nz/#!UtMViAAJ!hArkssdJOi7AMeFIpbCqq-MmvK7ivpjfZpECL24R7b0
@linuxx for his great xiaomi tools and for repartion .sh, @regaw_leinad for great dll, @Beatsleigher for his great tutorial and sources, icons are not original but same take from other tools (sorry but i don't remember author)