Loading windows/install-recovery.bat +2 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,8 @@ set "TWRP_IMAGE_PATH=%1" if not defined TWRP_IMAGE_PATH ( if not defined %TWRP_IMAGE_PATH ( exit /b 101 ) heimdall flash --RECOVERY %TWRP_IMAGE_PATH --no-reboot heimdall flash --RECOVERY %TWRP_IMAGE_PATH% --no-reboot windows/wait-download.bat +0 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ if errorLevel 1 ( goto :heimdall_detect ) call heimdall_detect timeout 5 >nul windows/wait-reboot.bat +2 −13 Original line number Diff line number Diff line Loading @@ -28,16 +28,5 @@ set "DEVICE_ID=%1" if not defined %DEVICE_ID ( exit /b 10) adb devices | findstr recovery | findstr %DEVICE_ID% > nul if %errorlevel==1 ( exit /b 101 ) :while_loop adb devices | findstr recovery | findstr %DEVICE_ID% > nul echo %errorLevel% if not errorlevel 1 ( timeout 1 >nul goto :while_loop ) else ( echo "device nod in recovery anymore" ) adb -s %DEVICE_ID% wait-for-device if %errorlevel%==1 ( exit /b 101 ) Loading
windows/install-recovery.bat +2 −2 Original line number Diff line number Diff line Loading @@ -26,8 +26,8 @@ set "TWRP_IMAGE_PATH=%1" if not defined TWRP_IMAGE_PATH ( if not defined %TWRP_IMAGE_PATH ( exit /b 101 ) heimdall flash --RECOVERY %TWRP_IMAGE_PATH --no-reboot heimdall flash --RECOVERY %TWRP_IMAGE_PATH% --no-reboot
windows/wait-download.bat +0 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,6 @@ if errorLevel 1 ( goto :heimdall_detect ) call heimdall_detect timeout 5 >nul
windows/wait-reboot.bat +2 −13 Original line number Diff line number Diff line Loading @@ -28,16 +28,5 @@ set "DEVICE_ID=%1" if not defined %DEVICE_ID ( exit /b 10) adb devices | findstr recovery | findstr %DEVICE_ID% > nul if %errorlevel==1 ( exit /b 101 ) :while_loop adb devices | findstr recovery | findstr %DEVICE_ID% > nul echo %errorLevel% if not errorlevel 1 ( timeout 1 >nul goto :while_loop ) else ( echo "device nod in recovery anymore" ) adb -s %DEVICE_ID% wait-for-device if %errorlevel%==1 ( exit /b 101 )