[Galaxy Note 10.1 (2014 Edition) Android Developmen] joshndroid:
Joshndroid's TWRP with F2FS support

https://s.basketbuild.com/devs/Joshndroid/TWRP/lt03xxxx

F2FS is called the 'flash friendly file system.' Realistically it has been developed to assist mobile type devices with EMMC get better read speeds, among other things, to achieve a better user experience.

Still want to know a bit more check this out – https://en.wikipedia.org/wiki/F2FS. Further have a look here for benchmarks completed on another device - http://xdaforums.com/show....php?t=2697069

So, how do I get F2FS?

Firstly, your going to need to have partitions that are in F2FS format and with that you need a recovery which is capable of doing that. In the second post you will see a link for an F2FS supported recovery.

Secondly, your going to need a ROM that supports it. That means, the ROM itself to support mounting partitions correctly, etc. as well as the KERNEL so it can utilise the partitions and actually boot the device.

Yeah okay, so its entirely intertwined, now what?

Well, we now have the recovery, ROM and kernel all working with F2FS we need to put it in to practice

Follow these steps (you will need a micro sdcard inserted into your device)

Complete these steps in their entirety and accurately (if I find out you didn't complete a step or skipped one because you 'know better', leading to a bricked device, I wont be happy). They might seem condescending, but hey 2 extra minutes/step may make the difference.

1. Go to https://dl.twrp.me/lt03wifiue/ and download the appropriate stock TWRP (I recommend 2.8.6.0 now) .IMG file AND .zip of your recovery and place onto your EXTERNAL SD CARD (these are in case something doesn't work)

2. While at https://dl.twrp.me/lt03wifiue/ download the same IMG.TAR and place those files into your usual ODIN directory (in case we REALLY need to flash back a recovery) - If you need Odin, download that as well.

3. Download my latest ROM zip anything from V17.6 will be supporting f2fs unless stated otherwise. Place this file into your EXTERNAL SDCARD also.

4. Download your latest version of gapps and have a supersu zip handy (latest). Place these files into your EXTERNAL SDCARD

5. Okay download my f2fs supported recovery signified by F2FS in the name (ZIP or IMG will work in TWRP 2.8.6.0). Link in second post or https://s.basketbuild.com/devs/Joshndroid/TWRP/lt03xxxx

6. Place the F2FS supported recovery into your EXTERNAL SDCARD

7. BACKUP all important files from your device's INTERNAL SDCARD as it will be WIPED when formatting to a new partition type (and I mean it will be GONE)

8. reboot into your recovery

9. select the F2FS IMG file or ZIP and flash as necessary.

10. If successful reboot back to recovery. (if not see below, it may be to do with your current twrp version)

11. BACKUP EVERYTHING to EXTERNAL SDCARD (this will save partition info, boot/userdata/system). If super keen, transfer a copy to computer

12. Okay now the partitioning

- Go to wipe

- Go to advanced wipe

- click on cache

- click on repair or change file system

- click on change file system

- click on F2FS

- swipe to confirm

- click back till you get to the partition selection again

- Repeat step 12 changing 'cache' for 'data' and then for 'system'

13. Go back to the main menu

14. Flash ROM zip, Gapps and Super Su

15. Reboot

Optionals

16. Download a free app called 'disk info' from play store

17. check your partitions are now listed as F2FS. if they list as EXT4, you've done something wrong and need to try it again.

QUICK FAQ

Is this safe?

Yes, provided you do it correctly you wont have any issues.

Do it need to do it each time I flash my ROM?

No, you only need to convert once. Then each ROM flash will see your partitions as F2FS and format accordingly.

But I know the device formats system or other partitions during ROM flash, why do I have to do it manually?

Because the ROM zip detects the partition file system type. It will then format it with the correct tool. If you don't essentially set the file system to F2FS how does it know to format with F2FS.

Does my favourite kernel support F2FS?

probably not, check with the developer and ask them to support F2FS. If they are stuck, point them in my direction I will help.

I followed the steps correctly and get a black screen after booting?

You have probably messed something up, this seems to be kernel related. If you tried to flash a custom kernel, don't. Use only the bundled kernel until you know your favourite custom kernel supports f2fs.

Can I have some partitions as EXT4 and some as F2FS?

Probably, but I don't recommend it. Don't half complete this mod, either go full F2FS or remain at EXT4.

What about other partitions I see/know about? Can these be F2FS too?

No, they are not supported

Only System, Data (userdata) and Cache are supported, these are the typical partitions supported by other ROM devs for other devices.

So I don't have a recovery, or when I reboot to recovery it goes straight to the ROM, or I just get a blank screen?

Your recovery isn't working or didn't flash correctly. Your going to have to flash TWRP 2.8.6.0 with ODIN and try the steps again (I've tested 2.8.6.0 with the F2FS supported IMG and the ZIP file and both work)

I don't like/want F2FS can I go back?

Yes, follow the steps once again and where it says F2FS in step 12, change it to EXT4.

Can I revert to an old backup, but it was before I changed to F2FS?

Yes you can, but FIRST you MUST re-partition back to EXT4 before restoring your old backup. If that means using an older TWRP (not mine) it will still format your device back to EXT4, just do it BEFORE you restore.

Can I just restore a backup of F2FS?

Yes, but see the above ^^^ you will need to format to F2FS before restoring.

Will EXT4 still be supported?

Yes

Is F2FS better?

Not really sure, I haven't had enough time to play with it. It doesn't feel much 'faster' maybe im just being cynical lol.

I really broke/bricked my device, HELP?

if you have a stock firmware your best solution is to flash that with Odin.

Where's your TWRP source?

here - https://github.com/Joshndroid/androi...ung_lt03wifiue

Can I build my own TWRP?

Yes, but you need omnirom source so its not really worth doing it.