For information on what F2FS is see the link here: https://en.wikipedia.org/wiki/F2FS
http://www.xda-developers.com/f2fs-put-to-the-test-against-ext4/
Basically F2FS is a newish file system and was designed by Samsung purely for flash memory devices. It is significantly faster in write speed and therefore yields benefits when used on partitions like DATA and CACHE.
However the SYSTEM partition is read only and therefore would not benefit from F2FS as EXT4 is capable of high speed read. Not only that Ext4 adds benefits of data integrity due to being a journaling file system.
As the system partition is not being touched, any Rom can be used, stock or custom.
This guide will explain how to convert to the F2FS file system.
1. The first step is to convert the DATA and CACHE partition to F2FS.
For this a custom Recovery with F2FS support is required. I have already built modified versions of TWRP which fully support F2FS which can be found here: http://xdaforums.com/galaxy-tab-s/development/twrp-2-8-6-1-unofficial-sm-t800-805-807-t3074633
2. Install then boot to TWRP then make a backup of the DATA partition to your EXTERNAL SD CARD
Next select WIPE > ADVANCED WIPE then select CACHE then REPAIR OR CHANGE SYSTEM > CHANGE FILE SYSTEM > F2FS. Finally SWIPE TO CHANGE.
This will then format to F2FS, do the same for the DATA partition.
PLEASE NOTE THIS WILL COMPLETELY WIPE THE INTERNAL STORAGE, SO BACK UP ANY FILES YOU NEED TO THE PC OR EXTERNAL SD CARD!
3. Once the format is complete reboot TWRP by selecting the 'Recovery' option under the REBOOT tab.
4. Once rebooted to TWRP restore the backup of the DATA partition that was made earlier.
Ignore the warning about the backup being created with Ext4.
5. When that completes reboot to DOWNLOAD mode.
Next load up the relevant kernel below for your particular device in ODIN, put it in the AP slot then hit START.
SM-T805 BOCC KERNEL
SM-T800 BOCC KERNEL (confirmed working by godsfilth)
SM-T700 BOCC KERNEL(needs testing)
If the above kernels don't work because you have updated your rom to a later base you may need the updated kernels below. I have also added ext4 support in case anyone wants to switch back:
SM-T700 BOE6 KERNEL
SM-T705 BOE6 KERNEL
SM-T800 BOE6 KERNEL
SM-T805 BOE6 KERNEL
NOTE: the kernels provided are for Lollipop ONLY and is completely stock built from Samsung Sources except for the F2FS modifications. Also the kernel will allow Permissive mode to be set but is Enforcing by default( I think it should be the users decision and not forced permissive)
To change modes use SELinux mode changer http://xdaforums.com/showthread.php?t=2524485
I wanted this kernel to be as untouched and stable as possible, so as not to introduce any issues. If you wish to have a custom kernel ask your kernel developer to add F2FS support.
6. Once the flashing process is complete with ODIN the tablet should boot. It may take a good while for the tablet to boot as its sets itself up and you will see the normal SAMSUNG logo, so don't worry if you have to wait a while.
Once booted further reboots will boot as normal and infact will probably notice quicker startups. I notice almost 5-10 seconds faster and a quicker tablet overall.
Have tested this thoroughly for days and has been stable with no issues.
IF ANYONE WANTS TO TRY THIS OUT AND THEN RETURN TO EXT4, ITS A SIMPLE MATTER OF FOLLOWING THE SAME PROCEDURE, BUT CHOOSING EXT4 IN TWRP.
Source code
GOOD LUCK AND PLEASE GIVE FEEDBACK.
.
http://www.xda-developers.com/f2fs-put-to-the-test-against-ext4/
Basically F2FS is a newish file system and was designed by Samsung purely for flash memory devices. It is significantly faster in write speed and therefore yields benefits when used on partitions like DATA and CACHE.
However the SYSTEM partition is read only and therefore would not benefit from F2FS as EXT4 is capable of high speed read. Not only that Ext4 adds benefits of data integrity due to being a journaling file system.
As the system partition is not being touched, any Rom can be used, stock or custom.
This guide will explain how to convert to the F2FS file system.
1. The first step is to convert the DATA and CACHE partition to F2FS.
For this a custom Recovery with F2FS support is required. I have already built modified versions of TWRP which fully support F2FS which can be found here: http://xdaforums.com/galaxy-tab-s/development/twrp-2-8-6-1-unofficial-sm-t800-805-807-t3074633
2. Install then boot to TWRP then make a backup of the DATA partition to your EXTERNAL SD CARD
Next select WIPE > ADVANCED WIPE then select CACHE then REPAIR OR CHANGE SYSTEM > CHANGE FILE SYSTEM > F2FS. Finally SWIPE TO CHANGE.
This will then format to F2FS, do the same for the DATA partition.
PLEASE NOTE THIS WILL COMPLETELY WIPE THE INTERNAL STORAGE, SO BACK UP ANY FILES YOU NEED TO THE PC OR EXTERNAL SD CARD!
3. Once the format is complete reboot TWRP by selecting the 'Recovery' option under the REBOOT tab.
4. Once rebooted to TWRP restore the backup of the DATA partition that was made earlier.
Ignore the warning about the backup being created with Ext4.
5. When that completes reboot to DOWNLOAD mode.
Next load up the relevant kernel below for your particular device in ODIN, put it in the AP slot then hit START.
SM-T805 BOCC KERNEL
SM-T800 BOCC KERNEL (confirmed working by godsfilth)
SM-T700 BOCC KERNEL(needs testing)
If the above kernels don't work because you have updated your rom to a later base you may need the updated kernels below. I have also added ext4 support in case anyone wants to switch back:
SM-T700 BOE6 KERNEL
SM-T705 BOE6 KERNEL
SM-T800 BOE6 KERNEL
SM-T805 BOE6 KERNEL
NOTE: the kernels provided are for Lollipop ONLY and is completely stock built from Samsung Sources except for the F2FS modifications. Also the kernel will allow Permissive mode to be set but is Enforcing by default( I think it should be the users decision and not forced permissive)
To change modes use SELinux mode changer http://xdaforums.com/showthread.php?t=2524485
I wanted this kernel to be as untouched and stable as possible, so as not to introduce any issues. If you wish to have a custom kernel ask your kernel developer to add F2FS support.
6. Once the flashing process is complete with ODIN the tablet should boot. It may take a good while for the tablet to boot as its sets itself up and you will see the normal SAMSUNG logo, so don't worry if you have to wait a while.
Once booted further reboots will boot as normal and infact will probably notice quicker startups. I notice almost 5-10 seconds faster and a quicker tablet overall.
Have tested this thoroughly for days and has been stable with no issues.
IF ANYONE WANTS TO TRY THIS OUT AND THEN RETURN TO EXT4, ITS A SIMPLE MATTER OF FOLLOWING THE SAME PROCEDURE, BUT CHOOSING EXT4 IN TWRP.
Source code
GOOD LUCK AND PLEASE GIVE FEEDBACK.
.
Last edited: