[OnePlus 2 General] chintu1234:
I used F2FS file system on data and cache partition and now its like i have a nexus 6p there is little to no UI lag or even any delay in opening apps.

Used to use F2FS on my previous devices(lg g2, Galaxy S2 and Xperia Z ultra) and man the effect was noticeable from day1, so tried it on this device and guess what it works flawlessly.

Here is a thread for comparition between F2FS vs EXT4(the default one).

So here is guide for you guys its Highly dangerous setup so please follow this if you know how to restore a SoftBrick status.

Caution:--

ONLY FOR CM13 and N based roms which support F2FS, If used on OOS3 or H2OS(mm) it will result in not converting the data/cache partition properly and will end up 0mb partition because of modified twrp used for these roms and you wont be able to be mount your internal memory too.

Backup backup backup. Make sure you take a backup and save it on your pc before performing the steps.

Things you can do to make your life easier:--

Clean flashing of rom is highly recommended but you can try dirty too as it does not touch the system partition but still clean is preferred.

Use ZipMe app to make a zip file for your apps so that installing all those apps becomes easier if coming from clean flash.

Full backup of your internal memory files as this setup formats even your internal memory even if you select only the data partion.

Best stay on stock kernel as there is no mention of any cm13 custom kernel to have f2fs support. They may have but in any thread of these i couldnt find f2fs word anywhere. So stay stock.

Rom compatibility/tried on:--

Exodus.

All cm13 based roms work flawlessly.

LineageOS14

Kernel compatibility:--

Darkbeast

Stock kernel or the one provided by default by the rom.

Yarpin's kernel.

Benschold kernel.

Note:- Please this method has worked on F2FS supported roms only before following any of it make sure your rom developer has incorporated f2fs support in his/her rom.

Steps:--

Use revert2lollipop to revert back to lollipop firmware if you are on OOS3/H2OS and wanna try f2fs.

Download and upgrade your twrp version to latest.

Copy the .img file to your root folder and reboot to twrp select--->Install-->Install images button-->select the new .img file you copied and reboot to recovery.

Format everything including your internal memory.

Go to advance wipe and select cache partition and select repair and change file system, once there select change file system and change it to f2fs and swipe. Images.

Repeat the above step for data partition.

Go to twrp settings and tick rm -rf, this will make your device retain your f2fs system after clean flash of some roms.

Reboot your recovery once and copy back all your data back to your internal memory.

Flash the required modem for your rom and clean flash your rom for the best bug free experience.

Benefit!

PS:- Please if someone daring does use this on another rom and if everything works flawlessly then please post about it, i will add it compatible roms/kernels.

Press thanks if it worked for you and do post about any improvements you saw.

Credits:-

[MENTION=4752917]Androguide.fr[/MENTION]

@ opt devs for awesome roms.

@ jrummy Apps for zipme app.