[Xiaomi Poco F1 Guides, News, & Discussion] shouk_1987:
//////////// USE IT AT YOUR OWN RISK AND I AM NOT RESPONSIBLE FOR ANY FAILURE OR BRICKED DEVICES /////////////////

THIS IS NOT a PUBLICITY for Any ROM or KERNEL

They are Simply just what i use

I have successfully changed my data partition to F2FS and using arter kernel as well

Also I have managed to get the Data back in place so after the whole operation all my ROM data are intact ;)

NOTE THAT YOUR ROM & KERNEL MUST SUPPORT F2FS TO BE ABLE TO BOO

T

Note that changing any partition filesystem from a type to another will require formatting that partition

From what i understood converting /system and /cache to f2fs is useless hence I converted /data only as it the main partition that you write on

First of all your internal storage is in /data/media/0 path and hence it will be wiped

I used the official TWRP to be sure of no issues

Take care of the 12th step as if it was missed you will start from scratch >> CRITICAL

Note that Fstab file already contains DFE so if you are unecrypted like my case flashing Fstab keeps me unencrypted without flashing DFE

Now let's start the operation of converstion of/data from ext4 to f2fs in a step by step guide

1- BOOT TO RECOVERY

2- TAKE A FULL NANDROID BACKUP ( MOST IMPORTANT IS THE DATA PARTITION )

3- TAKE A FULL CLONE OF YOUR INTERNAL STORAGE while you are in TWRP( To PC either via MTP or adb command and i prefer the adb method as it ensure that all your files are copied including hidden files )

4- WIPE > Format Data > Yes ( it is a factory reset and all your internal storage will be wiped )

5- Reboot to recovery again

6- Wipe > Advanced Wipe > Check Dalvik , cache , system and Data > Wipe and DONOT reboot to recovery

7- Connect cable again and copy the FSTAB Tools ZIP file only

9- Flash the FSTAB TOOLS File

9- Wipe > Advanced Wipe > Check Data ONLY > Repair or Change file system > F2FS > Change File system

10-Copy via cable whatever you need from your internal storage or the whole of it as your wish

11-Ensure that the TWRP Backup you took in step 2 is copied to internal storage again

12-GO TO TWRP SETTINGS and Tick the 3rd option in the first TAB ( it is called use rm -rf instead of formatting )

13-The above step ensured that when you restore Data partition TWRP won't format it again to ext4 and leave it as f2fs

14-Restore > Choose your fresh Backup > RESTORE DATA PARTITION ONLY ( you will see a message that you are restoring a backup taken of ext4 filesystem , donot worry it worked in my case )

15-Flash the following in order : Vendor > ROM > Fstab File ( NOT the tools one ) > Gapps > Arter97 kernel > Reboot

16-You should boot to the OS with all your data ( settings ) like they were intacted and now the /data partition is f2fs ;)

17-Restore your internal storage if you still didnot do it in step # 10

18-Reboot to recovery and Flash Magisk ( optional )

Notes :

- I though that 4th step was useless however it is mandatory as it erases Vendor or something similar

- I though that 6th step is duplicate to 4th step and was useless however without it TWRP didnot change filesystem to F2FS

- The FSTAB must be flashed after every vendor update ( it can be before or after ROM in the sequence , the most important that it is after every Vendor BEFORE YOU BOOT )

- I didnot flash magisk in step # 15 as crCroid recommends that you boot to system one time before you flash magisk

- crDroid default kernel doesnot support f2fs and if i didnot flash arter97 i wouldnot be able to boot

- By this setup i cannot go back to crDroid default kernel anymore unless f2fs is supported by it

- If ROM doesnot support f2fs the system wouldnot Boot as it would not be able to understand the /data partition filesystem

- Ofcourse any Kernel and ROM combo that supports F2FS should be valid to apply this guide

Finally thanks for all the Devs for thier hard work and dedication , You all made our POCO a lovely BEAST ;)