python实现VTS和CTS ON GSI自动flash system.img脚本
import os import time import sys import re from colorama import init init(autoreset=True) a = sys.argv[1] try: boot = sys.argv[2] except: boot = system = system.img def flashGsi(a, boot, sn, s): os.system(adb -s {} reboot bootloader.format(sn)) time.sleep(1) if a == vts: os.system(
暂无评论