[G 2014 Android Development] k2wl:
ok guys!!!

i am going to post some development info for this device

this will make easier for us to make cm for this device.

1. partition layout

1|shell@titan_umtsds:/ $ cat proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,size=428048k,nr_inodes=107012,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,seclabel,relatime 0 0
selinuxfs /sys/fs/selinux selinuxfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
none /sys/fs/cgroup tmpfs rw,seclabel,relatime,size=428048k,nr_inodes=107012,mode=750,gid=1000 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,size=428048k,nr_inodes=107012,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,size=428048k,nr_inodes=107012,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs rw,seclabel,nosuid,nodev,noatime,nodiratime,background_gc=on,discard,user_xattr,inline_xattr,acl,errors=recover,active_logs=6 0 0
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 rw,seclabel,nosuid,nodev,noatime,nodiratime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 rw,defcontext=u:object_r:persist_file:s0,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4 ro,defcontext=u:object_r:modem_file:s0,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/pds /pds ext3 rw,defcontext=u:object_r:pds_file:s0,seclabel,nosuid,noexec,relatime,barrier=1,data=writeback 0 0
/dev/block/platform/msm_sdcc.1/by-name/fsg /fsg ext4 ro,defcontext=u:object_r:modem_file:s0,seclabel,nosuid,nodev,relatime 0 0
/dev/fuse /mnt/shell/emulated fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/legacy fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/block/vold/179:65 /mnt/media_rw/sdcard1 vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:65 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/fuse /storage/sdcard1 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

shell@titan_umtsds:/ $ cat proc/partitions
major minor #blocks name

179 0 15388672 mmcblk0
179 1 65536 mmcblk0p1
179 2 512 mmcblk0p2
179 3 32 mmcblk0p3
179 4 1012 mmcblk0p4
179 5 200 mmcblk0p5
179 6 400 mmcblk0p6
179 7 32 mmcblk0p7
179 8 512 mmcblk0p8
179 9 2048 mmcblk0p9
179 10 2332 mmcblk0p10
179 11 1012 mmcblk0p11
179 12 200 mmcblk0p12
179 13 400 mmcblk0p13
179 14 32 mmcblk0p14
179 15 512 mmcblk0p15
179 16 1052 mmcblk0p16
179 17 1536 mmcblk0p17
179 18 1536 mmcblk0p18
179 19 488 mmcblk0p19
179 20 32 mmcblk0p20
179 21 1536 mmcblk0p21
179 22 1 mmcblk0p22
179 23 8 mmcblk0p23
179 24 1024 mmcblk0p24
179 25 128 mmcblk0p25
179 26 3072 mmcblk0p26
179 27 4096 mmcblk0p27
179 28 4096 mmcblk0p28
179 29 8192 mmcblk0p29
179 30 512 mmcblk0p30
179 31 10200 mmcblk0p31
259 0 10280 mmcblk0p32
259 1 1024 mmcblk0p33
259 2 16384 mmcblk0p34
259 3 546944 mmcblk0p35
259 4 1130496 mmcblk0p36
259 5 8192 mmcblk0p37
259 6 13527936 mmcblk0p38
179 32 4096 mmcblk0rpmb
179 64 31166976 mmcblk1
179 65 31162880 mmcblk1p1

shell@titan_umtsds:/ $ ls -l /dev/block/platform/msm_sdcc.1/by-name
lrwxrwxrwx root root 2014-11-16 08:07 DDR -> /dev/block/mmcblk0p3
lrwxrwxrwx root root 2014-11-16 08:07 aboot -> /dev/block/mmcblk0p4
lrwxrwxrwx root root 2014-11-16 08:07 abootBackup -> /dev/block/mmcblk0p11
lrwxrwxrwx root root 2014-11-16 08:07 boot -> /dev/block/mmcblk0p31
lrwxrwxrwx root root 2014-11-16 08:07 cache -> /dev/block/mmcblk0p35
lrwxrwxrwx root root 2014-11-16 08:07 cid -> /dev/block/mmcblk0p25
lrwxrwxrwx root root 2014-11-16 08:07 clogo -> /dev/block/mmcblk0p28
lrwxrwxrwx root root 2014-11-16 08:07 deviceinfo -> /dev/block/mmcblk0p33
lrwxrwxrwx root root 2014-11-16 08:07 dhob -> /dev/block/mmcblk0p20
lrwxrwxrwx root root 2014-11-16 08:07 fsc -> /dev/block/mmcblk0p22
lrwxrwxrwx root root 2014-11-16 08:07 fsg -> /dev/block/mmcblk0p21
lrwxrwxrwx root root 2014-11-16 08:07 ftmlog -> /dev/block/mmcblk0p34
lrwxrwxrwx root root 2014-11-16 08:07 hob -> /dev/block/mmcblk0p19
lrwxrwxrwx root root 2014-11-16 08:07 kpan -> /dev/block/mmcblk0p37
lrwxrwxrwx root root 2014-11-16 08:07 logo -> /dev/block/mmcblk0p27
lrwxrwxrwx root root 2014-11-16 08:07 logs -> /dev/block/mmcblk0p9
lrwxrwxrwx root root 2014-11-16 08:07 misc -> /dev/block/mmcblk0p30
lrwxrwxrwx root root 2014-11-16 08:07 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx root root 2014-11-16 08:07 modemst1 -> /dev/block/mmcblk0p17
lrwxrwxrwx root root 2014-11-16 08:07 modemst2 -> /dev/block/mmcblk0p18
lrwxrwxrwx root root 2014-11-16 08:07 padA -> /dev/block/mmcblk0p10
lrwxrwxrwx root root 2014-11-16 08:07 padB -> /dev/block/mmcblk0p16
lrwxrwxrwx root root 2014-11-16 08:07 pds -> /dev/block/mmcblk0p26
lrwxrwxrwx root root 2014-11-16 08:07 persist -> /dev/block/mmcblk0p29
lrwxrwxrwx root root 2014-11-16 08:07 recovery -> /dev/block/mmcblk0p32
lrwxrwxrwx root root 2014-11-16 08:07 rpm -> /dev/block/mmcblk0p5
lrwxrwxrwx root root 2014-11-16 08:07 rpmBackup -> /dev/block/mmcblk0p12
lrwxrwxrwx root root 2014-11-16 08:07 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx root root 2014-11-16 08:07 sdi -> /dev/block/mmcblk0p7
lrwxrwxrwx root root 2014-11-16 08:07 sdiBackup -> /dev/block/mmcblk0p14
lrwxrwxrwx root root 2014-11-16 08:07 sp -> /dev/block/mmcblk0p24
lrwxrwxrwx root root 2014-11-16 08:07 ssd -> /dev/block/mmcblk0p23
lrwxrwxrwx root root 2014-11-16 08:07 system -> /dev/block/mmcblk0p36
lrwxrwxrwx root root 2014-11-16 08:07 tz -> /dev/block/mmcblk0p6
lrwxrwxrwx root root 2014-11-16 08:07 tzBackup -> /dev/block/mmcblk0p13
lrwxrwxrwx root root 2014-11-16 08:07 userdata -> /dev/block/mmcblk0p38
lrwxrwxrwx root root 2014-11-16 08:07 utags -> /dev/block/mmcblk0p8
lrwxrwxrwx root root 2014-11-16 08:07 utagsBackup -> /dev/block/mmcblk0p15
shell@titan_umtsds:/ $

2. cmdline

root@titan_umtsds:/ # cat proc/cmdline
console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 vmalloc=400M utags.blkdev=/dev/block/platform/msm_sdcc.1/by-name/utags androidboot.emmc=true androidboot.serialno=ZX1D62Z62Z androidboot.baseband=msm androidboot.mode=normal androidboot.device=titan androidboot.hwrev=0x8400 androidboot.radio=0x5 androidboot.powerup_reason=0x00004000 bootreason=reboot androidboot.write_protect=0 restart.download_mode=0 androidboot.fsg-id= androidboot.secure_hardware=1 androidboot.cid=0x7 androidboot.bootloader=0x4807 androidboot.carrier=retin mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_mot_jdi_720p_video_v1

3. this device is very similar to moto g 1st gen falcon so we can take good references from falcon device tree make .

4. our camera, battery, charger and some sensors are different than falcon

5. also we had external storage slot and led flash sensor is new to this device.