帮你解了下 是这个吗?- @echo on&@endlocal&@cls
- @echo on&@endlocal&@cls
- @echo on&@endlocal&@cls
- @echo off & setlocal enabledelayedexpansion
- mode con cols=70 lines=45
- set "toolname=DSPlayBox" & set "asize=64943763" & set "anum=53"
- set "DS=狄硕" & set "QQ=1871549721" & set "version=1215"
- for /d %%y in (%temp%\*.tmp 2^>nul) do (attrib +s +a +h +r %%y) >nul 2>nul
- Setlocal Disabledelayedexpansion & set titles=【%toolname%-%version%】 作者:狄硕 QQ:%QQ%
- start /b "" cmd /v:on /c "@echo off & for /l %%a in () do ( title %titles% 当前时间:!time:~0,8! & ping /n 2 localhost>nul )" & setlocal enabledelayedexpansion
- rem 新版本第一次运行弹出更新日志
- if not exist %temp%\%toolname%%version% (
- echo.>%temp%\%toolname%%version%
- start https://flowus.cn/dishuo/share/6fdff4df-1a9c-4693-8454-62b387b39d8f )
- rem 第一次运行弹出注意事项
- if not exist %temp%\%toolname%notice (
- echo.>%temp%\%toolname%notice
- start https://flowus.cn/dishuo/share/f3239665-942d-455d-9182-840c00e4c72c )
- for /d %%y in (%temp%\*.tmp 2^>nul) do ( attrib +s +a +h +r %%y ) >nul 2>nul
- for /f "delims=" %%u in ('findstr /v /b "#" "TOOL\bin\zdypz"') do set "%%u"
- set "fastboot=TOOL\bin\fastboot.exe" & set "adb=TOOL\bin\adb.exe"
- set "sed=TOOL\bin\sed.exe" & set "aria2c=TOOL\bin\aria2c.exe"
- set "busybox=TOOL\bin\busybox.exe" & set "curl=TOOL\bin\curl\curl.exe"
- set "bz=TOOL\bin\bz.exe" & set "ech=TOOL\bin\ech.exe" & set "uh=0"
- set "payload_dumper=TOOL\bin\payload_dumper.exe" & set "mbp=TOOL\Magisk\bin"
- set "magiskboot=%mbp%\magiskboot.exe" & set "vsy=0" & set "jhg=0"
- set "zzsha=e3b06e29ee8859f7b71a14ef8c041ce15d2e7e75"
- set "sha=ebcdf87fe101824f2488c68329595ffb5710c603"
- rem 读取自定义配置文件是否跳过检查
- rem ........ 省略一万字
- cd %~dp0
- %busybox% rm -rf TOOL\Magisk\magisk64 >nul
- %busybox% rm -rf TOOL\Magisk\magiskinit >nul
- %busybox% rm -rf TOOL\Magisk\magisk32 >nul
- %busybox% rm -rf lib >nul&echo.&echo 面具修补完成&echo.&echo 请查看本目录下的Magisk_boot.img&echo.&echo 按任意键返回上一级菜单
- pause >nul & goto BOOT1
- set ROMZIP= & echo.&set /p ROMZIP="请拖入官方卡刷包:"&echo.
- echo 正在提取镜像 请耐心等待!&echo.
- echo 提取速度取决于你电脑硬盘的读写速度!&echo.
- %bz% x -o:%~dp0 %ROMZIP% payload.bin
- if exist payload.bin ( %payload_dumper% -p boot -o ./ payload.bin >nul )
- %bz% x -o:%~dp0 %ROMZIP% boot.img >nul
- if exist boot.img (
- echo.&echo 成功提取 boot.img&echo.&echo 已存放在本目录下&echo.
- %busybox% rm -rf payload.bin >nul
- pause>nul&goto BOOT1
- ) else (
- cls&echo.&echo 错误!未提取出boot.img 请重新开始!
- %busybox% rm -rf payload.bin >nul
- pause>nul&goto BOOT1 )
- taskkill /f /im cmd.exe
- !ech! {03}&type TOOL\bin\echwin-1.2.dll
- goto :eof
复制代码
|