Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,805,427 Members 42,301 Now Online
XDA Developers Android and Mobile Development Forum

[Q] F2FS

Tip us?
 
abrahammmmmmm_
Old
#1  
abrahammmmmmm_'s Avatar
Senior Member - OP
Thanks Meter 26
Posts: 120
Join Date: Oct 2013
Location: Salem
Default [Q] F2FS

Forgive me if I'm being stupid but I was wondering if the nexus 7 used the new f2fs file system? I recently purchased a new deb version of the nexus 7 coming from the old 2012 variant (which I already forgot the code name of) but I remember the drastic performance improvement it received from the implement of f2fs. I've searched around the forum and found nothing on this which I found pretty strange considering the galaxy nexus, nexus 4, nexus 7 2013, and nexus 5 have already obtained it. So I was thinking that maybe it shipped like that by default? My question is just whether any devs are looking into it or have had it cross their mind. I bring this up because performance isn't bad or anything it's just that I like future proof my stuff I paid for and considering a new 2014 model might come out son I don't want to feel like if I should have waited a few extra months to get that new one. And considering implements such as this can make the moto x (which I have) perform better than most high end devices I'd feel like this would have me on check for quite some time. Thanks!
 
TheManii
Old
#2  
Wiki Admin / Recognized Contributor
Thanks Meter 1,524
Posts: 3,406
Join Date: Dec 2010
afaik no device outside the moto x/g use it by default, and that's only with the oem moto rom.
The play edition moto g does not use it either.
Definitely no nexii device does nor does the galaxy s's or htc one m7/m8.

There are mods to reformat and use f2fs on devices without it by default though,
I would imagine all you would need is a kernel with it enabled and the right support binaries for your rom.

I believe there is already an existing mod made for the n4/mako, but I do not actually use it so I could be mistaken
XDA Wiki Moderator
Nexus 4: Stock 4.4.4 (KTU84P) 2013 N7: Stock 4.4.4 (KTU84P)
iTouch 5G: 6.1.2 (10B146) Surface Pro 2: Win8.1u1 (6.3.9600.17085.amd64fre.winblue_gdr.140330-1035)
 
abrahammmmmmm_
Old
#3  
abrahammmmmmm_'s Avatar
Senior Member - OP
Thanks Meter 26
Posts: 120
Join Date: Oct 2013
Location: Salem
Quote:
Originally Posted by TheManii View Post
afaik no device outside the moto x/g use it by default, and that's only with the oem moto rom.
The play edition moto g does not use it either.
Definitely no nexii device does nor does the galaxy s's or htc one m7/m8.

There are mods to reformat and use f2fs on devices without it by default though,
I would imagine all you would need is a kernel with it enabled and the right support binaries for your rom.

I believe there is already an existing mod made for the n4/mako, but I do not actually use it so I could be mistaken
Alright thanks for the info! it's really interesting to know that the gpe edition of the moto g doesn't have it either.
What I meant by those nexus devices having it is that devs here from xda have already ported it and claim to make the devices faster than fast. And I really want to get in that action lol
As far as support for that file system goes I believe CM is compatible with it by default without any modification, and I know that on the nexus 5 the elementalx kernel which we have already supports that and I'm guessing it wouldn't be difficult for the developer to support that here as well. So really it comes down to whether anyone takes a shot at actually creating a recovery to reformat the file system that way
 
TheManii
Old
#4  
Wiki Admin / Recognized Contributor
Thanks Meter 1,524
Posts: 3,406
Join Date: Dec 2010
Quote:
Originally Posted by abrahammmmmmm_ View Post
So really it comes down to whether anyone takes a shot at actually creating a recovery to reformat the file system that way
Quote:
Originally Posted by https://github.com/CyanogenMod/android_bootable_recovery/blob/fd6b35cc09b64f21e66dcc8468228defcea75fe4/nandroid.c#L622
Code:
const char *filesystems[] = { "yaffs2", "ext2", "ext3", "ext4", "vfat", "rfs", "f2fs", NULL };
It seems that CWM at least already supports f2fs, in that case it's simply telling it that it should be mounting that specific partition as f2fs.
If f2fs support is enabled by default in CM also, it's then simply a case of having that kernel with it enabled, setting the rom to mount as f2fs, and reformatting the partition to f2fs.

You would need to have a seperate varients of your recovery though since you need to unpack and repack them to tell them to use f2fs
(all this is really similar to enabling ext4 on older devices I did a few years ago)
XDA Wiki Moderator
Nexus 4: Stock 4.4.4 (KTU84P) 2013 N7: Stock 4.4.4 (KTU84P)
iTouch 5G: 6.1.2 (10B146) Surface Pro 2: Win8.1u1 (6.3.9600.17085.amd64fre.winblue_gdr.140330-1035)
The Following User Says Thank You to TheManii For This Useful Post: [ Click to Expand ]
 
abrahammmmmmm_
Old
#5  
abrahammmmmmm_'s Avatar
Senior Member - OP
Thanks Meter 26
Posts: 120
Join Date: Oct 2013
Location: Salem
Quote:
Originally Posted by TheManii View Post
It seems that CWM at least already supports f2fs, in that case it's simply telling it that it should be mounting that specific partition as f2fs.
If f2fs support is enabled by default in CM also, it's then simply a case of having that kernel with it enabled, setting the rom to mount as f2fs, and reformatting the partition to f2fs.

You would need to have a seperate varients of your recovery though since you need to unpack and repack them to tell them to use f2fs
(all this is really similar to enabling ext4 on older devices I did a few years ago)
Interesting, I'd be willing to take a shot at it considering I've still got about ~20 days of best buy in store warranty just in case I'd get it into an irreparable state. But of course I'd need of some help and external knowledge since I don't know where I should get started really. Though before any of that happens the developer for elementalx should add support for f2fs, I really hate asking for things but I'll give it a try
 
mdamaged
Old
#6  
mdamaged's Avatar
Senior Member
Thanks Meter 927
Posts: 1,474
Join Date: Oct 2013
Location: South of Heaven

 
DONATE TO ME
Quote:
Originally Posted by abrahammmmmmm_ View Post
 
Interesting, I'd be willing to take a shot at it considering I've still got about ~20 days of best buy in store warranty just in case I'd get it into an irreparable state. But of course I'd need of some help and external knowledge since I don't know where I should get started really.
Though before any of that happens the developer for elementalx should add support for f2fs, I really hate asking for things but I'll give it a try
ElementalX already has f2fs support.
Kenneth, what is the frequency? Set a fire for a man, and he will stay warm for a night. Set a man on fire, and he will stay warm for the rest of his life.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The Following User Says Thank You to mdamaged For This Useful Post: [ Click to Expand ]
 
abrahammmmmmm_
Old
(Last edited by abrahammmmmmm_; 21st April 2014 at 03:23 AM.)
#7  
abrahammmmmmm_'s Avatar
Senior Member - OP
Thanks Meter 26
Posts: 120
Join Date: Oct 2013
Location: Salem
Quote:
Originally Posted by mdamaged View Post
ElementalX already has f2fs support.
*facepalm* I just ran the terminal command and indeed saw f2fs, I thought the kernel was device specific so it wasn't implemented here on the nexus. Now it's just whether I can figure out how to reformat the system onto what I want
 
abrahammmmmmm_
Old
#8  
abrahammmmmmm_'s Avatar
Senior Member - OP
Thanks Meter 26
Posts: 120
Join Date: Oct 2013
Location: Salem
Update: things are looking pretty complicated based on how other devices implement it such as the N5 so maybe only an experienced dev would be able to actually get this ball rolling. Aka I can't do it at least not alone. Shame since I fell like that would make our rock solid tablet turn into a diamond

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


CyanogenMod 11 M10 Available for Supported Devices

Summer vacation isover for most students out there, and it’s the time to get back to … more

XDA Forums Added for the First Batch of Android One Devices!

Just yesterday, we talked about the highly anticipated launch of the first batch … more

XDA Xposed Tuesday: DonkeyGuard, Don’t Be a Donkey, Control Your Device – XDA Developer TV

Some applications ask for the world … more

Use Facebook Pictures as a LWP with Facebook View

One of the best things that Android has always offeredits users is the ability to tailor … more