Giter Site home page Giter Site logo

Comments (6)

remittor avatar remittor commented on May 18, 2024

@kilroy98
In this case, use options 8 - 4

from xmir-patcher.

kilroy98 avatar kilroy98 commented on May 18, 2024

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.

from xmir-patcher.

kilroy98 avatar kilroy98 commented on May 18, 2024

@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?

from xmir-patcher.

remittor avatar remittor commented on May 18, 2024

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.

from xmir-patcher.

kilroy98 avatar kilroy98 commented on May 18, 2024

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.

from xmir-patcher.

kilroy98 avatar kilroy98 commented on May 18, 2024

@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?

from xmir-patcher.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.