From 19ee101de38861332bb1d29380d4a61ea8dc7979 Mon Sep 17 00:00:00 2001 From: Bjoern Kerler Date: Thu, 9 Feb 2023 14:08:15 +0100 Subject: [PATCH] Fix legacy F0 issue on 8176 --- mtkclient/Library/legacy_ext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtkclient/Library/legacy_ext.py b/mtkclient/Library/legacy_ext.py index de1076f..84cd3c0 100644 --- a/mtkclient/Library/legacy_ext.py +++ b/mtkclient/Library/legacy_ext.py @@ -52,7 +52,7 @@ class legacyext(metaclass=LogBase): self.info("Legacy DA2 is patched.") else: self.warning("Legacy address check not patched.") - check_addr2 = find_binary(da2, bytes.fromhex("30 B5 85 B0 03 AB 4A F2 C8 64 68 46 01 A9 02")) + check_addr2 = find_binary(da2, b"\x30\xB5\x85\xB0\x03\xAB.\xF2..\x68\x46\x01\xA9\x02") if check_addr2 is not None: """ PUSH {R4-R6,LR}