mediatek-preloader-tools icon indicating copy to clipboard operation
mediatek-preloader-tools copied to clipboard

Stuck on read on mediatek MT6739

Open ghost opened this issue 5 years ago • 0 comments

I have a smartphone with SoC MediaTek MT6739. I tried your program for inject a file, but it stuck on read. This is the result of strace

write(3, "\xd1", 1)                     = 1
read(3, "\xd1", 1)                      = 1
write(3, "\x11\x23\x00\x3c", 4)         = 4
read(3, "\x11\x23\x00\x3c", 4)          = 4
write(3, "\x00\x00\x00\x01", 4)         = 4
read(3, "\x00\x00\x00\x01", 4)          = 4
read(3, "\x10\x00", 2)                  = 2

status = 0x1000 what's does means?

In code mediatek_preloader.c stuck on these lines:

    if (cmd == CMD_READ32)
        sp_blocking_read(port, &val, sizeof(val), 0);

Is it a protection? This smartphone require a special DA for flashtool. mmc0 has address 0x11230000 so firetv2 is correct for me.

ghost avatar Sep 27 '20 08:09 ghost