bat_all
title postboot_all.bat
for /f "tokens=1,2 delims= " %%i in ('adb devices^|findstr /v "devices"') do (
adb -s %%i root
adb -s %%i wait-for-device
adb -s %%i remount
call start cmd /k ".\postboot.bat %%i"
)
pause
title postboot.bat
adb -s %1 root
adb -s %1 wait-for-device
adb -s %1 disable-verity
adb -s %1 shell setenforce 0
adb -s %1 shell mount -o rw,remount /
adb -s %1 shell mount -o rw,remount /vendor
adb -s %1 shell mount -o rw,remount /vendor/firmware_mnt
adb -s %1 remount

浙公网安备 33010602011771号