Hi
I have been reading this for my Nexus 4
http://forum.xda-developers.com/nexus-4/development/script-convert-rom-to-f2fs-t2731652
Can anyone tell me if
a) would it help our primes?
b) if so does anyone know how?
Looking to speed up the I/O performance...
Justin
pooblej said:
Hi
I have been reading this for my Nexus 4
http://forum.xda-developers.com/nexus-4/development/script-convert-rom-to-f2fs-t2731652
Can anyone tell me if
a) would it help our primes?
b) if so does anyone know how?
Looking to speed up the I/O performance...
Justin
Click to expand...
Click to collapse
Jump over to my CROMBi-kk thread for the TF300 and you will see a discussion on how to set it up for the TF201. You need a special version of TWRP for f2fs to format data to f2fs and then my rom contains the kernel to use it
I keep getting encryption unsuccessful with crombi and geass twrp 7 f2fs. Doesn't matter if sdcard is ext4 or f2fs
Sent from my Nexus 4 using XDA Premium 4 mobile app
trogdan said:
I keep getting encryption unsuccessful with crombi and geass twrp 7 f2fs. Doesn't matter if sdcard is ext4 or f2fs
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'll do an update later - there are many bugs in CROMBi-KK's implementation of f2fs that I am fixing currently.
sbdags said:
I'll do an update later - there are many bugs in CROMBi-KK's implementation of f2fs that I am fixing currently.
Click to expand...
Click to collapse
Great to hear it. Should data2sd work with crombi-kk with standard ext4? Do i need a standard twrp without f2fs support if I try standard ext4?
trogdan said:
Great to hear it. Should data2sd work with crombi-kk with standard ext4? Do i need a standard twrp without f2fs support if I try standard ext4?
Click to expand...
Click to collapse
To answer my own question, yeah it worked, but I had to flash back to stock using fastboot and the asus firmware, upgrade with hairybean, installed the geass twrp, then install crombi-kk with data2sd ext4. Unfortunately, it's slow as heck with the class 10 microsd i'm using, and lots of FC. Hopefully a faster microsd with more iops will perform better....
Related
Is there any hack for Atrix which convert the filesystem to ext4 and without journal? So that I can get the best performance out of the hardware given
Well technically, you can mount an ext3 filesystem as ext4, therefore getting some of the enhancements from ext4. This has the advantage of allowing you to revert back to ext3 if something goes wrong. On a classic Linux install this would just require you to modify your /etc/fstab. But I'm not too familiar with Android internals though...
Considering that the kernel doesn't support ext4, that would probably be a bad idea.
What filesystem does the atrix use?
Sent from my MB860 using XDA App
Smallsmx3 said:
What filesystem does the atrix use?
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
From what I see on mine, there are a mixture of ext2 and ext3 partitions.
Moved as not android development
Sogarth said:
Considering that the kernel doesn't support ext4, that would probably be a bad idea.
Click to expand...
Click to collapse
Oh, Android 2.2.1 kernel don't support ext4?? That kind of suprise me, thanks a lot
carfield said:
Oh, Android 2.2.1 kernel don't support ext4?? That kind of suprise me, thanks a lot
Click to expand...
Click to collapse
It's not that the Android kernel doesn't support it - the config for the Atrix doesn't support it. If we had the kernel source, we could build an ext4 kernel module (for example). Of course, that wouldn't necessarily help, since the kernel would need access to the module before it could mount anything.
Mr. Clown said:
Moved as not android development
Click to expand...
Click to collapse
To where U-HAUL this thread?
TIA
This was a real problem with earlier firmwares is it fixed now ?
dlindh said:
This was a real problem with earlier firmwares is it fixed now ?
Click to expand...
Click to collapse
Just tried it. exFAT works, NTFS does not (in case of NTFS Android suggests to reformat your sdcard because it is corrupt.)
lowtraxx said:
Just tried it. exFAT works, NTFS does not (in case of NTFS Android suggests to reformat your sdcard because it is corrupt.)
Click to expand...
Click to collapse
Great, thank you I will buy a sdcard now then Can you format i exFAT in the tablet or should I do that in Windows first?
dlindh said:
Great, thank you I will buy a sdcard now then Can you format i exFAT in the tablet or should I do that in Windows first?
Click to expand...
Click to collapse
I dont think you can choose the FS which with android formats the sdcard. I would format it on Windows just to be safe.
I have 4.1.2 on my SGP311 and got exfat support. weird why some people claim 4.1.2 wouldn't have it.
nex86 said:
I have 4.1.2 on my SGP311 and got exfat support. weird why some people claim 4.1.2 wouldn't have it.
Click to expand...
Click to collapse
It's the LTE version who is affected with this problem. Sony has confirmed it, and they promised a solution in the next update. Seems like they kept their promise. Wifi models has never been affected by this.
Sent from my HTC One X using Tapatalk 2
TWRP-2.7.0.0 with "All-F2FS" support​
I have modified the standard TWRP recovery to work with F2FS partitions.
This is different from the previous recoveries that i published.
This is for "All-F2FS" that mean that /system, /cache and /data are formatted with F2FS.
Keep in mind that this can work only with a compatible kernel and ROM.
What is F2FS?
F2FS (Flash-Friendly File System) is a flash file system created by Kim Jaegeuk at Samsung for the Linux operating system kernel. The motive for F2FS was to build a file system that from the start takes into account the characteristics of NAND flash memory-based storage devices (such as solid-state disks, eMMC, and SD cards), which are widely used in computer systems ranging from mobile devices to servers.
Download:
FormatPartitions.zip: Here
TWRP-recovery img: Here
Chagelogs:
- 11/03/14: Initial release
Here are some explanations. Read them
Recovery has the usual red back key to remember you that you are using a F2FS-recovery.
If wiping /system and /cache and making a factory reset from Wipe menu doesn't work, use FormatPartitions.zip. (<- READ THIS)
Instead wiping /data is fine within the wipe menu.
To switch your /system, /cache and /data partitions to F2FS follow instructions:
Keep in mind that you will lose all the files on the memory of your N7.
You need:
- Two files you can download above (img and FormatPartitions.zip)
- A ROM with "All-F2FS" support (Like my SlimKat version)
(Or Make your ROM with Convert To F2FS)
- GApps (i think you want PlayStore.) Usual GApps. Slim AiO work well.
Copy a ROM with "All-F2FS" support to your N7
Copy GApps to your N7
Copy FormatPartitions.zip to your N7
Reboot in bootloader
Flash this recovery with Fastboot (Maybe Flashify works too)
Reboot in new recovery
Flash FormatPartitions.zip
Reboot recovery (It's needed for some reasons..)
Flash ROM
Flash GApps
Go to Wipe Menu and Format Data (Not a simple wipe)
Reboot
Done.
It's easier than it seems
To restore partitions to stock:
- Download a standard TWRP
- Download RestorePartitions.zip
Flash RestorePartitions.zip (Untested)
Flash standard Recovery
Format Data in Wipe Menu
Hope i dind't any errors writing this down. I personally tested this procedure.
Enjoy.
This is Awesome thxs for your hard work. And a few people where talking about have a Twrp that had all the partitions in f2fs and bam here it is.
Awesome work legolas!
So if I understand correctly, just having an f2fs-supported kernel isn't enough to run f2fs on all partitions? We need a modified ROM as well?
Also, are you going to make a modified TWRP 2.7 with MultiROM support?
Curious about which ROM has "All F2FS" support? Lego, did you modify one as such?
Sent from my Nexus 7 using Tapatalk
farmerbb said:
Awesome work legolas!
So if I understand correctly, just having an f2fs-supported kernel isn't enough to run f2fs on all partitions? We need a modified ROM as well?
Also, are you going to make a modified TWRP 2.7 with MultiROM support?
Click to expand...
Click to collapse
Yes. You need a modified ROM too.
Yes when i have some free time! As now this doesn't support MultiROM for the reason writed in OP.
adomol said:
Curious about which ROM has "All F2FS" support? Lego, did you modify one as such?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Yes . My SlimKat version is ready.
legolas93 said:
Yes. You need a modified ROM too.
Yes when i have some free time! As now this doesn't support MultiROM for the reason writed in OP.
Yes . My SlimKat version is ready.
Click to expand...
Click to collapse
I should have noticed your post with the ROM... Thanks!
Oh boy, legolas you have been mighty busy lately lol... Thanks for this hard work of yours.
Can non-devs manage to modify their ROM of choice or is this something only the ROM devs can manage?
Sent from my Nexus 7 using Tapatalk
I can verify that everything is working as advertised... Installed your modified files and am now up and running with F2FS.
I'll post if I run into anything odd.
[EDIT] Finished restoring all my apps and data. And it's blazing! Ran an ANTUTU benchmark test and scored a
14829 vs. 12726 of a stock Nexus 7!!!
And the here are the numbers for the Quadrant benchmark: 5748 vs. 3517 for stock... nice!!
Thanks again legolas!
Does the standard omni ROM will work with this? If not then where can I find a modified omni ROM? And where can we find modified gapps?
Sent from my Nexus 7 using Tapatalk
bhu1 said:
Does the standard omni ROM will work with this? If not then where can I find a modified omni ROM? And where can we find modified gapps?
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
I believe users will have to ask their devs to provide a modified version of their ROM of choice. I'm going to give SlimKat a try with M-kernel here soon I think, just because legolas seems to be the only dev taking F2FS support seriously. I like that about him.
What is meant by "Normal Gapps"? I wasn't aware there was a Gapps considered not normal. There are only different versions of it. Can someone provide a link to "Normal Gapps" please? OP says in the play store but I do not find anything in the play store called normal gapps, or even gapps (although I did find something called Gapps Manager, hmmm). I normally use PA gapps or the latest CM gapps. Thank you
EDIT: Never mind, I just found that SlimROM's has their own version of Gapps, which seems to me to be the best choice if I am going to try SlimKat. lol
Sent from my Nexus 7 using Tapatalk
adomol said:
I can verify that everything is working as advertised... Installed your modified files and am now up and running with F2FS.
I'll post if I run into anything odd.
[EDIT] Finished restoring all my apps and data. And it's blazing! Ran an ANTUTU benchmark test and scored a
14829 vs. 12726 of a stock Nexus 7!!!
And the here are the numbers for the Quadrant benchmark: 5748 vs. 3517 for stock... nice!!
Thanks again legolas!
Click to expand...
Click to collapse
Glad you like this
SkOrPn said:
I believe users will have to ask their devs to provide a modified version of their ROM of choice. I'm going to give SlimKat a try with M-kernel here soon I think, just because legolas seems to be the only dev taking F2FS support seriously. I like that about him.
What is meant by "Normal Gapps"? I wasn't aware there was a Gapps considered not normal. There are only different versions of it. Can someone provide a link to "Normal Gapps" please? OP says in the play store but I do not find anything in the play store called normal gapps, or even gapps (although I did find something called Gapps Manager, hmmm). I normally use PA gapps or the latest CM gapps. Thank you
EDIT: Never mind, I just found that SlimROM's has their own version of Gapps, which seems to me to be the best choice if I am going to try SlimKat. lol
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
With "Normal" i mean the usual GApps you used (There are no need for some sort of special GApps..). Maybe "normal" can be a bit confusing.. :silly:
legolas93 said:
Glad you like this
With "Normal" i mean the usual GApps you used (There are no need for some sort of special GApps..). Maybe "normal" can be a bit confusing.. :silly:
Click to expand...
Click to collapse
Ok, yeah that is a bit confusing, or at least the way you typed it is. Kinda made it seem like there was a different version I needed to look for, lol. So, normal is just what ever Gapps package you prefer to use? In other words, they should all work? Cool, thanks legolas... :good:
adomol said:
I can verify that everything is working as advertised... Installed your modified files and am now up and running with F2FS.
I'll post if I run into anything odd.
[EDIT] Finished restoring all my apps and data. And it's blazing! Ran an ANTUTU benchmark test and scored a
14829 vs. 12726 of a stock Nexus 7!!!
And the here are the numbers for the Quadrant benchmark: 5748 vs. 3517 for stock... nice!!
Thanks again legolas!
Click to expand...
Click to collapse
only got 13840 on my cm11 nexus 7 on antutu. looking forward to more f2fs development!
brclho said:
only got 13840 on my cm11 nexus 7 on antutu. looking forward to more f2fs development!
Click to expand...
Click to collapse
Did you modify CM11 yourself to work with All-F2FS?
SkOrPn said:
Did you modify CM11 yourself to work with All-F2FS?
Click to expand...
Click to collapse
nope, normal cm11. just wanted to post a comparison to f2fs.
brclho said:
nope, normal cm11. just wanted to post a comparison to f2fs.
Click to expand...
Click to collapse
so that's the difference when all (system & data & cache) is in F2FS : 14k+ in antutu ? And a rom with just the data partition in F2FS got 13k+ ?
TarteMan said:
so that's the difference when all (system & data & cache) is in F2FS : 14k+ in antutu ? And a rom with just the data partition in F2FS got 13k+ ?
Click to expand...
Click to collapse
sorry i will clarify. i have not done f2fs conversion yet. this is stock file system (whatever it is) with cm11 antutu score.
brclho said:
sorry i will clarify. i have not done f2fs conversion yet. this is stock file system (whatever it is) with cm11 antutu score.
Click to expand...
Click to collapse
okay
but anyone can compare antutu or quadrant score between All-F2FS rom and Data-F2FS Rom ?
TarteMan said:
so that's the difference when all (system & data & cache) is in F2FS : 14k+ in antutu ? And a rom with just the data partition in F2FS got 13k+ ?
Click to expand...
Click to collapse
In real world terms, that is all the difference you need. The only other way to get your OS's file system any faster is to replace it with a real ssd. Its simple really, F2FS was made for NAND, and EXT4 was not.
Ok, before I start all over can someone tell me how long the Google logo is supposed to stay on the screen please?Its been about 20 minutes now, so I am wondering if its upgrading android in the background but just not displaying it. lol
EDIT: Ok, 45 minutes later, I am giving up. Going to do it all a second time now.
EDIT2: 1 hour later. Got it working second time around. I guess this recovery does not like flashing all kinds of things at once. Just flashed Rom and Gapps and its booting apparently. Will flash the 3rd party kernel and MoAB later.
I wonder if converting filesystems to f2fs on yp-g70 is possible, maybe in the same way of converting from rfs to ext4?
Has anyone tried/succeeded in using f2fs on galaxy player?
Well answering my own question.. I successfully ported f2fs alongside LVM and checking if there's any performance boost lol
Could you post some comprison bench screenshot? I'm intrestring to format some partition of my 3YP-GS1 to f2fs
coderex96 said:
Could you post some comprison bench screenshot? I'm intrestring to format some partition of my 3YP-GS1 to f2fs
Click to expand...
Click to collapse
Sorry for late reply, I'm testing some new ROMs & optimizations at the moment so I'll post it later
kykint said:
Sorry for late reply, I'm testing some new ROMs & optimizations at the moment so I'll post it later
Click to expand...
Click to collapse
Ok
Greetings EARTHLINGS,
Thought Id have a play with the latest CM11s with F2FS with AK kernel. Works brilliantly and the whole rom feels much smoother. ART working real good (I dont suppose it will with xposed).
You need to format system, to f2fs to flash this rom as follows:
- philz recovery make this easiest
- format to f2fs system, then cache, then data and data/media
Because it easy and he always does an excellent job I used Calkulin's Stock Rooted XNPH44S as the base for this.
Anyhow, its nice to share so here it is.
here - AK75 or
here - AK77
No support, and in the event of problems its not my fault.
Have fun. and thanks ak and Calkulin for your usual brilliance.
The bad news - Please note coverting to F2FS will destroy your data, so make a full backup and copy it to your PC first.
The good news - If you are already using 44R on ext4 format
- make a full TWRP backup and copy to your PC.
- install this and any other scripts you want after you have reformatted to F2FS, philz is easiest for this step.
- copy your nandroid back to your phone
- restore your ext4 data (select only the data) to your new f2fs rom with TWRP.
HINT ABOUT RECOVERIES- I find using philz is good for the initial format, but TWRP is better for making and restoring backups. I use TWRP multirom as my daily now my OPO is converted to f2fs.
Please also note that any OTA will not work as the stock ROM is ext4. I will however update the ROM when an OTA occurs.
So this is a rom in that you put AK kernel there?
furrycurry said:
So this is a rom in that you put AK kernel there?
Click to expand...
Click to collapse
This is a rom because you flash it and your phone works
Yes it has AK075 kernel, and it uses F2FS file system.
Why not ak77?
Sent from my A0001 using XDA Premium 4 mobile app
Setting.Out said:
Why not ak77?
Sent from my A0001 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
+1. AK75 is almost week old...
Ozonep said:
+1. AK75 is almost week old...
Click to expand...
Click to collapse
My god! A week old! Shocking!
furrycurry said:
So this is a rom in that you put AK kernel there?
Click to expand...
Click to collapse
Setting.Out said:
Why not ak77?
Sent from my A0001 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Because when I did the rom, AK77 didnt exist. I have included AK 77 version now. Thanks for the heads up.
PS you can always flash AK77 over the first rom anyhow.
Mr Woolf said:
My god! A week old! Shocking!
Click to expand...
Click to collapse
It sounds more impressive when calculated in minutes.
Sent from my A0001 using XDA Premium 4 mobile app
Ozonep said:
+1. AK75 is almost week old...
Click to expand...
Click to collapse
What a strange way of looking at it. AK 075 was current yesterday I recall, less than 24 hours ago. Today its been updated to AK77. You guys should think of a career in politics.
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
Can you flash this ROM without changing the file system?
Sent from my A0001 using XDA Free mobile app
rahditzz said:
Can you flash this ROM without changing the file system?
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
No, Its modified version for f2fs only. And this is the only difference between this and stock C11S.
Once you go to f2fs are we able to go back and use our ext4 backups and not lose anything really want to try but want to make sure I can go back to ext4 much alohas
rahditzz said:
Can you flash this ROM without changing the file system?
Sent from my A0001 using XDA Free mobile app
Click to expand...
Click to collapse
No. You have to convert to f2fs first.
otisman said:
Once you go to f2fs are we able to go back and use our ext4 backups and not lose anything really want to try but want to make sure I can go back to ext4 much alohas
Click to expand...
Click to collapse
see added content in op
Hasan_bd said:
No, Its modified version for f2fs only. And this is the only difference between this and stock C11S.
Click to expand...
Click to collapse
Sorry not correct. This has a modified boot, incorporating AK77 and the necessary changes to make it work with F2FS, so its not stock. Functionally, its the same as stock.
Also true stock is not available as a flashable rom (yet), so rather than re-invent the wheel, I used Calkulin's 44R flashable rom as a base. As I understand it, this is stock apart from the necessary changes to make it a flashable version, along with SU being provided and not installing stock recovery.
zaphodbeeb said:
Sorry not correct. This has a modified boot, incorporating AK77 and the necessary changes to make it work with F2FS, so its not stock. Functionally, its the same as stock.
Also true stock is not available as a flashable rom (yet), so rather than re-invent the wheel, I used Calkulin's 44R flashable rom as a base. As I understand it, this is stock apart from the necessary changes to make it a flashable version, along with SU being provided and not installing stock recovery.
Click to expand...
Click to collapse
Yeah..I understand, actually I am also a fan of f2fs system and using CrDroid in f2fs system with tyr kernel. But the thing is apart from kernel and updater script, there is no visible difference in both roms and technical terms make someone really difficult to understand whats going on.
Anyway, keep up the good work. I faced some problems with AK Kernel while incorporating with CrDroid f2fs but now I will give another try :laugh:
Hasan_bd said:
Yeah..I understand, actually I am also a fan of f2fs system and using CrDroid in f2fs system with tyr kernel. But the thing is apart from kernel and updater script, there is no visible difference in both roms and technical terms make someone really difficult to understand whats going on.
Anyway, keep up the good work. I faced some problems with AK Kernel while incorporating with CrDroid f2fs but now I will give another try :laugh:
Click to expand...
Click to collapse
Cool,
Let me know when you have done it and Ill help test it. Multirom is a marvellous thing, and what the heck, one more rom isnt going to make any difference. Im permanently connected to my OPO and PC anyhow.
Flashed it yesterday. Working great so far.
Thanks a lot!
I flashed today, works everything except I haven't root. I have to flash supersu in recovery?
EDIT: yes, flashing through recovery works.