Your thoughts on F2FS on Nexus 5X - Nexus 5X Q&A, Help & Troubleshooting

I was reading up on the f2fs file system and I'm curious how many people are using it on their N5X. What are your experiences and what ROM / kernel are you using?
I'm thinking of reformatting data and cache to f2fs but not sure it will work with Pure Nexus / ElementalX as f2fs support isn't explicitly mentioned in the respective threads.
I would appreciate any input on the matter. Good idea or not really worth the effort?

Related

[Q] F2FS Roms

Hey guys,
I was wondering if there any ROMs out there for the FLO that currently support f2fs. I know the ElementalX kernel already has support for it, and CWM also has support for it. Thanks in advance!
zeek459 said:
Hey guys,
I was wondering if there any ROMs out there for the FLO that currently support f2fs. I know the ElementalX kernel already has support for it, and CWM also has support for it. Thanks in advance!
Click to expand...
Click to collapse
I don't think you need rom support, just kernel support.
I tried to format the /data with f2fs, and then flashed the elementalx kernel. But the machine only asked me to type the password to decrypt the storage.
Sent from my Nexus 5 using XDA Premium 4 mobile app
lawman21c said:
I tried to format the /data with f2fs, and then flashed the elementalx kernel. But the machine only asked me to type the password to decrypt the storage.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If the kernel doesn't modify the ramdisk image also (some don't) then you might have to flash a kernel with the modded ramdisk first.
Haven't ever done the f2fs mod on my 2013 N7, since I don't see a need to go through the extra steps every time I update as the 2013 N7 is already fast.
My 2012 N7 though, I keep on F2FS forever since it makes a big difference on that tablet. Even though I use Faux123 that supports F2FS, I have to flash Legolas first as it gives the modded ramdisk necessary, then flash Faux123 over it.
Someone more familiar with F2FS on the N7 2013 might should respond.

How Mature is LVM on our phone?

I use Omni on the Find 7a. There's a lot of chatter about LVM in that development thread, over in AOSPA too. I'm just wondering how mature this feature is before I go about flashing one of the LVM ROMs. Are they stable enough as a daily drivers? Thanks!
RonaldusMagnus said:
I use Omni on the Find 7a. There's a lot of chatter about LVM in that development thread, over in AOSPA too. I'm just wondering how mature this feature is before I go about flashing one of the LVM ROMs. Are they stable enough as a daily drivers? Thanks!
Click to expand...
Click to collapse
For sure !
stable is stable but it's still experimental, this means it may change in future and they don't promise nothing about stability
I do not use due the fact 3g data is good for me,I have 2 games and social
but you are free to try and if there's some problem go back to split layout
be sure to use always lvm compatible Rom and backup to your sd all apps daily
avoid backup in internal memory due the fact it's inside lvm cluster
I had been wondering if I was having some LVM-specific issues on my device, but it turns out the issues were a different patch I'd applied at about the same time I started working with LVM. Ooops.
Right now other than some recovery user interface/user experience issues, and some SELinux logspam I need to fix, there aren't any issues with LVM itself. Any issues you'll encounter on an LVM-capable package will affect the same firmware with a standard layout too.

[KERNEL][KITKAT][EXT4/F2FS] Remixed Kernel

Remixed Kernel
/only for KitKat/
Remember i am not an developer, this is just my personal builded kernel for my own needs.
Also i am not responsible if your device bricked or else, i give my best and test every build that bad things don't will happen.
If you want to support my work, you can do it here
Changelog remixed.kernel-sr1
- GPU OC up to 512 Mhz
- Fixed OC up to 1,6 Ghz
- Revert few commits for performance reason
DOWNLOAD KERNEL HERE
Sources proper the GPL
Last but not least, my biggest thanks and with them credits goes to:
@Ziyan, @MWisBest, @pattyboi:), @franciscofranco, @boype, @bsmitty83, @osm0sis, @Christopher83 and all other i have forgotten :good:
Reserved for future...
So you decided to share it. Thank you
Nice. Got the sources listed anywhere? I want to create my own personal SuperRAM version. (Plus...that GPL stuff ya know )
redj12 said:
So you decided to share it. Thank you
Click to expand...
Click to collapse
Yes, its ready and as i think good to go but this will show the time.
Culex316 said:
Nice. Got the sources listed anywhere? I want to create my own personal SuperRAM version. (Plus...that GPL stuff ya know )
Click to expand...
Click to collapse
Github can be found in my profil...
I flashed this kernel on omni ROM and it works very well, my phone works smoothly
f2fs support?
It has same features as franco kernel so if francos has it, this also has it
Testing!!! thanks for keeping the scene alive. I'll back with comments.
Edit: not working for me. It doesn't pass boot animation. Vanir ROM with /data and /cache in F2FS.
Wiped cache and dalvik and neither works.
sergialess said:
Testing!!! thanks for keeping the scene alive. I'll back with comments.
Edit: not working for me. It doesn't pass boot animation. Vanir ROM with /data and /cache in F2FS.
Wiped cache and dalvik and neither works.
Click to expand...
Click to collapse
franco doesn't support F2FS because F2FS is bullsh*t.
qtoo941 said:
franco doesn't support F2FS because F2FS is bullsh*t.
Click to expand...
Click to collapse
Strange... I'm pretty sure I've read that it was supporting F2FS. Anyway... I won't argue if F2FS is good or bad. I've been using it since BSmitty featured it first time in the GNex, and I'm satisfied. So... back to my beloved Fancy, which supports F2FS without inconvenience.
qtoo941 said:
franco doesn't support F2FS because F2FS is bullsh*t.
Click to expand...
Click to collapse
how is f2fs bullsh*t.
pattyboi:) said:
how is f2fs bullsh*t.
Click to expand...
Click to collapse
f2fs is just experimental. tried it and actually .. it is not as stable as ext4. the whole story about f2f's performance over ext4's performance is just placebo effect. tried it on galaxy nexus and also on s4.. both models without any real benefit from f2fs system. EXT4 is just better and most stable. that's it.
Don't really know much about f2fs because i never used it...
But if you want it, i can add it into the kernel then you can take your decision what you want use
qtoo941 said:
f2fs is just experimental. tried it and actually .. it is not as stable as ext4. the whole story about f2f's performance over ext4's performance is just placebo effect. tried it on galaxy nexus and also on s4.. both models without any real benefit from f2fs system. EXT4 is just better and most stable. that's it.
Click to expand...
Click to collapse
mind i ask which kernel you tried f2fs with on a gnex? i gain 200+ mbs on writes with f2fs on my gnex on a bad day. && how can you actually prove is just placebo? have you done tests showing it doesn't gain ANY write/read performance compared to ext4?
Guys please... if you wanna have f2fs support hit "THANKS" lets see how many want it.
This shows how many need it and want it, if enought need/want it i will add support in next release
sgspluss said:
Guys please... if you wanna have f2fs support hit "THANKS" lets see how many want it.
This shows how many need it and want it, if enought need/want it i will add support in next release
Click to expand...
Click to collapse
I did it in the OP. If you don't mind, please try to support it as long as you can. Thanks.
Enviado desde mi Galaxy Nexus usando Tapatalk 2
sgspluss said:
Guys please... if you wanna have f2fs support hit "THANKS" lets see how many want it.
This shows how many need it and want it, if enought need/want it i will add support in next release
Click to expand...
Click to collapse
f2fs support was in r398, franco just missed one or two commits for the ramdisk i think so f2fs didn't work....but @osm0sis'es last synapsed version works very well with f2fs on data and cache and system on ext4.
i think he gave permission to use his latest ramdisk
pattyboi:) said:
mind i ask which kernel you tried f2fs with on a gnex? i gain 200+ mbs on writes with f2fs on my gnex on a bad day. && how can you actually prove is just placebo? have you done tests showing it doesn't gain ANY write/read performance compared to ext4?
Click to expand...
Click to collapse
fancy and smitty. yes, it shows upgrade in w/r performance at tests but there is no feeling of anything better compared to ext4. Do you know why PA-Team has never supported f2fs? Totally because it's experiment. The same like ART in KitKat. You can send logs to check some bugs only if its on dalvik runtime, but if you were on art runtime nobody would even check your log. ART became official and fully stable in lollipop... i truly think that f2fs can become more stable but i don't actually know when. At this moment ext4 has nearly the same performance as f2fs but is times more stable. It is not worth spending this stability for such a performance upgrade.
qtoo941 said:
fancy and smitty. yes, it shows upgrade in w/r performance at tests but there is no feeling of anything better compared to ext4. Do you know why PA-Team has never supported f2fs? Totally because it's experiment. The same like ART in KitKat. You can send logs to check some bugs only if its on dalvik runtime, but if you were on art runtime nobody would even check your log. ART became official and fully stable in lollipop... i truly think that f2fs can become more stable but i don't actually know when. At this moment ext4 has nearly the same performance as f2fs but is times more stable. It is not worth spending this stability for such a performance upgrade.
Click to expand...
Click to collapse
I find F2FS absolutely stable, and I don't know in what manner it could compromise stability.
ART is working amazingly well in my Moto G, so I don't agree when you saying it's an experiment in KitKat. The fact that ART is choking for our GNex, doesn't mean it's an experiment. Are you a Google engineer to say that ART is fully stable in lollipop?. I think it never won't work smooth in our devices.
You defend EXT4. I defend Dalvik

what rom and kernal supports F2FS for the t700???

ok i have a samsung galaxy SM-T700 what rom and kernal has F2FS support i have searched the forms but nothing for this model came up with a answer.....
thanks very much in advance..
Monster212 said:
ok i have a samsung galaxy SM-T700 what rom and kernal has F2FS support i have searched the forms but nothing for this model came up with a answer.....
thanks very much in advance..
Click to expand...
Click to collapse
Probably none of them do. Developers usually only implement F2FS if the device has slow write speeds on its built in eMMC, such as the original Nexus 7 (and a few others). Some devices have native F2FS support such as the Nexus 9 (which is why it gets its extremely high bench scores). However for this device, it has plenty fast storage already, so the benefit would be almost impossible for the human senses to notice. With all that said, I too would love to use F2FS on at least the cache partition.
SkOrPn said:
Probably none of them do. Developers usually only implement F2FS if the device has slow write speeds on its built in eMMC, such as the original Nexus 7 (and a few others). Some devices have native F2FS support such as the Nexus 9 (which is why it gets its extremely high bench scores). However for this device, it has plenty fast storage already, so the benefit would be almost impossible for the human senses to notice. With all that said, I too would love to use F2FS on at least the cache partition.
Click to expand...
Click to collapse
thank you very much for the reply.. i learned something new...
Monster212 said:
thank you very much for the reply.. i learned something new...
Click to expand...
Click to collapse
Actually, if you install TWRP recovery from here http://forum.xda-developers.com/gal...p-2-8-6-1-unofficial-sm-t800-805-807-t3074633
Then you can have F2FS support. You then just need to look for a rom that supports F2FS, or a kernel that does. I'm still looking myself, so not sure if any ROMs actually do support F2FS yet, but at least you already have F2FS format support. :good:
SkOrPn said:
Actually, if you install TWRP recovery from here http://forum.xda-developers.com/gal...p-2-8-6-1-unofficial-sm-t800-805-807-t3074633
Then you can have F2FS support. You then just need to look for a rom that supports F2FS, or a kernel that does. I'm still looking myself, so not sure if any ROMs actually do support F2FS yet, but at least you already have F2FS format support. :good:
Click to expand...
Click to collapse
Thank you for the info, I will now be looking for a good rom or kernal.....
Sent from my SM-T700 using Tapatalk
You can test my kernel here: http://forum.xda-developers.com/showthread.php?t=3139716
ashyx said:
You can test my kernel here: http://forum.xda-developers.com/showthread.php?t=3139716
Click to expand...
Click to collapse
thank you i will install it now and see how it goes...
I would like to do benchmark test results for before and after F2FS. Curious how it compares to my Nexus 7. On cache it was a good performance increase, but on system it did nothing better. EXT4 seems to be the better file system for the system partition, at least on my Nexus 7.
Sent from my SM-T700 using Tapatalk
SkOrPn said:
I would like to do benchmark test results for before and after F2FS. Curious how it compares to my Nexus 7. On cache it was a good performance increase, but on system it did nothing better. EXT4 seems to be the better file system for the system partition, at least on my Nexus 7.
Sent from my SM-T700 using Tapatalk
Click to expand...
Click to collapse
The kernel I posted doesn't support f2fs on the system partition nor does my guide include it.
As you rightly stated the system partition does not benefit from f2fs as its read only. Ext4 is capable of high read speed.
ashyx said:
The kernel I posted doesn't support f2fs on the system partition nor does my guide include it.
As you rightly stated the system partition does not benefit from f2fs as its read only. Ext4 is capable of high read speed.
Click to expand...
Click to collapse
Yeah agreed, EXT4 is slightly faster at reading, but just by a hair on my N7. However, on partitions that have write permissions, it can "sometimes" be three times faster at random writes. I been using F2FS since feb 2014 "religiously" on my Nexus 7 (and wont run a non-f2fs setup on it), so I am very well versed in its use. Legolas was the first one to bring it to custom Android (I know because I was one of his support techs helping users convert to it, until he disappeared that is lol. Then I started helping USBhost with CarbonROM), and was the first to release a F2FS app in the play store. He was also the first, and only individual, to have a Conversion app to convert your ROM to f2fs, which gave new life to my N7 and any ROM I tried back in 2014 (it did not support 5.0 though). Without F2FS, sadly my Nexus 7 is almost worthless.
If only I can find the many screenshot test results we've done with F2FS, it would come in handy here too. On the N7 its a night and day difference, but here this device is already plenty fast. Id love to see some insane results though.... If only Jaegeuk would develop a Windows driver already. I would like to use it for my Linux box, Windows and Android tbh, and format the sdcards with it, and maybe even USB storage drives to try and pick up on the write speeds a bit. Well see I guess...
My SkyHigh TW LL 5.0.2 kernels support both EXT4 and F2FS for DATA and CACHE partitions.
Note: You need to have supported base firmware for successful flash.
Deathly Aosp Kernel supports Ext4 and f2fs on cache and data
Rom support for it is included on aicp, slim, carbon, liquid
deadman96385 said:
Deathly Aosp Kernel supports Ext4 and f2fs on cache and data
Rom support for it is included on aicp, slim, carbon, liquid
Click to expand...
Click to collapse
ANY ROM can support F2FS. Its just the Kernel that needs to be built with support.
It's possible to convert any partition using various scripts (adjusted to suit device) that are about. But the easiest way is to use ashyx F2FS recovery. It saves a lot of pain.
UpInTheAir said:
ANY ROM can support F2FS. Its just the Kernel that needs to be built with support.
It's possible to convert any partition using various scripts (adjusted to suit device) that are about. But the easiest way is to use ashyx F2FS recovery. It saves a lot of pain.
Click to expand...
Click to collapse
Yeah the roms i listed already have native support no scripts or anything because the f2fs lines have been added too the fstab. So all you need to do is format cache and data in twrp and your done.
deadman96385 said:
Yeah the roms i listed already have native support no scripts or anything because the f2fs lines have been added too the fstab. So all you need to do is format cache and data in twrp and your done.
Click to expand...
Click to collapse
Those ROMs probably use a kernel which has already been patched for F2FS and compiled in-line with the ROM.
Same goes for my SkyHigh kernel, but compiled on its own. All you need to do is format your relevant ROM partitions via script or supported F2FS TWRP. No difference to method except having to flash the kernel separately.
UpInTheAir said:
Those ROMs probably use a kernel which has already been patched for F2FS and compiled in-line with the ROM.
Same goes for my SkyHigh kernel, but compiled on its own. All you need to do is format your relevant ROM partitions via script or supported F2FS TWRP. No difference to method except having to flash the kernel separately.
Click to expand...
Click to collapse
Yep they include my deathly kernel which has f2fs, but without that fstab changes it wont boot on aosp if you convert it unless the tab s is different
deadman96385 said:
Yep they include my deathly kernel which has f2fs, but without that fstab changes it wont boot on aosp if you convert it unless the tab s is different
Click to expand...
Click to collapse
It's the same (similar) ramdisk fstab changes for Samsung based kernel as well, not just source. Edit: As I said, all you need to do to actual "ROM" is just format the relevant partitions.

HTC 10/Sense F2FS support

I wanted to ask if HTC 10 and the sense based roms for it support F2FS file system? I've heard this file system results in improved performance and wanted to try it but don't know if it's supported. Thanks.
jhadsfi said:
I wanted to ask if HTC 10 and the sense based roms for it support F2FS file system? I've heard this file system results in improved performance and wanted to try it but don't know if it's supported. Thanks.
Click to expand...
Click to collapse
I don't know off the top of my head but just use the search field above the top post in any ROM thread for "F2FS" and see what you find. If the OP of a ROM or Kernel thread (as far as I know, it only has to be supported by the kernel, there isn't any special needed in the ROM, but don't quote me on that) doesn't mention F2FS than more than likely it doesn't support it. If you take a ROM that doesn't have F2FS support and you find a stock-based kernel that does support F2FS and works with the ROM in question, then you should be able to use F2FS just fine.
I only had F2FS experience with one ROM on a different phone. The main reason I don't pursue it harder is because until every ROM supports it, which would be easiest if the stock ROM supported it out of the gate, then it makes it a PITA since you then have to reformat the respective partitions to Ext4 every time you want to try a ROM that doesn't support it, and then back again if you want to restore a TWRP backup of the F2FS-supporting ROM, at least if you want to still use F2FS at that point.
But if you think you're going to stick with one ROM for a long time or don't mind the chance of hassle...
roirraW "edor" ehT said:
I don't know off the top of my head but just use the search field above the top post in any ROM thread for "F2FS" and see what you find. If the OP of a ROM or Kernel thread (as far as I know, it only has to be supported by the kernel, there isn't any special needed in the ROM, but don't quote me on that) doesn't mention F2FS than more than likely it doesn't support it. If you take a ROM that doesn't have F2FS support and you find a stock-based kernel that does support F2FS and works with the ROM in question, then you should be able to use F2FS just fine.
I only had F2FS experience with one ROM on a different phone. The main reason I don't pursue it harder is because until every ROM supports it, which would be easiest if the stock ROM supported it out of the gate, then it makes it a PITA since you then have to reformat the respective partitions to Ext4 every time you want to try a ROM that doesn't support it, and then back again if you want to restore a TWRP backup of the F2FS-supporting ROM, at least if you want to still use F2FS at that point.
But if you think you're going to stick with one ROM for a long time or don't mind the chance of hassle...
Click to expand...
Click to collapse
Ah. Thanks a lot for the detailed answer. I did search the forum for F2FS but the only relevant thing I could find was in the elementalx thread where a user was asking whether the kernel supported F2FS and was responded with the code does contain references to F2FS but doesn't the dev hasn't explicitly said anything about supporting it. That user also stated he couldn't get any stock based roms to boot on an F2FS file system.
By the way are the performance improvements really noticeable during use or is changing the file system not really worth it?
jhadsfi said:
Ah. Thanks a lot for the detailed answer. I did search the forum for F2FS but the only relevant thing I could find was in the elementalx thread where a user was asking whether the kernel supported F2FS and was responded with the code does contain references to F2FS but doesn't the dev hasn't explicitly said anything about supporting it. That user also stated he couldn't get any stock based roms to boot on an F2FS file system.
By the way are the performance improvements really noticeable during use or is changing the file system not really worth it?
Click to expand...
Click to collapse
You're welcome! To be honest, for myself and also for the ROM/kernel dev who's ROM/kernel I was on at the time, I think I barely noticed it, although I would still feel more warm and fuzzy knowing it was there in the first place. I forgot to add that to the list of reasons why not to bother jumping through any hoops to use it.
roirraW "edor" ehT said:
You're welcome! To be honest, for myself and also for the ROM/kernel dev who's ROM/kernel I was on at the time, I think I barely noticed it, although I would still feel more warm and fuzzy knowing it was there in the first place. I forgot to add that to the list of reasons why not to bother jumping through any hoops to use it.
Click to expand...
Click to collapse
Ah okay thanks. I just wanted to see what the fuss was all about. Frankly this phone is pretty damn fast with or without F2FS.

Categories

Resources