Open kilroy98 opened 8 months ago
@kilroy98 In this case, use options 8 - 4
I tried this and backup was made only from 1 to 9. From 10 to 13 it fails with an error.
Choice: 4
Download file: "/tmp/dmesg.log" ....
Download file: "/tmp/mtd_list.txt" ....
Download file: "/tmp/mtd_addr.txt" ....
Download file: "/tmp/kcmdline.log" ....
Download file: "/tmp/dmesg.log" ....
Download file: "/tmp/mtd_list.txt" ....
Download file: "/tmp/mtd_addr.txt" ....
0 > addr: 0x00000000 size: 0x07F80000 name: "ALL"
1 > addr: 0x00000000 size: 0x00080000 name: "Bootloader"
2 > addr: 0x00080000 size: 0x00040000 name: "Config"
3 > addr: 0x000C0000 size: 0x00040000 name: "Bdata"
4 > addr: 0x00100000 size: 0x00040000 name: "Factory"
5 > addr: 0x00140000 size: 0x00040000 name: "crash"
6 > addr: 0x00180000 size: 0x00040000 name: "crash_syslog"
7 > addr: 0x001C0000 size: 0x00040000 name: "cfg_bak"
8 > addr: 0x00200000 size: 0x00400000 name: "kernel0"
9 > addr: 0x00600000 size: 0x00400000 name: "kernel1"
10 > addr: 0x00A00000 size: 0x01A00000 name: "rootfs0"
11 > addr: 0x02400000 size: 0x01A00000 name: "rootfs1"
12 > addr: 0x03E00000 size: 0x02600000 name: "overlay"
13 > addr: 0x06400000 size: 0x01B80000 name: "obr"
Enter partition name or mtd number: 12
ERROR: SSH execute command timed out! CMD: "dd if=/dev/mtd12 of=/tmp/mtd_dump.bin"
But if you select items from 10 to 13, then there will be no error 502. Only if you making a full backup or select item 0.
@remittor Is it normal for stock Xiaomi firmware that some partitions cannot be backed up or the backup function is not optimised for my router?
It’s just that when writing the code, I didn’t take into account the fact that some devices have very small RAM. For such cases, I need to rewrite my code.
I understand. This router has 128MB of RAM. If you plan to change the code in the near future, then I may not install custom firmware for now to check the functionality later.
@remittor How can I find out the size of the partition? I connected to the router via winscp, when I tried to create a backup from 10 to 13, the file was still created, even though the utility had an error message. But I don’t know what size these partitions are to be sure that its backup of this partition is full.
P.S. And can I write here in Russian? Or is it better to use English?
I have made a full backup of Xiaomi 6500 pro. How can be restored? is there any option?
thanks
Router: Redmi AC2100 Stock firmware version: 2.0.23
After this error web get "502 Bad Gateway" and tool no more work. And need to reboot router for fix it.