Skip to content

Commit

Permalink
Add logo/secro partition flashing.
Browse files Browse the repository at this point in the history
  • Loading branch information
HikariCalyx authored Oct 25, 2019
1 parent c41a7de commit 98c6de1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FlashingScript/generic_flash_script_mediatek_ab.bat
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ findstr "odmdtbo.img" list.txt > tmp.txt
set /p odmdtbo_mtkab=<tmp.txt
findstr "logo.bin" list.txt > tmp.txt
set /p logo_mtkab=<tmp.txt
findstr "secro.img" list.txt > tmp.txt
set /p secro_mtkab=<tmp.txt
findstr "spmfw.img" list.txt > tmp.txt
set /p spmfw_mtkab=<tmp.txt
findstr "scp.img" list.txt > tmp.txt
Expand Down Expand Up @@ -121,6 +123,7 @@ if "%actprojectcode%"=="ES2" goto logo_aonly
goto logoab
:logo_aonly
fastboot flash logo %logo_mtkab%
fastboot flash secro %secro_mtkab%
goto bypass2
:logoab
fastboot flash logo_a %logo_mtkab%
Expand Down

0 comments on commit 98c6de1

Please sign in to comment.