Confirmed users
125
edits
Line 14: | Line 14: | ||
====Hamachi Quirks==== | ====Hamachi Quirks==== | ||
For certain other devices (such as the hamachi) the partitions lived under <code>|/dev/mtd/|</code> and the mappings could be found by executing <code>|cat /proc/mtd|</code> on the device | For certain other devices (such as the hamachi) the partitions lived under <code>|/dev/mtd/|</code> and the mappings could be found by executing <code>|cat /proc/mtd|</code> on the device, which would emit something like the following, indicating the partition mappings: | ||
<pre> | |||
dev: size erasesize name | |||
mtd0: 00600000 00020000 "boot" | |||
mtd1: 0c800000 00020000 "system" | |||
mtd2: 02800000 00020000 "cache" | |||
mtd3: 00400000 00020000 "misc" | |||
[...] | |||
mtd20: 01b00000 00020000 "FOTA" | |||
mtd21: 00120000 00020000 "APPSBL" | |||
mtd22: 023c0000 00020000 "APPS" | |||
</pre> | |||
<!--mtd4: 00200000 00020000 "watchdog" | |||
mtd5: 0a100000 00020000 "userdata" | |||
mtd6: 00400000 00020000 "persist" | |||
mtd7: 00a00000 00020000 "recovery" | |||
mtd8: 00100000 00020000 "custpack" | |||
mtd9: 00100000 00020000 "tracability" | |||
mtd10: 00100000 00020000 "tuningpara" | |||
mtd11: 00140000 00020000 "MIBIB" | |||
mtd12: 00040000 00020000 "QCSBL" | |||
mtd13: 000a0000 00020000 "OEMSBL1" | |||
mtd14: 000a0000 00020000 "OEMSBL2" | |||
mtd15: 01a80000 00020000 "AMSS" | |||
mtd16: 017c0000 00020000 "EFS2" | |||
mtd17: 00040000 00020000 "STUDYPARA" | |||
mtd18: 00040000 00020000 "SECRO" | |||
mtd19: 00040000 00020000 "FOTAFLAG"--> | |||
From this we see that mtd0 is the boot partition and hence to retrieve the boot partition we would do | |||
<pre> | |||
adb pull /dev/mtd/mtd0 | |||
</pre> | |||
====Alternatively==== | ====Alternatively==== |