diff --git a/mtkclient/Library/DA/xml/xml_lib.py b/mtkclient/Library/DA/xml/xml_lib.py index 933e5c6b..a3575383 100755 --- a/mtkclient/Library/DA/xml/xml_lib.py +++ b/mtkclient/Library/DA/xml/xml_lib.py @@ -798,9 +798,8 @@ def get_sys_property(self, key: str = "DA.SLA", length: int = 0x200000): return None def change_usb_speed(self): - resp = self.send_command(self.Cmd.cmd_can_higher_usb_speed()) - if "Unsupported" in resp: - return False + return self.send_command(self.Cmd.cmd_can_higher_usb_speed()) + def read_partition_table(self) -> tuple: self.send_command(self.Cmd.cmd_read_partition_table(), noack=True)