[Q] Format to F2FS - G2 Q&A, Help & Troubleshooting

I'm using twrp 2.8.5.0 and I'd like to format my partitions to F2FS.
How I do?
I format all partitions or only system??
In wipe options has a FS Options
Did I select the partitions then select it?

Related

Purity rom f2fs

I was considering attempting to use the f2fs filesystem that is discussed in original android development but I'm a bit confused with what to do to load a new rom. Can anyone explain if it will work with the purity rom and what I need to do to get it working? Or also let me know if its not possible.
Yes, I have used Purity with F2FS, but this filesystem is unstable because the system hangs usually (I have also tried with SlimKat and RastaKat with same hangs copying many files).
Basically:
- You must flash "twrp-unofficial-2.7.1.0-f2fs.img" as a normal recovery and change /data, /cache and /system (optional) to F2FS.
You will find this option under Wipe -> Advanced Wipe, then select only one partition and press the "Repair or Change File System" button for change to F2FS. Use Wipe -> Format Data also (you will lost data in /sdcard).
- Install Purity ROM (if /system is converted to F2FS, you must use "convert2F2FS.jar" for modify ROM zip and must install this new ROM).
- If /system is F2FS, install "KTManta_F2FS-26-06-2014-ALLF2FS.zip" Kernel or "KTManta_F2FS-26-06-2014_CACHE_DATA_PARTITIONS.zip" else.
patzzz said:
Yes, I have used Purity with F2FS, but this filesystem is unstable because the system hangs usually (I have also tried with SlimKat and RastaKat with same hangs copying many files).
Basically:
- You must flash "twrp-unofficial-2.7.1.0-f2fs.img" as a normal recovery and change /data, /cache and /system (optional) to F2FS.
You will find this option under Wipe -> Advanced Wipe, then select only one partition and press the "Repair or Change File System" button for change to F2FS. Use Wipe -> Format Data also (you will lost data in /sdcard).
- Install Purity ROM (if /system is converted to F2FS, you must use "convert2F2FS.jar" for modify ROM zip and must install this new ROM).
- If /system is F2FS, install "KTManta_F2FS-26-06-2014-ALLF2FS.zip" Kernel or "KTManta_F2FS-26-06-2014_CACHE_DATA_PARTITIONS.zip" else.
Click to expand...
Click to collapse
Where do you get convert2F2FS.jar?
Using f2fs with omnirom. All partition were formatted with f2fs. Having no issue with last update. You will find all resources in my thread

[Q] Recovery to format /cache and /data ONLY as F2FS?

The recovery at http://forum.xda-developers.com/showthread.php?t=2678140 only lets me format /data or all partitions as F2FS. I want to format only /cache and /data as F2FS, leaving /system as ext4. Is there a recovery or script that makes this possible?
TWRP 2.7.1.1 (the official one) will let you do this.
Works. Thanks.

F2FS rom

Any one know how to convert ext4 to F2FS on max pro m1 devices?
I believe you need a modified twrp for that.
In TWRP -
Wipe
Advanced Wipe
Select ONE of the partitions that supports changing filesystem (data/system/cache)
Tap on Change File System -> Select F2FS -> Swipe to wipe
Word of caution - Honestly, I haven't tried it on X00TD but did try it on Athene (Moto G4 Plus). /system is automatically changed back to ext4 on flashing a ROM and not all ROMs boot with /data or cache as F2FS.
baunthiyal said:
In TWRP -
Wipe
Advanced Wipe
Select ONE of the partitions that supports changing filesystem (data/system/cache)
Tap on Change File System -> Select F2FS -> Swipe to wipe
Word of caution - Honestly, I haven't tried it on X00TD but did try it on Athene (Moto G4 Plus). /system is automatically changed back to ext4 on flashing a ROM and not all ROMs boot with /data or cache as F2FS.
Click to expand...
Click to collapse
I have tried change file system but i had a bootloop
Vutuanhung said:
I have tried change file system but i had a bootloop
Click to expand...
Click to collapse
The ROM has to support F2FS too. That is what I said initially. I'm not aware of any ROMs on X00TD supporting F2FS.

Need help to convert data to f2fs file system.

Hi,
I'm trying convert Data and Cache partition from ext4 to f2fs.
I backup data and restore by TWRP after format data as f2fs.
But when I reboot it get bootloop after show homescreen.
I try other ROM/Kernel support f2fs and format data again but still got bootloop.
Does anyone know this problem?
Thanks

DATA partition is on F2FS by default?

I've unlocked my new MI9T to install xiaomi.eu rom.
First of all, after unlock, i've installed the official TWRP and i've formatted (not wiped) the DATA partition.
I've noticed that TWRP logged that it was formatting the DATA partition with mkfs.f2fs ...... really strange...
So, i've rebooted to TWRP and changed the DATA partition type to EXT4 and formatted it... after a reboot i've tried to format it again and it was formatted again in F2FS (like F2FS was the default selection).
So i've tried to switch to OrangeFox recovery (i suspected a bug in TWRP)... but the same behaviour...seems that F2FS is the default partition type for my DATA partition.
I've installed the xiaomi.eu (the kernel in this rom is the official one, and i dont think that it supports F2FS) and the rom boot ok, without problems.
I've tried also to force ext4 on DATA, but with this partition type the rom never boot (it remains on the android bootanimation).
So right now, i see a f2fs partition type on my data partition, with original kernel.
I've tried also to change the cache partition to f2fs (by default this partition is formatted in ext4) but in this way, the rom boots, but i can't see the cache partition, seems that effectively the kernel can't mount the cache partition.
so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
Code:
/dev/block/bootdevice/by-name/userdata /data [B]f2fs [/B]noatime,nosuid,nodev,nodiscard,fsync_mode=nobarrier,reserve_root=32768,resgid=1065 wait,check,fileencryption=ice,wrappedkey,quota,reservedsize=128M,latemount
So, this phone uses by default a F2FS partition type for DATA????
gulp79 said:
...so i've unpacked the official miui_DAVINCIEEAGlobal_V11.0.4.0.QFJEUXM_5001481fbb_10.0 rom, and i've found that in the vendor partition, under (vendor)/etc/fstab.qcom there is this entry for DATA partition:
So, this phone uses by default a F2FS partition type for DATA????
Click to expand...
Click to collapse
Yes - stock QFJEUXM 11.0.4, never formatted (or wiped) Data, see screenshot from /vendor/etc/fstab.qcom

Categories

Resources