how to read a specific region in android emmc -
i want read emmc of device recovery seems on it. cat /proc/mtd doesn't give output , deice can't read sp flash tool :(
what want replace files cwm recovery stock ones (its mtk device).
cat /proc/dumchar_info gives table this:
part_name size startaddr type mapto preloader 0x0000000000040000 0x0000000000000000 2 /dev/misc-sd dsp_bl 0x00000000005c0000 0x0000000000040000 2 /dev/misc-sd mbr 0x0000000000004000 0x0000000000000000 2 /dev/block/mmcblk0 ebr1 0x000000000005c000 0x0000000000004000 2 /dev/block/mmcblk0p1 pmt 0x0000000000400000 0x0000000000060000 2 /dev/block/mmcblk0 nvram 0x0000000000300000 0x0000000000460000 2 /dev/block/mmcblk0 seccfg 0x0000000000020000 0x0000000000760000 2 /dev/block/mmcblk0 uboot 0x0000000000060000 0x0000000000780000 2 /dev/block/mmcblk0 bootimg 0x0000000000600000 0x00000000007e0000 2 /dev/block/mmcblk0 recovery 0x0000000000600000 0x0000000000de0000 2 /dev/block/mmcblk0 sec_ro 0x0000000000600000 0x00000000013e0000 2 /dev/block/mmcblk0p5 misc 0x0000000000060000 0x00000000019e0000 2 /dev/block/mmcblk0 logo 0x0000000000300000 0x0000000001a40000 2 /dev/block/mmcblk0 expdb 0x00000000000a0000 0x0000000001d40000 2 /dev/block/mmcblk0 ebr2 0x0000000000004000 0x0000000001de0000 2 /dev/block/mmcblk0 android 0x0000000020100000 0x0000000001de4000 2 /dev/block/mmcblk0p6 cache 0x0000000020100000 0x0000000021ee4000 2 /dev/block/mmcblk0p2 usrdata 0x0000000020100000 0x0000000041fe4000 2 /dev/block/mmcblk0p3 fat 0x0000000083f1c000 0x00000000620e4000 2 /dev/block/mmcblk0p4 bmtpool 0x0000000000a00000 0x00000000ff9f0050 2 /dev/block/mmcblk0 part_name:partition name should open; size:size of partition startaddr:start address of partition; type:type of partition(mtd=1,emmc=2) mapto:actual device operate any help?
as can see, partitions in dumchar_info type 2 (=emmc, not mtd), use cat /proc/emmc instead of cat /proc/mtd".
anyway might use mtkdroidtools rua1 create scatter file mtk device, load scatter sp flash tool, click on read tab, add desired address , size of recovery partition dump file.
to find address , size, open scatter file in text editor, copy hex number after label revocery (this physical address in emmc), subtract next partition's address (this size).
or can use sizes dumchar_info, don't use addresses, because addresses relative addresses related mapped devices.
Comments
Post a Comment