[KERNEL] Nexus 5 F2FS

Search This thread

Dodgexander

Senior Member
Mar 31, 2013
627
168
I can't seem to use any kernel with f2fs apart from the ones in the OP. The modified franco..bricked or any kernel with f2fs support doesn't work.

I am using Multirom and have only data formatted as f2fs
 

Dodgexander

Senior Member
Mar 31, 2013
627
168
I haven't even tried a second ROM yet. Only the primary. All these kernels list f2fs support yet none seem to work.

Edit* Never mind I got bricked kernel to work. No idea why the others with f2fs support aren't though.

Sent from my Nexus 5 using Tapatalk
 
Last edited:

Dodgexander

Senior Member
Mar 31, 2013
627
168
Been using this for a while with the latest PA and I thought I'd report my findings.

1. No noticeable performance gain myself. Perhaps slightly faster when installing an app but that's it.
2. Few force closes of background processes, but nothing making the phone unusable.
3. Force closes and slow-downs when running Simpsons Tapped Out. Probably because a lot of small data is loaded at once.
4. Some kernels claim f2fs support but don't work. Sometimes you can't boot, sometimes decrypted storage comes up. This can be fixed sometimes by installing modified kernel here first and then the said kernel, but sometimes that doesn't work. - I suspect this is more to do with the kernels than f2fs itself and has been explained earlier in this thread.
5. Sometimes wifi was turning itself off. Not sure why was this happening though.

It probably could be used daily if you wanted too, but for me I'll revert back to ext4. You have to remember that everything gets tested using ext4, so if you get problems in games or apps which read a lot of data you know what's to blame.

thanks for giving me the chance to test :)
 
Last edited:

rachanta

Senior Member
Jun 28, 2009
3,251
4,048
I have implemented this in racer nexus 5 kernel which you can Google and get. I used @dennes544 github commits for kernel, device and fs-tools and also built f2fs ROM based on AICP. I am very happy with using my builds and have shared at the thread.

Sent from my Nexus 5 using Tapatalk
 
Last edited:

rachanta

Senior Member
Jun 28, 2009
3,251
4,048
Add settings to enable/disable f2fs forcing mode so we can switch on …
…the fly. Force will force all wipe/format calls to use f2fs or ext4 depending on the selection. Also added code to ensure settings are re-written back to internal sd after a super wipe. Also removed fstab code to determine the mode since we now have a setting for it

http://goo.gl/NTamfl

Add code to analyze the fstab to determine whether we are in f2fs mod…
…e or ext4 mode

http://goo.gl/MJXQpE


In which folders should these cherry-picks be applied eg., is it in packages/apps/settings?
 

rachanta

Senior Member
Jun 28, 2009
3,251
4,048
Add settings to enable/disable f2fs forcing mode so we can switch on …
…the fly. Force will force all wipe/format calls to use f2fs or ext4 depending on the selection. Also added code to ensure settings are re-written back to internal sd after a super wipe. Also removed fstab code to determine the mode since we now have a setting for it

http://goo.gl/NTamfl

Add code to analyze the fstab to determine whether we are in f2fs mod…
…e or ext4 mode

http://goo.gl/MJXQpE
@aosp, I have added these commits to my f2fs kernel and have noticed the change in partition identification. (f2fs) is visible against data partition in TWRP/Advanced/switch to f2fs. Any thing else that should be visible?
The second commit creates some conflicts in files that get added in first commit. A time consuming resolution is required. Can the right files be added in first commit itself?

Sent from my Nexus 5 using Tapatalk
 
Last edited:

aosp

Inactive Recognized Developer
Aug 12, 2010
2,135
4,997
@aosp, I have added these commits to my f2fs kernel and have noticed the change in partition identification. (f2fs) is visible against data partition in TWRP/Advanced/switch to f2fs. Any thing else that should be visible?
The second commit creates some conflicts in files that get added in first commit. A time consuming resolution is required. Can the right files be added in first commit itself?

Sent from my Nexus 5 using Tapatalk

These patches are for TWRP

Add settings to enable/disable f2fs forcing mode so we can switch on the... · e71ab1e · ktoonsez/KT-TWRP · GitHub - http://goo.gl/UT1gbd
 

dennes544

Senior Member
Oct 22, 2013
173
240
Moscow
This kernel, only F2FS support added?

I'm looking to replace the prebuilt zimage for KOT49H with a prebuilt F2FS kernel (no gimmicks) for compiling recovery. Would this be suitable and would you mind if I start conducting tests please?

Yeah it's stock kernel with added f2fs driver

Sent from my Nexus 5 using Tapatalk
 

Top Liked Posts