What is f2fs? - Lenovo A6000/Plus Questions & Answers

What is f2fs? Is this important?

Flash friendly file system. It is just another type of file system like exfat, ext4,etc.

It has any additional features ?

https://forum.xda-developers.com/lenovo-a6000/help/f2fs-t3576483/post71529370

How many ****ing threads asking the same question
- Sexy Mother******rrr

Related

Install ANDROID on partition ext2

Sorry for my English, i'm french, so i try to explain my problem.
I want to install ANDROID on 2 partition ext2, but it's not working.
What I do.
1/
I create 3 partition:
1 Fat (6Go)
And 2 partition ext2 (2x1Go)
2/
I copy all the file on the root of the fat32 partition
3/
I launch Haret, but nothing , and ANDROID is installed on FAT32 (I suppose..)
Please help me
simply because haret/other files is supposed to work on fat32 (rules) , and one question why would you want to do that are you a developer or something
well i would like to be able to have 2 partitions on the phone...one for android and other for winmo storage card
I think (and i read), that, it's better to have 2 others partitions for android ...
But, i not really know why ...
fcnaben said:
I think (and i read), that, it's better to have 2 others partitions for android ...
But, i not really know why ...
Click to expand...
Click to collapse
two partitions are only good for actual android phones
Right now the kernel mounts the .img. It could mount an ext2/3 partition or anything that the linux kernel supports but getting new builds on there, changing files, etc. won't be so easy because windows has no drivers for ext2 and most people don't use linux.
When we get to a point where android is comparable to WM on battery life and components working we might want to get a partition for android.
I understand the version of ANDROID for HD2 create a system.ext2. If you create a partition, we don't need this file, and ANDROID work better...
On the other device (on ANDROID), we can read some post about partition ext2 ...
now lets make it clear:
1-i will create ext2 partition
2- i will use any version of android for hd2 except the .ext2 file and copy these files to the ext2 partition
3-now i need to run the android on ext2, how i can do this ?
So a half an hour after posting in THIS thread, you decided to make 2 other threads with the same exact title, and in the wrong section.
POINTLESS!
As you have already been answered. IT WILL NOT WORK. Learn how to use forums or GTFO.
Mc0sd2
Sent from my Desire HD using XDA App

[Q] Please explain F2FS

Hi,
I've been seeing all the new F2FS ROMs and Kernel's being developed for the N7. I'm very interested in trying it out, but I'm also getting very confused. I know what it is in principle, "a different file system created to be more optimized to the characteristics of NAND memory in flash devices." (as explained in the XDA article) - but what's the difference between 'F2FS' and All-F2FS'; which partitions does each modify? is there a performance difference between them? which ROMs/Kernel's can be used on each? etc?
Thanks!
F2FS means only the /data partition is formatted with the filesystem, while All-F2FS means all of the partitions are.
AFAIK, for F2FS one only needs a compatible kernel (and recovery) and can use any rom.
For All-F2FS one need a compatible kernel, recovery and rom.
(I'm not using f2fs myself, so someone with more experience can correct me if I'm wrong.)
Thanks Erovia, that helps
Now the question remains, is there much/any performance difference between F2FS and All-F2FS..?
I'm sure there is, but since the most used partition (in I/O perspective) the ext4->f2fs/all-f2fs gain is bigger than the f2fs->all-f2fs gain.

[Q] F2FS Guide?

I know this has probably been asked before, but I am doing it because I have literally read about 7 threads which all give slightly differing accounts of how I should do this.
http://www.reddit.com/r/Nexus7/comments/2q2b9h/2012_how_to_format_to_f2fs_and_flash_a_rom/cn2738y
Seems pretty straight forward, but I need some clarification.
Right now I'm on EXT4 I have downloaded the ROM/GApps to my tablet and I have TWRP 2.8.3 which has the ability to convert my partitions to F2FS.
Do I need a Flash Drive? Can I do the conversion while on an EXT4 ROM then install the F2FS ROM? I guess the simple question is does someone have a well put together guide to doing this?
Thank you ahead of time for the help.
I think your kernel have to support f2fs. There's a good guide in here somewhere. You can us computer to copy files over using TWRP. USB mode.

EXT4 to f2fs?

I was wondering that with TWRP 3.0, it is possible to convert the file system to f2fs. The performance in f2fs seems to be far greater when compared to ext4. Has anyone tried converting the x play to f2fs? If so, what all ROMs are compatible with it?
varounmirchi said:
I was wondering that with TWRP 3.0, it is possible to convert the file system to f2fs. The performance in f2fs seems to be far greater when compared to ext4. Has anyone tried converting the x play to f2fs? If so, what all ROMs are compatible with it?
Click to expand...
Click to collapse
I don't think it's possible to convert a filesystem to another, you'll probably need to format your partition in f2fs, so make a backup first.
Also, note that f2fs is designed to take advantage of nand-based storage. Have a look at http://www.xda-developers.com/f2fs-put-to-the-test-against-ext4/
claudineimatos said:
I don't think it's possible to convert a filesystem to another, you'll probably need to format your partition in f2fs, so make a backup first.
Also, note that f2fs is designed to take advantage of nand-based storage. Have a look at http://www.xda-developers.com/f2fs-put-to-the-test-against-ext4/
Click to expand...
Click to collapse
As far as I know, you do need to format in order to convert. I don't think any kind of conversion tool exists at this point, or may ever exist. I remember reading that there's only really a benefit to making the data partition f2fs (and perhaps the cache as well? I'm pretty tired atm so I can't confirm that.) If so, you should be able to format Data without reinstalling the ROM. Correct me if I'm mistaken!
Be aware that while f2fs is definitely faster, filesystems are relatively simple things that wind themselves into complex knots when put into action. So, despite f2fs being optimized for NAND, it hasn't been thoroughly tested the way EXT4 and others have. You could always run into some issues with data loss or other confusing bugs. Because of this, it's probably also safer to leave the System partition as EXT4, if you even can/would want to make it f2fs.
I'd also like to know if anyone has gotten f2fs working on the Moto X Play, @squid2 has f2fs driver updates listed in the changelog for his kernel, although it may also take support in the ROM to fully implement. Please let us know if you get it running! The performance is significantly faster, and it's also less wear-and-tear on the memory, if I understand correctly.
JohnHorus said:
As far as I know, you do need to format in order to convert. I don't think any kind of conversion tool exists at this point, or may ever exist. I remember reading that there's only really a benefit to making the data partition f2fs (and perhaps the cache as well? I'm pretty tired atm so I can't confirm that.) If so, you should be able to format Data without reinstalling the ROM. Correct me if I'm mistaken!
Be aware that while f2fs is definitely faster, filesystems are relatively simple things that wind themselves into complex knots when put into action. So, despite f2fs being optimized for NAND, it hasn't been thoroughly tested the way EXT4 and others have. You could always run into some issues with data loss or other confusing bugs. Because of this, it's probably also safer to leave the System partition as EXT4, if you even can/would want to make it f2fs.
I'd also like to know if anyone has gotten f2fs working on the Moto X Play, @squid2 has f2fs driver updates listed in the changelog for his kernel, although it may also take support in the ROM to fully implement. Please let us know if you get it running! The performance is significantly faster, and it's also less wear-and-tear on the memory, if I understand correctly.
Click to expand...
Click to collapse
Actually TWRP allows to convert the file system to f2fs (yes by formatting it obviously). Its usually recommended to convert the /data and the /cache partitions for optimum results. I had a Yu Yuphoria before this, and I had converted the file system to f2fs, and the performance was whooping fast.
And I did see that @squid2 has mentioned f2fs support in his kernel (i guess it comes directly from CAF) but I wanted to know which ROMs do support it? So far I don't see "f2fs supported" mentioned in any of the ROMs for our device and thats why I am still on hold.
We're already using f2fs. Even the stock ROM uses f2fs for the userdata partition.
So can we use f2fs with your Kernel and CM13? Data and cache partitions?
squid2 said:
We're already using f2fs. Even the stock ROM uses f2fs for the userdata partition.
Click to expand...
Click to collapse
Cache shows up as ext4 in TWRP, for me at least. Would that benefit from switching to f2fs?
Edit: Tried formatting the cache as f2fs, no boots.
F2fs does use a log, but still, it took up 128MB of the cache partition, seems kinda weird unless the partition actually grows to accomodate that. Maybe I did something wrong, idk.

F2FS Out of the Box?

Quick question, when having the Moto G4 Play, does it already come with F2FS already set? Or do I need to change the EXT4 to F2FS via TWRP? Just curious, that's all.
The /data partition is f2fs by default. Unfortunately the stock ROM doesn't seem to support f2fs for SD cards though.
spiked_mistborn said:
The /data partition is f2fs by default. Unfortunately the stock ROM doesn't seem to support f2fs for SD cards though.
Click to expand...
Click to collapse
Lame. So do I have to format it to f2fs to support it via TWRP?
zeeBomb said:
Lame. So do I have to format it to f2fs to support it via TWRP?
Click to expand...
Click to collapse
TWRP will likely support any filesystem on the SD card, but the stock ROM only supports exfat/fat32. CyanogenMod is usually much more tolerant of different filesystems and should support f2fs.
spiked_mistborn said:
TWRP will likely support any filesystem on the SD card, but the stock ROM only supports exfat/fat32. CyanogenMod is usually much more tolerant of different filesystems and should support f2fs.
Click to expand...
Click to collapse
Great! Whats the best system I should change? /data? /system?
zeeBomb said:
Great! Whats the best system I should change? /data? /system?
Click to expand...
Click to collapse
These are partitions, and they can be formatted with different types of filesystems. The /data partition is already f2fs, and the /system partition only supports ext4. No changes necessary here. The only change that you might want to make would be to your external SD card, and then only if you will be using a custom ROM. The stock ROM only supports exfat/fat32. If you only plan on using custom ROMs you might see some improvements by formatting your SD card f2fs.
spiked_mistborn said:
These are partitions, and they can be formatted with different types of filesystems. The /data partition is already f2fs, and the /system partition only supports ext4. No changes necessary here. The only change that you might want to make would be to your external SD card, and then only if you will be using a custom ROM. The stock ROM only supports exfat/fat32. If you only plan on using custom ROMs you might see some improvements by formatting your SD card f2fs.
Click to expand...
Click to collapse
Ooohhhh I see. Would it be a good idea to change the system to f2fs on CM?
zeeBomb said:
Ooohhhh I see. Would it be a good idea to change the system to f2fs on CM?
Click to expand...
Click to collapse
Pros:
Possibly faster, but by how much, who knows?
Likely less wear on the flash, but for a typical usage scenario in a phone it probably doesn't matter.
Cons:
The card can't be accessed directly in Windows, only Linux (maybe Mac?)
Stock ROM doesn't support it.
You could end up in the situation I'm in where you change phones and the new one only has the stock ROM that does everything you need it to, and you have to copy 55GB of stuff off your f2fs SD card, contemplate if you want to make it adopted storage or just exfat, and then copy everything back.
spiked_mistborn said:
Pros:
Possibly faster, but by how much, who knows?
Likely less wear on the flash, but for a typical usage scenario in a phone it probably doesn't matter.
Cons:
The card can't be accessed directly in Windows, only Linux (maybe Mac?)
Stock ROM doesn't support it.
You could end up in the situation I'm in where you change phones and the new one only has the stock ROM that does everything you need it to, and you have to copy 55GB of stuff off your f2fs SD card, contemplate if you want to make it adopted storage or just exfat, and then copy everything back.
Click to expand...
Click to collapse
I meant /system and f2fs on the SD which u answered. Good points tho you never know.

Categories

Resources