Battery Charged in 30 Seconds? Maybe in 2016

Phones and tablets are getting more and more power hungry with each passing generation. Their … more

ZArchive Manages Your File Archives

Today smartphones are quite powerful devices that can handle multiple processes at once. In fact, some of … more

Regain Double Tap to Wake Functionality on the Nexus 6

A few months ago, Google announced its newest flagship device, the Nexus 6, alongside … more

Clean Your Recent Apps – XDA Xposed Tuesday

In this day and age, you have quite a few apps installed and running on your Android … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] F2FS

OP abrahammmmmmm_

20th April 2014, 03:42 AM   |  #1  
abrahammmmmmm_'s Avatar
OP Senior Member
Flag Salem
Thanks Meter: 27
 
127 posts
Join Date:Joined: Oct 2013
More
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!
20th April 2014, 09:44 AM   |  #2  
Wiki Admin / Recognized Contributor
Thanks Meter: 1,581
 
3,524 posts
Join Date:Joined: 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
20th April 2014, 08:23 PM   |  #3  
abrahammmmmmm_'s Avatar
OP Senior Member
Flag Salem
Thanks Meter: 27
 
127 posts
Join Date:Joined: Oct 2013
More
Quote:
Originally Posted by TheManii

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
20th April 2014, 08:36 PM   |  #4  
Wiki Admin / Recognized Contributor
Thanks Meter: 1,581
 
3,524 posts
Join Date:Joined: Dec 2010
Quote:
Originally Posted by abrahammmmmmm_

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)
The Following User Says Thank You to TheManii For This Useful Post: [ View ]
20th April 2014, 09:40 PM   |  #5  
abrahammmmmmm_'s Avatar
OP Senior Member
Flag Salem
Thanks Meter: 27
 
127 posts
Join Date:Joined: Oct 2013
More
Quote:
Originally Posted by TheManii

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
20th April 2014, 10:05 PM   |  #6  
mdamaged's Avatar
Senior Member
Flag South of Heaven
Thanks Meter: 1,044
 
1,621 posts
Join Date:Joined: Oct 2013
More
Quote:
Originally Posted by abrahammmmmmm_

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.
The Following User Says Thank You to mdamaged For This Useful Post: [ View ]
21st April 2014, 02:39 AM   |  #7  
abrahammmmmmm_'s Avatar
OP Senior Member
Flag Salem
Thanks Meter: 27
 
127 posts
Join Date:Joined: Oct 2013
More
Quote:
Originally Posted by mdamaged

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
Last edited by abrahammmmmmm_; 21st April 2014 at 04:23 AM.
21st April 2014, 04:24 AM   |  #8  
abrahammmmmmm_'s Avatar
OP Senior Member
Flag Salem
Thanks Meter: 27
 
127 posts
Join Date:Joined: Oct 2013
More
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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes