[Android Software Development] hachamacha:
I've just picked up a Moto X, and tried out my moto_msm8960dt unified build 6.40.7. A lot of it works(UI, other things) and some really important stuff doesn't, like actually making a backup. It's my first time dealing with an F2FS FS (/data partition), and I don't seem to have permissions to use /sdcard/clock*/back* while in the recovery.

I'll post a log here of the last session where I added an extra.fstab file but perhaps in the wrong place in the tree. I've been looking over [MENTION=4021423]ketut.kumajaya[/MENTION]'s code to try to figure out what's up, and it's been helpful but I'm a bit stuck right now. I suspect that anyone staring at the log (other than my eyeballs) will figure it out in a second, so here it is: (I've attached my last log).

One other thing that may be of use is a dump from the terminal emulator while in an older xt1060 working version of Philz Touch. I just did a:

#mount

and got this back:

rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,seclabel,nosuid,relatime,mode=755 0 0
devpts /dev/pts devpts rw,seclabel,relatime,mode=600 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 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 /sys/fs/cgroup tmpfs rw,seclabel,relatime,mode=750,gid=1000 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,seclabel,relatime,mode=755,gid=1000 0 0
/dev/block/dm-0 /mnt/asec/com.speedsoftware.rootexplorer-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-1 /mnt/asec/com.doodle.main-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-2 /mnt/asec/com.wm.wordupdonate-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-3 /mnt/asec/com.koushikdutta.rommanager.license-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-4 /mnt/asec/com.silvercrk.solitaire_iv-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-5 /mnt/asec/com.edwardkim.android.carlocatorfull-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-6 /mnt/asec/org.prowl.torque-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-7 /mnt/asec/org.cohortor.gstrings.tyd-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-8 /mnt/asec/com.ArtInGames.AirAttackHD-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-9 /mnt/asec/com.eclipse.gapps-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-10 /mnt/asec/com.jupiterapps.stopwatch-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-11 /mnt/asec/os.tools.scriptmanagerpro-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-12 /mnt/asec/com.hyperaware.videoplayerfull-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-13 /mnt/asec/com.dataviz.docstogoapp-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-14 /mnt/asec/com.rovio.angrybirdsspace.premium-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-15 /mnt/asec/com.nuance.swype.dtc-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-16 /mnt/asec/com.eclipse.xcontrol-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-17 /mnt/asec/com.mobisystems.editor.office_registered-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-18 /mnt/asec/com.quoord.tapatalkxdapre.activity-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-19 /mnt/asec/com.massimobiolcati.irealb-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-20 /mnt/asec/com.alarmclock.xtreme-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-21 /mnt/asec/org.uguess.android.sysinfo.pre-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-22 /mnt/asec/com.teslacoilsw.quicksshd-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
/dev/block/dm-23 /mnt/asec/com.svox.classic.langpack.eng_usa_fem-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 0 0
tmpfs /mnt/obb tmpfs rw,seclabel,relatime,mode=755,gid=1000 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/fsg /fsg ext4 ro,seclabel,nosuid,nodev,relatime,nobarrier 0 0
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware ext4 ro,seclabel,nosuid,nodev,relatime,nobarrier,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,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/pds /pds ext3 rw,seclabel,nosuid,noexec,relatime,barrier=1,data=writeback 0 0
tmpfs /storage/emulated tmpfs rw,seclabel,nosuid,nodev,relatime,mode=050,gid=1028 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/fuse /storage/emulated/0 fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
/dev/fuse /storage/emulated/0/Android/obb 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/fuse /storage/emulated/legacy/Android/obb fuse rw,nosuid,nodev,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
root@ghost:/ # mount|grep data
/dev/block/dm-13 /mnt/asec/com.dataviz.docstogoapp-1 ext4 ro,dirsync,seclabel,nosuid,nodev,noatime 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/modem /firmware ext4 ro,seclabel,nosuid,nodev,relatime,nobarrier,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,seclabel,nosuid,nodev,relatime,data=ordered 0 0
/dev/block/platform/msm_sdcc.1/by-name/pds /pds ext3 rw,seclabel,nosuid,noexec,relatime,barrier=1,data=writeback 0 0
root@ghost:/ #

# mount | grep "/data" -- # where the recovery version fails to mount and has this (",length=-16384") at the end of the fstab.qcom mount line.

/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

And if someone could tell me where my extra.fstab file should be in the cm11 or recovery tree (I read post 2 many times and followed it but perhaps not correctly), that'd be great. All that is in the extra.fstab file is the last line above for the /data mount from the working recovery for xt1060.

Thanks much.