Skip to content

Commit f00bdbf

Browse files
author
Bjoern Kerler
committedJun 14, 2024··
Fix disablewatchdogtimer issue #1044
1 parent 6c2f946 commit f00bdbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎mtkclient/Library/mtk_main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ def run(self, parser):
510510

511511
if mtk.config.preloader_filename is not None:
512512
self.info("Using custom preloader : " + mtk.config.preloader_filename)
513-
mtk.preloader.setreg_disablewatchdogtimer(mtk.config.hwcode)
513+
mtk.preloader.setreg_disablewatchdogtimer(mtk.config.hwcode, mtk.config.hwver)
514514
daaddr, dadata = mtk.parse_preloader(mtk.config.preloader_filename)
515515
dadata = mtk.config.preloader = mtk.patch_preloader_security_da1(dadata)
516516
if mtk.preloader.send_da(daaddr, len(dadata), 0x100, dadata):

0 commit comments

Comments
 (0)
Please sign in to comment.