build factory images for Xiaomi MI2(aries)
build the image for xiaomi MI2(aries) support dload && sdmode
compile cmd ./build.sh
image ouput is ./output
flash the image the the brick device
you need to connect the phone with usb cable .. shortcut the sim slot && passive
./flashtool/flash.sh ./out
./flashtool/flash.sh ./out
when it done ..
plus the cable and put back the battle..