[KERNEL][RECOVERY][F2FS][EXP][4.4] LegoKernel [28/02/14]

Search This thread

SkOrPn

Senior Member
Jun 3, 2007
2,994
948
Albuquerque, NM
www.planetamd64.com
thanks for the help, actually after formatting data, everything worked properly.
but I have several questions:
1 tilapia and my tablet is use AOSP omnirom.
2nd f2fs using the modified recovery, and I can not use another kernel not support this file format?
3rd, I lost the multiboot startup.

Well not sure I can answer these questions as I have stopped using MultiROM, and have not used AOSP in at least a year or more. I found myself NEVER trying additional ROM's so I felt that if I wasn't ever trying other ROM's I might as well remove it. You will always have to use Kernels with F2FS support from here on out if you intend to keep F2FS.

Not sure what kernels support F2FS, but this LegoKernel seems to be working out for me so far. Battery is fantastic and CM11 is much faster using F2FS. Last night I charged to 100% before hitting the sack, then in the morning 9 hours later it was still at 100% off the charger. Great screen off performance imo. I may never look back... lol :good:
 

Fransis88

Senior Member
Apr 19, 2011
321
45
first of all apologize for my first comment , I do not want you to get me wrong .
but was in the car , and I read the news of this kernel half , did not read the data formatting and has annoyed me lose data .

but good impressions with onmirom rom is the fastest I've ever had in my tablet tilapia, are still very positivias , 'm installing everything I had impressively fast and that I could not do backup and am installing all new, and seguire morning getting all the music and stuff.

moment the first impressions are very positive , and I hope this file format can be transferred to other kernels and other dispotivos as the nexus 5 .
greetings and thank you very much , keep doing this great job ! lately the nexus 7 is a bit neglected !

PS the MultiROM not reported as an error , just reported it. luckily I do not use the MultiROM , had it installed but do not use it . but in the description and chagelog kernel puts it supports , and MultiROM not work.
*I do not care , and I'm very happy now.
let's see how it behaves in gaming performance and consumption ! .
 

buggatti

Senior Member
Aug 24, 2011
152
15
I have got a question .. My data is f2fs and I am on a very old nightly of cm11 can I update cyanogen by flashing it and then flashing the kernel without loosing current data.
 

legolas93

Senior Member
Jul 13, 2010
644
1,267
Well not sure I can answer these questions as I have stopped using MultiROM, and have not used AOSP in at least a year or more. I found myself NEVER trying additional ROM's so I felt that if I wasn't ever trying other ROM's I might as well remove it. You will always have to use Kernels with F2FS support from here on out if you intend to keep F2FS.

Not sure what kernels support F2FS, but this LegoKernel seems to be working out for me so far. Battery is fantastic and CM11 is much faster using F2FS. Last night I charged to 100% before hitting the sack, then in the morning 9 hours later it was still at 100% off the charger. Great screen off performance imo. I may never look back... lol :good:

I'm glad you like this! I have a good feeling now when using N7.

first of all apologize for my first comment , I do not want you to get me wrong .
but was in the car , and I read the news of this kernel half , did not read the data formatting and has annoyed me lose data .

but good impressions with onmirom rom is the fastest I've ever had in my tablet tilapia, are still very positivias , 'm installing everything I had impressively fast and that I could not do backup and am installing all new, and seguire morning getting all the music and stuff.

moment the first impressions are very positive , and I hope this file format can be transferred to other kernels and other dispotivos as the nexus 5 .
greetings and thank you very much , keep doing this great job ! lately the nexus 7 is a bit neglected !

PS the MultiROM not reported as an error , just reported it. luckily I do not use the MultiROM , had it installed but do not use it . but in the description and chagelog kernel puts it supports , and MultiROM not work.
*I do not care , and I'm very happy now.
let's see how it behaves in gaming performance and consumption ! .

Mmm..I'm using MultiROM now and it works without problems. Maybe you need only to reflash the MultiROM zip if you want it. :D

I made a backup before formatting data. Is it advisable to restore it ?

A backup with TWRP or with App like titanium? In the first case i don't think it will work! (Or maybe you will lose F2FS). In the second case it should work.

I have got a question .. My data is f2fs and I am on a very old nightly of cm11 can I update cyanogen by flashing it and then flashing the kernel without loosing current data.

Yes. Remember to flash kernel after the update and you should be ok.
 
  • Like
Reactions: Fransis88

kesongpinoy

Senior Member
Jan 15, 2012
141
15
for those who are using this

hello, I have a question for those who are already using this. Does it significantly improve calling of keyboard (especially heavy ones like swiftkey), and screen rotation lag? Thanks a lot.
 

alematt

Senior Member
Nov 17, 2012
549
188
Do yall think this kernel is the more battery friendly?
I need looong battery :p

Inviato dal mio Xperia U utilizzando Tapatalk
 

nlabrad

Senior Member
Jul 29, 2011
257
49
Buenos Aires
Quick question.
Having CM11.
If i flash the kernel, can i boot CM11 back again without formatting? I mean, does the kernel support the standard filesystem?
I'm asking this so i can flash the recovery with flashify instead of fastboot. And then format everything.
Thanks.

EDIT: Nope, it will ask for a password for decrypt. So, don't try this.
 
Last edited:

batman368

Senior Member
Jan 16, 2012
198
94
Beertown
Google Pixel 7 Pro
reborn nexus 7

hey guys,

just wanted to report back that I'm running legokernel on my nexus 7 now as well. and it's REALLY fast. i use purity rom, no issues. i also activated ART and disabled fsync, performance is not as good as with my nexus 4, but much closer than earlier (same setup with m-kernel)

can't say anything about battery yet, but it doesn't really matter with that speed :)

thanks alot legolas, really nice job
 

CptKlink

Senior Member
Aug 14, 2011
141
57
Edmonton
Quick question. If there a way to check to see what file system my device is running just as a way to tell if the F2FS is working or not?
 

Fransis88

Senior Member
Apr 19, 2011
321
45
Anyone try this on PA or AOSPAL as of yet? Or even OmniROM? Just curious...

I'm currently running with f2fs omnirom kernel. and I have not seen combination of rom + kernel running faster on my tablet. imagine that with stock android, but omnirom and this type of AOSP roms are incredible.
We will see more kernels with this file format?
 
  • Like
Reactions: SkOrPn

alematt

Senior Member
Nov 17, 2012
549
188
I'm currently running with f2fs omnirom kernel. and I have not seen combination of rom + kernel running faster on my tablet. imagine that with stock android, but omnirom and this type of AOSP roms are incredible.
We will see more kernels with this file format?

Can you explain better? Sorry I didn't understand you

Inviato dal mio Xperia U utilizzando Tapatalk
 

SkOrPn

Senior Member
Jun 3, 2007
2,994
948
Albuquerque, NM
www.planetamd64.com
I'm currently running with f2fs omnirom kernel. and I have not seen combination of rom + kernel running faster on my tablet. imagine that with stock android, but omnirom and this type of AOSP roms are incredible.
We will see more kernels with this file format?

Thank you for this delightful bit of information. I'm going to test both PA and OmniROM later today using legokernel..

M-kernel will give it a try later this week or next week I think. And Sgt. meow appears Interested in getting it working on his Oxydo kernel. I hope they both succeed because I've never experienced such a huge difference with a single and simple mod like this. Every ROM user should be aware and enjoy what a flash-friendly file system can do for their mobile device. I'm excited about this F2FS to say the least. Lol

Sent from my Nexus 7 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 59
    LegoKernel - With F2FS

    NOTE This kernel version doesn't support "All-F2FS"

    This is a Kernel for Android 4.4. I made this for SlimKat so i don't know if this will work with other roms.
    Some users reported working also on:
    • Cyanogenmod (Reported by: buggatti)
    • Carbon (Reported by: Nosterius)
    • OmniROM (Reported by: SkOrPn)

    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.

    The idea was of ss2man44. F2FS helps Nexus 7 2012 where he needs: IO Speed and slowdown after long period (months?) of use. This Filesystem is used in others phone too like Moto X where he shows good performance.

    I tested this myself for some weeks without problems and i'm happy.

    I started from the stock Slim kernel.
    There are also others features by me:
    • Ported sl[aou]b from Linux 3.4
    • Ported timer and workqueue from Linux 3.4
    • Ported random from Linux 3.13-rc4
    • Ported rwsem from Linux 3.11
    • Kernel NEON Mode
    • Etc..Etc..
    • Added GPU OC (Franco way..)
    • Added Toggle for FSYNC
    • Revert CPU OC things (We don't need it and it was a bit dirty..)

    Instructions:

    I already said that i did this for SlimKat so my advice is to start this procedure with a working SlimKat rom or another rom that is reported to work good. (See the start of this post)

    F2FS is a Filesystem so we have to Format our memory in this mode. How can we do this? We need a "special" TWRP and LegoKernel


    I said "FORMAT" so it's obvious that you will lose all your data (even Movies..Music..all!). Backup them on PC to restore easily at the end.
    Now..

    • Reboot in Recovery (To know that you are on "special" TWRP note that the BackKey is Red at the bottom-right)
    • Go to Wipe menu
    • Format Data (Not the simple Wipe!)
    • Reboot

    Enjoy. (Now you may want to restore your backup)

    Report back how do you feel your tablet now. I have a very positive opinion about this thing!! :D

    Changelogs:
    - 28/02/13: Add Kexec Support

    Some thing you have to know:
    • After the switch to F2FS you can use only kernel with F2FS Support
    • Backup made with standard TWRP may not work with "special" TWRP and reverse.

    How come back?
    • Flash a standard TWRP
    • Format Data
    • Flash your previous ROM/Kernel
    • Reboot

    Github
    12
    MultiROM v22a - With F2FS

    I have adapted Tassadar MultiRom to work with F2FS. (All credits to him)

    You need:
    • Its Multirom zip. Here
    • Kernel with F2FS Support and Kexec Support
      (As now LegoKernel-F2FS-140228 is the only LegoKernel that work with MultiROM)
    • TWRP with F2FS Support and MultiROM. Here (For Grouper)
    • TWRP with F2FS Support and MultiROM. Here (For Tilapia)

    If you already switched to F2FS:

    • Move Multirom zip and Kernel to your tablet
    • Flash TWRP with F2FS Support and MultiROM with Fastboot or Flashify
    • Reboot in Recovery
    • Flash Kernel
    • Flash MultiROM zip
    • Reboot

    If you didn't switch to F2FS and want to do it now:

    • Copy Kernel to your tablet
    • Flash Kernel with your current Recovery
    • Flash TWRP with F2FS Support and MultiROM with Fastboot
    • Reboot in Recovery
    • Format Data in Wipe menu (you will lose all your files!!) Not the simple Wipe!
    • Reboot
    • Copy MultiROM zip to your tablet
    • Reboot in Recovery
    • Flash MultiROM zip
    • Reboot

    Some things you have to know: (READ THEM)
    • All your ROMs must support F2FS so if you want to use "normal" ROMs you have to "share kernel"

    I have tested this with SlimKat as Primary and CM11 as other ROM
    8
    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

    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 @legolas93 for LegoKernel and @carlo93 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.
    3
    What is f2fs ??? Can someone explain to me what are its advantages and disadvantages ???

    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.
    3
    Hi,
    this mod works well for me on my Nexus 7 3G running CyanogenMod 11. I've been running this just for a few hours, but the filesystem performance seems much better, my N7 no longer lags when installing apps, which it did before.
    The only problem, or rather inconvenience, I had is that the recovery is not made for the N7 3G, so it won't install ROMs and stuff made for tilapia, as it expects them made for grouper. It would be cool to have a tilapia version of the recovery, or some instructions in the OP on how to use it there.

    If you want to use this mod on tilapia, you have to:
    1. Install the special recovery by legolas93 from the first post.
    2. Format /data from within the recovery (format, not just wipe).
    3. Install back a recovery made for tilapia and DO NOT FORMAT /DATA!
    4. Install your ROM/gapps/hippo/etc.
    5. Flash the modified kernel from the firts post.
    Anyway, big thanks to legolas93 for doing this. Have you also considered making /system and /cache as f2fs? Do you think it would have any significant benefits?