[Android General] wladimir_tm:
cwm6.0.5.1 added

compiled cwm6.0.5.1 added also;

-- with additional FLAG:

BOARD_RECOVERY_SWIPE := true

some notes:

# added more descriptional README.md with "how to build example:" ;)

https://github.com/wladimir-tm4pda/android_device_PHICOMM_msm8610

# that is maybe better to use TWRP2.8.1.0 - because of this recovery have feature of backup 'non-common' partitions:

--- especially maybe interestions - backup partitions with IMEI NV parameters (modemtest1/2) && MAC addresses (persist)

more details in: twrp.fstab

[IMG="addt"]http://xdaforums.com/attachment.php?attachmentid=3419398&stc=1&d=1437932713[/IMG]

/system ext4 /dev/block/platform/msm_sdcc.1/by-name/system
/data ext4 /dev/block/platform/msm_sdcc.1/by-name/userdata
/cache ext4 /dev/block/platform/msm_sdcc.1/by-name/cache
/boot emmc /dev/block/platform/msm_sdcc.1/by-name/boot
/recovery emmc /dev/block/platform/msm_sdcc.1/by-name/recovery
/external_sd vfat /dev/block/mmcblk1p1	/dev/block/mmcblk1 flags=display="External_sd";storage;wipeingui;removable
/internal_sd vfat /dev/block/platform/msm_sdcc.1/by-name/usbmsc flags=display="Internal_sd";storage;wipeingui;removable
###
/DDR emmc /dev/block/platform/msm_sdcc.1/by-name/DDR	flags=backup=1;display=ADDITIONAL
/aboot emmc /dev/block/platform/msm_sdcc.1/by-name/aboot	flags=backup=1;display=BOOTLOADERS
/fsc emmc /dev/block/platform/msm_sdcc.1/by-name/fsc	flags=backup=1;subpartitionof=/DDR
/fsg emmc /dev/block/platform/msm_sdcc.1/by-name/fsg	flags=backup=1;subpartitionof=/DDR
/misc emmc /dev/block/platform/msm_sdcc.1/by-name/misc	flags=backup=1;subpartitionof=/DDR
/modem emmc /dev/block/platform/msm_sdcc.1/by-name/modem	flags=backup=1;display=MODEM
/modemst1 emmc /dev/block/platform/msm_sdcc.1/by-name/modemst1	flags=backup=1;display=IMEI_NV
/modemst2 emmc /dev/block/platform/msm_sdcc.1/by-name/modemst2	flags=backup=1;subpartitionof=/modemst1
/pad emmc /dev/block/platform/msm_sdcc.1/by-name/pad	flags=backup=1;subpartitionof=/DDR
/persist emmc /dev/block/platform/msm_sdcc.1/by-name/persist flags=backup=1;subpartitionof=/modemst1
/rpm emmc /dev/block/platform/msm_sdcc.1/by-name/rpm	flags=backup=1;subpartitionof=/aboot
/sbl1 emmc /dev/block/platform/msm_sdcc.1/by-name/sbl1	flags=backup=1;subpartitionof=/aboot
/sdi emmc /dev/block/platform/msm_sdcc.1/by-name/sdi	flags=backup=1;subpartitionof=/aboot
/splash emmc /dev/block/platform/msm_sdcc.1/by-name/splash	flags=backup=1;display=SPLASH
/ssd emmc /dev/block/platform/msm_sdcc.1/by-name/ssd	flags=backup=1;subpartitionof=/DDR
/tz emmc /dev/block/platform/msm_sdcc.1/by-name/tz	flags=backup=1;subpartitionof=/aboot
###
#ADDITIONAL - are 'by-default' empty partitions
#
### ls -l /dev/block/platform/msm_sdcc.1/by-name/
#lrwxrwxrwx 1 root root 20 Jan 1 23:30 DDR -> /dev/block/mmcblk0p4
#lrwxrwxrwx 1 root root 20 Jan 1 23:30 aboot -> /dev/block/mmcblk0p5
#lrwxrwxrwx 1 root root 20 Jan 1 23:30 boot -> /dev/block/mmcblk0p7
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 cache -> /dev/block/mmcblk0p14
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 fsc -> /dev/block/mmcblk0p18
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 fsg -> /dev/block/mmcblk0p17
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 misc -> /dev/block/mmcblk0p16
#lrwxrwxrwx 1 root root 20 Jan 1 23:30 modem -> /dev/block/mmcblk0p1
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 modemst1 -> /dev/block/mmcblk0p10
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 modemst2 -> /dev/block/mmcblk0p11
#lrwxrwxrwx 1 root root 20 Jan 1 23:30 pad -> /dev/block/mmcblk0p9
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 persist -> /dev/block/mmcblk0p13
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 recovery -> /dev/block/mmcblk0p15
#lrwxrwxrwx 1 root root 20 Jan 1 23:30 rpm -> /dev/block/mmcblk0p6
#lrwxrwxrwx 1 root root 20 Jan 1 23:30 sbl1 -> /dev/block/mmcblk0p2
#lrwxrwxrwx 1 root root 20 Jan 1 23:30 sdi -> /dev/block/mmcblk0p3
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 splash -> /dev/block/mmcblk0p20
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 ssd -> /dev/block/mmcblk0p19
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 system -> /dev/block/mmcblk0p12
#lrwxrwxrwx 1 root root 20 Jan 1 23:30 tz -> /dev/block/mmcblk0p8
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 usbmsc -> /dev/block/mmcblk0p21
#lrwxrwxrwx 1 root root 21 Jan 1 23:30 userdata -> /dev/block/mmcblk0p22

++ there is ability 'to make screenshots' in recovery))

[IMG="src"]http://xdaforums.com/attachment.php?attachmentid=3419399&stc=1&d=1437932713[/IMG]

# tested also TWRP2.8.6.0 (omni android-5.1)

recovery is working fine, but that is 'too big' size of resulting "recovery.img" (11743232) -- via the size of recovery partition on device is only 10485760 (0xA00000) -- so it can be only 'fastboot boot' :)

maybe in future will try to compile 'smaller kernel' and use FLAG "TARGET_PREBUILT_RECOVERY_KERNEL := " for

#there was much more easy to compile TWRP

--- cause of in TWRP there are FLAG "TW_TARGET_USES_QCOM_BSP := true"

//there are no such features in cm-12.1 sources :( (CWM))

#most 'comlex' was to "port" grafics to cm-10.2 (cwm) -- just 'deep into' graphics_overlay.c and graphics.c

https://github.com/wladimir-tm4pda/android_device_PHICOMM_msm8610/tree/cm-10.2/recovery

// this files - from cm-11.0 sources of android_bootable_recovery_minui; adopted for use with cm-10.2 sources for compile CWM for PHICOMM C230w

(adopt_1 and adopt_2)

===========

upd20150727:

add flashable *RecoveryFlasher.zip versions to compiled images