Fix threading

This commit is contained in:
info@revskills.de 2023-12-29 22:25:40 +01:00
parent 49678573c5
commit f55985f519
3 changed files with 9 additions and 3 deletions

View file

@ -19,7 +19,9 @@ from mtkclient.Library.DA.daconfig import DaStorage, EMMC_PartitionType
from mtkclient.Library.partition import Partition from mtkclient.Library.partition import Partition
from mtkclient.config.payloads import pathconfig from mtkclient.config.payloads import pathconfig
from mtkclient.Library.DA.legacy.extension.legacy import legacyext from mtkclient.Library.DA.legacy.extension.legacy import legacyext
from mtkclient.Library.thread_handling import writedata, Thread, Queue from mtkclient.Library.thread_handling import writedata
from queue import Queue
from threading import Thread
rq = Queue() rq = Queue()

View file

@ -15,7 +15,9 @@ from mtkclient.Library.partition import Partition
from mtkclient.config.payloads import pathconfig from mtkclient.config.payloads import pathconfig
from mtkclient.Library.DA.xflash.extension.xflash import xflashext, XCmd from mtkclient.Library.DA.xflash.extension.xflash import xflashext, XCmd
from mtkclient.Library.settings import hwparam from mtkclient.Library.settings import hwparam
from mtkclient.Library.thread_handling import writedata, Queue, Thread from mtkclient.Library.thread_handling import writedata
from queue import Queue
from threading import Thread
rq = Queue() rq = Queue()

View file

@ -11,7 +11,9 @@ from mtkclient.Library.error import ErrorHandler
from mtkclient.Library.DA.daconfig import EMMC_PartitionType, UFS_PartitionType, DaStorage from mtkclient.Library.DA.daconfig import EMMC_PartitionType, UFS_PartitionType, DaStorage
from mtkclient.Library.partition import Partition from mtkclient.Library.partition import Partition
from mtkclient.config.payloads import pathconfig from mtkclient.config.payloads import pathconfig
from mtkclient.Library.thread_handling import writedata, Queue, Thread from mtkclient.Library.thread_handling import writedata
from queue import Queue
from threading import Thread
from mtkclient.Library.DA.xml.xml_cmd import XMLCmd, BootModes from mtkclient.Library.DA.xml.xml_cmd import XMLCmd, BootModes
from mtkclient.Library.DA.xml.extension.v6 import xmlflashext from mtkclient.Library.DA.xml.extension.v6 import xmlflashext