Merge remote-tracking branch 'origin/main'

This commit is contained in:
Bjoern Kerler 2023-04-27 11:22:20 +02:00
commit da98d78cb6
No known key found for this signature in database
GPG key ID: 52E823BB96A55380
4 changed files with 4 additions and 4 deletions

4
mtk
View file

@ -1,10 +1,10 @@
#!/usr/bin/env python3
# MTK Flash Client (c) B.Kerler 2018-2022.
# MTK Flash Client (c) B.Kerler 2018-2023.
# Licensed under GPLv3 License
import argparse
from mtkclient.Library.mtk_main import Main, metamodes
info = "MTK Flash/Exploit Client V1.6.1 (c) B.Kerler 2018-2023"
info = "MTK Flash/Exploit Client V1.6.2 (c) B.Kerler 2018-2023"
cmds = {
"printgpt": "Print GPT Table information",

View file

@ -116,7 +116,6 @@ class DAconfig(metaclass=LogBase):
self.mtk = mtk
self.pathconfig = pathconfig()
self.config = self.mtk.config
self.iot = False
self.usbwrite = self.mtk.port.usbwrite
self.usbread = self.mtk.port.usbread
self.flashsize = 0

View file

@ -33,6 +33,7 @@ class Mtk_Config(metaclass=LogBase):
self.preloader_filename = None
self.payloadfile = None
self.loader = None
self.iot = False
self.gpt_file = None
self.tr = QObject().tr
if sys.platform.startswith('darwin'):

View file

@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name='mtkclient',
version='1.9',
version='1.6.2',
packages=find_packages(),
long_description=open("README.md").read(),
scripts=['mtk','stage2'],