Skip to content

Commit

Permalink
Fix disablewatchdogtimer issue #1044
Browse files Browse the repository at this point in the history
  • Loading branch information
bkerler committed Jun 14, 2024
1 parent 6c2f946 commit f00bdbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtkclient/Library/mtk_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def run(self, parser):

if mtk.config.preloader_filename is not None:
self.info("Using custom preloader : " + mtk.config.preloader_filename)
mtk.preloader.setreg_disablewatchdogtimer(mtk.config.hwcode)
mtk.preloader.setreg_disablewatchdogtimer(mtk.config.hwcode, mtk.config.hwver)
daaddr, dadata = mtk.parse_preloader(mtk.config.preloader_filename)
dadata = mtk.config.preloader = mtk.patch_preloader_security_da1(dadata)
if mtk.preloader.send_da(daaddr, len(dadata), 0x100, dadata):
Expand Down

0 comments on commit f00bdbf

Please sign in to comment.