yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] raxidian:
Quick question guys, I was on CyanogenMod with the LegoKernel and the custom F2FS TWRP 2.6.3.1 recovery, now Cyanogen wants to download the cm-grouper-1b35d25d8c-to-80ab029a2f-signed.zip update and install that. If I go with it it just reboots after downloading that file to the CACHE folder and tries to install. It fails and just goes back to recovery and I can go and reboot without any problems. Still Cyanogen shows me it wants to update and can download the file again to repeat the process.

Finally... the question, What should I do to correctly install the update ?
[Nexus 7 Original Development] fozzie:
What exactly is the error message when it fails?
[Nexus 7 Original Development] theoctavist:
So I'm confused. If I am on already all f2fs device(carbon/mkernel) will this kernel not work? The op says does not support all f2fs. Help?

if you can't be just, be arbitrary.- WSB
[Nexus 7 Original Development] fozzie:
Correct. This is for data-only f2fs.
[Nexus 7 Original Development] SkOrPn:
If you want a All-F2FS version of LegoKernel then you either need to flash one of the ROMS that has it such as Slimkat or Omni, or pull it from one of them ROM's and inject it yourself. OR, if you want the latest version of his Kernel, then buy his app from the Play Store and use it to convert your ROM of choice, which will come with the latest version of All-F2FS LegoKernel once its done converting your ROM.
[Nexus 7 Original Development] theoctavist:
How does one pull the kernel from a ROM and inject it? Is there a guide? Carbon is killer, but I do like playing with different kernels

Nvm. Got it
[Nexus 7 Original Development] kendoori:
Need Recommendation of Minimalist ROM to Work with Lego?

Lego has somewhat salvaged my N7 2012; however, it's still pretty slow compared to what it was when I first bought it. I'm using CM 11 Nightly.

I have a music practice app that is useful enough that I may decided to relegate the N7 to a single purpose, so am thinking that a very skinny ROM with Lego might do the trick.

I'd prefer to not do a lot of experimentation, so am looking for something that's tripped pretty bare as I will not be doing a lot of tweaking and running other apps but iRealPro and perhaps a audio recording and playback app.

Any recommendations are appreciated.
[Nexus 7 Original Development] raxidian:
Installing 'cache/cm-grouper-1b35d25d8c-to-80ab29a2f-signed.zip'...
Checking MD5 file...
Skipping MD5 check: no MD5 file found.
assert failed: apply_patch_check("/system/priv-app/Trebuchet.apk","6ae268748fdb0a5c76ad9b86ce8b2bb2091fb4d7","0989e8c3198263e43f35e908f592ad5b2b9b48e2")
E:error executing updater binary in zip 'cache/cm-grouper-1b35d25d8c-to-80ab29a2f-signed.zip'
Error flashing zip 'cache/cm-grouper-1b35d25d8c-to-80ab29a2f-signed.zip'
updateing partition details...

FAILED (in red)

It just fails to install the zip after rebooting. It's a 50mb or so update zip located in CACHE.

If I can't update I was thinking on going All-F2FS taking the TWRP 2.7.0 modified from the other thread. What I didn't get after reading the whole thread was if you need to convert the CyanogenMod NIGHTLY with the Convert to F2FS app or if it is already supported.

Edit: I must add that I was using this LegoKernel with F2FS, the TWRP recovery provided on OP and CyanogenMod. Followed instructions on this thread and everything was working fine and is working fine. It's just the cyanogen update that it's not going through.
[Nexus 7 Original Development] fozzie:
The file is not the right version for the update that you're running.

/system/priv-app/Trebuchet.apk

Probably best getting support in the appropriate CM thread ;)
[Nexus 7 Original Development] raxidian:
Thanks fozzie.

I'll check it out because that's the update it keeps downloading automatically when notifying about it, didn't think it was a wrong version, just a bad zip or a problem with the Kernel/Recovery. I read that some users had problems with the OTA, was trying to delay as much as I could reformatting everything, which in most cases was the only solution. If I go that route I will give the All-F2FS a try.
[Nexus 7 Original Development] courageousrobot:
Out of curiosity (and I read the first 9 or 10 pages of this thread before asking this), do you have to go through the install steps every time you flash a ROM?

I like to run CM nightlies and update whenever I remember to through the update method built into the OS. Would updating CM11 that way overwrite anything?
[Nexus 7 Original Development] Ja_som:
DELETED
[Nexus 7 Original Development] Reiven89:
I need Legokernel with All-f2fs.... Where i can get it? Thank you
[Nexus 7 Original Development] Reiven89:
Can someone convert this kernel to full-f2fs? This kernel have the best battery life
[Nexus 7 Original Development] SkOrPn:
The OP has an app in the play store that will convert any ROM you want to f2fs using his legokernel. Its called Convert to f2fs.

Sent from my Nexus 7
[Nexus 7 Original Development] Reiven89:
The app will set the Legokernel with any rom you convert by default?
[Nexus 7 Original Development] PrizmaticSmoke:
Yes, the app replaces the kernel in the rom with Legokernel, and edits the update script appropriately. It's worked great for me on many different ROMs.
[Nexus 7 Original Development] SkOrPn:
As Prizmatic said, yes it will apply All-F2FS LegoKernel to any ROM you want. Just make sure you format your partitions appropriately using TWRP 2.7.1.1 or higher before flashing the ROM.
[Nexus 7 Original Development] Michael Carleone:
Late to the party

I am late to the party,so I have a few questions:

Are the original instructions in the first post still valid and current?

Is there a way to return the file system back to stock?

In particular, I have no idea how to perform the following tasks or which directory to copy the LegoKernel: and how to flash?

Where does one get the standard TWRP?

How to flash standard TWRP?

Where does one get your previous ROM/Kernel?

Any additional useful info that can be shared about this process to a noob who just recently successfully rooted their 2012 Nexus? I don't want to brick my Nexus.
[Nexus 7 Original Development] PrizmaticSmoke:
There's a great guide put together by USBhost here: http://xdaforums.com/nexus-7/general/guide-ext4-to-f2fs-t2804336

Edit: I'd recommend TWRP 2.7.1, the newest versions (2.8) have had many issues reported regarding F2FS.

[MENTION=2743057]legolas93[/MENTION]: would it be possible to add kexec-hardboot patch to the lego kernel used by the convert to f2fs app, in order to support multirom?

I have no idea what's involved in that and no pressure or anything, would just be nice to have as your kernel works great and I'd prefer to stay on it instead of having to flash a different kernel to use Multirom.

Regardless, thanks for all of your work on bringing F2FS to our device, it's given mine new life! :good::highfive::laugh:
[Nexus 7 Original Development] Michael Carleone:
Thanks for the info. Looks like 2.8 is still buggy and has issues as reported by mahevka. I also have to get an OTG cable. I was hoping I can do this with the standard USB cable like in this link: http://pocketnow.com/2014/03/18/speed-up-the-nexus-7
[Nexus 7 Original Development] Spiceworm:
Edit: combination of F2FS and ART was a problem. I switched to dalvik again and now it is FAST as promised! Still got the INTERACT_ACROSS_USERS_FULL exception though.

My nexus 7 became very laggy after installing the F2FS on my nexus 7 2012 (grouper). Sometimes it doesn't respond at all after the touch on a button, sometimes only after 5~10 seconds. Before it was always around a second (which I considered slow).

I updated to CM11 M10 4.4.4

I made a copy & paste backup of the SD card

Flashed the legokernel, replaced the recovery and booted into the special recovery that had the format option.

Formatted data partition

Booted into the OS.

Restored the contents of the SD card and used titanium backup to restore programs and settings.

I did switch to ART which already took a really long time (like an hour) to convert the binaries.

It is really really slow now, unlocking takes 3 seconds sometimes.

The android program I am developing gives an exception now of a sudden:

Permission Denial: startActivity asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL

I do not use root permission, and I did give the device the permission. Nut sure it is CM11 M10 related. Another development program does exactly the same.

Any advice? What went wrong?

Edit: I switched to dalvik again and the binairy generation is much quicker now, only a few minutes.
[Nexus 7 Original Development] kendoori:
I want to Update Slim without wiping my data. Is that possible?

I have been running LegoKernel with F2FS and SlimKat on my N7 (2012). I also have the special TWRP recovery installed. Slim is giving me a notification for an update and I would like to proceed, but don't want to have to go through the whole wipe process if I don't have to. I seem to recall that if you don't reformat the data partition it can't properly get mounted during the update process.

Can someone advise on this?
[Nexus 7 Original Development] Najuto9tail:
Make sure to use f2fs version and not the version provided by slim. Do not know about the data wipe... but I think it should work since it is already on f2fs system.
[Nexus 7 Original Development] maxq1:
I just did. Wiped only system, dalvik & cache via special recovery from the OP. All working fine. Like posted above, just make sure you are flashing the f2fs version of slim.
[Nexus 7 Original Development] kendoori:
I'm a little confused as to where I can get the the F2FS version of Slimkat?
[Nexus 7 Original Development] ZenInsight:
Edit: delete
[Nexus 7 Original Development] adomol:
That is a negative.
[Nexus 7 Original Development] ZenInsight:
Will F2FS work on Lollipop eventually, and if so what will the requirements be to make that happen?
[Nexus 7 Original Development] alematt:
Sure
[Nexus 7 Original Development] adomol:
As soon the lollipop updated f2fs kernels start popping out of the oven f2fs will be good to go. I have my sights set on M-kernel a70! Although I tried stock lollipop and I still like SlimKat way better but I can't wait for SlimLP to show up. Thats when I'll finally update to lollipop.
[Nexus 7 Original Development] ZenInsight:
Do you feel that the F2FS 4.4.4 was much better than Ext4? I have never tried it...just read the benchmarks. I also saw that the latest Linux kernels have some special calls available for F2FS to improve the experience even more.
[Nexus 7 Original Development] adomol:
Grouper just works better with an F2FS file system IMO. Whether it is 4.4 or 5.0 android doesn't matter. Is Lollipop better than KatKat, yes. I really do want to upgrade to 5.0 but not at the expense of losing all the cool features and increased performance that a custom ROM + kernel brings. So for me... SlimRom + Lollipop is worth waiting for an extra month or so.
[Nexus 7 Original Development] SkOrPn:
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:
[Nexus 7 Original Development] Fransis88:
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 ! .
[Nexus 7 Original Development] buggatti:
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.
[Nexus 7 Original Development] legolas93:
I'm glad you like this! I have a good feeling now when using N7.

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

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.

Yes. Remember to flash kernel after the update and you should be ok.
[Nexus 7 Original Development] kesongpinoy:
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.
[Nexus 7 Original Development] SkOrPn:
What does "calling of keyboard" mean? If you mean launching of keyboard my SwiftKey is launching near instantly now.

Everything is faster now IMO.
[Nexus 7 Original Development] alematt:
Do yall think this kernel is the more battery friendly?

I need looong battery :P

Inviato dal mio Xperia U utilizzando Tapatalk
[Nexus 7 Original Development] nlabrad:
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.
[Nexus 7 Original Development] batman368:
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
[Nexus 7 Original Development] Souron29:
Any possibility for making a kernel for jellybean with f2fs support?
[Nexus 7 Original Development] CptKlink:
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?
[Nexus 7 Original Development] qu3becker:
I used DiskInfo to make sure that my Nexus 7 is partitioned as F2FS

Here : https://play.google.com/store/apps/details?id=me.kuder.diskinfo
[Nexus 7 Original Development] SkOrPn:
Anyone try this on PA or AOSPAL as of yet? Or even OmniROM? Just curious...
[Nexus 7 Original Development] Fransis88:
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?
[Nexus 7 Original Development] alematt:
Can you explain better? Sorry I didn't understand you

Inviato dal mio Xperia U utilizzando Tapatalk
[Nexus 7 Original Development] p70shooter:
It's fast :)
[Nexus 7 Original Development] alematt:
This was the only thing that I understood :D

I didn't get the combination of rom kernel (I believe omnirom and this kernel) and the part when he speaks about aosp etc

Inviato dal mio Xperia U utilizzando Tapatalk
[Nexus 7 Original Development] SkOrPn:
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
[Nexus 7 Original Development] killa12222:
CM11 + f2fs = WOW! Never felt my N7 this fast and fluid. Amazing.
[Nexus 7 Original Development] alematt:
can't i flash the kernel with the modified recovery?
[Nexus 7 Original Development] Nosterius:
Just flashed the kernel + recovery following the steps and all went fine . i also successfully restored a backup of the last Carbon nightly without problems.Now i'm testing how the device is responding and the first impression is really positive . Well Done :thumbup::D

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Nexus 7 Original Development] SkOrPn:
Glad to hear a backup actually worked. I wasn't sure so I did everything from scratch...
[Nexus 7 Original Development] Nosterius:
To be honest I started from scratch too flashing the latest slim kat, but then I decided to try to restore the nand backup( previously done with normal TWRP ) and I also was glad that all worked fine :) no force close nor problems till now

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Nexus 7 Original Development] SkOrPn:
Once the new build of AOSPAL gets posted I will be backing up my OmniROM install along with this kernel. Then I will try AOSPAL and LegoKernel to see if that works as well. So far so good on OmniROM, however it doesn't feel as smooth as it did on CM11, to me anyway, but I do need more time with it. Or it may be the fact it was harder to try this ROM considering I had to also install root and SuperSU, which I am not used to doing (I only used CM on this N7 for the past year). The Google account restore did not go as smoothly as it usually does.
[Nexus 7 Original Development] alematt:
Could someone help me? I've the modified recovery but still the old kernel...i don't know what i did wrong..

Edit

With diskinfo in data the file system is correct!!

In system it is ext4

In information about tablet the kernel isn't lego, what should i see there?

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Nexus 7 Original Development] Nosterius:
Just flash the kernel and see what happens, if something goes wrong reinstall step by step :)

The kernel name should appear like the screen

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Nexus 7 Original Development] alematt:
LOL

Thank you! So I'm right :) I tought that the kernel's name was different!

So it's normal that in system the file system is different?

Inviato dal mio Xperia U utilizzando Tapatalk
[Nexus 7 Original Development] Nosterius:
As far as I know only data partition will be formatted to F2FS. Then, system partition will remain ext 4 :)

Inviato dal mio GT-I9300 utilizzando Tapatalk
[Nexus 7 Original Development] alematt:
thank you!! so i did all right but i didn't know :D
[Nexus 7 Original Development] SuperBoUDS:
Tested and work well with RASTAKAT rom :good:
[Nexus 7 Original Development] SkOrPn:
Still working fantastic on OmniROM. Going to test PA today... Still super smooth sailing...
[Nexus 7 Original Development] LucentBirch:
Okay, I would like a few clarifications about this mod. It sounds really cool, and I am super interested in the benefits it offers. First of all, I have had issues in the past using TWRP and I am a little wary about trying it again. Should something go wrong in this process, is it easy for me to get back to CWM? Second, this "format," it wipes everything, correct? Will I have to flash a rom and gapps once the conversion is done? I am running on Vanir and DHO's gapps, and I have no way of telling whether or not they'll work with this modification. I would like to continue using vanir because it is easily the best experience on this tablet that I have ever had.
[Nexus 7 Original Development] kesongpinoy:
Since you format only the /data partition, your rom and gapps will be there as long as you didn't do a factory reset or format /system. I know because that's what happened to me, previous rom (omni) and gapps still intact.

Hey is anyone having problems with hw or hw+ decoder in mx player? I was watching a video yesterday and I noticed that the video gets choppy at times, had to switch to sw decoder which uses more battery but the video didn't chop then. Do you think this can be related to f2fs in any way? Never had this issue before.
[Nexus 7 Original Development] si3wc4:
Does anybody know, why do I need do enter decryption password after flashing this kernel?? I've never used encryption on my Nexus 7... :/
[Nexus 7 Original Development] nazz.rule:
Have you wipe your data using the modified TWRP?
[Nexus 7 Original Development] si3wc4:
Just before and after flashing. As I always do when flashing new things...

Wysłane z mojego Nexus 7 przy użyciu Tapatalka
[Nexus 7 Original Development] Tenroc:
Format your data partition... A simple wipe is not sufficient.
[Nexus 7 Original Development] SkOrPn:
Does anyone know if the recovery can do screenshots? Maybe the OP needs a screen shot of the Format button, haha. ;)

By the way, I want to say a big thank you to legolas for creating such an amazing kernel. Not only are my Roms easily the fastest and Smoothest they have ever been but I still have great battery life as well. Thank you legolas, you rock buddy... :cool:
[Nexus 7 Original Development] LucentBirch:
I am wondering if you could make a video of you just doing some every day operations so I can get a feel of how big of a change this is...maybe?
[Nexus 7 Original Development] sgt. meow:
Is this the only kernel source commit required? https://github.com/legolas93/kernel_asus_grouper/commit/bf1b5d2819b32e361b38aa9b0ed956e55c0acf62

I can't seem to get it to boot and work.

My ROM also has issues with SELinux. Just a heads-up.
[Nexus 7 Original Development] dialmformostyn:
Any joy with PA?
[Nexus 7 Original Development] SkOrPn:
Yes, I am currently on the latest build of AOSPAL (based on latest PA) and it feels even smoother than OmniROM did. Great kernel this is.
[Nexus 7 Original Development] LucentBirch:
Does anyone know if we need to wipe cache and dalvik while flashing rom and gapps and stuff on Art?

BTW running Vanir (2/19) with DHO gapps on ART and it is a beautiful sight to behold. :D
[Nexus 7 Original Development] SkOrPn:
"Cache and Dalvik Cache" pretty much means the same thing as "Cache and ART Cache", if you just switched to ART it has already wiped it automatically. Any time you wipe from here on out it is wiping ART cache... At least this is what I believe, lol... Anyway, ART may become the default runtime here soon, so they will probably rename it to "ART Cache".

So, to answer your question, just use the wipe feature as you have always done. ART changes nothing in regards to your normal routine.
[Nexus 7 Original Development] SkOrPn:
Anyone else having issues with the modded TWRP getting stuck at the splash screen? I can't get in anymore and I have downloaded it twice now and flashed it twice and still the same issue.

Anyone have the MultiRom version? Maybe that one works?

EDIT: Ok, flashed the recovery three times now and it still hangs at the splash screen. Interesting and a bummer at the same time...
[Nexus 7 Original Development] dareino:
do you have a screen shot?

d

***nm...I see it after choosing data on left
[Nexus 7 Original Development] ronedogg:
nothing will flash for me. lol i followed the instructions and when i try to flash the lego kernel it just errors saying cant install.