Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating backup in linux #1170

Closed
inSymeona opened this issue Aug 26, 2024 · 1 comment
Closed

Error creating backup in linux #1170

inSymeona opened this issue Aug 26, 2024 · 1 comment

Comments

@inSymeona
Copy link

When trying to create a backup on a QinF22Pro phone in Linux Mint, an error occurs. Today I reinstalled the client, but it did not help. What could be the problem?
`~/mtkclient$ ./mtk.py rl --skip userdata backup
MTK Flash/Exploit Client Public V2.0.1 (c) B.Kerler 2018-2024

Preloader - Status: Waiting for PreLoader VCOM, please reconnect mobile to brom mode
......Port - Device detected :)
Preloader - CPU: MT6768/MT6769(Helio P65/G85 k68v1)
Preloader - HW version: 0x0
Preloader - WDT: 0x10007000
Preloader - Uart: 0x11002000
Preloader - Brom payload addr: 0x100a00
Preloader - DA payload addr: 0x201000
Preloader - CQ_DMA addr: 0x10212000
Preloader - Var1: 0x25
Preloader - Disabling Watchdog...
Preloader - HW code: 0x707
Preloader - Target config: 0x0
Preloader - SBC enabled: False
Preloader - SLA enabled: False
Preloader - DAA enabled: False
Preloader - SWJTAG enabled: False
Preloader - EPP_PARAM at 0x600 after EMMC_BOOT/SDMMC_BOOT: False
Preloader - Root cert required: False
Preloader - Mem read auth: False
Preloader - Mem write auth: False
Preloader - Cmd 0xC8 blocked: False
Preloader - Get Target info
Preloader - HW subcode: 0x8a00
Preloader - HW Ver: 0xca00
Preloader - SW Ver: 0x0
Preloader - ME_ID: 61FD806B3F03A41092D130E0805F0163
Preloader - SOC_ID: F3CC010E54C99AA49032E99F8A2981BBCBE2C785A14D465443218BAFEA9BF6BA
DaHandler - Device is unprotected.
DaHandler - Device is in Preloader-Mode.
DAXFlash - Uploading xflash stage 1 from MTK_DA_V5.bin
XFlashExt - Patching da1 ...
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "hash_check" in preloader
Mtk - Patched "Patched loader msg" in preloader
Mtk - Patched "get_vfy_policy" in preloader
XFlashExt - Patching da2 ...
XFlashExt - Security check patched
XFlashExt - DA version anti-rollback patched
XFlashExt - SBC patched to be disabled
XFlashExt - Register read/write not allowed patched
DAXFlash - Successfully uploaded stage 1, jumping ..
Preloader - Jumping to 0x200000
Preloader - Jumping to 0x200000: ok.
DAXFlash - Successfully received DA sync
DAXFlash - Uploading stage 2...
DAXFlash - Upload data was accepted. Jumping to stage 2...
DAXFlash - Boot to succeeded.
DAXFlash - Successfully uploaded stage 2
DAXFlash - DA SLA is disabled
DAXFlash - EMMC FWVer: 0x0
DAXFlash - EMMC ID: SLD64v
DAXFlash - EMMC CID: d60103534c443634764056818903b83b
DAXFlash - EMMC Boot1 Size: 0x400000
DAXFlash - EMMC Boot2 Size: 0x400000
DAXFlash - EMMC GP1 Size: 0x0
DAXFlash - EMMC GP2 Size: 0x0
DAXFlash - EMMC GP3 Size: 0x0
DAXFlash - EMMC GP4 Size: 0x0
DAXFlash - EMMC RPMB Size: 0x400000
DAXFlash - EMMC USER Size: 0xe67800000
DAXFlash - HW-CODE : 0x707
DAXFlash - HWSUB-CODE : 0x8A00
DAXFlash - HW-VERSION : 0xCA00
DAXFlash - SW-VERSION : 0x0
DAXFlash - CHIP-EVOLUTION : 0x1
DAXFlash - DA-VERSION : 1.0
DAXFlash - Extensions were accepted. Jumping to extensions...
DAXFlash
DAXFlash - [LIB]: Stage was't executed. Maybe dram issue ?.
DAXFlash
DAXFlash - [LIB]: DA Extensions failed to enable
Traceback (most recent call last):
File "/home/symeona/mtkclient/./mtk.py", line 1000, in
mtk = Main(args).run(parser)
File "/home/symeona/mtkclient/mtkclient/Library/mtk_main.py", line 664, in run
da_handler.handle_da_cmds(mtk, cmd, self.args)
File "/home/symeona/mtkclient/mtkclient/Library/DA/mtk_da_handler.py", line 680, in handle_da_cmds
self.da_rl(directory=directory, parttype=parttype, skip=skip)
File "/home/symeona/mtkclient/mtkclient/Library/DA/mtk_da_handler.py", line 247, in da_rl
data, guid_gpt = self.mtk.daloader.get_gpt(parttype=parttype)
File "/home/symeona/mtkclient/mtkclient/Library/DA/mtk_daloader.py", line 274, in get_gpt
data, guid_gpt = self.da.partition.get_gpt(self.mtk.config.gpt_settings, parttype)
File "/home/symeona/mtkclient/mtkclient/Library/partition.py", line 70, in get_gpt
data = self.readflash(addr=0, length=2 * self.config.pagesize, filename="", parttype=parttype, display=False)
File "/home/symeona/mtkclient/mtkclient/Library/DA/xflash/xflash_lib.py", line 825, in readflash
self.get_packet_length()
File "/home/symeona/mtkclient/mtkclient/Library/DA/xflash/xflash_lib.py", line 730, in get_packet_length
resp = self.send_devctrl(self.Cmd.GET_PACKET_LENGTH)
File "/home/symeona/mtkclient/mtkclient/Library/DA/xflash/xflash_lib.py", line 184, in send_devctrl
status[0] = self.status()
File "/home/symeona/mtkclient/mtkclient/Library/DA/xflash/xflash_lib.py", line 135, in status
magic, datatype, length = unpack("<III", hdr)
struct.error: unpack requires a buffer of 12 bytes
`

Copy link

Stale issue message

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
@inSymeona and others