1
0
mirror of https://github.com/EliasKotlyar/Xiaomi-Dafang-Hacks.git synced 2025-09-01 20:23:11 +02:00
Files
xiaomi-dafang-hacks/hacks/firmware-dump.md
jmtatsch ede2588ee9 Merge beta into master (#1825)
* Add Push To Talk (#1743)

* Fix video recording when using FTP or Dropbox (#1744) (#1745)

* This adds a new feature "Dropbox URL" so you can specify the URL to be used for (#1746)

* Change all absolute URL's to relative (#1748)

* Fix deleteFile in sdcard.js (#1749)

* Imporove security of Dropbox emulating web script (#1765)

Limit maximum file size and only allow certain file types

* Add full support for Matrix image and video #1756 (#1766)

* More robust Telegram video handling (#1769)

* Some cleanup in detectionOn.sh (#1764)

Co-authored-by: Steven <36535597+StevenJonSmith@users.noreply.github.com>
Co-authored-by: Chris Osgood <chris_github@functionalfuture.com>
Co-authored-by: Nick Kaijaks <Nick.Kaijaks@warwick.ac.uk>
2022-09-17 11:49:25 +02:00

973 B

Dumping Firmware

The Partition Table

[root@Ingenic-uc1_1:dev]# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00040000 00008000 "boot"
mtd1: 00200000 00008000 "kernel"
mtd2: 00350000 00008000 "root"
mtd3: 000a0000 00008000 "driver"
mtd4: 004a0000 00008000 "appfs"
mtd5: 00200000 00008000 "backupk"
mtd6: 000a0000 00008000 "backupd"
mtd7: 00200000 00008000 "backupa"
mtd8: 00040000 00008000 "config"
mtd9: 00040000 00008000 "para"
mtd10: 00010000 00008000 "flag"

Attention: The Values are in Hex. Convert into Decimal for using DD `

Dump everything

dd if=/dev/mtdblock0 of=uboot.bin 
dd if=/dev/mtdblock1 of=kernel.bin
dd if=/dev/mtdblock2 of=rootfs.bin 
dd if=/dev/mtdblock3 of=driver.bin 
dd if=/dev/mtdblock4 of=appfs.bin 
dd if=/dev/mtdblock5 of=backupk.bin 
dd if=/dev/mtdblock6 of=backupd.bin 
dd if=/dev/mtdblock7 of=backupa.bin
dd if=/dev/mtdblock8 of=config.bin 
dd if=/dev/mtdblock9 of=para.bin 
dd if=/dev/mtdblock10 of=flag.bin