mirror of
https://github.com/bkerler/mtkclient.git
synced 2024-11-14 19:25:05 -05:00
Add support for 0x0C emi (mt6582), improve output
This commit is contained in:
parent
2bb83de4c1
commit
e20651f116
2 changed files with 4 additions and 1 deletions
|
@ -1104,7 +1104,7 @@ class DALegacy(metaclass=LogBase):
|
|||
self.info("RAM-Info: " + hexlify(info).decode('utf-8'))
|
||||
dramlength = unpack(">I", self.usbread(0x4))[0]
|
||||
self.usbwrite(self.Rsp.ACK)
|
||||
elif self.daconfig.emiver in [0x0D]:
|
||||
elif self.daconfig.emiver in [0x0C, 0x0D]:
|
||||
dramlength = unpack(">I", self.usbread(0x4))[0]
|
||||
self.info("RAM-Length: " + hex(dramlength))
|
||||
self.usbwrite(self.Rsp.ACK)
|
||||
|
|
|
@ -520,6 +520,9 @@ class Preloader(metaclass=LogBase):
|
|||
else:
|
||||
self.error(f"Jump_DA status error:{self.eh.status(status)}")
|
||||
self.config.set_gui_status(self.config.tr("DA Error"))
|
||||
else:
|
||||
self.error(f"Jump_DA status error:{self.eh.status(addr)}")
|
||||
self.config.set_gui_status(self.config.tr("DA Error"))
|
||||
|
||||
return False
|
||||
|
||||
|
|
Loading…
Reference in a new issue