[Android Q&A, Help & Troubleshooting] Abirwebster:
Would you help me on this one?

I was modding my stock rom of W35. In the updater script, got a bit problem...

it says:

format("ext4", "EMMC" /dev/block/mmcblk0"", "MTD", "system");
mount("ext4", "EMMC" /dev/block/mmcblk0"", "MTD", "system", "/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p2"", "MTD", "cache");
package_extract_file("check_data_app", "/tmp/check_data_app");
set_perm(0, 0, 0777, "/tmp/check_data_app");
run_program("/tmp/check_data_app");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
show_progress(0.200000, 20);
mount("ext4", "EMMC", "/dev/block/mmcblk0", "/system");
package_extract_dir("system", "/system");

But cat /proc/Dumchar_info

shell@android:/ $ cat /proc/dumchar_info
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 0x0000000025800000 0x0000000001de4000 2 /dev/block/mmcblk0p6
cache 0x000000001ae00000 0x00000000275e4000 2 /dev/block/mmcblk0p2
usrdata 0x0000000032000000 0x00000000423e4000 2 /dev/block/mmcblk0p3
fat 0x000000007221c000 0x00000000743e4000 2 /dev/block/mmcblk0p4
bmtpool 0x0000000000a00000 0x00000000ff9f0050 2 /dev/block/mmcblk0
Part_Name:Partition name you should open;
Size:size of partition
StartAddr:Start Address of partition;
Type:Type of partition(MTD=1,EMMC=2)
MapTo:actual device you operate

and Cat /proc/partitions

shell@android:/ $ cat /proc/dumchar_info
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 0x0000000025800000 0x0000000001de4000 2 /dev/block/mmcblk0p6
cache 0x000000001ae00000 0x00000000275e4000 2 /dev/block/mmcblk0p2
usrdata 0x0000000032000000 0x00000000423e4000 2 /dev/block/mmcblk0p3
fat 0x000000007221c000 0x00000000743e4000 2 /dev/block/mmcblk0p4
bmtpool 0x0000000000a00000 0x00000000ff9f0050 2 /dev/block/mmcblk0
Part_Name:Partition name you should open;
Size:size of partition
StartAddr:Start Address of partition;
Type:Type of partition(MTD=1,EMMC=2)
MapTo:actual device you operate

cat /proc/emmc

shell@android:/data $ cat /proc/emmc
partno: start_sect nr_sects partition_name
emmc_p1: 00000020 00000002 "ebr1"
emmc_p2: 0013af20 000d6800 "cache"
emmc_p3: 00211f20 0018f800 "usrdata"
emmc_p4: 003a1f20 003910e0 "fat"
emmc_p5: 00009f00 00002800 "sec_ro"
emmc_p6: 0000ef20 0012b800 "android"

Would you like to help me out to determine the blocks that should be erased/formatted? It'll be quite helpful for me to cook one Custom ROM for W35. Any kinda Help is appreciated. :)