@ECHO off
cls
setlocal
set bct_file=300MHz_Jun21_2.bct
:start
ECHO ======= GT-I9103 Ãâ²ðÐÞ×©³ÌÐò by xiaoyuz =======
ECHO 1. GT-I9103 DEAD REPAIR
ECHO 2. POWER BY SPTBOX.NET
ECHO 5. xiaoyuz 
ECHO 6. QQ:138787777
ECHO 7. Exit
ECHO ================================================
ECHO Current BCT: %bct_file%
ECHO (!)Note: Set the target on the RECOVERY mode.
set choice = '8'
set /p choice=Type the number you want: 
if not '%choice%'=='' set choice=%choice:~0,1%
if '%choice%'=='1' goto bootloader
if '%choice%'=='2' goto bootloader
if '%choice%'=='5' goto bootloader
if '%choice%'=='6' goto bootloader
if '%choice%'=='7' goto exit
ECHO "%choice%" is not valid please try again
ECHO.
goto start
:bootloader
ECHO.
ECHO Flashing fastboot image...
nvflash\nvflash.exe --bct %bct_file% --setbct --configfile android_fastboot_emmc_full_p5_bootonly.cfg --create --bl bootloader.bin --odmdata 0x100C0105 --go
goto end
:exit
ECHO.
ECHO Good-bye!
:end