yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] dookie23:
Yep, for me, I set "Check for updates" to "Manual" so it won't automatically check for updates. (Settings -> About Tablet -> CyanogenMod updates -> Check for updates).

As for journaling, I had journaling turned off on the system partitions only coz I don't want any data loss in case of any system failure / power outage. The guide that I use is here:

http://xdaforums.com/showthread.php?t=1252028

I haven't tried the script provided in the link, as I manually did the tune2fs and efsck in my TWRP recovery.

Hope this helps.
[Nexus 7 Android Development] geokilla:
I'm trying to install the ROM with Open Gapps and M-Kernel A69 having my /cache and /data set to F2FS however I cannot get pass the splash screen on first boot. Any ideas?
[Nexus 7 Android Development] dookie23:
Hi [MENTION=2629552]geokilla[/MENTION], this ROM comes directly from Cyanogenmod 11 code base which does not support F2FS. I only added monthly security patches to their latest code to make it more secure.

The reason I am doing this is that although the development of CM11 has stopped officially, I find this KK ROM to be more fluid and usable than other LP and M ROMs. I am applying security patches to the code just to keep it up to date.
[Nexus 7 Android Development] dookie23:
ROM Updated (2016-01-06)

2016-01-06 fixed:

Nexus Security Bulletin—January 2016

Elevation of Privilege Vulnerability in Wi-Fi (Moderate)

Information Disclosure Vulnerability in Bouncy Castle (Moderate)

Denial of Service Vulnerability in SyncManager (Moderate)
[Nexus 7 Android Development] motorazrv3:
Thx for the new update. It's fantastic that you still support our old grouper and provide us with security updates.

Its really time for me to change from kk purity rom to cm.
[Nexus 7 Android Development] adrman:
Putting my tablet in the kk time machine was the best thing I could have done for it. Thanks!
[Nexus 7 Android Development] Promez:
That's really great!

Thanks!

I'd forgotten how much KK was faster than LP on our Nexus7 :D
[Nexus 7 Android Development] geluadi2000:
Thanks!!! I search for a Cyanogen 4.4.4 more than 5 months...Great work!
[Nexus 7 Android Development] lost2:
First of all great work keeping CM11 security fixed!

I'm not using 3G SIM card on my Tilapia. Can I install this ROM anyway (as you don't have plan to build it for tilapia)?

Thanks in advance.
[Nexus 7 Android Development] iwjosi:
Yes you can, just install grouper recovery and this rom or any grouper rom you like
[Nexus 7 Android Development] mh1983:
This is an excellent rom! After dabbling with various LP roms, I'm glad to have found a custom KK rom for grouper that contains the latest Nexus security updates. It's been a week and I've installed the apps I normally use; no slow down whatsoever. I echo others in the community who've sent kudos along to you. We appreciate it!

Just wondering if there are any particular performance settings (processor governor, I/O, etc) that would help prolong battery life. My wife and I use the tablet to watch TV/movies, typically in the evening, and just leave it on standby/airplane mode throughout the day.
[Nexus 7 Android Development] lost2:
Thx for your prompt reply. I have TWRP multi ROM installed but not using any other ROM but CM11.

I'm going to follow your hint and try your ROM.

Cheers
[Nexus 7 Android Development] dookie23:
To save battery, you can try using the Powersave governor + Noop IO Scheduler. This could give you some battery life but the tablet might not run as smooth as the default settings.

Other things that I did:

- Set logcat.live=disable in the build.prop file to disable logcat logging. I read that writing logs to logcat is quite a heavy process.

- Under Performance, enable 16-bit transparency. To me, running it 16-bit graphics looks just as good.
[Nexus 7 Android Development] mh1983:
Appreciate the tips, thanks, dookie! And thanks again for providing this rom for us!
[Nexus 7 Android Development] wahyuwidi:
I'm running lp right now,. and want to downgrade to kk with this rom,.. what should i do? directly flash trough twrp or should back to kk with fastboot mode? thx
[Nexus 7 Android Development] dookie23:
Hi [MENTION=3761747]wahyuwidi[/MENTION], You should be able to install this rom after factory reset in TWRP.
[Nexus 7 Android Development] gm.cinalli:
Thanks for this ROM, you keep my Grouper alive! I went here from CM12.1 that was very laggy, but now my tablet seems a new device!
[Nexus 7 Android Development] fergiet:
Many thanks for the work. Flashed it on my Grouper and seems to be running fine.

Good work.
[Nexus 7 Android Development] Promez:
Waiting for the february patches :D
[Nexus 7 Android Development] WastedJoker:
Which gapps would you recommend?
[Nexus 7 Android Development] iwjosi:
Open Gapps
[Nexus 7 Android Development] dookie23:
February security update

2016-02-09 fixed:

Nexus Security Bulletin—February 2016

Elevation of Privilege Vulnerability in Mediaserver (High)

Download links in OP. Thanks!
[Nexus 7 Android Development] Outatime67:
Just FYI, I dirty flashed this with a dalvik and cache wipe over the last CM-11 from CM's website (file name: cm-11-20141112-SNAPSHOT-M12-grouper.zip) and I have not had any issues so far.
[Nexus 7 Android Development] DJB628:
Kool, Dirty flashed also, no issues here, also update my TWRP to version 3.0.0.0 !!
[Nexus 7 Android Development] Outatime67:
Yes, I also flashed 3.0.0 with no problems at all.
[Nexus 7 Android Development] Marcovanbasten:
I just installed it.

Waouwwww, the nexus 7 is flying.

Thank you !
[Nexus 7 Android Development] 0903thijs:
Same here! Tried MM, but it's horribly laggy...This one works like a charm! Great work
[Nexus 7 Android Development] WireSniffer:
Hi, thanks for the rom! I've been trying to promote this and slimkat on G+, a KK ROM with Security Patches is the best for the N7 2012.

But as you can see from the screenshot, VTS Android Vulnerability Test Suite is still showing 3 vulnerabilities, after fresh install of the 2016-02-09 Rom.

Please can we check?

Will this be a problem?

Many thanks.
[Nexus 7 Android Development] dookie23:
I have checked out these vulnerabilities but unfortunately the CM11 codebase looks somewhat different from the codebase the patches were designed for. As always, I tried my best to include every patch to this rom, but these patches does not seem to be compatible, so I won't be able to apply them. Sorry about that :(
[Nexus 7 Android Development] ReVo_007:
Can you tell me if it will work with F2FS ? Cause I cant seem to find a kernel for the sam e.
[Nexus 7 Android Development] WireSniffer:
That's OK Dookie thanks for the ROM , and thanks for checking, I just really wanted you to be aware of what I found.

Infact your a lifesaver for the N7 2012, and actually I'm not sure it it's just me but your latest release for Feb seems smoother than the previous release. No complaints here. Keep up the good work![emoji12]
[Nexus 7 Android Development] dookie23:
It does not support F2FS like the official CM11 release.
[Nexus 7 Android Development] gm.cinalli:
I use it now with F2FS and M-kernel that supports it. You have to convert the ROM before flash.

Link to the guide: http://xdaforums.com/showthread.php?t=2801653
[Nexus 7 Android Development] mh1983:
Any sign of the March update? Thanks, Dookie!!
[Nexus 7 Android Development] ReVo_007:
Thanks for providing the link . But I already knew about the process of conversion just wanted to know which kernel supports F2FS in 4.4.4 :) . And I mean the specific version of M Kernel or any version would do ?
[Nexus 7 Android Development] gm.cinalli:
Install the latest version and enjoy your "new" Nexus 7. :)
[Nexus 7 Android Development] mh1983:
Well, M-Kernel a69. Later versions aren't supported in KitKat...
[Nexus 7 Android Development] gm.cinalli:
Correct, sorry. [emoji106]
[Nexus 7 Android Development] dookie23:
ROM Updated (2016-03-10)

2016-03-10 fixed:

Nexus Security Bulletin—March 2016

Remote Code Execution Vulnerability in Mediaserver (Critical)

Elevation of Privilege Vulnerability in Mediaserver (High)

Information Disclosure Vulnerability in Mediaserver (High)

Download links updated in OP.
[Nexus 7 Android Development] aburgesser:
Is there a way to convert the rom to use F2FS for /cache and /data but ext4 for /system?

I tried total conversion, but F2FS overhead left too little room for the nano opengapps installation. Edit: tried loading just the converted ROM. On first boot it presents the error "com.android.phone has stopped" and continues to present it again after each dismissal making it nigh impossible to do anything once booted.

If I try to reformat /cache and /data and install a new kernel (no ROM modification other than gapps), I get stuck at the boot splash screen (though the system boots if those partitions are left as ext4)

Why is it even advantageous to format /system as F2FS? My understanding is that there shouldn't be any write activity to that partition outside of flashing ROMs. Surely losing 1/6 of /system to FS overhead is a bigger concern when you have less than a GB to work with.

I really want to find a ROM for my N7 that can improve it's performance. It seems like the only way to do that is to go back to 4.4 derivative, but getting F2FS support, gapps, and security patches in such a ROM is difficult. If I can get F2FS into this while making the space considerations it would meet my criteria.
[Nexus 7 Android Development] mh1983:
The rom works nicely without the need for f2fs. I recommend just using it with ext4 and enjoying your N7 again.

A nice speed mod that I paired with CM11 recently is Parrotmod (universal version).
[Nexus 7 Android Development] adrman:
I take it that you've tried the combination then? I had been happily running this ROM, but tried Parrotmod & DU just to test. I was thinking about restoring my nandroid of cm11 and applying PM though . Did you need to flash SuperSU during the installation of PM? I was wondering if it would be necessary and how it would play with the built in, cm11 superuser.
[Nexus 7 Android Development] gm.cinalli:
Just install this ROM and M-Kernel (if you want) and format only /data and /cache to F2FS.

I've formatted also /system because I didn't know before now the F2FS overhead, but I think that if you format it in EXT4 your device should be great as well.

Also, I've installed nano Gapps, but to me installing missing apps from the PlayStore is not a problem.
[Nexus 7 Android Development] aburgesser:
I have the feeling I'm doing something wrong.

I'm using TWRP 3.0.0.0 (provided by WugFresh Nexus Root Toolkit)

I boot to custom recovery

Wipe /system

Change /cache and /data to F2FS

Load cm-11-20160310-UNOFFICIAL-grouper.zip, M-Kernel_a69.zip, and open_gapps-arm-4.4-nano-20160320.zip to the device

Install them in the order mentioned above. Wiping Dalvik at the end.

Reboot to system

I've tried the above and an alteration where I ensure the system can boot under ext4 before reformating to F2FS. If memory serves, one gets stuck at the CM splash screen and the other prompts for storage password. If something is wrong with my approach, please enlighten me.

On suspicious thing I noticed is that system does not have greater volume usage after re-format to F2FS. Is it possible my custom recovery is not properly formatting F2FS? I have gotten some total conversion ROMs installed, but F2FS overhead left insufficient room for gApps

The ROM is working well, but given how app load can bog the poor thing down, I'd rather use F2FS than need to rely on an additional app for trim.

Regardless, every time I get Lollipop or higher (even with parrot mod) near the thing, it breaks out in hives. I greatly appreciate the work put into back patching the security fixes to a more reliable Android version.
[Nexus 7 Android Development] motorazrv3:
You need a custom recovery, kernel and rom that are f2fs compatible.

Are you sure twrp comes with f2fs support?

This rom isn't f2fs compatible. It has to be converted first.

Post #65 would help you. It has got a link with instructions how to convert it. There you will also find a link with a working two 2.7.0 f2fs compatible.

Good luck.
[Nexus 7 Android Development] aburgesser:
I am not certain TWRP has F2FS support. All I know is that it has a workflow to format partitions as F2FS. That workflow is the only indication I have that it should be supported. I have had no luck tracking down another recovery image with similarly fine grained partition management.

The modified 2.7.0 TWRP appears to work by flashing a zip to format all partitions. I do not know enough about the zip structure to know if there are any non-plaintext data to edit to exclude the /system partition from formating.

I tried the procedure outlined in the mentioned post adding gapps at the end and it failed. There was insufficient space to flash gapps.

From my analysis of the conversion script, all it does is replace the boot image and edit some lines dealing with the formatting and mounting of /system and the mounting of /data. Trying to remove the modifications dealing with /system did not produce a working ROM (I can't recall what the failure mode was). Part of the issue may be that this ROM does not appear to come with busybox (used for mounting F2FS), but that would imply that the base script would not work.

I can't remember which failure mode accompanied which procedure but here are the ones I observed:

Gapps failing its freespace check

Stuck at splash screen (any way to get boot messages on Android/CM?)

Prompt for password to decrypt /data

Even if it would boot, I would get repeated errors about a process (com.android.phone) having stopped (possibly an incompatibility with the gapps package?)

If you need to know which failmode a procedure produced just let me know.
[Nexus 7 Android Development] Obscurax:
The problem is the TWRP version you are using. Flashing M-Kernel a69 isn't working with TWRP 3.0.0.0, installing TWRP 2.8.3.0 fixes this (it has F2FS support).

And I think you also have to format system to F2FS but I'm not sure about this.

I also advice you to use pico gapps on this device.
[Nexus 7 Android Development] aburgesser:
Bingo!

After downloading 2.8.3.0 the first one I tried was the my modifications to the All-F2FS converter. ROM installed and setup appears to work perfectly. Restoring from Google backup now. Once finished, I will flash that version of TWRP and verify FS formats.

Edit:

Everything appears to be set up as intended. Had some suspicious slowdowns while setting up I don't remember under ext4. I will keep my eye on it and revert to the ext4 backup if it becomes an issue. Thanks for the help.
[Nexus 7 Android Development] balazs312:
Hey Dookie!

Will you keep working on this ROM? Because if you do, I'd download it and use your CM11, because I think kitkat is the most stable for nexus 7 :highfive:
[Nexus 7 Android Development] dookie23:
Hi [MENTION=6222548]balazs312[/MENTION], I am working on merging the Apr 2016 security patches into CM11. Sorry for the delay because I was busying on my other studies. I'll release a new ROM once I am done (should be within a couple of days).

Thanks!
[Nexus 7 Android Development] balazs312:
Good to hear, good luck with your study:victory:
[Nexus 7 Android Development] dookie23:
ROM Updated (2016-04-11)

2016-04-11 fixed:

Nexus Security Bulletin—April 2016

Remote Code Execution Vulnerability in DHCPCD (Critical)

Remote Code Execution Vulnerability in Mediaserver (Critical)

Elevation of Privilege Vulnerability in IMemory Native Interface (High)

Elevation of Privilege Vulnerability in Bluetooth (High)

Elevation of Privilege Vulnerability in System_server (High)

Information Disclosure Vulnerability in Mediaserver (High)

Elevation of Privilege Vulnerability in Wi-Fi (Moderate)

Denial of Service Vulnerability in SyncStorageEngine (Moderate)

Download links updated in OP.
[Nexus 7 Android Development] Reiven89:
Thank you very much
[Nexus 7 Android Development] ohwarumbloss:
Build Date 2015 scared me lol

Thanks for your work, runs great!

Greetings,

Thomas
[Nexus 7 Android Development] Seawasp:
Awesome ROM! So much smoother than any 5.1.1 I have tried. The ol Grouper wasn't meant to handle anything more than 4.4.4 it seems. Anyways, so far so good, and can't wait to finally use the Grouper inside my car as a permanent fixture. Cheers to the dev!
[Nexus 7 Android Development] dookie23:
ROM Updated (2016-05-09)

2016-05-09 fixed:

Nexus Security Bulletin—May 2016

Remote Code Execution Vulnerability in Mediaserver (Critical)

Elevation of Privilege Vulnerability in Wi-Fi (High)

Elevation of Privilege Vulnerability in Mediaserver (High)

Information Disclosure Vulnerability in Mediaserver (Moderate)

Download links updated in OP.
[Nexus 7 Android Development] mugsy77:
Thanks so much sir!!!
[Nexus 7 Android Development] gouchouya:
Thank you your wonderful effort

this ROM got a very good battery life and stable
[Nexus 7 Android Development] WireSniffer:
I just updated to April, lol, thanks very much anyway.
[Nexus 7 Android Development] Outatime67:
Thanks for your hard work, Dookie. I really appreciate it.
[Nexus 7 Android Development] CasualStarlord:
Thanks for this, I installed it last night and it runs so much better than any of the other roms I have tried, the unresponsiveness has been driving me nuts, but this seems pretty snappy so far, woohoo.

Also I have re-discovered some of the games that no longer worked after kitkat haha :highfive:
[Nexus 7 Android Development] Rally187:
Found a N7 at a garage sale for 10 bucks, it was in great shape so I picked it up. Got home, did a factory restore and updated to latest 5.1.1 (?) Anyway i just wanted to use it for a little tablet mostly as an ereader but it was soooo slow and laggy. So there it sat in a drawer for 7 months. I saw it in the drawer the other day and decided to see what i could do, as long time member of xda i came in search for a rom. Your rom fits the bill perfectly. It made an almost useless device feel new again, yea its older cm11 but this is an older device so it makes perfect sense. Sorry for rambling just excited and wanted to thank you for your work and for sharing this with the community.
[Nexus 7 Android Development] lowao:
Thanks. This runs so much better than CM 12.1 on my nexus 7 using the Pico Gapp.
[Nexus 7 Android Development] phayz:
Thanks also from me for this ROM ("Thanks" button clicked many times). I had tried both 6.x and 5.x ROMs on my Nexus 7 2012, which was a gift from a colleague a few months ago. The other ROMs tended to lag after a while but so far this ROM has been great.

The only issue I've seen is that the lock screen doesn't rotate but that's such a minor quirk it doesn't matter.
[Nexus 7 Android Development] boggissimo:
I have been trying various ROMs to get my N7 to be useful again, it has the usual lagginess and unresponsiveness. Tried some 5.x, some 6.x, but still getting frustrated with slow response, so I installed CM11 earlier, using nexus root toolkit, as I'm a newbie at this stuff.

This build of CM11 seemed to flash OK but is now stuck on the CM boot screen, and has been there for 15 mins+.

It will boot back to recovery but not to the UI, so I can't try flashing it again, or flashing another ROM.

Help please (in simple language)!
[Nexus 7 Android Development] renandstimpeygti:
Only just started playing with my lads nexus 7 tablet (now mine!) after years of tweaking Sony and Samsung Note phones, was shocked at how bad standard lollipop ran on this! Coupled with chrome I can see why he stopped using it in favour of his new phone......this ROM is simply brilliant, its still a little slow at times but its 4 years old and nothing to do with the ROM. Very impressed and thank you for posting this up for others to use ?
[Nexus 7 Android Development] boggissimo:
OK, nobody spotted my plea so I worked it out - had to reflash a stock ROM manually using adb commands in Nexus Root Toolkit!

Back on stock 4.3, will see how long it takes to get laggy again. It's already suggested I update to 5.0.2!
[Nexus 7 Android Development] aburgesser:
Eh, this thread doesn't move quickly. Please provide the procedure you followed. A common cause of being stuck at boot loop is an incompatible /data partition (meaning you prepared it wrong).
[Nexus 7 Android Development] dookie23:
[MENTION=6335283]boggissimo[/MENTION], Perhaps you are using F2FS? Make sure you format all your partitions back to ext4. This rom by default doesn't support F2FS.
[Nexus 7 Android Development] jrredho:
Hey All,

I'm sure that this is a really dumb question, but I'm going to ask it anyway: Has anyone tried to flash this ROM over stock LP by just booting to the bootloader, formatting the boot, cache, recovery, and system partitions all from fastboot, then booting a twrp img and updating this CM11 zip file using adb sideload?

I'm lazy and hate doing all of the backup/re-install gymnastics with my userdata partition. :)

many thanks!

cheers,

john
[Nexus 7 Android Development] Madcat8686:
This Rom is KitKat (4.4). I wouldn't (dirty?) flash over Lollipop (5.1). Not a good idea.
[Nexus 7 Android Development] CasualStarlord:
I am starting to get lagouts during app switching and difficulty getting the unit to wake... :(
[Nexus 7 Android Development] jrredho:
Yeah, it's just that since I'm formatting every partition except userdata, I don't know how dirty the flash is. :)

Anyway, I took at look at the zip file, and saw that most of the changes were in the boot, system, and recovery partitions, with no new partition table or bootloader changes, so I gave my game plan a go. Everything worked fine, although I do confess that I had to sideload the ROM zip twice to get it to take.

Obviously I'm still in the early stages of using the ROM, but it's like having a new device. Thanks to the OP for doing the business!

cheers,

john
[Nexus 7 Android Development] boggissimo:
Yep, that was probably it. I didn't deliberately change to F2FS, as I don't really understand that, but I was getting errors saying that the /cache partition was f2fs, would that have been from a previous ROM installation? I was trying 6.0.x before.

Anyway I followed the steps in the Guide to flashing a factory stock ROM, except that instead of installing the Android SDK I used the command line interface within Nexus Root Toolkit.

Is there a step-by-step guide to formatting partitions, and why you would want to change to/from F2FS and EXT4?
[Nexus 7 Android Development] jrredho:
So, I hope that this question isn't in the wrong place, but am I the only one who's getting a sense of a jumpy/strobed screen on re-draws? If not, is there any way to smooth things out? (This is my first time trying a CyanogenMod ROM. Gotta say: I'm really impressed!)

Thanks!

cheers,

john
[Nexus 7 Android Development] bshiznit:
[MENTION=2723508]dookie23[/MENTION] - can your process for including latest "patch level" be applied to AOSP ROMs? Grouper (Nexus 7 2012) seems to have no more AOSP source for security bulletins now... Feel free to just PM me.
[Nexus 7 Android Development] dookie23:
Hi [MENTION=2687658]bshiznit[/MENTION], the patches that I applied come from Android Security Updates. Follow the links and you will see the patches for different AOSP versions. For this ROM, I have to take all the 4.4.4 patches and sort them out manually for compatibility and apply them. I apply them manually because not all of them are compatible with CyanogenMod.

Hope that helps!
[Nexus 7 Android Development] bshiznit:
Thank you! I will try this :) For Lollipop 5.1.1_r37 was our last code drop (LMY49J) and that was April... You rock. I'm impressed you still have KitKat going!

-Ryan
[Nexus 7 Android Development] bshiznit:
[MENTION=2723508]dookie23[/MENTION] - one more question - does git cherry-pick work sufficiently? It seems to work OK for many of the 5.1.1 applicable patches (wpa_supplicant being one) but others appear to not be in a folder structure applicable to 5.1.1 despite it saying they are applicable... I bet this works a bit different when applying to CM vs. AOSP...

Any insight's appreciated!

-Ryan