echo -ne "x0\boot-recovery" > misc.bin
fastboot flash recovery twrp-XXXXX.img
fastboot flash misc misc.bin && fastboot reboot