Help! How to add F2FS support to NBD90Z 3.10.103 Kernel?

Root Wizard

Senior Member
Mar 27, 2014
225
235
0
Hey devs, I am very new to kernel development and have searched endlessly for a topic of such, but to no (at least up to date) avail. So here I ask, can someone please tell me how to add F2FS support to my kernel? I am building NBD90Z based on 3.103.10. Thanks!
 
Last edited:
  • Like
Reactions: duttyend

Root Wizard

Senior Member
Mar 27, 2014
225
235
0
With this I can change file system to f2fs and bettered the the performance on the phone?
Can you help to do it right!!!!
Yes, you can change the /data and /cache partitions to (in most cases) gain performance. To do this:
-Fully backup via TWRP
-Download TWRP 3.0.2 F2FS version(search the web for this, its somewhere but I forget)
-Reboot to TWRP & Format the desired partitions by going to Wipe->Advanced Wipe->(Check one partion at a time /daya or /cache)->Change filesystem->F2FS
-Flash kernel
Note formating /data wipes the internal storage (pictures/music/anything on the phone in /sdcard and /data really.)
 

caballon

Senior Member
Jul 23, 2010
557
80
58
Puerto Rico
Yes, you can change the /data and /cache partitions to (in most cases) gain performance. To do this:
-Fully backup via TWRP
-Download TWRP 3.0.2 F2FS version(search the web for this, its somewhere but I forget)
-Reboot to TWRP & Format the desired partitions by going to Wipe->Advanced Wipe->(Check one partion at a time /daya or /cache)->Change filesystem->F2FS
-Flash kernel
Note formating /data wipes the internal storage (pictures/music/anything on the phone in /sdcard and /data really.)
The system doesn't apply right???
and then I can restore the data or it can't be done let me know thanks!!!!
 
Last edited:

Black_Hat01

Senior Member
May 10, 2017
86
123
0
I see this thread has been abandoned for quite some time but I have the same question - I want to do this for my device and this is the closest I've gotten to a good answer... :eek:
Well I don't know what OP did, but you can enable F2FS support in your device's defconfig, and cherry pick the latest F2FS updates on top of that. I can provide more information on how if you need but I'm in a pinch right now.