קוד: |
fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *latte" || echo Missmatching image and device fastboot %* getvar product 2>&1 | findstr /r /c:"^product: *latte" || exit /B 1 fastboot %* flash bootloader bootloader.img || exit /B 1 fastboot %* format cache fastboot %* flash system system.img fastboot %* flash boot boot.img fastboot %* -w fastboot %* reboot |