-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f4e2a9
commit f9cf02e
Showing
18 changed files
with
631 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,29 @@ | ||
if "%service_auth%"=="0" goto skipauth | ||
:precaution_for_mtk_device | ||
fb2 oem getBootloaderType 2>&1 | findstr service > nul | ||
if "%errorlevel%"=="0" fb2 oem getRootStatus 2>&1 | findstr Disable > nul | ||
if "%errorlevel%"=="0" call call_auth.cmd | ||
:skipauth | ||
|
||
if "!target:~0,8!"=="userdata" ( | ||
echo %t0038% "fastboot -w"... | ||
if %verbose_mode%==1 ( | ||
echo. | ||
fastboot -w | ||
echo. | ||
) else ( | ||
fastboot -w 1>nul 2>nul | ||
) | ||
goto eof | ||
) | ||
|
||
echo %t0038% "fastboot format !target!"... | ||
if %verbose_mode%==1 ( | ||
echo. | ||
fastboot format !target! | ||
echo. | ||
) else ( | ||
fastboot format !target! 1>nul 2>nul | ||
) | ||
) | ||
|
||
:eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fb2 oem getsecurityversion 2>&1 | findstr FAILED > nul | ||
if not %errorlevel%==0 ( | ||
echo [93m=== %t0077% ===[0m | ||
echo. | ||
echo hmdsw > %temp%\hmdsw_flag | ||
) | ||
:eof |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.