Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9448754 authored by vince-bourgmayer's avatar vince-bourgmayer
Browse files

update oem-unlock.bat, wait-download.bat and wait-reboot.bat

parent 81861849
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@

heimdall print-pit

if %errorLevel% EQU 1 (
  exit /b 10
)
if %errorLevel==1 ( exit /b 10 )

timeout 5 >nul
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@

:heimdall_detect
heimdall detect >nul 2>&1
if errorLevel EQU 1 (
if %errorLevel==1 (
	timeout 1 >nul
	goto :heimdall_detect
) 
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ set "DEVICE_ID=%1"
if not defined %DEVICE_ID ( exit /b 10)

:device_in_recovery
	adb devices | findstr recovery | grep %DEVICE_ID% 2>&1 >nul
adb devices | findstr recovery | findstr %DEVICE_ID% 2>&1 >nul

if not call :device_in_recovery ( exit /b 101 )