From 3661aaa6e5709c89f9f547a7bc2af9c145f6b6dd Mon Sep 17 00:00:00 2001 From: Jeffrey Rongen Date: Wed, 1 May 2024 11:35:09 +0200 Subject: [PATCH] Add argument handler --- mtkclient/Library/DA/mtk_da_handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mtkclient/Library/DA/mtk_da_handler.py b/mtkclient/Library/DA/mtk_da_handler.py index b1f31ea..192cfd0 100755 --- a/mtkclient/Library/DA/mtk_da_handler.py +++ b/mtkclient/Library/DA/mtk_da_handler.py @@ -683,6 +683,9 @@ class DA_handler(metaclass=LogBase): print(f"Dumped offset {hex(start)} with length {hex(length)} as {filename}.") else: print(f"Failed to dump offset {hex(start)} with length {hex(length)} as {filename}.") + elif cmd == "fs": + print(f'Mounting FUSE fs at: {args.mountpoint}...') + fs = FUSE(MtkDaFS(self, rw=args.rw), mountpoint=args.mountpoint, foreground=True, allow_other=True, nothreads=True) elif cmd == "footer": filename = args.filename self.da_footer(filename=filename)