yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] sorceforge:
Nexus 5 F2FS

So, what I should do is to reformat the partitions with the recovery, install CyanogenMod M3 release via sideload, and then do the same thing for your special kernel, right? :)
[Nexus 5 Original Android Development] dennes544:
Yeah.
[Nexus 5 Original Android Development] willybarca:
do I have to install your kernel every time after cm update
[Nexus 5 Original Android Development] dennes544:
i can create zip with boot and you should just flash him, but yes every time after update
[Nexus 5 Original Android Development] CrypticRook:
I'm tempted, really tempted. May have to wait till it catches on a bit more. Glad to see real progress here though
[Nexus 5 Original Android Development] LeJolly:
So CM is absolutely necessary? With S3 any ROM can be restored after F2FS format and it worked
[Nexus 5 Original Android Development] dennes544:
on s3 f2fs by default, right? on nexus 5 f2fs is port, and so far only on CM
[Nexus 5 Original Android Development] zimlokks:
No its not default on the S3, and yes and other CM based ROMs
[Nexus 5 Original Android Development] dennes544:
I will release AOSP-based kernel very soon
[Nexus 5 Original Android Development] akash3656:
Awesome! (Y)
[Nexus 5 Original Android Development] dennes544:
CM kernel updated!
[Nexus 5 Original Android Development] checus:
I install franco kernel r36, is compatible with f2fs and i install mahdi rom
[Nexus 5 Original Android Development] dennes544:
Try to install first my kernel, and after Franco kernel
[Nexus 5 Original Android Development] skulldreamz:
You have to first install a f2fs boot.img and then flash a f2fs supported kernel ;)
[Nexus 5 Original Android Development] absoluterebirth:
So is this compatible with all roms and supported kernels? I want to try out Cataclysm + ElementalX.

Also, I've already backed everything up to my laptop that was my internal SD card. Is there anything else I should do, besides the usual Nandroid backup? EFS backup, maybe?
[Nexus 5 Original Android Development] checus:
Its appear the same message "Type apssword to decrypt storage" I dont know whats happen

Edit: boot well, I flash only first kernel, if I flash franco appear the message
[Nexus 5 Original Android Development] Technecium:
I have uploaded an updated kernel based on r36 that I'm using on my device. Please use that and let me know if you have any problems.
[Nexus 5 Original Android Development] checus:
Excuse me, where can i found this kernel?

Edit: sorry i found it xD

Re edit: run very well. First kernel AOSP i have an issue. When a try connect to pc, it change mtp connection to ptp. With r36 i solved this issue.
[Nexus 5 Original Android Development] daftlush:
That 3rd point was the gold nugget of knowledge i was looking for.

Also, I tried to CM11 nightly with ElementalX .34 caf (i think it's f2fs) but I couldn't get osx mav nor win7 in vm to read the sdcard. I gave up because i only have one phone and need it ready for work. I think the problem is with the need to flash op boot img before flashing elementalx. Can someone please make a zip vs of the boot img in op. that would make it easier for me to get this to work with my nightly flashing habits. thanks in advance.
[Nexus 5 Original Android Development] Technecium:
For flashing, look in Play for Flashify.
[Nexus 5 Original Android Development] dennes544:
Okay. My next builds will be in two editions: .zip and .img
[Nexus 5 Original Android Development] Technecium:
I have patched the f2fs code and can be found in my OP for the kernel I'm working with. This was patched against Franco Kernel r36. All commits from Jaegeuk Kim's dev repository from 2014-02-17 through 2014-03-20 have been applied.

A few notes about this update:

- Updated does not always mean faster. Review the commits to see what has been patched.

- The source code still needs some work. All the patches have been applied but the code is not identical to what you find in the dev branch. There are probably bugs that need to be worked out.
[Nexus 5 Original Android Development] dennes544:
Thanks. Wait soon updates :)
[Nexus 5 Original Android Development] dennes544:
Tomorrow!

Update CM kernel

Update AOSP kernel

Update recovery

Sorry. Got errors :(
[Nexus 5 Original Android Development] mtencarguez:
how do we know if we are formatted in f2fs? is there an app for this?
[Nexus 5 Original Android Development] evilware:
When you do a Fromat Data it will say mkfs.f2fs instead of mkfs.ext4 on the command output.
[Nexus 5 Original Android Development] Technecium:
You'll know because you have to format it yourself. Read the OP before you break something!
[Nexus 5 Original Android Development] dennes544:
Errors fixed!

Wait updates tomorrow!

CM kernel

AOSP kernel

Recovery
[Nexus 5 Original Android Development] dennes544:
Kernels and recovery updated! :victory::victory:

Please, do format data again after update recovery to avoid errors

P.S. kernel now in zip format, so flash just in recovery
[Nexus 5 Original Android Development] Malnilion:
How critical is it to wipe data again if I haven't seen any problems so far? I don't really relish the idea of having to set everything up again.
[Nexus 5 Original Android Development] dennes544:
I got problems without format, like crashing Google play services, etc... Just in this update very much critical updates
[Nexus 5 Original Android Development] notthesun:
hi guys, can i flash only new recovery and wipe data without flash new kernel? i ask that because i use Furnace kernel that works good with f2fs..

p.s i'm already on f2fs filesystem
[Nexus 5 Original Android Development] :
Do I have to flash the recovery? So i wont be able to use twrp anymore?
[Nexus 5 Original Android Development] notthesun:
Recovery is twrp 2.7.0.0 with f2fs support
[Nexus 5 Original Android Development] Malnilion:
When I try to download anything in a browser, it says no sdcard
[Nexus 5 Original Android Development] skulldreamz:
After you format data and type yes, while still in recovery you have to reboot recovery right back into recovery so that twrp can reinitialize the block data so your phone can see it's internal storage. Twrp also tells you to do what I just said after you format data/media...

Sent from my Nexus 5 that's #Bricked 4 Life!
[Nexus 5 Original Android Development] Malnilion:
I'm fairly certain I rebooted to recovery before transferring any files back. Is there any way to fix this without starting all over?

Edit, I'd like to elaborate that I did not have issues until using this latest recovery and kernel and wiping everything earlier today.
[Nexus 5 Original Android Development] Technecium:
I merged more original code into the port for android. I've included a new *.patch in the tar.gz attached in my OP. The next batch of code to be merged is a little scary as it requires files in include/linux/ to be modified. It might be a while until the next patch.
[Nexus 5 Original Android Development] microlueng:
hi, I'd like to know what improvement included in the new recovery and kernel, I'm too lazy to do the hard work(update). thanks.:o
[Nexus 5 Original Android Development] Badgerkiller:
I don't want to spoil your mood but have you already read this ?

I hope you don't have critical data in your device :rolleyes:
[Nexus 5 Original Android Development] Technecium:
Yes, it's from July of last year.
[Nexus 5 Original Android Development] dennes544:
I got some kernel panics(when testing somethings) but didnt lost any data
[Nexus 5 Original Android Development] Fransis88:
Twrp f2fs with support multirom plz!

Thanks, good woork

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] dennes544:
Yes, i can do it(i already did it), but it hard to install now, and you can ONLY using f2fs-ed kernel so you cant use ubuntu(because we havent sources, and i can't compile it with f2fs)
[Nexus 5 Original Android Development] daftlush:
Thanks for the Kernel .ZIP it really helped me get things going on my 2nd attempt.

Again, I ran into the same problem of MTP not mounting on Mac or Windows... but this time I solved the problem. For some reason I needed to enable "USB debugging" and "root access to ADB and Apps". Not sure which one of those fixed my problem and why, but they did.
[Nexus 5 Original Android Development] mtencarguez:
i don't know if this is addressed already but sorry if it already was, can we restore our old apps + data backup to the newly formatted f2fs system?
[Nexus 5 Original Android Development] Malnilion:
Yeah, I wasn't able to restore system app data for some reason, but titanium backup was still very helpful
[Nexus 5 Original Android Development] tarroyo:
Would love to see this work with OmniRom
[Nexus 5 Original Android Development] dennes544:
Soon wait updates and release purity-f2fs kernel
[Nexus 5 Original Android Development] dennes544:
It perfectly works with OmniRom
[Nexus 5 Original Android Development] pikachukaki:
we need f2fs roms or only f2fs kernels???dont flame me!! :P
[Nexus 5 Original Android Development] dennes544:
F2FS kernel ONLY
[Nexus 5 Original Android Development] obtained:
Well I made the switch. Using Slimkat 4.0 and ElementalX 0.34 and I'm really enjoying it. :)
[Nexus 5 Original Android Development] Fransis88:
ok man, thanks.

Might share your TWRP with MultiROM support? not find it anywhere and I need ...

Thanks again
[Nexus 5 Original Android Development] kevdliu:
[MENTION=5499742]dennes544[/MENTION] Thanks for this! I just have one question. How are you compiling franco's kernel with f2fs support? I can't seem to find his ramdisk anywhere. The one on his github haven't been updated for 4 months. Any help would be appreciated!
[Nexus 5 Original Android Development] DarkFantasy6:
So only flashing recovery and wiping data? :eek:

Gesendet von meinem Nexus 5 mit Tapatalk

---------- Post added at 05:56 PM ---------- Previous post was at 05:55 PM ----------

And if i format system partition is it f2fs too? :eek:

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] dennes544:
Yes. Soon i will edit multirom install app, and release

I didnt it :) Franco compiling [MENTION=636360]koe1974[/MENTION]

Flash recovery and format data

and stop asking same questions. everything in first post

No, you shouldn't format /system. Its only for /data
[Nexus 5 Original Android Development] obtained:
All of this is correct.
[Nexus 5 Original Android Development] dennes544:
Dont think so,,, Not wiping, right format. /system shouldn't be formated. Even if will be formated, it will not be f2fs
[Nexus 5 Original Android Development] DarkFantasy6:
But when i want to install i new rom. I normally do a factory wipe which wipes system too.

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] obtained:
I stand corrected. When I tested it I read it wrong.
[Nexus 5 Original Android Development] Technecium:
Check out my git. I've added two branches to Franco's ramdisk. r35-f2fs and r38-f2fs

r35 is for source (-b staging) before he rebased and r38 is for the current (-b nightlies)
[Nexus 5 Original Android Development] kevdliu:
Thanks for the info. I went ahead and edited fstab.hammerhead and twrp.fstab to make /cache f2fs also and flashed the modified recovery and kernel. I read somewhere that formatting /cache with twrp doesn't work well so i made a flashable zip containing the mkfs.f2fs binary and formatted /cache to f2fs. Everything seems to work pretty well right now. No problems yet. Is there a reason why we're not formatting /cache to f2fs currently? (besides the the twrp problem)
[Nexus 5 Original Android Development] miHah:
HELLO!

I have some issues with F2FS.

When I boot into system I keep getting something like "com.android.phone" crash.

What i've done:

1. flashed recovery.img from 1st post

2. wiped data for f2fs, also wiped system, data, cache and everything

3. installed CarbonRom with PA gapps from sideload

4. installed AOSP f2fs kernel from 1st post

5. rebooted

Questions:

1. Do I need to flash AOSP F2FS kernel from 1st post before 1st boot?

2. Can I flash any F2FS compatible kernel (like bricked) instead of AOSP F2FS kernel from 1st post?

3. If I flash Uber kernel after everything it formats cache as ext4 again. Shouldn't it be F2FS too? Because kernel from 1st post makes it f2fs.

Thank you for your time!
[Nexus 5 Original Android Development] miHah:
It was clearly some problems with CARBON ROM. Anyone else got problem with it?

I installed Purity with UBER kernel now, working incredible.

For anybody asking yourself if there will be any improvement in can guarantee IT WILL BE! In fact i don't know why but i noticed MAJOR improvement - touchscreen is faster, less lag, more intuitive, i can't describe it but I tried ext4 again and that incredible feeling was gone.

F2FS 4 LIFE! :D
[Nexus 5 Original Android Development] GJ123:
Would love to try this out but I'm not so sure about some things. For example is the recovery provided in the OT necessary or would TWRP also suffice? I've never side loaded a ROM so if it can be done without that step it would be extremely convenient. I'm okay with the data wipe but unsure about some of the steps
[Nexus 5 Original Android Development] Batfink33:
You have to use the recovery in the original post as it has the F2FS format built into it but it is TWRPjust altered to format with F2FS. When you wipe all your data you wipe EVERYTHING so you will have to transfer a zip flashable ROM to your device either by mounting a USB stick with a ROM on it in recovery or by pushing it to your SD card through ADB. You then have to transfer the F2FS kernel and flash that after you flash your ROM.
[Nexus 5 Original Android Development] toocool4all:
2.4 GHz quad core processor ,2gb ram and still people uses this for speed and laginess I wander what they want ? Run full HD 1080p , 60 fps ps4 games ?????

Sent from my Nexus 5 using CHAOS kernel and SENSONIC ROM . Thank God I mean audio god.
[Nexus 5 Original Android Development] Batfink33:
Tweak freaks like me :)
[Nexus 5 Original Android Development] dennes544:
ok. will close all threads with modifed kernels, roms, etc...

P.S. soon will updates and multirom release
[Nexus 5 Original Android Development] Enddo:
2.26GHz*

troll fail
[Nexus 5 Original Android Development] snives:
Improved performance => less time loading hardware with tasks => improved battery life = always a good thing
[Nexus 5 Original Android Development] pikachukaki:
I search the thread but i didnt find a clear answer (and forgive me if there is) but why only /data and not /system can run f2fs filesystem??
[Nexus 5 Original Android Development] toocool4all:
What about latest stable kernel support and what about aosp / aokp / cm / aicp kernels and latest recovery and multirom and and all ROM support ? Is it possible to stay as update on this kernel and recovery as official build ? I know it's not , than I think it would be hard for the developers to maintain and stay update so why developing in this thread when you developers have more potential and can do much better in ROM and kernel of your own ? And there are much better kernel which can perform as good and save battery as much as this tweaked/modified kernel. So why to flash this ROM ? And if it is as good as you guys are reporting than post the image of your antutu benchmark . and your battery stats because sometimes we see what we want to see no matter how true is the truth but we see all lies ahead , I respect the developers but not on the beast nexus 5 if it was on HTC hd2 or Samsung s2 or particularly on the lower end phones than this would be the first thing I had done after root so in the end my point is how long will the good developers of this thread will waste there time here when the others are more in need of them .

Sent from my Nexus 5 using CHAOS kernel and SENSONIC ROM . Thank God I mean audio god.
[Nexus 5 Original Android Development] kufikugel:
You really have no idea what you are talking about. And to write show me antutu and battery stats proves even more that you absolutely have no idea.

I am glad that on several devices devs start to test f2sf which gives us more information how reliable it is. What the pros and cons are etc. In theory it has a lot advantages especially on long runs. Samsung did this not just for fun lol

So either help testing and give information or just leave here.
[Nexus 5 Original Android Development] kevdliu:
well his username is toocool4all so i guess he's too cool for f2fs. :P
[Nexus 5 Original Android Development] desalesouche:
error implementing F2Fs to kernel 3.0.101

may i request some help here? my device is not samsung but may be i can find some help?

http://xdaforums.com/showpost.php?p=51602978&postcount=5295

thank you .
[Nexus 5 Original Android Development] tarroyo:
Does this method format system as well? Or just data and cache????
[Nexus 5 Original Android Development] Enddo:
f2fs really only improves write speed. there are some minor improvements to read speed but it's the speed of writing that is where f2fs excels

from what i can tell, there isn't much writing that goes on with /system. activity with that partition is mainly just reading and not writing. it's to my understanding that this is why /system isn't formatted for f2fs
[Nexus 5 Original Android Development] xtrymind:
only /data , /cache and /system untouched :)
[Nexus 5 Original Android Development] tarroyo:
Thanks for the reply, is there a way to format all 3?
[Nexus 5 Original Android Development] toocool4all:
Grrrr k I will try and see what the hype is all about

Sent from my Nexus 5 using CHAOS kernel and SENSONIC ROM . Thank God I mean audio god.

---------- Post added at 08:57 AM ---------- Previous post was at 08:45 AM ----------

Question . Does cm f2fs kernel have reverse gamma calibration or in short color tweaks ?? Because I can't live without it and what's the wrote speed ?? Is it above 25 mbps and what's read speed ?? As usually I get read speed of 25 Mbps and write speed of 22 to 25 Mbps or these is much better ?? And what types of ROM does it support currently im using sokp SENSONIC ROM with chaos kernel so any hope of using the ROM with this kernel with display color tweaks ?

Sent from my Nexus 5 using CHAOS kernel and SENSONIC ROM . Thank God I mean audio god.
[Nexus 5 Original Android Development] Technecium:
There may, and I stress may , be some advantage for using f2fs on other partitions besides r/w speeds. My testing is hardly conclusive but cpu utilization appears to be lower in some situations. Again, not conclusive but deserves to be explored.
[Nexus 5 Original Android Development] muziling:
If i want to flash another rom , i need to do this step again?

"Goto Wipe-> Format Data-> enter 'yes' and click go "
[Nexus 5 Original Android Development] skulldreamz:
What are the situations you are talking about where the CPU utilization appears to be lower? Also you should state what ROM, kernel, any mods if using any, etc.. so we all can test these situations you are talking about.. Thanks

---------- Post added at 04:10 AM ---------- Previous post was at 04:02 AM ----------

No you only need to format data 1 time and your whole data partition will be formatted to F2FS. Now you can flash away. :) just make sure you are using a appropriate kernel for the second rom you are flashing. Or if for example you are using stock for 1 rom and aosp for the 2nd rom, then there is a option in the multirom recovery where you can share the same kernel for both roms. But if 1 rom is cm or caf based and the other is stock or aosp, then make sure to have the " share option " unticked and use the appropriate kernels for each rom. Hope that shed some light on the situation for you :)
[Nexus 5 Original Android Development] Enddo:
definitely true, and im not trying to say there isn't any benefits at all. im just trying to make a generalization for people who don't quite understand what f2fs is about
[Nexus 5 Original Android Development] skulldreamz:
People who don't understand what F2FS is probably should not be formatting their ext4 partitions until they understand exactly what they are doing to their phones to air on the side of caution. Lol ;) or throw caution to the wind and man up and learn from their mistakes...
[Nexus 5 Original Android Development] toocool4all:
As I seen post above if I have custom recovery and custom ROM already installed, than I just have to wipe data partition and flash appropriate f2fs kernel after that I had to sideload my ROM or just recover backup from my external USB drive . is this it or there is f2ts recovery that I need to install first ? And if I my ROM doesn't work and I had to go back to default partition than what will I have to do ? Beside I m using cm based ROM and kernel with multirom supported twrp recovery .

Sent from my Nexus 5 using CHAOS kernel and SENSONIC ROM . Thank God I mean audio god.
[Nexus 5 Original Android Development] Enddo:
err* on the side of caution

just because someone doesn't understand what the filesystem does doesn't mean they shouldn't be allowed to use it. i've formatted many drives in my time before deciding to try f2fs. you can even look back at this whole thread, and when it started, no one even had any stats as to what kind of benefits the filesystem was giving

you don't have to understand the molecular bonds that make water possible before taking your first sip. don't try to put people down when they're wanting to learn more about a subject. at least they're asking and trying to educate themselves instead of attempting to blindly format and then come to complain

hell, i don't even know the technical differences between f2fs, ext4/3/2, fat32/16, HFS+, xfs, zfs filesystems but i've been using them for compatibility sake for years
[Nexus 5 Original Android Development] Technecium:
All is explained in the OP.

---------- Post added at 06:27 PM ---------- Previous post was at 06:21 PM ----------

I am referring to the bonnie++ results I did a while back but these were done using older f2fs code.

It's probably about time to retest.
[Nexus 5 Original Android Development] snives:
You do realize, this is a development forum right? This is not a consumer release forum. The goal in development is 3-fold. 1) Come up with new ideas and test their plausibility (proof of concept projects). 2) Expand and test ideas independently of other changes to determine their efficacy. 3) Attempt to compound beneficial ideas to determine grouped efficacy. Custom ROMs/kernels are only the last of the stages, and only exist because of the first two stages. Many times people use them to do step 2, but this introduces a much larger number of variables deprecating the value of the testing in many cases. Just take a look at CM as an example, if you aren't the current flagship (and even then sometimes) you go through major waves of stability fluctuation because there are just too many devices to properly test and debug for prior to nightly release.

tl;dr These independent tests are often intended only to test the function efficacy not to be an all-in-one release for the end user.
[Nexus 5 Original Android Development] Technecium:
Bonnie++ Test Results

I used my own aosp based rom and kernel source based on franco kernel.

The only thing that changed between ext4 tests and f2fs test was the fstab.hammerhead in the ramdisk and of course I had to format the partition.

These tests were done using the f2fs code that can be found on my github.

There are a total of 20 tests. From top to bottom, 10 ext4 tests and 10 f2fs tests.

Draw your own conclusions...
[Nexus 5 Original Android Development] toocool4all:
I didn't understand a bit but anyway I will wait for a big news before flashing it and by the way members who are active in these thread were no useful to me beside what's the read and write speed of this partition?

Sent from my Nexus 5 using CHAOS kernel and SENSONIC ROM . Thank God I mean audio god.
[Nexus 5 Original Android Development] Enddo:
xda is not the forum to spoon feed you. this is why there are no 'whats the best kernel/rom threads here'. experiment for yourself and reach your own conclusions.