Casper VIA A3316

@echo off

:CHECK_START

sig_parser_windows.exe sbl1.mbn > null

set /A sbl1check=%errorlevel%

sig_parser_windows.exe sbl2.mbn > null

set /A sbl2check=%errorlevel%

sig_parser_windows.exe sbl3.mbn > null

set /A sbl3check=%errorlevel%

sig_parser_windows.exe tz.mbn > null

set /A tzcheck=%errorlevel%

sig_parser_windows.exe rpm.mbn > null

set /A rpmcheck=%errorlevel%

for /f “tokens=2 delims=: ” %%a in (‘fastboot.exe getvar security_boot 2^>^&1 ^| findstr security_boot’) do set security_boot=%%a

echo security_boot=%security_boot%

IF “%security_boot%”==”1” (

echo security device

IF NOT “%sbl1check%”==”0” (goto FAIL_IMAGE_CHECK)

IF NOT “%sbl2check%”==”0” (goto FAIL_IMAGE_CHECK)

IF NOT “%sbl3check%”==”0” (goto FAIL_IMAGE_CHECK)

IF NOT “%tzcheck%” ==”0″ (goto FAIL_IMAGE_CHECK)

IF NOT “%rpmcheck%” ==”0″ (goto FAIL_IMAGE_CHECK)

goto CHECK_OK

:FAIL_IMAGE_CHECK

echo sbl,sbl2,sbl3,tz,rpm image check is %sbl1check%,%sbl2check%,%sbl3check%,%tzcheck%,%rpmcheck%

echo please get right signed image

pause

exit

) ELSE IF “%security_boot%”==”0” (

echo not need security image

) ELSE IF “%security_boot%”==”” (

echo “update aboot”

fastboot.exe flash passport passport_FactoryDLTool

fastboot.exe flash aboot emmc_appsboot.mbn

fastboot.exe reboot-bootloader

ping 127.0.0.1 -n 5 > nul

goto CHECK_START

) ELSE (

echo “please contact sean.su”

pause

exit

)

:CHECK_OK

echo IMAGE CHECK pass for security device

@echo on

fastboot.exe flash passport passport_FactoryDLTool

fastboot.exe flash sbl1 sbl1.mbn

fastboot.exe flash sbl2 sbl2.mbn

fastboot.exe flash sbl3 sbl3.mbn

fastboot.exe flash rpm rpm.mbn

fastboot.exe flash tz tz.mbn

fastboot.exe flash aboot emmc_appsboot.mbn

fastboot.exe oem uart Qoff

fastboot.exe oem ftd Qoff

fastboot.exe reboot-bootloader

ping 127.0.0.1 -n 5 > nul

fastboot.exe flash passport passport_FactoryDLTool

fastboot.exe flash sbl1 sbl1.mbn

fastboot.exe flash sbl2 sbl2.mbn

fastboot.exe flash sbl3 sbl3.mbn

fastboot.exe flash rpm rpm.mbn

fastboot.exe flash tz tz.mbn

fastboot.exe flash aboot emmc_appsboot.mbn

fastboot.exe flash modem NON-HLOS.bin

fastboot.exe flash boot boot.img

fastboot.exe flash recovery recovery.img

fastboot.exe flash system system.img

fastboot.exe flash cache cache.img

fastboot.exe flash persist persist.img

fastboot.exe flash Qlogfilter logfilter.img

fastboot.exe format userdata

fastboot.exe format Qglog

fastboot.exe erase device-info

fastboot.exe reboot

GET Payment FOR LINK DOWNLOAD
NOTE: contact via email [email protected] , i will sent link download for you

More from my site