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

[HOWTO][Bacon][F2FS-ALL] F2FS Filesystem

OP gulp79

28th December 2014, 11:51 PM   |  #611  
stu5797's Avatar
Senior Member
Flag Cleveland, Ohio
Thanks Meter: 249
 
1,405 posts
Join Date:Joined: Aug 2011
More
I just did the whole process to use f2fs. I am done after completely erasing my whole phone. I think I have it working but is there a way to tell if I am formatted to f2fs? Any help would be appreciated
28th December 2014, 11:58 PM   |  #612  
Rycon33's Avatar
Senior Member
Thanks Meter: 2,096
 
3,122 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Quote:
Originally Posted by stu5797

I just did the whole process to use f2fs. I am done after completely erasing my whole phone. I think I have it working but is there a way to tell if I am formatted to f2fs? Any help would be appreciated

Install diskinfo app https://play.google.com/store/apps/d...kuder.diskinfo
The Following User Says Thank You to Rycon33 For This Useful Post: [ View ]
29th December 2014, 04:43 AM   |  #613  
Member
Thanks Meter: 4
 
46 posts
Join Date:Joined: Jan 2010
return to ext4
Is there any trick to get my device back to ext4? I formated my partitions back to ext4 via Philz Recovery but my device gets stuck on the One Plus One logo screen during start-up.
29th December 2014, 07:41 PM   |  #614  
Recognized Developer
Thanks Meter: 4,412
 
8,249 posts
Join Date:Joined: Jan 2011
More
Quote:
Originally Posted by clutterking

Is there any trick to get my device back to ext4? I formated my partitions back to ext4 via Philz Recovery but my device gets stuck on the One Plus One logo screen during start-up.

You need to flash an ext4 ROM.
30th December 2014, 04:13 AM   |  #615  
frap129's Avatar
Senior Member
Thanks Meter: 388
 
475 posts
Join Date:Joined: Jan 2013
Donate to Me
More
Is there a stock image I can flash from fastboot that will fix the partitions? After I converted tp f2fs, I got a random error when flashing an F2FS rom, and now it wont let me reboot into recovery (It get to the twrp logo and then reboots).
EDIT: fixed.
Last edited by frap129; 30th December 2014 at 05:43 AM.
30th December 2014, 06:12 PM   |  #616  
alxjvr's Avatar
Junior Member
Thanks Meter: 2
 
21 posts
Join Date:Joined: Feb 2012
hmmm this is interesting, will try it out
17th January 2015, 09:07 AM   |  #617  
kecinzer's Avatar
Senior Member
Flag Decin
Thanks Meter: 1,574
 
1,819 posts
Join Date:Joined: Jul 2007
Donate to Me
More
@gulp79
I have question about F2FS data consumption. I recently switched /data and /cache to F2FS and after clean install I have 51/55GB free on /data. I don't understeand where is that 4GB of space. With ext4 I had more free space.
17th January 2015, 02:37 PM   |  #618  
Recognized Developer
Thanks Meter: 4,412
 
8,249 posts
Join Date:Joined: Jan 2011
More
One of the cm devs has open commits that provide a method to boot either f2fs or ext4. If we do this, this will save the need to convert hour ROM each time. I should be able to find them later.
17th January 2015, 03:19 PM   |  #619  
kecinzer's Avatar
Senior Member
Flag Decin
Thanks Meter: 1,574
 
1,819 posts
Join Date:Joined: Jul 2007
Donate to Me
More
OK, I did little research about FS space consumption. Result was suprising for me.
All test was on totaly clean FS. Here is result:

ext4:
/dev/block/platform/msm_sdcc.1/by-name/system 1.3G 20.7M 1.3G 2% /system
/dev/block/platform/msm_sdcc.1/by-name/userdata 54.9G 128.0M 54.7G 0% /data
/dev/block/platform/msm_sdcc.1/by-name/cache 503.6M 8.1M 495.5M 2% /cache

f2fs:
/dev/block/platform/msm_sdcc.1/by-name/system 1.3G 156.0M 1.1G 12% /system
/dev/block/platform/msm_sdcc.1/by-name/userdata 55.8G 2.9G 52.6G 5% /data
/dev/block/platform/msm_sdcc.1/by-name/cache 510.0M 116.1M 379.9M 23% /cache

I known that ext4 FS reserves some extra space, but didn't know that F2FS reserves even more!
26th January 2015, 07:41 PM   |  #620  
jcespi2005's Avatar
Senior Member
Flag Madrid
Thanks Meter: 138
 
2,285 posts
Join Date:Joined: Feb 2006
Donate to Me
More
Quote:
Originally Posted by kecinzer

OK, I did little research about FS space consumption. Result was suprising for me.
All test was on totaly clean FS. Here is result:

ext4:
/dev/block/platform/msm_sdcc.1/by-name/system 1.3G 20.7M 1.3G 2% /system
/dev/block/platform/msm_sdcc.1/by-name/userdata 54.9G 128.0M 54.7G 0% /data
/dev/block/platform/msm_sdcc.1/by-name/cache 503.6M 8.1M 495.5M 2% /cache

f2fs:
/dev/block/platform/msm_sdcc.1/by-name/system 1.3G 156.0M 1.1G 12% /system
/dev/block/platform/msm_sdcc.1/by-name/userdata 55.8G 2.9G 52.6G 5% /data
/dev/block/platform/msm_sdcc.1/by-name/cache 510.0M 116.1M 379.9M 23% /cache

I known that ext4 FS reserves some extra space, but didn't know that F2FS reserves even more!

It's not as strange to gain access to files quicker the FS builds an index. Sounds like f2fs builds an bigger index to make searches over it faster, and gain access to files even faster. Also blocks configuration differ too so this combined to bigger index gives a faster access...

Sent from my OnePlus One

Post Reply Subscribe to Thread

Tags
f2fs
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes