yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] hackintosh5:
Maybe you could introduce spectrum support! Cant remember the link, but it is on the forums somewhere! That would be awesome?
[Nexus 7 Android Development] Charles IV:
Unlikely, sorry.

I need to stop going on xda actually, and stop doing this stuff as I have my GCSE's coming up.

One thing I may do, however, is full substratum lineage os support (lineage oms)...
[Nexus 7 Android Development] hackintosh5:
Cool!
[Nexus 7 Android Development] eNVy:
No need of ParrotMod for me. Using this ROM without much hassle.

But there is the occasional app crashes.
[Nexus 7 Android Development] Ahkah:
From my investigations these old tablets are kind of individuals. Some specimen are slow, while others are slower or even ridiculously slow. This might depend on the used flash memory. Thus I do not think that this statement is always correct for every single specimen.
[Nexus 7 Android Development] :
Yes, of course you have to take into account what [MENTION=3729448]aaopt[/MENTION] in #25 https://xdaforums.com/showpost.php?p=70446668&postcount=25 has written. This device is ages old.

What I wanted to say, and that's my personal experience after flashing a lot of different ROMs and custom ROMs over the last years, is that our Nexus 7 (2012!) with this LineageOs ROM 7.1.1 is faster than with 5 or 6. In comparison with my OnePlus 3 the Nexus 7 is still incredible slow, for sure.

A big thank you to [MENTION=3729448]aaopt[/MENTION] for bringing back life again into this tablet.
[Nexus 7 Android Development] Charles IV:
i keep getting out of memory errors when running build grouper. I have 8 GB ram and i've set

java -Xmx<size>

to 512 MB, 6GB, 4GB and 3GB, after i noticed 100% ram usage, but i keep getting

Out of memory error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by android-jack-team@google.com)).
GC overhead limit exceeded.
Try increasing heap size with java option '-Xmx<size>'.

. Strange thing is, when building cm12.1, with 1.5GB ram on a virtual machine, i never got this, and cm had a solution for it in their wiki, which is now offline, and i can't stop getting out of memory errors.

BTW, i'm not actually using the java -xmx command, ive got

export _JAVA_OPTIONS=-Xmx3072m

in my .bashrc file.

Any ideas?
[Nexus 7 Android Development] AndDiSa:
If you start jack with the following command:

export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"
./prebuilts/sdk/tools/jack-admin kill-server
./prebuilts/sdk/tools/jack-admin start-server

everything should work fine.
[Nexus 7 Android Development] shallmann:
I couldn't find a bootamimation.zip file; the only thing I have in system/media is a folder called Audio. A search in root explorer came up with nothing, is the boot animation handled differently in lineage or nougat? Also THANKS SO MUCH for an awesome ROM breathing new life into my old tablet!!
[Nexus 7 Android Development] :
In LineageOS there is no bootanimation at the moment. We have to wait until the LineageOS team will have designed one and include it in the ROM
[Nexus 7 Android Development] Charles IV:
Thanks,

I hope you meant me to enter the export line in terminal, because that's, what i have done and i'm running it again. If it works, it should take longer than 10 mins!

--update--

It works!
[Nexus 7 Android Development] Charles IV:
YESS!! finally it worked, thank you so much to aaopt and AndDiSa for helping me in probably the least stressful build I've made!
[Nexus 7 Android Development] aaopt:
Last weekend I spent some time playing with the camera issues. I was trying to add some logging to see if I could tell where the poor jpeg quality setting was coming from. But everywhere I looked was using 85% by default at worst.

Clearly I was missing something but I had enough. Decided to try the Snap camera instead of Camera2. Results are kind of mixed, but still better than what Camera2 was giving us. OTOH it was kind of laggy, and while it claimed to record video I couldn't get it to play.

Still not sure what's up with that but today the videos I recorded last weekend are playing more or less OK. So I am uploading last week's build and you can form your own opinion. Or if you prefer you can wait a few hours because I am syncing with latest upstream changes and building again.

Edit: New build is here.
[Nexus 7 Android Development] meteoro84:
i came from cm-14.1-20161212-UNOFFICIAL-grouper , can i install directly ?
[Nexus 7 Android Development] aaopt:
Should be fine
[Nexus 7 Android Development] FunkyMuse:
Any new updates ?
[Nexus 7 Android Development] Charles IV:
So if I ran repo sync repo sync -c down to brunch grouper again, would I need to wipe anything before flashing the new zip to my device. And what can i do with the ota zip
[Nexus 7 Android Development] aaopt:
I usually wipe system, cache, and dalvik, and then reinstall the ROM + gapps. The ota zip seems to be identical to the other one... not sure why they make it with two names.
[Nexus 7 Android Development] FunkyMuse:
Is there an update coming :fingers-crossed:
[Nexus 7 Android Development] aaopt:
Are you looking for something specific? If you're so eager to have a new build every day perhaps you should be building yourself. See #3.

But meanwhile I happen to have this build from a couple days ago. I built it because LineageOS has added some data restriction settings and I wanted to see what they look like. (Not that it helps on grouper but my son was asking about such settings for his phone.) There's also a new boot animation. Neither of those things should cause anyone to rush out and upgrade, which is why I didn't rush to post a link.
[Nexus 7 Android Development] FunkyMuse:
I wish i knew how to build these things, i want to learn but i don't know from where, even when i ask someone they pointed me into directions where i watched youtube videos only that nothing exactly was explained as it should be, from 8-20min videos u can barely learn anything good

I was looking for performance updates if possible
[Nexus 7 Android Development] Charles IV:
Follow the aosp guide to setting up a build environment, then follow the guide at the start of the thread (post 3 or something like that).

Also [MENTION=3729448]aaopt[/MENTION], if I ran repo sync, and built again, would it implement changes you haven't posted or built yet?
[Nexus 7 Android Development] gordp:
Two quick things:

Thing #0: THANKS! For keeping our old tablets alive and secure! Please take a bow, [MENTION=3729448]aaopt[/MENTION], [MENTION=5293805]GtrCraft[/MENTION] and [MENTION=2188693]AndDiSa[/MENTION].

Thing #1: F2FS works, whever you would want to use it (suggestion: data and cache)

Thing #2: Full-Disk Encryption (FDE) does *NOT WORK*. Initially it appears to start the process (reboot, progress-line, countdown timer), but the countdown reaches 0:00 and still it sits at the Encryption screen. I got tired of waiting after 90min, and forced a reboot - you will forever more / every boot, see the message:

I tried re-installing this LineageOS 14.1 with /data formatted with ext4 and f2fs, but always the same error :( In the end, I re-re-reinstalled and simply skipped the FDE...

I have LineageOS on my Samsung T805 tablet, and encryption worked fine. However, quite a few other devices are having problems; some suggest a missing Library:

https://www.tapatalk.com/topic/4119-cyanogenmod/130500-encryption-fails-with-cm-14-1-nightly
[Nexus 7 Android Development] Charles IV:
You inspired me to do it when I have a spare moment :)

Unfortunately, just changing repo's to LineageOMS in the local manifest didn't work, but I went through each directory and pulled, and occasionally manually resolved conflicts.

It's building now, so it should be done by morning! (well, 2 hours, but I'll be asleep then)
[Nexus 7 Android Development] marty_bebop:
Good luck with your GCSE's and thanks for the help you have given many folk.

M
[Nexus 7 Android Development] Charles IV:
Thanks.

This is LineageOMS, lineage os but with full substratum support. (and the substratum app's built in I hope)

Grouper, Tilapia

Please note I did very little here, credit goes to aaopt, anddisa, LineageOS, Nathan Chancellor (LineageOMS) and harryyoud (tilapia)

edit: just dirty flashed, and while it booted, you will get errors when applying themes, you need to wipe system and re-flash for it to work when coming from a non-oms build.
[Nexus 7 Android Development] Almere:
Best ROM so far

Thank you for this excellent ROM, my Nexus 7 is better than new. I don't know how many I've tried but this really is the best one.

For others who are going to install this. Make sure you use TWRP 3.1.1 and format system, data and cache to F2FS. Also follow the instructions for Trim and Gapps as mentioned above. If you choose to install Chrome, than try to download something. You will get the SD card error. Then use a terminal programm and use the commands;

su

restorecon -FR /data/media/0

Thanks to [MENTION=2485434]wad3g[/MENTION] for the last one.

And remenber a trim a day will keep the lag away ;)
[Nexus 7 Android Development] Flounderist:
Hi, I just flashed the 20171020, using fstrim.

It looks noto so smooth like older build.

Do you suggest to flash the last stable for better performance?

+edit+

Downgraded with a clean flash to the 20170717 build, it looks like a little smoother but still somewhat laggy.

If formatting to F2FS do I need to reflash ROM and Gapps?

p.s. does kernel support Multirom?
[Nexus 7 Android Development] hackintosh5:
On reformat, data in partition will be wiped. Full, clean reinstall will be required after changing, as you will need to change cave, data and system.
[Nexus 7 Android Development] Flounderist:
OK, I will format only data and cache so. System should be pointless.

Testing the 20170717 build gave me MTP host FC, no Bluetooth pairing and a general laggy feeling.

Wondering if kernel changes from April/may builds could have affected smoothness.
[Nexus 7 Android Development] hackintosh5:
Change system to f2fs for more smooth rom, as well as data and caches.
[Nexus 7 Android Development] Flounderist:
I will give a try formatting as F2FS the next clean flash :)

By the way I disabled GPU force rendering from dev opt and tweaked a little kernel settings, and now ROM is really better.

In Kernel adiutor i set Interactive governor with min_sample_time set to 50000, Zen scheduler and very aggressive LMK.

I was wondering if flashing old boot.img (the old kernel before Intelliactive governor) on latest build should be working.
[MENTION=3729448]aaopt[/MENTION] do you think it is a good practice?
[Nexus 7 Android Development] Mr Smile:
Thank you so much for this up to date Tilapia(!) LOS 14.1! :good: Now I can finally reactivate our two old Nexus 7 3G. :o Didn't test your ROM yet because I ran into lots of troubles with LineageOMS on some newer devices. Is it possible to make a "vanilla" LOS14.1 version too - without the whole OMS/substratum stuff?
[Nexus 7 Android Development] aaopt:
Force rendering was already disabled on my tablet. Still sluggish. Increasing free space from 1GB to 2GB by deleting some games the kids don't play anymore did help.

I have not tried F2FS in a long time but when I did, I found it to be slower on my tablet. Of course YMMV.

Interesting thought about trying my June boot.img with interactive governor. It should be safe. So I tried it... but it doesn't seem much better to me. If you try it and decide you don't like it and want to go back to current intelliactive kernel, just flash the same ROM version again.
[Nexus 7 Android Development] Charles IV:
I've got one I built a while ago, but no one asked for it.

It's here on androidfilehost.
[Nexus 7 Android Development] Flounderist:
Hi,

GPU rendering, was turned on after I read somewhere in XDA was making grouper more reactive. I was wrong. :silly:

I will stick with ext4 for a while, erasing all of my partitions for f2fs maybe is not worth

I will flash your old boot and I will report in the next days. To be said, battery life is not my first concern. I am looking for smoother UI.

I am running the 20171020 build with the same kernel settings I stated in the previous post and it seems OK. By the way MTP host app still FC on first boot and latest stable build seemed a little snappier overall.

Does the kernel is supporting MultiRom? I would like to enjoy some ROM of the JB/KK era keeping N as the primary one.

Last one...what do you mean in the quoted statement? Are you able to increase system partition size?

Thank you for keeping grouper alive!:highfive:

# edit # I flashed the interactive boot.img, cancelling the Kernel Adiutor tweaks before flashing.

Running with stock kernel settings atm, it looks more fast in loading pages, but I think it was the aggressive LMK setting that made things choppier. Starting an app on first time, I stll get a subtle lag. It could be due to min_sample_time set to 100000, or the ROM itself.
[Nexus 7 Android Development] aaopt:
No, just as I said, "by deleting some games the kids don't play anymore." Some of them were LARGE. Having an almost-full data partition is known to add to slowness.

Meanwhile [MENTION=2188693]AndDiSa[/MENTION] has been tweaking his kernel and device settings... so I built a new 20170112 LineageOS with those changes for testing. LineageOS doesn't seem to have incorporated November patches yet... if/ when they do, I may build again. But I do feel like this build is a bit snappier than 20171020.
[Nexus 7 Android Development] Mr Smile:
Thanks for this upload. Anyway, you should open a thread for it in Tilapia forum so that more people can find this rom. Tilapia development was completely dead for some time now. This rom is the light at the end of the tunnel. :victory:

Downloaded your file already and tablets are charging now. Will test it in the evening and report back. :) I'm so curious.
[Nexus 7 Android Development] qanxi:
Great work folks! Loving my rejuvenated Nexus :D

Quick question, I use caldav-sync which has a colour picker for distinguishing calendars but it says no suitable app can be found when I attempt a change. Is this an app, gapps or ROM issue?
[Nexus 7 Android Development] succo:
i downloaded it already, tried both oms and os and none boots from my tilapia, both are stuck at the Google logo... i was coming from aosp so, to be sure, formatted system, cache, dalvik and data, but still no sign of booting

i then tried aaopt build for grouper (after editing the manifest, of course and again resetting the tablet) and it booted right, of course without 3g conection... what's up?
[Nexus 7 Android Development] Charles IV:
No idea, I was worries this could happen, so it might be to do with one of the things I changed.

Alternatively, it may be something to do with the 3.4 kernel. I forked [MENTION=4598799]hazzer[/MENTION]'s cm-14.1 branch rather than staging/cm14.1 because I thought that they may be on different kernels, if it made a difference. I don't know what's going on, so hopefully someone with more knowledge will.

I'll have a look at my fork to see what might be the problem. I've also built directly form hazzers and lineage os's repos rather than aaopt's and anddisa, and that will be 3.4 kernel I believe, and that may boot or you may need to change something to boot it.

If I upload a build from these repo's, bear this in mind from one of our pm's

However I'm pretty sure I tried one of his grouper builds and I had no problems.

As you can tell I'm not entirely sure what I'm talking about, so someone please sort me out!

edit: I think it's something to do with sepolicy. Pretty much the only thing I did on the tree was to make it build with aaopt's grouper tree, and I simply deleted lines and files to do this. I imagine this is not to best practice.

the tilapia tree I used. The builds on androidfilehost are from the cm-14.1 branch.
[Nexus 7 Android Development] Carontes:
Hello, I'm using this rom and I have to say that my tablet is smoother than with a Lollipop rom. The only problem I have is that magisk doesn't work properly. I flash the zip and the installation ends good. Magisk manager is installed. Then when I use root explorer (root is granted) I can't delete, rename and do other things to files or folders. If I try to delete a folder in system/app it fails. It's like root is not completely installed. Does someone have the same problem? How can I fix it? Thank you
[Nexus 7 Android Development] succo:
no way, even with hazzers build... so it must be sepolicy, as you say

anyway, thanks for the build, will try again if you upload something else :)
[Nexus 7 Android Development] umirza85:
Im struggling to find a rom that will play larger movie files without struggling/stuttering. Will this be able to do HD files that are 5+gb?

I realize i could make them smaller, but the aim is to keep things simple and just use what I have but while traveling.
[Nexus 7 Android Development] Charles IV:
so hazzers build didn't work either?

That would mean it's not sepolicy. (although this may still be a problem)

I'll try building directly from los but not on the staging branch, and that would eliminate the 3.4 kernel factor.

It won't be anytime soon as I've now got mocks.

Meanwhile I was hoping [MENTION=3729448]aaopt[/MENTION], [MENTION=2188693]AndDiSa[/MENTION] or [MENTION=4598799]hazzer[/MENTION] would know/ have an idea.
[Nexus 7 Android Development] AndDiSa:
Probably the following commit is missing in system/core

diff --git a/init/Android.mk b/init/Android.mk
index 67541b8..ff343e9 100644
--- a/init/Android.mk
+++ b/init/Android.mk
@@ -10,7 +10,7 @@ else
init_options += -DALLOW_LOCAL_PROP_OVERRIDE=0 -DALLOW_PERMISSIVE_SELINUX=0
endif

-init_options += -DLOG_UEVENTS=0
+init_options += -DLOG_UEVENTS=0 -D__BRILLO__

init_cflags += \
$(init_options) \

just guessing ...
[Nexus 7 Android Development] drdru:
Try Microg (an open-source alternative to GAPPS).

This will help free up 200-300 MB of RAM and an extra load on the processor.

;)
[Nexus 7 Android Development] Carontes:
No one is able to give an answer with my problem? Anyone has tried magisk with this ROM? Otherwise I just give up and use supersu, at least it works perfectly. Thank you
[Nexus 7 Android Development] AndDiSa:
This behaviour might be related to a Magisk issue, that it 'forgets' root from time to time. Try with Magisk 14.3 where this issue should be fixed or re-flash Magisk which should help (at least for some time), too.
[Nexus 7 Android Development] Carontes:
Thank you for your reply. I've tried everything but nothing works. I don't know if it's me, my tablet or the ROM. Is there someone who has magisk installed and is able to delete/rename system files from a file manager? For now I give up and use supersu
[Nexus 7 Android Development] Charles IV:
The ROM comes with root, and it works fine, unless you want to pass safety net.

You can enable it in developer options
[Nexus 7 Android Development] Carontes:
Yeah I know it. I only wanted to install a full working version of magisk, that's all. But in the end I've installed SuperSU.
[Nexus 7 Android Development] Frevan48:
Hey guys i'm a newbie on this, i've just installed the grouper rom as suggested on page 1. But when i try to install the Gapps it's keep giving my error message 70. I've already done what was told, add the TXT file in the same folder as the Gapps file and still the same problem. I've tried these to Gapps zips open_gapps-arm-7.1-mini-20171118 and open_gapps-arm-7.1-stock-20171118, can anybody help me and tell me what tot do?

thx

F.
[Nexus 7 Android Development] rowley birkin qc:
Opengapps-mini and opengapps-stock are too big for the Nexus 7.

You need to use the opengapps-pico. Add the TXT file and flash the pico opengapps.

For me that worked. Hope you will have the same result.

Cheers, rbqc.
[Nexus 7 Android Development] Frevan48:
Hey Rowley,

thanks for the tip mate, it worked for me too. Now i'm running my nexus 7 again as a charm.

cheers

Frederic
[Nexus 7 Android Development] andynroid:
Use Pico GAPPS
[Nexus 7 Android Development] Flounderist:
Hi [MENTION=3729448]aaopt[/MENTION], I had a little spare time, so I tried to format my device as f2fs (cache, data and system).

It went smooth, but when I flashed your last build 20171112 TWRP gave me error 20 and aborted.

It stated that Android version was 5.1 (SDK22).

I performed a full wipe, and TWRP formatted my system partition as ext4, so I gave a try for a new flash and it succeded.

Keeping cache and data as f2fs gave me a little more responsive device and the booting time improved a lot, especially on first boot.

I installed kernel adiutor and I found that CPU minimum frequency is locked to 370 Mhz and I cannot change it.

It never happened before.

By the way CPU stats are showing the right frequencies, even the 51 Mhz.

Any suggestion?
[Nexus 7 Android Development] aaopt:
I wonder if it is TWRP complaining, or the ROM. Perhaps it would work better if you used f2fs for data and cache but not system. Most of the benefit should come from data anyway.
[Nexus 7 Android Development] Flounderist:
I'm not complaining at all.

I never flashed a ROM on top of f2fs system partition so I was wondering if build is supporting it.

I didn't took a screenshot for investigation so, who cares. :o
[Nexus 7 Android Development] drdru:
Guys, why do you install GAPPS when there is a Microg (an open implementation of GAPPS)? My Nexus 7 consumes 550-650 MB of RAM. The duration of autonomous work increased by 20-25%.

Sorry for my English :o
[Nexus 7 Android Development] Charles IV:
I'm currently encountering a build error, which is a shame as november patches are apparently out, and I want to try microg out.

Here's what seems to be the error:

make: Leaving directory '/media/charles/HDD/android/lineageos-14.1/kernel/asus/grouper'
DTBs not enabled
Kernel Modules not enabled
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/media/charles/HDD/android/lineageos-14.1'

#### make failed to build some targets (03:12 (mm:ss)) ####

charles@charles-ubuntu:/media/charles/HDD/android/lineageos-14.1$

Here's the full log from repo sync.

mka recoveryimage and mka bootimage both work.

edit: looks like a problem with my source. I can't build for hammerhead either.
[Nexus 7 Android Development] AICProcks!:
Lineage OS - Grouper

I really like your unofficial Lineage OS rom for Grouper [MENTION=3729448]aaopt[/MENTION] because it runs smoothly and the battery lasts for a long time. I just hate it that there are a few features missing from other notable roms, such as Dirty Unicorns or Resurrection Remix features. These roms do not run as smoothly and get stuck constantly.

Is there anyway to add Dirty Unicorns smartbar for a custom navigation bar? The one in Lineage is very limited compared to the smartbar. Dirty Unicorns' smartbar source code is available on https://yourtechexplained.com/2016/03/07/dirty-unicorns-releases-source-code-fling-pulse-smartbar/. But I am not sure how to implement this into Lineage OS.

Aside from the smartbar, Omni Recents or Slim Recents would also be very useful in Lineage OS. I tried installing the Omni Recents newgat zip available on https://xdaforums.com/android/apps-games/7-0-nougat-omniswitch-flashable-zip-t3456566, but the original stock recents still remains when I press the button. I would need to assign the recents button to the Omni Recents app somehow... :D

P.S. By the way, the Omni Recents newgat zip Texas mirrors seem to contain a corrupted file. The Washington DC mirror works flawlessly.
[Nexus 7 Android Development] Mr Smile:
[MENTION=7211583]Charles IV[/MENTION]: I promised to report back. Sorry for the delay. I had a lot to do during the past weeks.

Just wanted to say that my two Tilapia tablets show the same behavior than succo's. Also deleted (and reformated) system, cache, dalvik and data but it didn't help. :(

[MENTION=3729448]aaopt[/MENTION]: It seems you have a working build workflow. Would you please try to make a tilapia build? I managed to install your grouper build on my tilapia and it runs very smooth :good: , but I really miss 3G connectivity.