Everything about F2FS for our device (Recoveries, patches, info,...)

Search This thread

Benjan32

Senior Member
May 29, 2013
57
2
I have a problem with f2fs..
I format data and cache in TWRP to f2fs and after installing Omnirom the recovery log says unable to mount cache and data and when i reboot system i get bootloop.
Anybody else having this problem?
 

Ti4go

Senior Member
Feb 6, 2011
57
3
How format to F2FS with CWM ?

TWRP is too buggy with mount points :/
4 times lost all /data after a reboot
 

xperia u20i

Senior Member
Jan 3, 2011
502
133
Zagreb
Samsung Galaxy S21
Once again. Any benefits in f2fs system. It's not that i'm to lazy to try but really don't have time at the moment. At least for few weeks. I read soooooo much and there is sooo many good and bad things. But mostly benchmarks. I want to hear from first hand how is it in real life, daily usage. Probably i never use f2fs on /system but only on /data and /cache. So if anybody use this combo, i would like to hear his experience. Thanks
 
  • Like
Reactions: peppethustra

tool_king

Senior Member
Mar 2, 2013
1,387
765
Once again. Any benefits in f2fs system. It's not that i'm to lazy to try but really don't have time at the moment. At least for few weeks. I read soooooo much and there is sooo many good and bad things. But mostly benchmarks. I want to hear from first hand how is it in real life, daily usage. Probably i never use f2fs on /system but only on /data and /cache. So if anybody use this combo, i would like to hear his experience. Thanks

As far as I know, @EB20XY already did give it a try. If I remember right, he didn't notice any remarkable differences.
 

Gmobilize

Senior Member
Oct 31, 2011
649
321
Riga
Once you fromat everything to F2FS then its fine ,but when you only format /data /cache as F2FS ,then you might end up with data loss and everything back to EXT4.
 

xperia u20i

Senior Member
Jan 3, 2011
502
133
Zagreb
Samsung Galaxy S21
So. It's seems to me that you tried f2fs. And what is your opinion? At the end i didn't have time time to experiment so i'm still on ext4 for now. Maybe next week i'll have time to try it.

Sent from my Optimus 4X HD using XDA Free mobile app
 

Gmobilize

Senior Member
Oct 31, 2011
649
321
Riga
So. It's seems to me that you tried f2fs. And what is your opinion? At the end i didn't have time time to experiment so i'm still on ext4 for now. Maybe next week i'll have time to try it.

Sent from my Optimus 4X HD using XDA Free mobile app

Well as far i can tell,there is not a big difference in the terms of visible speed,you might get some bigger I/O scores in benchmarks ,but not much noticable stuff tho,now im back to EXT4 until everything is stable and the file system is widely supported by ROMS.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Alright guys, as most of you most likely already noticed, we are preparing our device to run completely on F2FS. This task, however, needs some information and tools, which I will try to provide in this thread. It is WIP, so don't expect too much yet :p

    First of all, we need a F2FS capable recovery. I have compiled both, CWM and TWRP, but CWM seems to have some issues, so please use TWRP for now ;)

    The only ROM running on F2FS for now is our unofficial CM11, but I will update the following list as soon as I get to know about another ROM


    • Unofficial CM11

    To install a F2FS ROM coming from an ext4 filesystem (default), you have to do the following steps:
    0) make backups (including titanium backup)
    1) flash the F2FS TWRP recovery image
    2) manually format /system /data and /cache to F2FS (WARNING: internal sdcard will be wiped as well)
    3) flash the F2FS ROM
    4) flash GAPPS
    5) boot

    Regarding custom kernels, if you don't use the default kernel, please don't make bug reports. If we know that the ROM and kernel are working properly, then we can go on. But for now, if you run into problems using a custom kernel, please keep it to yourself.

    I assume you will want to restore your data after formatting to F2FS, but keep in mind that if you restore your /data partition via recovery, the old filesystem will be restored as well (ext4). This means, you cannot restore your old backup via recovery. However, if you have a Titanium Backup backup, you sure can restore this.



    ROM devs
    In order to compile a flashable zip, the updater-script has to be altered. But don't worry, you don't have to do this manually :D I edited the script creating the updater-script and made a patch, which can be found in the 2nd post ;)

    XDA:DevDB Information
    F2FS related tools/info/..., Tool/Utility for the LG Optimus 4X HD

    Contributors
    laufersteppenwolf

    Version Information
    Status: Stable

    Created 2014-06-29
    Last Updated 2014-06-30
    7
    Reserved

    Updater-script patch:

    The patch in the attachment patches the updater-script (generator) to be compatible with F2FS partitions (proper mounting and formatting).

    Save it inside the build dir, then open a shell and cd to the correct path. Now run "git apply <patchname>.patch" and you're good to go ;)

    Example:
    Code:
    cd /path/to/ROM_sources/CM11/build
    git apply F2FS_updater-script.patch
    cd ..
    6
    Thx again for all your works !
    I can see recent moves on github : android_device_lge_p880/mr_init_devices.c +/recovery ..
    Does it mean, we can build a twrp with multirom & f2fs compatible with MM ( or even N) for primary rom?

    Without your "compressed" magic twrp 2.8.6 multirom, I wouldn't have been able to build & test anything; I have an aosp7 ak kexeced kernel compatible with my cm12, and now I'm looking toward cm14/tree with awesome csk1jw' 100% generic kernel (~cm12+motorola/nougat upgrades). Unfortunately, I'm very new to tree stuff. Apparently google's move to jack & ninja don't change cm build behaviour (?). Also I don't get @alfsamsung changes on cm13/frameworks/av (with his uber euphoria kernel) and I have a broken CMmusic in my cm13 build.
    I'm pretty sure that cm14 with jit/aot on board and csk1jw regular kernel could be the more frugal CM ever seen on p880 (with 2 more years of monthly up-to-date cve bonus from Cyanogen).
    Of course, your help will be greatly appreciated.

    Nice to hear, that you like my work. Well the thing is, i'll get a new PC for christmas and i'll surely try to help you, cause i have more time lately, but keep in mind this isnt my main device anymore and i dont really have any benfit from building roms for it, but i'll surley will give it a try. The other thing is, i'm not sure wether i can test anything, cause my device doesnt seem to work anymore, but for that, i'll upload my stuff and you guys could try out.

    Stay focused and wait to hear from me.
    @oF2pks If you have any further question, pls hit me up via PM!
    5
    Every normal rom (ext4) can be installed with data or/and cache on f2fs. And you able to update or change rom without problems.