mirror of
https://github.com/bkerler/mtkclient.git
synced 2024-11-14 19:25:05 -05:00
update commit
This commit is contained in:
parent
0da6a9f86e
commit
5153d081d3
1 changed files with 1 additions and 3 deletions
|
@ -747,10 +747,8 @@ class DA_handler(metaclass=LogBase):
|
||||||
elif cmd == "reset":
|
elif cmd == "reset":
|
||||||
if os.path.exists(".state"):
|
if os.path.exists(".state"):
|
||||||
os.remove(".state")
|
os.remove(".state")
|
||||||
try:
|
if os.path.exists(os.path.join("logs", "hwparam.json")):
|
||||||
os.remove(os.path.join("logs", "hwparam.json"))
|
os.remove(os.path.join("logs", "hwparam.json"))
|
||||||
except FileNotFoundError:
|
|
||||||
pass
|
|
||||||
mtk.daloader.shutdown(bootmode=0)
|
mtk.daloader.shutdown(bootmode=0)
|
||||||
print("Reset command was sent. Disconnect usb cable to power off.")
|
print("Reset command was sent. Disconnect usb cable to power off.")
|
||||||
elif cmd == "da":
|
elif cmd == "da":
|
||||||
|
|
Loading…
Reference in a new issue