yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] Fransis88:
I installed TWRP tilapia with support and MultiROM F2FS this: http://www.mediafire.com/download/9jtjz5rsf9gyi34/multirom-F2FS-tilapia-A.img

and I can not access the recovery, constantly restarts.

I've also tried this other grouper: http://dh.st/sFY

and with this I stay in the blue logo screen TWRP, and no longer moves.

however the original TWRP recovery, works for me perfectly. I do not want to go back to EXT4 not know what happened to my tablet, but I can not boot the recovery F2FS, but traditional.

Ideas?, the moment I leave the tablet off and F2FS format, until you give me a solution, because I refuse to go back to EXT4.

greetings and thanks
[Nexus 7 Original Development] Fransis88:
get it repaired, the problem is that I had lost partitions, the modified recovery f2fs did not recognize me and I could not boot.

the end with the original TWRP, I got to reformat, I found that everything worked and came back to install modified recovery F2FS. but I lost all data.

is the first time this happens to me, but since I leave it as a solution.

Could update the recovery to 2.7?

PD: MultiROM does not work, I install secondary roms, but do not start, I get into the recovery.

thanks
[Nexus 7 Original Development] Mettanine:
This actually works! Thanks so much. I had done a factory reset earlier, tried several TRIM tools that promised to fix the slowdowns but nothing helped. This does! :laugh:
[Nexus 7 Original Development] ZANKRUT.DOSHI:
What is f2fs ??? Can someone explain to me what are its advantages and disadvantages ???
[Nexus 7 Original Development] SkOrPn:
http://en.wikipedia.org/wiki/F2FS

Benefits = Its new and built for mobile device flash NAND. Its also the most stable FS yet, you can't even cause file corruption from removing power in the middle of a write. Random writes are somewhere around 3-4 times faster than ext4 when full journaling is used. Remove journaling and its on par or slightly faster than ext4.

Disadvantages = Its new and not built for platter disks. Its also not yet a finished product, still has many features not yet implemented. It also seems to be targeted for mobile devices, which means not really a desktop file system. Not really sure why that is though, but that is what one of the thorough review testers told me at Phronix.
[Nexus 7 Original Development] ZANKRUT.DOSHI:
So how do you convert n7 filesystem to f2fs
[Nexus 7 Original Development] SkOrPn:
The same way you convert all file systems since the beginning of the storage medium. You format your storage device.

Everything needed to know is in the OP of this thread.
[Nexus 7 Original Development] cassius_20:
Love all f2fs-Omni right now. Just fished m68test4 to see how it performs. Stupid question: is this the same kennel that was shipped in the original f2fs-omni?
[Nexus 7 Original Development] dave4391:
Dous f2fs support nexus7. 2013 (FLO) ta
[Nexus 7 Original Development] adomol:
Yes, Elemental X kernel includes the f2fs drivers. Although no one yet has modified the flo version of TWRP for f2fs.
[Nexus 7 Original Development] dave4391:
Download sit not working. As anyone got a copy of the files i need thank you
[Nexus 7 Original Development] tanoxxx:
Hi guys,

this kernel work with the latest CM11 nightly?

im on CM11, i see on OP i must convert Filesystem in F2FS, i will do it, after covert the Filesystem and flash the kernel can i restore my nandroid backup for have back and done the rom and the configuration of my nexus 7?

Thanks
[Nexus 7 Original Development] adomol:
Check out the CM N7 thread. [MENTION=4949320]ryanrudolf[/MENTION] has been making modified CM for f2fs.

---------- Post added at 07:58 AM ---------- Previous post was at 07:56 AM ----------

What exactly are you looking for?
[Nexus 7 Original Development] tanoxxx:
i have tryed to serch the thread but i dont found it, please, can you share the link?

have back after this operation, convert file system and flash the legokernel, my all app and all configuration with fast method, and not make all manually, for example can i restore my previous nandroid backup or i cant because the filesystem is different?

do you know some fast method for restore it?

thanks again
[Nexus 7 Original Development] adomol:
Here you go... http://xdaforums.com/showthread.php?t=2050821
[Nexus 7 Original Development] Maxr1998:
Do I only have to wipe data or also system? Also, is Stock ROM supported? When I use multirom version, can I install ROMs to USB-OTG?

Sent using my nexus7 running Stock 4.4.2 with Xposed, GravityBox and XHaloFloatingWindow
[Nexus 7 Original Development] SkOrPn:
There is no wiping involved. Only formatting /data using the format button. You can try and push back files using fastboot or adb, but its easier to just use OTG and a USB flash drive.

I guess you can factory reset BEFORE you start the process if you want to. But its not needed I do not think. I know I did not do it and its been running fantastic for a month now.
[Nexus 7 Original Development] Maxr1998:
Yes with wiping I meant formatting...so only /data... Ok...but can I still install ROMs to USB drives? And what about stock ROM now?

Sent using my nexus⁴ running Stock 4.4.2 with Xposed, GravityBox, XThemes and hells-Core B46 KK t4
[Nexus 7 Original Development] SkOrPn:
I have seen several mentions of people doing this with Stock ROMs but I do not know the procedure, if it is different or not. Installing a ROM to a USB drive? I never heard of that, so again out of my league, lol (is that possible?)... However, you CAN install the ROM FROM a USB flash drive (I use FAT32 for this). Just put the files you need onto a usb drive and use TWRP to mount the usb-otg, then go back to the install menu and you can now use the flash drive to install from. Remember, when you select the "Format Data" button it will ask you to type the word YES, in order to continue with the format. You DO NOT USE THE WIPE MENU to format /data! Formatting /data erases EVERYTHING off of your device, including everything you have in the on board sdcard, software licenses, TB backups, Nandroid backups etc. That's why its best to use OTG, instead of pushing the files back onto the device. You can put the files back after your done with the entire process. That's what I do anyway. I made a backup of my entire sdcard by simply copy/pasting it into my PC. Then I put everything I need to flash, onto the usb drive, and flash from it using a OTG cable. Fairly easy really
[Nexus 7 Original Development] Maxr1998:
That's clear...but installing TO external drive is also possible thanks to multiRom...

Sent using my nexus⁴ running Stock 4.4.2 with Xposed, GravityBox, XThemes and hells-Core B46 KK t4
[Nexus 7 Original Development] SkOrPn:
Yeah, very cool feature of MultiROM. :good:
[Nexus 7 Original Development] Maxr1998:
I just flashed this kernel and then Oxydo on top, and now it asks me for a decryption password after reboot??

I don't have already formatted as f2fs, just flashed kernel...?

EDIT: Solved by restoring stock kernel.

I read on another place that stockrom still uses default fstab.grouper which means it tries to still mount ext4, although it should be still there as I didn't format this time... :confused:

Maybe StockRom just isn't supported...

Second EDIT: found a f2fs kernel for KOT49H, I will try to flash that and then oxydo on top...

Sent using my nexus⁴ running Stock 4.4.2 with Xposed, GravityBox, XThemes and hells-Core B46 KK t4
[Nexus 7 Original Development] Maxr1998:
Just realized: when I am done with formatting data and want to restore my previous one, I can't just simply restore from nandroid cause it's data.ext4.win00X?

[MENTION=2743057]legolas93[/MENTION] [MENTION=4394172]sgt. meow[/MENTION] [MENTION=4239374]ss2man44[/MENTION]
[Nexus 7 Original Development] adomol:
Legolas mentioned that in the OP. EXT4 TWRP backup may not work with the modified TWRP.
[Nexus 7 Original Development] Maxr1998:
Ok, but I have a previous backup of data with old recovery that is ext4, and I would like to restore that after formatting as f2fs...

Sent using my nexus⁴ running Stock 4.4.2 with Xposed, GravityBox, XThemes and hells-Core B46 KK t4
[Nexus 7 Original Development] SkOrPn:
Did you save your backup to your PC or is it still on the device? Formatting data to f2fs erases everything, including any and all backups.
[Nexus 7 Original Development] Maxr1998:
It's on the PC of course, as well as all other /sdcard content...

---------- Post added ----------

The thing is: I am on stock android 4.4.2 with ext4, and have a nandroid of /data, /system and boot. I moved all content to my PC. I want to flash the MultiROM recovery of Legolas and a kernel for KOT49H from another thread. Then I would format data in TWRP and restore my previous data backup. To enable MultiROM again, I then would flash Oxydo kernel which has kexec and f2fs support.

Sent using my nexus⁴ running Stock 4.4.2 with Xposed, GravityBox, XThemes and hells-Core B46 KK t4
[Nexus 7 Original Development] SkOrPn:
Well op clearly states that old backups may not work. Give it a try and see if it does or doesn't work. If it doesn't work at least you have your data still. I did everything from scratch myself the first time but the second time I noticed it worked without wiping anything and I had not had to do anything after the ROM install except for flashing gapps again.

EDIT: This is a very new mod for us Nexus 7 users, so everyone here is in the midst of experimentation, and the only way to answer questions is to try things yourself, because chances are your the only one who can answer it. I have not seen anyone else even remotely mention they were going to try something that complicated yet, so it is completely new territory your in.
[Nexus 7 Original Development] tanoxxx:
i can found it :(

there is a way to use CM11 with this F2FS kernel?
[Nexus 7 Original Development] Maxr1998:
Ok, after I realized that all gets me to nothing, my question is: how do you restore/get back your previous apps/data? Nandroid doesn't work, and flashable zip is too complicated/impossible. Apps like Titanium Backup or Helium don't really restore everything and you have hundreds of files...

I had an (more theoretical) idea that you can unpack your nandroid, and then put it all into an f2fs based .img file and then either flash this with fastboot or burn it to device with dd :P

Sent using my nexus⁴ running Stock 4.4.2 with Xposed, GravityBox, XThemes and hells-Core B46 KK t4
[Nexus 7 Original Development] PrizmaticSmoke:
You'll need to manually copy back over to your tablet any files you want on there (at least, that's what i did), which were hopefully backed up on your PC first.

I was able to restore apps + related data with Titanium by just copying the TitaniumBackup folder back to the tablet, then reinstalling Titanium from the play store and restoring missing apps + data.
[Nexus 7 Original Development] DasGensu:
Ok i think i may have done something wrong in the process, but im gonna explain myself first:

i was on Miui (for testing purposes) and since i wanted to go back to omni anyways, i did the few steps the OP mentioned to get f2fs up and running.

now what i did was (exact order)

1. go to normal TWRP, flash lego kernel

2. install modified TWRP

3. format data through modified twrp

4. install omni rom, gapps and lego kernel (that was the step that made me wonder if it's gonna work because i don't know exactly why the special TWRP is Special etc)

because of that i checked my FS with android terminal emulator, that showed me that /data is mounted as f2fs

I do not have the lego kernel installed though (i installed it again on top of omni from special TWRP) according to my device info

so. Do or don't i have f2fs working?

should i redo the complete tutorial?
[Nexus 7 Original Development] sgt. meow:
[MENTION=5222551]Maxr1998[/MENTION]

If by data and files you are referring to the /data partition, which you have backed up in EXT4, restoring it isn't supposed to be working. Also you can try going back to full stock and restoring the EXT4 backup, doing a Titanium Backup, copying the /sdcard to your PC, flashing back to F2FS, copying back the /sdcard from your PC and then restoring apps from Titanium Backup. That should work. Failsafe.
[Nexus 7 Original Development] tanoxxx:
i maked it exactly with CM11 but at reboot the nexus 7 is unusable, i got continuously this error:

"Unfortunately, the process com.android.phone has stopped"

Please someone can help me? i dont understand what i wrong :(

Thanks
[Nexus 7 Original Development] Maxr1998:
Thanks..so i will have to install Titanium Backup :P

Sad that my credit card is empty, otherwise I could buy it and create a flashable zip from backup [emoji57]

Sent using my nexus⁴ running Stock 4.4.2 with Xposed, GravityBox, XThemes and hells-Core B46 KK t4
[Nexus 7 Original Development] DasGensu:
That does not work most of the time,so save your money if you're only in it for this feature. Anyone got a solution to my problem?
[Nexus 7 Original Development] leungalv:
Just wanted to report that I successfully installed this on stock KitKat 4.4.2. Seems to be running a little snappier, dunno if it's a placebo effect though. But for now, I think it is faster ...:fingers-crossed:
[Nexus 7 Original Development] DasGensu:
[deleted]
[Nexus 7 Original Development] THADDIUS25:
I tried installing this kernel on the latest slimkat and it just sits at the bootscreen
[Nexus 7 Original Development] !crazy:
SlimKat with f2fs comes with this kernel included. Why would you want to flash it again?
[Nexus 7 Original Development] CptKlink:
This Kernel is Data Only F2FS and doesn't work on ALL-F2FS ROMs Like SlimKat ALL-F2FS. But essentially this is the same kernel as in the ALL-F2FS SlimKat ROM just the kernel in the SlimKat ROM has a few extra things added just to get ALL-F2FS to work.

You are right but also wrong at the same time LOL. This Kernel is pretty much the same as the one in SlimKat just this one in SlimKat has a few things added to get ALL-F2FS to work. This Kernel only works with Data Only F2FS.
[Nexus 7 Original Development] frantisek.nesveda:
CyanogenMod added support for multi-sim devices in the beginning of March, so every kernel needs to have /system/framework/telephony-msim.jar in their BOOTCLASSPATH to be able to work on new CM nightlies. I repacked the kernel with a modified init.environ.rc in the ramdisk to incorporate this change, so it can work on CyanogenMod. All credits to [MENTION=2743057]legolas93[/MENTION] for LegoKernel and [MENTION=4128517]carlo93[/MENTION] for information about the patch. The modified kernel is attached to this post.

TL;DR: Use the kernel attached to this post if you want it to work on CyanogenMod.
[Nexus 7 Original Development] williamsjp:
Thank You so much.

Ive been using a Moto G as a phone for about 2 months I couldnt under stand why it was faster than a nexus 7 2012. this F2FS has brought it closer to my phone.

Lag has almost gone, and got 1500 more point on antutu.

Funny the dual sim updates that make my phone work with cm11 broke the kernel.

I would be crying if you guys didnt fix this kernel.

Thanks to everyone involved.
[Nexus 7 Original Development] lotherius:
Thanks, this fixed it for me as well. Is there any issue running the patched version on a non-CM rom?
[Nexus 7 Original Development] frantisek.nesveda:
I didn't test it anywhere else, so I'm not sure, but I don't think there should be issues on other ROMs. I can be wrong, though, so make sure you have a way to install the original non-patched kernel if anything goes wrong.

Here's why I think it should work:

In the patch, I only changed the BOOTCLASSPATH variable, which tells Dalvik in which JARs it can look for Java classes it needs. I didn't delete any JAR from that list, I only added the JAR for multi-sim support. I'm not sure how exactly Android handles the BOOTCLASSPATH, but I hope that it can handle having a non-existent JAR listed there without crashing. Unix can handle having fake folders in PATH, so Android could work similarly.
[Nexus 7 Original Development] frantisek.nesveda:
Because this kernel hadn't had an update in two months, and legolas93 released a new version of SlimKat with a heavily optimized kernel, I decided to patch that kernel for the "/data on F2FS, everything else EXT4" partition layout and include the CM patch. If you want to try it, it's attached to this post. All credits to [MENTION=2743057]legolas93[/MENTION], I just changed a few files and repacked.

Personally, it feels more responsive to me, it was smooth right the moment after boot which it normally isn't.

I tried to play a few games, in Angry Birds Go it felt a lot better and faster than before. With the same settings and GPU frequency I got about 500 points bigger score on Antutu (14800 vs 15300).

As always, if you want to try this, make sure you have a backup or some other way to revert if something goes wrong. Hopefully it won't, but better safe than sorry.
[Nexus 7 Original Development] lotherius:
What overclock does that Slimkat kernel allow?
[Nexus 7 Original Development] SkOrPn:
I do not believe this kernel has overclock, but then again I have not tried this kernel since its early release.

:good: nice to see another custom computer builder here...
[Nexus 7 Original Development] lotherius:
Yep. I have since upgrade to (gasp) a Core i5 processor and added a 240gb SSD. Need to update the sig. Always custom though, I have been building my own since 1994 :)

Thanks for the update. I'll be looking at my options on SlimKat. Kernel compatibility seems to be the issue that I'm having on CM11 as well, but I'm not willing to give up F2FS as it makes such a big difference on the 2012 N7.

Next week I'm going to try to reassemble my 2013 N7 LTE which has broken glass, and I damaged the bezel removing the old glass (ugh). If I get that working I might just take the 2012 back to stock or a more stock AOSP rom, so I can keep F2FS working reliably.
[Nexus 7 Original Development] SkOrPn:
Same here, this f2fs kept my N7 from being forgotten completely. Now, its tolerable hahaha...

Got to hand it to Legolas93 though, his newer kernel release is amazing. I have not had one itch to up the OC as of yet. We'll see how long that lasts though, lol
[Nexus 7 Original Development] frantisek.nesveda:
It allows overclocking the GPU, but not the CPU.
[Nexus 7 Original Development] b4b4.4l1:
Hey guys, I dunno I might be blind or missing something here, I've read through all the pages here but I can't find the link of modded twrp 2.7 for tilapia here which was mentioned on page 8. Any help to point out where to download that? All links at page 1 only point to old modded twrp :(

Btw, latest CM 11 for tilapia doesn't work with this, I'm trying PA 4.3 now.

EDIT : Well, PA 4.3 works like a charm eventhough I'm using old modded twrp 2.6.3 for MULTIROM from front page
[Nexus 7 Original Development] TarteMan:
if this kernel was updated like all-f2fs kernel ?
[Nexus 7 Original Development] Uncleheff:
How long does it take to update partition details? I think I may have been impatient and tried to reboot before it was done. It keeps saying something like Android.com force closed over and over. I can access the custom twrp recovery and reboot to bootloader so I was going to try to flash Rom and gapps via fastboot but in command window I get this (see attached image)

Edit: Now I'm getting the type your password screen on my tablet after adb sideloading the Rom and gapps.

sent from HTC One M8
[Nexus 7 Original Development] Uncleheff:
Now I'm back to this. I don't know what to do next.

sent from HTC One M8
[Nexus 7 Original Development] Limbudipesh:
That looks like a tilapia. If it is so, use the kernel at post #242 which is required for cyanogenmod
[Nexus 7 Original Development] frantisek.nesveda:
[MENTION=5497684]Uncleheff[/MENTION] You can install the kernel attached to this post, which is an updated version of the kernel from post #242 based on the latest SlimKat kernel by [MENTION=2743057]legolas93[/MENTION], and it works on CM.

All credits to [MENTION=2743057]legolas93[/MENTION], I just repacked his kernel with a CM patch and a different fstab.
[Nexus 7 Original Development] Uncleheff:
No it's the 2012 nexus 7 Wi-Fi (grouper)

sent from HTC One M8
[Nexus 7 Original Development] frantisek.nesveda:
It shouldn't matter if it is a grouper or a tilapia, the kernel in my previous post should help you anyway.
[Nexus 7 Original Development] hummer010:
Oops! Wrong Thread!
[Nexus 7 Original Development] mrsofa:
This is not working :(

Installed the kernel, and when rebooting to install the recovery after the google sign, its just blank...

Running cm11

Edit: tried flashing the recovery first, the back button is red now...

To sum this up. I have no IDEA What im doing :D
[Nexus 7 Original Development] frantisek.nesveda:
Try the kernel attached to this post.
[Nexus 7 Original Development] lotherius:
Will this work with the new 4.4.3 update for data only f2fs?

Would like to update the cranky old tablet, but it's unusable without f2fs... (actually, sadly, it appears to be slowing down after only a few weeks even with it...)...
[Nexus 7 Original Development] Ja_som:
Hi, I only want to confirm that F2FS with SlimKernel-020514-F2FS-CM-patch.zip works on stock Android 4.4.3 ;)

Thank you
[Nexus 7 Original Development] lotherius:
Why would you use the CM-Patch version on stock?

Still holding off on updating to 4.4.3 myself until I'm sure I won't lose F2FS on stock.
[Nexus 7 Original Development] Ja_som:
Because with normal kernel from first post I get screen where I had to enter a password to decrypt the data partition.
[Nexus 7 Original Development] frantisek.nesveda:
That kernel is not important because of the CM patch, but because it's an updated version of the original LegoKernel. The CM patch is just a one line change so the kernel can also boot on newer CM nightlies, it shouldn't make any difference on stock or AOSP-based ROMs.
[Nexus 7 Original Development] lotherius:
Thanks. Still going to wait for 4.4.3 merges though. Don't like mixing versions.
[Nexus 7 Original Development] Uncleheff:
Can I just fastboot flash this?

sent from HTC One M8
[Nexus 7 Original Development] frantisek.nesveda:
Yep.
[Nexus 7 Original Development] Uncleheff:
Just flashed it and it worked great!!!! Thanks for saving my butt.

---------- Post added at 02:08 AM ---------- Previous post was at 01:30 AM ----------

Now that I got this working....a few questions.

1. Am I now stuck with my current ROM or can I update to the newest cm11 build?

2. If I can update do I need to reflash the special kernal cm patch or can I just let the tablet update as normal?

3. Can I change custom recovery back to clockworkmod or do I have to stay with the custom twrp?
[Nexus 7 Original Development] nsyncfan:
Someone please tell the instructions with twrp 2.7.1.1 because it officially supports f2fs file system
[Nexus 7 Original Development] frantisek.nesveda:
1. You can update freely, but you need to flash the kernel again after flashing the ROM.

2. See 1.

3. You can flash ClockworkMod, if you wish, but if you format /data in ClockworkMod, you will lose the F2FS formatting. I think it's better to stay with TWRP.
[Nexus 7 Original Development] SkOrPn:
That is a fact. TWRP is the only recovery constantly being updated for our Nexus 7.
[Nexus 7 Original Development] PrizmaticSmoke:
I haven't tried it myself as I was already on all-F2FS when it was released, but check out the Changelog in the OP of the TWRP thread, it contains instructions on how to change your partitions' formats. http://xdaforums.com/showthread.php?t=1779092

Basically, it looks like you would just use TWRP's new built in functionality to format the partitions instead of the .zip files from legolas, everything else would remain the same.

Just make a full backup first and save a copy to your PC in case anything goes wrong. Post back how it goes for you if you make the switch using the new TWRP.

Edit: had the wrong URL