[Motorola Photon Q 4G LTE] mionica:
Carbon 2015.05.06

Released Carbon 2015.05.06, download link in the first post.

Changelog since 2015.05.05:

enabled lz4-compressed swap space

cleaned up the init scripts.

This concludes my "essential releases" series; the net result is unbelievably fast anyway; particularly with /cache and /data both set to f2fs. I'll probably keep doing a build now and then, and when I'll find the time, I'll also do a CM build with these features in.

In the mean time, feel free to transplant boot.img from the Carbon zip into a CM zip of your choice; you'll get most of the benefits of my build - including lz4 swap and f2fs support for /cache and /data - for free.

Btw, here's a dmesg dump from it, just so you'd understand how the fstab-with-alternatives and zram work; to better illustrate what's happening, my /data is f2fs and my /cache is ext4:

...
<6>[ 4.341156,1] fs_mgr: fs_mgr_mount_all()
<6>[ 4.341400,1] fs_mgr: fmma() #0: ext4 at /system (1 variant) on /dev/block/platform/msm_sdcc.1/by-name/system
<6>[ 4.341889,1] fs_mgr: fmma() #0: waiting for /dev/block/platform/msm_sdcc.1/by-name/system...
<6>[ 4.342469,1] fs_mgr: fmma() #0: mounting /dev/block/platform/msm_sdcc.1/by-name/system on /system as ext4...
<6>[ 4.360598,1] fs_mgr: fmma() #0: mounted /dev/block/platform/msm_sdcc.1/by-name/system on /system as ext4.
<6>[ 4.360933,1] fs_mgr: fmma() #1: f2fs at /data ([b]2 variants[/b]) on /dev/block/platform/msm_sdcc.1/by-name/userdata
<6>[ 4.361422,1] fs_mgr: fmma() #1: waiting for /dev/block/platform/msm_sdcc.1/by-name/userdata...
[b]<6>[ 4.362002,1] fs_mgr: fmma() #1: probing FS for /dev/block/platform/msm_sdcc.1/by-name/userdata...
<6>[ 4.362490,1] fs_mgr: fmma() #1: probing FS for /data: attempting f2fs[/b]
<7>[ 4.592156,1] SELinux: initialized (dev mmcblk0p39, type f2fs), uses xattr
[b][color=blue]<6>[ 4.592644,1] fs_mgr: fmma() #1: probing FS for /data: found f2fs[/color][/b]
<6>[ 4.897909,0] fs_mgr: fmma() #1: checking FS of /dev/block/platform/msm_sdcc.1/by-name/userdata as f2fs...
<6>[ 4.898275,0] fs_mgr: Running /system/bin/fsck.f2fs -f /dev/block/platform/msm_sdcc.1/by-name/userdata
<6>[ 11.469220,0] fsck.f2fs: Info: Force to fix corruption
<6>[ 11.469616,0] fsck.f2fs: mntent* getmntent(FILE*)(3) is not implemented on Android
<6>[ 11.469800,0] fsck.f2fs: Info: sector size = 512
<6>[ 11.470105,0] fsck.f2fs: Info: total sectors = 9931231 (in 512 bytes)
<6>[ 11.470288,0] fsck.f2fs: Info: MKFS version
<6>[ 11.470624,0] fsck.f2fs: "Linux version 3.0.101-gc510556 (mircea@mircea-pc) (gcc version 4.8.x-sabermod 20150429 (release) (GCC) ) #1 SMP PREEMPT Mon May 4 20:14:34 IST 2015"
<6>[ 11.470929,0] fsck.f2fs: Info: FSCK version
<6>[ 11.471265,0] fsck.f2fs: from "Linux version 3.0.101-gc510556 (mircea@mircea-pc) (gcc version 4.8.x-sabermod 20150429 (release) (GCC) ) #1 SMP PREEMPT Wed May 6 23:02:29 IST 2015"
<6>[ 11.471570,0] fsck.f2fs: to "Linux version 3.0.101-gc510556 (mircea@mircea-pc) (gcc version 4.8.x-sabermod 20150429 (release) (GCC) ) #1 SMP PREEMPT Wed May 6 23:02:29 IST 2015"
<6>[ 11.471905,0] fsck.f2fs:
<6>[ 11.472211,0] fsck.f2fs: [FSCK] Unreachable nat entries [Ok..] [0x0]
<6>[ 11.472394,0] fsck.f2fs: [FSCK] SIT valid block bitmap checking [Ok..]
<6>[ 11.472730,0] fsck.f2fs: [FSCK] Hard link checking for regular file [Ok..] [0x1]
<6>[ 11.473035,0] fsck.f2fs: [FSCK] valid_block_count matching with CP [Ok..] [0xbf4be]
<6>[ 11.473340,0] fsck.f2fs: [FSCK] valid_node_count matcing with CP (de lookup) [Ok..] [0x944]
<6>[ 11.473554,0] fsck.f2fs: [FSCK] valid_node_count matcing with CP (nat lookup) [Ok..] [0x944]
<6>[ 11.473859,0] fsck.f2fs: [FSCK] valid_inode_count matched with CP [Ok..] [0x64e]
<6>[ 11.474164,0] fsck.f2fs: [FSCK] free segment_count matched with CP [Ok..] [0x356]
<6>[ 11.474500,0] fsck.f2fs: [FSCK] next block offset is free [Ok..]
<6>[ 11.474683,0] fsck.f2fs: [FSCK] fixing SIT types
<6>[ 11.474988,0] fsck.f2fs: [FSCK] other corrupted bugs [Ok..]
<6>[ 11.475171,0] fsck.f2fs:
<6>[ 11.475476,0] fsck.f2fs: Done.
<6>[ 11.475995,0] fs_mgr: fmma() #1: mounting /dev/block/platform/msm_sdcc.1/by-name/userdata on /data as f2fs...
<7>[ 11.695162,1] SELinux: initialized (dev mmcblk0p39, type f2fs), uses xattr
[b]<6>[ 11.695681,1] fs_mgr: fmma() #1: mounted /dev/block/platform/msm_sdcc.1/by-name/userdata on /data as f2fs.
<6>[ 11.696047,1] fs_mgr: fmma() #2: skipping (already mounted)[/b]
<6>[ 11.696535,1] fs_mgr: fmma() #3: f2fs at /cache ([b]2 variants[/b]) on /dev/block/platform/msm_sdcc.1/by-name/cache
<6>[ 11.697024,1] fs_mgr: fmma() #3: waiting for /dev/block/platform/msm_sdcc.1/by-name/cache...
[b]<6>[ 11.697482,1] fs_mgr: fmma() #3: probing FS for /dev/block/platform/msm_sdcc.1/by-name/cache...
<6>[ 11.697970,1] fs_mgr: fmma() #3: probing FS for /cache: attempting f2fs[/b]
<6>[ 11.699679,1] F2FS-fs (mmcblk0p36): Magic Mismatch, valid(0xf2f52010) - read(0xc000)
<3>[ 11.700015,1] F2FS-fs (mmcblk0p36): Can't find valid F2FS filesystem in 1th superblock
<6>[ 11.700930,1] F2FS-fs (mmcblk0p36): Magic Mismatch, valid(0xf2f52010) - read(0x0)
<3>[ 11.701236,1] F2FS-fs (mmcblk0p36): Can't find valid F2FS filesystem in 2th superblock
<6>[ 11.701571,1] F2FS-fs (mmcblk0p36): Magic Mismatch, valid(0xf2f52010) - read(0xc000)
<3>[ 11.701754,1] F2FS-fs (mmcblk0p36): Can't find valid F2FS filesystem in 1th superblock
<6>[ 11.702060,1] F2FS-fs (mmcblk0p36): Magic Mismatch, valid(0xf2f52010) - read(0x0)
<3>[ 11.702365,1] F2FS-fs (mmcblk0p36): Can't find valid F2FS filesystem in 2th superblock
[b]<6>[ 11.808209,0] fs_mgr: fmma() #3: probing FS for /cache: attempting ext4[/b]
<6>[ 11.821944,1] EXT4-fs (mmcblk0p36): mounted filesystem with writeback data mode. Opts: data=writeback,noauto_da_alloc,barrier=1
<7>[ 11.822279,1] SELinux: initialized (dev mmcblk0p36, type ext4), uses xattr
[b][color=blue]<6>[ 11.822737,1] fs_mgr: fmma() #3: probing FS for /cache: found ext4[/color]
[color=red]<6>[ 11.868151,0] fs_mgr: fmma() #3: skipping /cache; will mount later as ext4[/color]
<6>[ 11.868518,0] fs_mgr: fmma() #4: ext4 at /cache (1 variant) on /dev/block/platform/msm_sdcc.1/by-name/cache[/b]
<6>[ 11.869006,0] fs_mgr: fmma() #4: waiting for /dev/block/platform/msm_sdcc.1/by-name/cache...
<6>[ 11.869433,0] fs_mgr: fmma() #4: checking FS of /dev/block/platform/msm_sdcc.1/by-name/cache as ext4...
<6>[ 11.881855,0] EXT4-fs (mmcblk0p36): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
<7>[ 11.882191,0] SELinux: initialized (dev mmcblk0p36, type ext4), uses xattr
<6>[ 11.948176,0] fs_mgr: Running /system/bin/e2fsck on /dev/block/platform/msm_sdcc.1/by-name/cache
<6>[ 12.009156,0] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
<6>[ 12.009430,0] e2fsck: /dev/block/platform/msm_sdcc.1/by-name/cache: clean, 15/49152 files, 7135/196608 blocks
[b][color=blue]<6>[ 12.010193,0] fs_mgr: fmma() #4: mounting /dev/block/platform/msm_sdcc.1/by-name/cache on /cache as ext4...[/color][/b]
<6>[ 12.022524,1] EXT4-fs (mmcblk0p36): mounted filesystem with writeback data mode. Opts: data=writeback,noauto_da_alloc,barrier=1
<7>[ 12.022890,1] SELinux: initialized (dev mmcblk0p36, type ext4), uses xattr
[b]<6>[ 12.023348,1] fs_mgr: fmma() #4: mounted /dev/block/platform/msm_sdcc.1/by-name/cache on /cache as ext4.[/b]
<6>[ 12.023683,1] fs_mgr: fmma() #5: ext4 at /firmware (1 variant) on /dev/block/platform/msm_sdcc.1/by-name/modem
<6>[ 12.024172,1] fs_mgr: fmma() #5: waiting for /dev/block/platform/msm_sdcc.1/by-name/modem...
<6>[ 12.024690,1] fs_mgr: fmma() #5: checking FS of /dev/block/platform/msm_sdcc.1/by-name/modem as ext4...
<6>[ 12.034915,1] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
<7>[ 12.035220,1] SELinux: initialized (dev mmcblk0p1, type ext4), uses xattr
<6>[ 12.068213,0] fs_mgr: Running /system/bin/e2fsck on /dev/block/platform/msm_sdcc.1/by-name/modem
<6>[ 12.099099,0] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
<6>[ 12.099313,0] e2fsck: /dev/block/platform/msm_sdcc.1/by-name/modem: clean, 85/6400 files, 12051/25600 blocks
<6>[ 12.099893,0] fs_mgr: fmma() #5: mounting /dev/block/platform/msm_sdcc.1/by-name/modem on /firmware as ext4...
<6>[ 12.106668,0] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: barrier=1
<7>[ 12.107157,0] SELinux: initialized (dev mmcblk0p1, type ext4), uses mountpoint labeling
<6>[ 12.107462,0] fs_mgr: fmma() #5: mounted /dev/block/platform/msm_sdcc.1/by-name/modem on /firmware as ext4.
<6>[ 12.107736,0] fs_mgr: fmma() #6: ext4 at /persist (1 variant) on /dev/block/platform/msm_sdcc.1/by-name/persist
<6>[ 12.108225,0] fs_mgr: fmma() #6: waiting for /dev/block/platform/msm_sdcc.1/by-name/persist...
<6>[ 12.108652,0] fs_mgr: fmma() #6: checking FS of /dev/block/platform/msm_sdcc.1/by-name/persist as ext4...
<6>[ 12.115305,0] EXT4-fs (mmcblk0p22): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
<7>[ 12.115550,0] SELinux: initialized (dev mmcblk0p22, type ext4), uses xattr
<6>[ 12.158095,0] fs_mgr: Running /system/bin/e2fsck on /dev/block/platform/msm_sdcc.1/by-name/persist
<6>[ 12.178971,0] e2fsck: e2fsck 1.42.9 (28-Dec-2013)
<6>[ 12.179185,0] e2fsck: /dev/block/platform/msm_sdcc.1/by-name/persist: clean, 30/1280 files, 1453/5120 blocks
<6>[ 12.179764,0] fs_mgr: fmma() #6: mounting /dev/block/platform/msm_sdcc.1/by-name/persist on /persist as ext4...
<6>[ 12.185960,1] EXT4-fs (mmcblk0p22): mounted filesystem with ordered data mode. Opts: barrier=1
<7>[ 12.186296,1] SELinux: initialized (dev mmcblk0p22, type ext4), uses xattr
<6>[ 12.186601,1] fs_mgr: fmma() #6: mounted /dev/block/platform/msm_sdcc.1/by-name/persist on /persist as ext4.
<6>[ 12.186937,1] fs_mgr: fmma() #7: emmc at /boot (1 variant) on /dev/block/platform/msm_sdcc.1/by-name/boot
<6>[ 12.187425,1] fs_mgr: fmma() #7: skipping (type=emmc)
<6>[ 12.187761,1] fs_mgr: fmma() #8: emmc at /recovery (1 variant) on /dev/block/platform/msm_sdcc.1/by-name/recovery
<6>[ 12.188280,1] fs_mgr: fmma() #8: skipping (type=emmc)
<6>[ 12.188737,1] fs_mgr: fmma() #9: emmc at /misc (1 variant) on /dev/block/platform/msm_sdcc.1/by-name/misc
<6>[ 12.189195,1] fs_mgr: fmma() #9: skipping (type=emmc)
<6>[ 12.189562,1] fs_mgr: fmma() #10: auto at auto (2 variants) on /devices/platform/msm_sdcc.3/mmc_host
<6>[ 12.190019,1] fs_mgr: fmma() #10: skipping (vold entry)
<6>[ 12.190355,1] fs_mgr: fmma() #11: auto at auto (1 variant) on /devices/platform/msm_hsusb_host
<6>[ 12.190813,1] fs_mgr: fmma() #11: skipping (vold entry)
<6>[ 12.191149,1] fs_mgr: fmma() #12: swap at none (1 variant) on /dev/block/zram0
<6>[ 12.191606,1] fs_mgr: fmma() #12: skipping (type=swap)
<6>[ 12.192064,1] fs_mgr: fs_mgr_mount_all(): finished
<6>[ 12.192400,1] fs_mgr: fs_mgr_mount_all(): returning (0)
[color=darkgreen][b]<6>[ 12.195025,0] fs_mgr: fs_mgr_swapon_all()
<6>[ 12.195452,0] fs_mgr: fmsa(): setting size of /dev/block/zram0 to 268435456...[/b]
<6>[ 12.197192,0] zram0: detected capacity change from 0 to 268435456
[b]<6>[ 12.197649,0] fs_mgr: fmsa(): creating a swap FS on /dev/block/zram0...
<6>[ 12.224294,0] fs_mgr: fmsa(): enabling swap on /dev/block/zram0...[/b]
<6>[ 12.262780,0] Adding 262140k swap on /dev/block/zram0. Priority:-1 extents:1 across:262140k SS
[b]<6>[ 12.262963,0] fs_mgr: fs_mgr_swapon_all(): returning (0)[/b][/color]
...