Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
devices
Easy Installer
Commits
1dc53dc2
Commit
1dc53dc2
authored
Jan 19, 2022
by
Vincent Bourgmayer
🎼
Browse files
update flash-script to flash teracube 2e for windows
parent
d596df04
Pipeline
#158107
passed with stages
in 6 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
flash-scripts/windows/Teracube_2e-install-from-bootloader.bat
View file @
1dc53dc2
...
...
@@ -61,7 +61,7 @@ if not defined %JAVA_FOLDER_PATH (
)
set
FASTBOOT_PATH
=
"
%FASTBOOT_FOLDER_PATH%
fastboot"
set
ADB_PATH
=
"
%FASTBOOT_FOLDER_PATH%
adb"
set
JAR_PATH
=
"
%JAVA_FOLDER_PATH%
/bin/jar"
...
...
@@ -93,12 +93,6 @@ if errorLevel 1 ( exit /b 12 )
ping 127.0.0.1 -n 1 -w 10000 >NUL
echo "
Flashed
boot
"
%FASTBOOT_PATH%
-s
%DEVICE_ID%
flash recovery recovery.img
if errorLevel 1 ( exit /b 13 )
ping 127.0.0.1 -n 1 -w 10000 >NUL
echo "
Flashed
recovery
"
%FASTBOOT_PATH%
-s
%DEVICE_ID%
flash vbmeta vbmeta.img
if errorLevel 1 ( exit /b 14 )
...
...
@@ -138,4 +132,17 @@ if errorLevel 1 ( exit /b 20 )
ping 127.0.0.1 -n 1 -w 10000 >NUL
echo "
Flashed
vendor
"
%ADB_PATH%
-s
%DEVICE_ID%
reboot bootloader
if errorLevel 1 ( exit /b 20 )
ping 127.0.0.1 -n 7 -w 10000 >NUL
echo "
reboot
into
bootloader
"
%FASTBOOT_PATH%
-s
%DEVICE_ID%
flash recovery recovery.img
if errorLevel 1 ( exit /b 13 )
ping 127.0.0.1 -n 1 -w 10000 >NUL
echo "
Flashed
recovery
"
exit /b 0
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment