What happened to f2fs?

ThunderThighs

Senior Member
Aug 7, 2015
305
112
63
I'm quite surprised to be honest. This phone is running a 3.10 linux kernel, yet is has a twrp that seems to have specifically removed the f2fs function. There is literally no way for me to format /data or /cache as f2fs with the only twrp recovery available.

The reason I'm disappointed is because I'm running a OnePlus One that is now almost 4 years old, on a 3.4 kernel, with a twrp recovery that has no issue at all formatting to f2fs. The kernel support is there, yet the recovery lacks the option. I've never seen such an interesting situation here. It really motivates me to find out at least why the option was removed, or to fork my own recovery without the option taken out. f2fs is just better, and leaves a bad taste in my mouth to just settle with ext4. Especially on a 3.10 kernel.

Any info or help would be greatly appreciated. With an unlocked bootloader the possibilities are endless.
 

NinjaL

Senior Member
Oct 14, 2016
129
50
0
I'm quite surprised to be honest. This phone is running a 3.10 linux kernel, yet is has a twrp that seems to have specifically removed the f2fs function. There is literally no way for me to format /data or /cache as f2fs with the only twrp recovery available.

The reason I'm disappointed is because I'm running a OnePlus One that is now almost 4 years old, on a 3.4 kernel, with a twrp recovery that has no issue at all formatting to f2fs. The kernel support is there, yet the recovery lacks the option. I've never seen such an interesting situation here. It really motivates me to find out at least why the option was removed, or to fork my own recovery without the option taken out. f2fs is just better, and leaves a bad taste in my mouth to just settle with ext4. Especially on a 3.10 kernel.

Any info or help would be greatly appreciated. With an unlocked bootloader the possibilities are endless.

Check out the twrp thread :)
 

FalconFour

Senior Member
Oct 28, 2008
54
12
28
San Jose
This thread is the only Google result for "twrp f2fs honor 5x". Any, you know, pointers, on where or how deep into the swamp of the TWRP thread, this info might be? (I'll post back if I can find it, but it'd be nice to get a link instead of an ambiguous pointer...)
 
  • Like
Reactions: ThunderThighs

NinjaL

Senior Member
Oct 14, 2016
129
50
0
I'm quite surprised to be honest. This phone is running a 3.10 linux kernel, yet is has a twrp that seems to have specifically removed the f2fs function. There is literally no way for me to format /data or /cache as f2fs with the only twrp recovery available.

The reason I'm disappointed is because I'm running a OnePlus One that is now almost 4 years old, on a 3.4 kernel, with a twrp recovery that has no issue at all formatting to f2fs. The kernel support is there, yet the recovery lacks the option. I've never seen such an interesting situation here. It really motivates me to find out at least why the option was removed, or to fork my own recovery without the option taken out. f2fs is just better, and leaves a bad taste in my mouth to just settle with ext4. Especially on a 3.10 kernel.

Any info or help would be greatly appreciated. With an unlocked bootloader the possibilities are endless.
Official twrp has no f2fs support (I think, haven't tried it myself), @pl_blaze is trying to get the changes submitted upstream to add support. The lineage kernel has support for it, you just need to enable it (or use HD kernel which also has f2fs support). As far as getting a twrp build with f2fs as an option, you should look at the twrp thread as suggested but I don't think there are any links currently open due to them being test builds. You might get a hold of one if you ask on telegram

Twrp thread link: https://forum.xda-developers.com/honor-5x/development/root-kiw-l24-usa-kiwi-t3305190/page104

Relevant post: https://forum.xda-developers.com/honor-5x/development/root-kiw-l24-usa-kiwi-t3305190/post71825272#post71825272
 
Last edited:
  • Like
Reactions: ThunderThighs

ThunderThighs

Senior Member
Aug 7, 2015
305
112
63
Official twrp has no f2fs support (I think, haven't tried it myself), @pl_blaze is trying to get the changes submitted upstream to add support. The lineage kernel has support for it, you just need to enable it (or use HD kernel which also has f2fs support). As far as getting a twrp build with f2fs as an option, you should look at the twrp thread as suggested but I don't think there are any links currently open due to them being test builds. You might get a hold of one if you ask on telegram

Twrp thread link: https://forum.xda-developers.com/honor-5x/development/root-kiw-l24-usa-kiwi-t3305190/page104

Relevant post: https://forum.xda-developers.com/honor-5x/development/root-kiw-l24-usa-kiwi-t3305190/post71825272#post71825272
Thank you for the info, I'll look in to it. I'm pretty sure the official TWRP has had f2fs support since somewhere around v2.6 (right when f2fs came out, correct me if I'm wrong). At least the official TWRP for my oneplus one has had it since. It can't be too hard to merge f2fs in to TWRP, both projects are open-sourced. Has anyone tried flashify? I'm not sure if it just gives you the option to format, or does it also provide the ability to change the fs?

I'll post back here if I can find an open-source TWRP project for this phone implementing f2fs. If not, I've got my work cut out for me.