summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BoardConfig.mk1
-rw-r--r--i9300.mk6
-rw-r--r--rootdir/fstab.smdk4x122
3 files changed, 9 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 3130ef3..262c044 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -44,6 +44,7 @@ BOARD_RIL_CLASS := ../../../device/samsung/i9300/ril
# Recovery
TARGET_RECOVERY_FSTAB := device/samsung/i9300/rootdir/fstab.smdk4x12
+TARGET_USERIMAGES_USE_F2FS := true
RECOVERY_FSTAB_VERSION := 2
# Selinux
diff --git a/i9300.mk b/i9300.mk
index c426f41..0b14d57 100644
--- a/i9300.mk
+++ b/i9300.mk
@@ -68,6 +68,12 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
camera.smdk4x12
+# f2fs
+PRODUCT_PACKAGES += \
+ fibmap.f2fs \
+ fsck.f2fs \
+ mkfs.f2fs
+
PRODUCT_COPY_FILES += \
packages/apps/Nfc/migrate_nfc.txt:system/etc/updatecmds/migrate_nfc.txt \
frameworks/base/nfc-extras/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \
diff --git a/rootdir/fstab.smdk4x12 b/rootdir/fstab.smdk4x12
index 507d3ed..878876e 100644
--- a/rootdir/fstab.smdk4x12
+++ b/rootdir/fstab.smdk4x12
@@ -4,8 +4,10 @@
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/mmcblk0p3 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait
/dev/block/mmcblk0p9 /system ext4 ro,noatime wait
+/dev/block/mmcblk0p8 /cache f2fs noatime,nosuid,nodev wait
/dev/block/mmcblk0p8 /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait
/dev/block/mmcblk0p10 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait
+/dev/block/mmcblk0p12 /data f2fs noatime,nosuid,nodev wait,check,encryptable=footer
/dev/block/mmcblk0p12 /data ext4 noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic wait,check,encryptable=footer
# vold-managed volumes ("block device" is actually a sysfs devpath)