[Android General] Prism 2:
Kernel / Partition Layout / Recovery

I believe Huawei released the source code for the kernel! -> post #3 in http://xdaforums.com/showthread.php?p=49290589#post49290589

Also, I think this is the partition layout based on the info generated by the online android backup app.

Sorry about the link. I don't have enough posts to link outside yet.

source: https:// github. com/ameer1234567890/OnlineNandroid/wiki/How-To-Gather-Information-About-Partition-Layouts

I've also attached a backup of my recovery file using the online android backup app. I read that the recovery image is required to build a CWM recovery image but I get an error when I try to use the CWM recovery online builder. Hopefully someone more knowledgeable will be able to figure out how to do it. Here is the CWM output with the error for anyone who wants to take a look. http:// jenkins.cyanogenmod.com/job/recovery/51456/consoleFull

Edited to add boot.img and change partition layouts

Old and Mostly Incorrect Partition Layout:

[STRIKE]root@android:/ # cat /system/partlayout4nandroid
cat /system/partlayout4nandroid
dev: size erasesize name
mmcblk0p1: 010000 000000 "modem"
mmcblk0p2: 000008 000000 "ssd"
mmcblk0p3: 000080 000000 "sbl1"
mmcblk0p4: 000100 000000 "sbl2"
mmcblk0p5: 000200 000000 "sbl3"
mmcblk0p6: 000200 000000 "aboot"
mmcblk0p7: 000200 000000 "rpm"
mmcblk0p8: 000200 000000 "tz"
mmcblk0p9: 002800 000000 "pad"
mmcblk0p10: 000c00 000000 "fsg"
mmcblk0p11: 002000 000000 "persist"[/STRIKE]
mmcblk0p12: 002800 000000 "boot"
mmcblk0p13: 002800 000000 "recovery"[STRIKE]
mmcblk0p14: 0b8000 000000 "system"
mmcblk0p15: 0d0000 000000 "cache"
mmcblk0p16: 000c00 000000 "modemst1"
mmcblk0p17: 000c00 000000 "modemst2"
mmcblk0p18: 040000 000000 "tombstones"
mmcblk0p19: 000400 000000 "misc"
mmcblk0p20: 001000 000000 "logo"
mmcblk0p21: 001000 000000 "logo2"
mmcblk0p22: 54c000 000000 "userdata"
mmcblk0p23: 00ffef 000000 "grow"
root@android:/ #[/STRIKE]

I believe the recovery and boot partitions are named correctly. However, the other partition names are questionable. I am debating between the partition layout above and the partition layout in post #5 of http://xdaforums.com/showthread.php?p=49311104

I believe the partition layout in post #5 of http://xdaforums.com/showthread.php?p=49311104 is the correct one. The recovery and boot partitions are the same in both the new and old partition layouts so the attached recovery and boot files should still be valid.

New Partition Layout copied from post 5 in http://xdaforums.com/showthread.php?p=49311104

Device Boot Start End Blocks Id System
/dev/block/mmcblk0p1 * 1 3 20 4d Unknown	/sdcard
/dev/block/mmcblk0p2 3 41 300 45 Unknown
/dev/block/mmcblk0p3 41 16681 133120 c Win95 FAT32 (LBA)	/sys_boot and /fat
/dev/block/mmcblk0p4 16681 477184 3684031+ 5 Extended
/dev/block/mmcblk0p5 16897 18432 12288 6a Unknown
/dev/block/mmcblk0p6 18433 18944 4096 46 Unknown
/dev/block/mmcblk0p7 18945 19456 4096 63 GNU HURD or SysV	/misc
/dev/block/mmcblk0p8 19457 19840 3072 58 Unknown
/dev/block/mmcblk0p9 19969 20352 3072 4a Unknown
/dev/block/mmcblk0p10 20481 20864 3072 4b Unknown
/dev/block/mmcblk0p11 20993 21504 4096 47 Unknown
/dev/block/mmcblk0p12 21505 22528 8192 48 Unknown	/boot
/dev/block/mmcblk0p13 22529 25088 20480 60 Unknown	/recovery
/dev/block/mmcblk0p14 25089 25600 4096 6c Unknown
/dev/block/mmcblk0p15 25601 50176 196608 83 Linux	/cache
/dev/block/mmcblk0p16 50177 60416 81920 83 Linux	/cust
/dev/block/mmcblk0p17 60417 191488 1048576 83 Linux	/system
/dev/block/mmcblk0p18 191489 338944 1179648 83 Linux	/data
/dev/block/mmcblk0p19 338945 477184 1105920 6b Unknown	/HWUserData