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.
Related
i've been seeing that "Ext4 is required" for newer ROMs, but i was wondering what that actually means with respect to Android...i understand that it's a filesystem. thanks and sorry for the ignorance.
From my understanding it's kind of like how a hard drive is formatted. In this case we used to have rfs and thanks to the good folks here we now have the now becoming standard ext4 which is supposed to be a bit speedier on the I/O I believe.
I think it also supports larger file sizes.
great...thanks for the info.
rockrerun said:
I think it also supports larger file sizes.
Click to expand...
Click to collapse
I don't think that would matter though. It's the SD card that is in FAT32 that would hold the over 4gb file. The phone will play it in any case. Now...if you formatted the SD to ext4 then I suppose this would be true. I don't know if the new file ext4 was needed to "read" an ext4 sd card or not though. I could simply format my sd to ext4 (since I'm still on RFS for now) and check out if an over 4gb video file would play...or be seen at all.
Okay, I am now thinking of partitioning my SD Card....
So a few questions:
1. What are ext4, SWAP and any other kind of partitions and the difference between them?
2. How do I partition and what should be the size of different partitions, how many partitions and each partition for what purpose?
3. After partitioning, what next so that all my apps go to partitioned SD Card, like adding a few App2SD Scripts?
4. What exactly are these App2SD and Data2SD Scripts and the difference between them?
[email protected] said:
Okay, I am now thinking of partitioning my SD Card....
So a few questions:
1. What are ext4, SWAP and any other kind of partitions and the difference between them?
2. How do I partition and what should be the size of different partitions, how many partitions and each partition for what purpose?
3. After partitioning, what next so that all my apps go to partitioned SD Card, like adding a few App2SD Scripts?
4. What exactly are these App2SD and Data2SD Scripts and the difference between them?
Click to expand...
Click to collapse
See THIS
And also THIS
That was a good read....
But what is "Swap"?
I have no idea what that is....
And is there specifically any difference between ext3 and ext4?
[email protected] said:
That was a good read....
But what is "Swap"?
I have no idea what that is....
And is there specifically any difference between ext3 and ext4?
Click to expand...
Click to collapse
AFAIK swap is a partition that makes it run as ram when its required.. In short for memory!!
And ext3 and ext4 are just linux partitions and ext4 is recommended. Google is always your friend!!
[email protected] said:
That was a good read....
But what is "Swap"?
I have no idea what that is....
And is there specifically any difference between ext3 and ext4?
Click to expand...
Click to collapse
If you are getting some errors/bugs after partitioning, disable swap as it doesnt work for every1
Sent from my GT-i5801 using XDA App
neo1691 said:
AFAIK swap is a partition that makes it run as ram when its required.. In short for memory!!
And ext3 and ext4 are just linux partitions and ext4 is recommended. Google is always your friend!!
Click to expand...
Click to collapse
Thanks for all the info mate....
Is it possible to make a full f2fs converted Rom for the A500? I know that we need a special Kernel and a supported recovery. what must be change inside the kernel for f2fs?
Any Ideas?
Basti667 said:
Any Ideas?
Click to expand...
Click to collapse
Yes its possible and thors roms had this but dropped out as file system overhead was too large and there was not enough space on ssytem partition for gapps.
If we had smaller gapps, it should work?
pointless to have system f2fs... since its read only...theres little gain....
f2fs on data is much more effective since its actively used for read/write...
So I'm just starting to look into the F2FS format for the N7 since everyone is just talking about it and the speed increase, new life, it gives to this great tablet. I have a few questions...
I'm currently running the following
File Format: ext4 all partitions
Rom: PA 5.0
Kernel: M Kernel a74
I've read up that PA does not support F2FS, and if you want to format to F2FS the user would have to change the rom themselves. Is there a simple way to go about this, as I do enjoy using PA.
2nd, I know m-kernel supports F2FS, do I just have to flash it and it works out of the box, or do I need to do some sort of setting?
3rd, Some people say they just format cache into F2FS, if I do this, can I still use PA 5.0 without changing the rom?
4th, Is the performance noticeably different between just cache in F2FS VS cache/data in F2FS? I assume if I format data into F2FS PA will have to be modded to run F2FS or flash another rom with F2FS support.
5th, Dumb question maybe, but why does everyone say not to format system into F2FS?
Thanks for any insight!
I use CM, not PA, but that's probably no difference here.
kazemitsui said:
I've read up that PA does not support F2FS, and if you want to format to F2FS the user would have to change the rom themselves. Is there a simple way to go about this, as I do enjoy using PA.
5th, Dumb question maybe, but why does everyone say not to format system into F2FS?
Click to expand...
Click to collapse
If you want to have /system on F2FS, you'll probably have to change the rom, otherwise not. since changing /system has no great impact (because there's no write access) you can leave it on ext4. In this case, you only have to flash an f2fs-compatible kernel (after each flashing of the rom), but don't need other changes.
kazemitsui said:
2nd, I know m-kernel supports F2FS, do I just have to flash it and it works out of the box, or do I need to do some sort of setting?
Click to expand...
Click to collapse
for data/cache yes, for all-f2fs not. Of course you still have to do the formatting in TWRP (or whatever). Remember that your internal storage (/sdcard) will be wiped if you format data.
kazemitsui said:
3rd, Some people say they just format cache into F2FS, if I do this, can I still use PA 5.0 without changing the rom?
Click to expand...
Click to collapse
usually it's cache and data, I never heard of someone only reformatting cache. But it should be possible, of course without changing the rom (besides kernel).
kazemitsui said:
4th, Is the performance noticeably different between just cache in F2FS VS cache/data in F2FS?
Click to expand...
Click to collapse
I don't know.
kazemitsui said:
I assume if I format data into F2FS PA will have to be modded to run F2FS or flash another rom with F2FS support.
Click to expand...
Click to collapse
As I said, I have never used PA, but for all roms I used data could be formatted to f2fs without changes in the rom. You only have to flash an f2fs kernel if the rom doesn't include one.
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.