[AT&T, Rogers HTC One X, Telstra One XL] EvansC:
I am posting my Windows command script that I use on my Evita for various ADB and FastBoot commands. Its not much, but it sure beats manually entering ADB and FastBoot commands.

Q&A

Q: But... There are already Android/HTC/Evita utilities.

A: I know there are already utilities out there, but guess what? I am an old school command line guy :cool: and don't give two $hits if your edit the script to your own liking or share it. :highfive:

Q: How often will you update the script?

A: Say what? That is entirely up to you! The code is below ;) please share your updates here. :angel:

Requirements

Windows XP, 7, 8

Create Command File (Name it what ever you want dot cmd) for example ECs_Evita_Utility.CMD

Create Folder called ADB, and place adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll in the folder.

Create a folder called FB and place fastboot.exe, AdbWinApi.dll, AdbWinUsbApi.dll in the folder.

Run the script! (No admin rights required.)

Version Information

2013.24.8.2

General release.

[size=+2]This script is free to use or edit, and should be used at your own risk![/size]

Now that is out of the way, here is the script :fingers-crossed:

[MENTION=279333]ECHO[/MENTION] Off
Set VSN=ECs Evita Utility 2013.24.8.2
Set CLRW=0C
Set CLRS=0A
Set CLRA=0E
Set CLRF=0B
Set CLRE=03
Set LogFile="%~dp0\Logs\Logfile.log"
Title %VSN%
If Not Exist "%~dp0\Logs" MD "%~dp0\Logs"
Cls
:War
Echo %VSN%
Color %CLRW%
Echo %Date% - %Time% : Warning Menu. >> %LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * Warning use at your own risk! *
Echo * *
Echo **************************************
Echo.
Echo Do you want to continue?
Echo.
Set /P WARV=Press [Y] for Yes and [N] for No: || Set WARV=NothingEntered
If "%WARV%"=="NothingEntered" Goto WAR
If /i "%WARV%"=="Y" Goto STR
If /i "%WARV%"=="N" Goto END
Goto WAR
:STR
Color %CLRS%
Echo %Date% - %Time% : Start Menu. >> %LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Start Menu = *
Echo * *
Echo * *
Echo **************************************
Echo.
Echo What do you want to use?
Echo.
Echo Press [A] for ADB
Echo Press [F] for Fastboot
Echo Press [E] to Exit
Echo.
Set /P STRV=Enter Choice: || Set STRV=NothingEntered
If "%STRV%"=="NothingEntered" Goto STR
If /i "%STRV%"=="A" Goto ADBSS
If /i "%STRV%"=="F" Goto FBS
If /i "%STRV%"=="E" Goto End
Goto STR
:ADBSS
Color %CLRW%
Cls
If not exist "%~dp0\ADB\ADB.exe" Goto ADBW
Echo %Date% - %Time% : Started ADB Server. >> %LogFile%
%~dp0\ADB\ADB.exe start-server
:ADBS
Color %CLRA%
Echo %Date% - %Time% : ADB Menu. >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = ADB Menu = *
Echo * *
Echo * Make sure your Android device *
Echo * debug mode is turned on! *
Echo * *
Echo **************************************
Echo.
Echo What do you want to do?
Echo.
Echo Press [1] to force reboot to Recovery
Echo Press [2] to force reboot to fastboot
Echo Press [3] to backup applications
Echo Press [4] to backup downloads
Echo Press [5] to backup camera photos
Echo Press [6] to backup pictures
Echo Press [7] to install applications
Echo Press [8] to uninstall applications
Echo Press [9] to install ROM
Echo Press [10] to copy to...
Echo Press [S] to go to the Start Menu
Echo Press [C] to force a device check
Echo Press [F] to go to the Fastboot Menu
Echo Press [E] to Exit
Echo.
Set /P ADBV=Enter Choice: || Set ADBV=NothingEntered
If "%ADBV%"=="NothingEntered" Goto ADBS
If "%ADBV%"=="1" Goto ADB1
If "%ADBV%"=="2" Goto ADB2
If "%ADBV%"=="3" Goto ADB3
If "%ADBV%"=="4" Goto ADB4
If "%ADBV%"=="5" Goto ADB5
If "%ADBV%"=="6" Goto ADB6
If "%ADBV%"=="7" Goto ADB7
If "%ADBV%"=="8" Goto ADB8
If "%ADBV%"=="9" Goto ADB9
If "%ADBV%"=="10" Goto ADB10
If /i "%ADBV%"=="S" Goto STR
If /i "%ADBV%"=="C" Goto ADBC
If /i "%ADBV%"=="F" Goto FBS
If /i "%ADBV%"=="E" Goto End
Goto ADBS
:ADBC
Echo %Date% - %Time% : ADB Checking Device State Menu. >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = ADB Check Device State = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Checking Device State. >> "%LogFile%
"%~dp0\ADB\ADB.exe" devices -l >> %LogFile%
"%~dp0\ADB\ADB.exe" devices -l
Echo.
Pause
Goto ADBS
:ADB1
Echo %Date% - %Time% : ADB Force to Recovery Menu. >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = ADB Force to Recovery = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Forcing device to Recovery. >> "%LogFile%
"%~dp0\ADB\ADB.exe" reboot recovery
Goto FBS
:ADB2
Echo %Date% - %Time% : ADB Force to Fastboot Menu. >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = ADB Force to Fastboot = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Forcing device to Fastboot. >> "%LogFile%
"%~dp0\ADB\ADB.exe" reboot bootloader
Goto FBS
:ADB3
Echo %Date% - %Time% : ADB Backup Applications. >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = ADB Backup Applications = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Checking for Applications Folder >> "%LogFile%
If exist "%~dp0\Backup\Applications" Echo %Date% - %Time% : Applications folder does exist. >> "%LogFile%
If not exist "%~dp0\Backup\Applications" Echo Echo %Date% - %Time% : Warning Applications folder does not exist! Creating Applications Folder. >> "%LogFile%
If not exist "%~dp0\Backup\Applications" MD "%~dp0\Backup\Applications"
Echo %Date% - %Time% : Starting Applications Backup. >> "%LogFile%
"%~dp0\ADB\ADB.exe" pull "./system/app" "%~dp0\Backup\Applications"
Echo %Date% - %Time% : Completed Application Backup. >> "%LogFile%
Goto ADBS
:ADB4
Echo %Date% - %Time% : ADB Backup Downloads Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = ADB Backup Downloads = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Checking for Downloads Folder >> "%LogFile%
If exist "%~dp0\Backup\Downloads" Echo Echo %Date% - %Time% : Downloads folder does exist. >> "%LogFile%
If not exist "%~dp0\Backup\Downloads" Echo Echo %Date% - %Time% : Warning Downloads folder does not exist! Creating Downloads Folder. >> "%LogFile%
If not exist "%~dp0\Backup\Downloads" MD "%~dp0\Backup\Downloads"
Echo %Date% - %Time% : Starting Downloads Backup. >> "%LogFile%
"%~dp0\ADB\ADB.exe" pull "./sdcard/downloads" "%~dp0\Backup\Downloads"
Echo %Date% - %Time% : Completed Downloads Backup. >> "%LogFile%
Goto ADBS
:ADB5
Echo %Date% - %Time% : ADB Backup Camera Photos Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = ADB Backup Camera Photos = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Checking for Camera Folder. >> "%LogFile%
If exist "%~dp0\Backup\Camera" Echo Echo %Date% - %Time% : Camera folder does exist. >> "%LogFile%
If not exist "%~dp0\Backup\Camera" Echo Echo %Date% - %Time% : Warning Camera folder does not exist! Creating Camera Folder. >> "%LogFile%
If not exist "%~dp0\Backup\Camera" MD "%~dp0\Backup\Camera"
Echo %Date% - %Time% : Starting Camera Photos Backup. >> "%LogFile%
"%~dp0\ADB\ADB.exe" pull "./sdcard/dcim/camera" "%~dp0\Backup\Camera"
Echo %Date% - %Time% : Completed Camera Photos Backup. >> "%LogFile%
Goto ADBS
:ADB6
Echo %Date% - %Time% : ADB Backup Pictures Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = ADB Backup Pictures = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Pictures for Camera Folder. >> "%LogFile%
If exist "%~dp0\Backup\Pictures" Echo Echo %Date% - %Time% : Pictures folder exist. >> "%LogFile%
If not exist "%~dp0\Backup\Pictures" Echo Echo %Date% - %Time% : Warning Pictures folder does not exist! Creating pictures folder. >> "%LogFile%
If not exist "%~dp0\Backup\Pictures" MD "%~dp0\Backup\Pictures"
Echo %Date% - %Time% : Starting Pictures Backup. >> "%LogFile%
"%~dp0\ADB\ADB.exe" pull "./sdcard/pictures" "%~dp0\Backup\Pictures"
Echo %Date% - %Time% : Completed Pictures Backup. >> "%LogFile%
Goto ADBS
:ADBW
Echo %Date% - %Time% : ADB Warning Menu >> "%LogFile%
Color %CLRW%
Cls
Echo.
Echo *****************************************************
Echo * *
Echo * Sorry ADB.exe does not exist in the ADB directory *
Echo * Please fix this issue before using this feature *
Echo * *
Echo *****************************************************
Echo.
If not exist "%~dp0\ADB\ADB.exe" Echo Echo %Date% - %Time% : Error ADB.exe does not exist! Check the ADB Folder. >> "%LogFile%
pause
Goto STR
:FBS
If not exist "%~dp0\FB\Fastboot.exe" Goto FBW
"%~dp0\FB\Fastboot.exe" continue
Color %CLRF%
Echo %Date% - %Time% : Fastboot Menu. >> %LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot Menu = *
Echo * *
Echo * Make sure your Android device *
Echo * is in Fastboot mode! *
Echo * *
Echo **************************************
Echo.
Echo What do you want to do?
Echo.
Echo Press [1] to unlock device
Echo Press [2] to flash a new boot image
Echo Press [3] to flash a new recovery image
Echo Press [4] to Reboot device to Bootloader
Echo Press [5] to SuperCID device
Echo Press [6] to Set S-Off
Echo Press [7] to Update TP Firmware
Echo Press [8] to Downgrade TP Firmware
Echo Press [9] to Reboot device to OS
Echo Press [S] to go to the Start Menu
Echo Press [A] to go to the ADB Menu
Echo Press [E] to Exit
Echo.
Set /P FBV=Enter Choice: || Set FBV=NothingEntered
If "%FBV%"=="NothingEntered" Goto FBS
If "%FBV%"=="1" Goto FB1
If "%FBV%"=="2" Goto FB2
If "%FBV%"=="3" Goto FB3
If "%FBV%"=="4" Goto FB4
If "%FBV%"=="5" Goto FB5
If "%FBV%"=="6" Goto FB6
If "%FBV%"=="7" Goto FB7
If "%FBV%"=="8" Goto FB8
If "%FBV%"=="9" Goto FB9
If /i "%FBV%"=="S" Goto STR
If /i "%FBV%"=="A" Goto ADBSS
If /i "%FBV%"=="E" Goto End
Goto FBS
:FB1
Echo %Date% - %Time% : Fastboot Unlock Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot Unlock = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Checking for Unlock Folder >> "%LogFile%
If exist "%~dp0\Install\Unlock" Echo Echo %Date% - %Time% : Unlock folder does exist. >> "%LogFile%
If not exist "%~dp0\Install\Unlock" Echo Echo %Date% - %Time% : Warning Unlock folder does not exist! Creating Unlock Folder. >> "%LogFile%
If not exist "%~dp0\Install\Unlock" MD "%~dp0\Install\Unlock"
Echo %Date% - %Time% : Checking for Unlock bin file >> "%LogFile%
If exist "%~dp0\Install\Unlock\Unlock_code.bin" Echo Echo %Date% - %Time% : Unlock bin file does exist. >> "%LogFile%
If not exist "%~dp0\Install\Unlock" Echo Echo %Date% - %Time% : Warning Unlock bin file does not exist! >> "%LogFile%
If not exist "%~dp0\Install\Unlock" Goto FBS
Echo %Date% - %Time% : Starting Unlock. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" flash unlocktoken "%~dp0\Install\Unlock\Unlock_code.bin"
Goto FB3
:FB2
Echo %Date% - %Time% : Fastboot Boot Flash Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot Boot Flash = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Checking for Boot Folder >> "%LogFile%
If exist "%~dp0\Install\Boot" Echo Echo %Date% - %Time% : Boot folder does exist. >> "%LogFile%
If not exist "%~dp0\Install\Boot" Echo Echo %Date% - %Time% : Warning Boot folder does not exist! Creating Boot Folder. >> "%LogFile%
If not exist "%~dp0\Install\Boot" MD "%~dp0\Install\Boot"
Echo %Date% - %Time% : Checking for Boot image file >> "%LogFile%
If exist "%~dp0\Install\Boot\Boot.img" Echo Echo %Date% - %Time% : Boot image file does exist. >> "%LogFile%
If not exist "%~dp0\Install\Boot\Boot.img" Echo Echo %Date% - %Time% : Warning Boot image file does not exist! >> "%LogFile%
If not exist "%~dp0\Install\Boot\Boot.img" Goto FBS
Echo %Date% - %Time% : Starting Boot Flash. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" flash boot "%~dp0\Install\Boot\Boot.img"
Echo %Date% - %Time% : Completed Boot Flash. >> "%LogFile%
Pause
Goto FBS
:FB3
Echo %Date% - %Time% : Fastboot Boot Flash Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot Recovery Flash = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Checking for Recovery Folder >> "%LogFile%
If exist "%~dp0\Install\Recovery" Echo Echo %Date% - %Time% : Recovery folder does exist. >> "%LogFile%
If not exist "%~dp0\Install\Recovery" Echo Echo %Date% - %Time% : Warning Recovery folder does not exist! Creating Recovery Folder. >> "%LogFile%
If not exist "%~dp0\Install\Recovery" MD "%~dp0\Install\Recovery"
Echo %Date% - %Time% : Checking for Recovery image file >> "%LogFile%
If exist "%~dp0\Install\Recovery\openrecovery-twrp-2.5.0.0-evita.img" Echo Echo %Date% - %Time% : Recovery image file does exist. >> "%LogFile%
If not exist "%~dp0\Install\Recovery\openrecovery-twrp-2.5.0.0-evita.img" Echo Echo %Date% - %Time% : Recovery image file does not exist! >> "%LogFile%
If not exist "%~dp0\Install\Recovery\openrecovery-twrp-2.5.0.0-evita.img" Goto FBS
Echo %Date% - %Time% : Starting Recovery Flash. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" flash recovery "%~dp0\Install\Recovery\openrecovery-twrp-2.5.0.0-evita.img"
Echo %Date% - %Time% : Completed Recovery Flash. >> "%LogFile%
Pause
Goto FBS
:FB4
Echo %Date% - %Time% : Fastboot Bootloader Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot Bootloader = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Starting Fastboot boot. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" reboot-bootloader
Echo %Date% - %Time% : Completed Fastboot boot. >> "%LogFile%
Goto FBS
:FB5
Echo %Date% - %Time% : Fastboot SuperCID Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot SuperCID = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Starting SuperCID. >> "%LogFile%
Echo %Date% - %Time% : Writing SuperCID. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" oem writecid 11111111
Echo %Date% - %Time% : Rebooting into Bootloader. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" reboot-bootloader
"%~dp0\FB\Fastboot.exe" continue
Echo %Date% - %Time% : Getting CID Information. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" getvar cid >> "%LogFile%
"%~dp0\FB\Fastboot.exe" getvar cid
Echo.
Echo [It should confirm your CID is 11111111]
Pause
Echo %Date% - %Time% : Rebooting device >> "%LogFile%
"%~dp0\FB\Fastboot.exe" reboot
Echo %Date% - %Time% : Completed SuperCID. >> "%LogFile%
Goto FBS
:FB6
Echo %Date% - %Time% : Fastboot S-Off Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot S-Off = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Checking for Boot Folder >> "%LogFile%
If exist "%~dp0\Install\S-Off" Echo Echo %Date% - %Time% : S-Off folder does exist. >> "%LogFile%
If not exist "%~dp0\Install\S-Off" Echo Echo %Date% - %Time% : Warning S-Off folder does not exist! Creating Boot Folder. >> "%LogFile%
If not exist "%~dp0\Install\S-Off" MD "%~dp0\Install\S-Off"
Echo %Date% - %Time% : Checking for Boot image file >> "%LogFile%
If exist "%~dp0\Install\S-Off\PJ8312000-OneX.zip" Echo Echo %Date% - %Time% : Boot image file does exist. >> "%LogFile%
If not exist "%~dp0\Install\S-Off\PJ8312000-OneX.zip" Echo Echo %Date% - %Time% : Warning Boot image file does not exist! >> "%LogFile%
If not exist "%~dp0\Install\S-Off\PJ8312000-OneX.zip" Goto FBS
Echo %Date% - %Time% : Checking for S-Off file >> "%LogFile%
If exist "%~dp0\Install\S-Off\soffbin3" Echo Echo %Date% - %Time% : Boot image file does exist. >> "%LogFile%
If not exist "%~dp0\Install\S-Off\soffbin3" Echo Echo %Date% - %Time% : Warning Boot image file does not exist! >> "%LogFile%
If not exist "%~dp0\Install\S-Off\soffbin3" Goto FBS

Echo %Date% - %Time% : Starting S-Off. >> "%LogFile%
Echo %Date% - %Time% : Rebooting into RUU. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" oem rebootRUU
Echo.
Echo [Wait for black HTC Screen]
Pause
Echo %Date% - %Time% : Flashing Boot Image. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" flash zip "%~dp0\Install\S-Off\PJ8312000-OneX.zip"
Echo %Date% - %Time% : Wait for FAILED remote: 92 supercid! error. >> "%LogFile%
Echo.
Echo [Wait for FAILED remote: 92 supercid! error]
Pause
Echo %Date% - %Time% : Booting into boot image. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" oem boot
Echo.
Echo [You may see some errors, just wait for the device to boot into Android]
Echo.
Echo %Date% - %Time% : Starting ADB server. >> "%LogFile%
"%~dp0\ADB\ADB.exe" start-server
Echo %Date% - %Time% : Waiting for device. >> "%LogFile%
"%~dp0\ADB\ADB.exe" wait-for-device
Echo %Date% - %Time% : Checking device state. >> "%LogFile%
"%~dp0\ADB\ADB.exe" devices -l >> %LogFile%
"%~dp0\ADB\ADB.exe" devices -l
Echo.
Echo %Date% - %Time% : Uploading file to device. >> "%LogFile%
"%~dp0\ADB\ADB.exe" push "%~dp0\Install\S-Off\soffbin3" /data/local/tmp/
Echo %Date% - %Time% : Changing permissions of file. >> "%LogFile%
"%~dp0\ADB\ADB.exe" shell chmod 744 /data/local/tmp/soffbin3
Echo %Date% - %Time% : Updating security partition >> "%LogFile%
"%~dp0\ADB\ADB.exe" shell su -c "/data/local/tmp/soffbin3"
Echo %Date% - %Time% : Rebooting to bootloader >> "%LogFile%
"%~dp0\ADB\ADB.exe" reboot bootloader
Echo %Date% - %Time% : Completed S-Off >> "%LogFile%
Goto FBS
:FB7
Echo %Date% - %Time% : Fastboot TP Update Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot TP Update = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Starting TP Firmware Update. >> "%LogFile%
Echo %Date% - %Time% : Rebooting into RUU. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" oem rebootRUU
Echo.
Echo [Wait for black HTC Screen]
Pause
Echo %Date% - %Time% : Flashing TP Update Firmware. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" flash zip "%~dp0\Install\HBoot\upgrade_tp.zip"
Echo.
Echo [Wait for Finished]
Pause
Goto ADBSS
:FB8
Echo %Date% - %Time% : Fastboot TP Update Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot TP Downgrade = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Starting TP Firmware Downgrade. >> "%LogFile%
Echo %Date% - %Time% : Rebooting into RUU. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" oem rebootRUU
Echo.
Echo [Wait for black HTC Screen]
Pause
Echo %Date% - %Time% : Flashing TP Downgrade Firmware. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" flash zip "%~dp0\Install\HBoot\downgrade_tp.zip"
Echo.
Echo [Wait for Finished]
Pause
Goto ADBSS
:FB9
Echo %Date% - %Time% : Fastboot Reboot Menu >> "%LogFile%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Fastboot Reboot = *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Starting Reboot. >> "%LogFile%
"%~dp0\FB\Fastboot.exe" reboot
Echo %Date% - %Time% : Completed Reboot. >> "%LogFile%
Goto FBS
:FBW
Echo %Date% - %Time% : Fastboot Warning Menu >> "%LogFile%
Color %CLRW%
Cls
Echo.
Echo *********************************************************
Echo * *
Echo * Sorry Fastboot.exe does not exist in the FB directory *
Echo * Please fix this issue before using this feature *
Echo * *
Echo *********************************************************
Echo.
Echo Echo %Date% - %Time% : Error Fastboot.exe does not exist! Check the Fastboot Folder. >> "%LogFile%
pause
Goto STR
:End
Echo %Date% - %Time% : Killing ADB Server. >> %LogFile%
%~dp0\ADB\ADB.exe kill-server
Color %CLRE%
Cls
Echo.
Echo **************************************
Echo * *
Echo * %VSN% *
Echo * *
Echo * = Exit Menu = *
Echo * *
Echo * Sorry to see you go *
Echo * Thanks for using *
Echo * *
Echo **************************************
Echo.
Echo %Date% - %Time% : Exit Menu. >> %LogFile%
Pause