FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[ROM][7.1.2_r24][UNOFFICIAL][grouper] LineageOS 14.1 for Nexus 7 2012

283 posts
Thanks Meter: 377
 
By aaopt, Senior Member on 2nd January 2017, 02:14 AM
Post Reply Email Thread
[ROM][7.1.2_r8][UNOFFICIAL] LineageOS 14.1 for Nexus 7 2012 (grouper)

*** Disclamer

By downloading and installing this ROM you agree that you do so at
your own risk, and that you understand that it probably voids your
warranty. (But does anyone still have an active warranty on this 2012
device?)


Introduction

@AndDiSa's AOSP 7 builds look pretty nice, but I needed something that seamlessly upgrades from CM13. @GtrCraft who provided our CM13 builds has moved on to other devices, so we need a new CM maintainer. I may not be the right person for that job... but I can at least share the build I made for myself. Perhaps someone will be motivated to join the fun or even take over.

[Images on screenshots tab.]

Installation instructions
  • Back up your data and previous ROM with TWRP 3.0.2 or 3.1.0.
  • Download from link below.
  • Wipe system, cache, dalvik.
  • Also wipe data unless you are coming from CM13.
  • Install the ROM.
  • Optionally add opengapps-pico.
    With default settings it will give an error about insufficient space. To avoid that, first copy this gapps-config-grouper.txt file, perhaps edit it to your taste (instructions here), then copy to the device in the same directory as the opengapps zip. The opengapps updater-script will look for it there when you install opengapps.
  • Reboot.
    WAIT for system to settle before you decide it is slow. Some of the app optimization which used to happen during initial boot now seems to happen in the background. When it's finished, responsiveness will improve.
  • If you use ext4, run fstrim.
    There are ways to automate this, but I just run this app after each ROM upgrade, plus roughly once a week, after large batches of app updates from Play Store, or whenever my tablet starts to feel sluggish.

Download
lineage-14.1-20170717-UNOFFICIAL-aaopt-grouper.zip (AndroidFileHost)

Credits / Thanks
  • Google / AOSP
  • CyanogenMod LineageOS
  • @AndDiSa for AOSP 7.1 -- I use his kernel tree directly, and many of his device tree mods
  • @GtrCraft for the CM13 tree upon which mine is based


XDA:DevDB Information
Unofficial LineageOS 14.1 for Nexus 7, ROM for the Nexus 7

Contributors
aaopt, AndDiSa,GtrCraft
Source Code: https://github.com/aperomsik/lineage..._asus_grouper/

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.1.x
Based On: LineageOS

Version Information
Status: Testing

Created 2017-01-02
Last Updated 2017-07-23
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170101-170406.png
Views:	32528
Size:	77.1 KB
ID:	3987388  
The Following 107 Users Say Thank You to aaopt For This Useful Post: [ View ] Gift aaopt Ad-Free
 
 
2nd January 2017, 02:14 AM |#2  
OP Senior Member
Flag Pawtucket, RI
Thanks Meter: 377
 
More
Changelog
Nearly all builds include LineageOS sync -- only mentioned specifically when it was the main point of the build.
  • (TESTING) 20171122 (AndroidFileHost)
    LineageOS sync with November patches.
  • (TESTING) 20171112 (AndroidFileHost)
    @AndDiSa's latest kernel and device tweaks.
  • (TESTING) 20171020 (AndroidFileHost)
    LineageOS sync including October patches and KRAKN fix.
    Kernel updates and latest device performance tweaks from @AndDiSa .
  • (TESTING) 20170811 (AndroidFileHost)
    LineageOS sync including August patches.
  • 20170717 (AndroidFileHost)
    LineageOS sync brings us to 7.1.2r24 ; perf tweak from @AndDiSa
older entries:
  • 20170702 (AndroidFileHost)
    LineageOS sync
  • 20170609 (AndroidFileHost)
    LineageOS sync including June patches; Following @AndDiSa's lead to intelliactive governor, for hopefully improved battery life with minimal performance impact.
  • 20170507 (AndroidFileHost)
    Following @AndDiSa's lead to pick up a better fix for RenderThread issues from UnlegacyAndroid.
  • 20170503 (AndroidFileHost)
    LineageOS sync brings us to 7.1.2_r8
  • 20170423 (AndroidFileHost)
    LineageOS sync brings us to 7.1.2_r2
    Updated with @AndDiSa's kernel and device tree updates, including the RenderThread app crash fix he got from @Ziyann.
  • 20170315 (XDA)
    Updated with @AndDiSa's kernel and device tree updates.
  • 20170308 (AndroidFileHost)
    LineageOS sync includes March security patches. For unknown reasons this build seems to be somewhat crashy.
  • 20170226 (AndroidFileHost)
    LineageOS sync includes Feb security patches
  • 20170212 (AndroidFileHost)
    AndDiSa's kernel updates
  • 20170129 (AndroidFileHost)
    AndDiSa's kernel updates
  • 20170122 (AndroidFileHost)
    LineageOS sync, including boot animation and settings updates and various other fixes here and there.
  • 20170108 (AndroidFileHost)
    Switch to Snap camera, at least for now.
  • 20170101 (AndroidFileHost)
    First LineageOS 14.1 build for grouper.
  • Unofficial CM 14.1 (XDA)
    Previous history in my CM 14.1 thread.


More detailed history: my device tree, AndDiSa's kernel, LineageOS .
The Following 23 Users Say Thank You to aaopt For This Useful Post: [ View ] Gift aaopt Ad-Free
2nd January 2017, 02:14 AM |#3  
OP Senior Member
Flag Pawtucket, RI
Thanks Meter: 377
 
More
Try this at home
(a.k.a. Build instructions)

There are plenty of guides to building CM. Those guides are still relevant with the possible exceptions of their URLs. Assuming you have read enough such guides to have the general idea of how to build a ROM from source, here is one way you can set up your source tree to mimic mine.

In a clean directory, perhaps ~/android/lineageos-14.1/ :

Code:
repo init -u git://github.com/LineageOS/android.git -b cm-14.1
git clone https://github.com/aperomsik/lineageos_local_manifests.git .repo/local_manifests -b cm-14.1
repo sync -c 
. build/envsetup.sh
brunch grouper
The Following 11 Users Say Thank You to aaopt For This Useful Post: [ View ] Gift aaopt Ad-Free
2nd January 2017, 08:34 AM |#4  
Senior Member
Flag Chandigarh
Thanks Meter: 659
 
Donate to Me
More
fantastic Job! We now have a new ROM
2nd January 2017, 01:54 PM |#5  
Junior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by aaopt

(a.k.a. Build instructions)

There are plenty of guides to building CM. Those guides are still relevant with the possible exceptions of their URLs. Assuming you have read enough such guides to have the general idea of how to build a ROM from source, here is one way you can set up your source tree to mimic mine.

In a clean directory, perhaps ~/android/lineageos-14.1/ :

Code:
repo init -u git://github.com/LineageOS/android.git -b cm-14.1
git clone git@github.com:aperomsik/lineageos_local_manifests.git .repo/local_manifests -b cm-14.1
repo sync -c 
. build/envsetup.sh
brunch grouper

Recent version of repo doesn't seem to explicitly support '-c' parameter any more to reduce the download size (mine have been around 30GB). Thanks for these instructions; still, I would like to know how you integrated the required changes for 14.1 grouper.
The Following User Says Thank You to nixuser1980 For This Useful Post: [ View ] Gift nixuser1980 Ad-Free
2nd January 2017, 01:56 PM |#6  
OP Senior Member
Flag Pawtucket, RI
Thanks Meter: 377
 
More
Quote:
Originally Posted by nixuser1980

Recent version of repo doesn't seem to explicitly support '-c' parameter any more to reduce the download size (mine have been around 30GB). Thanks for these instructions; still, I would like to know how you integrated the required changes for 14.1 grouper.

It's all in the local manifests.

Sent from my Nexus 7 using Tapatalk
The Following User Says Thank You to aaopt For This Useful Post: [ View ] Gift aaopt Ad-Free
2nd January 2017, 02:01 PM |#7  
Member
Thanks Meter: 6
 
More
Thank you aaopt for keeping our old Nexus 7 alive !
Can someone tell me the perfect settings for Kernel Adiutor to get the maximum performances ? Even if the battery life is shorten.
Thanx in advance
The Following User Says Thank You to arnofor For This Useful Post: [ View ] Gift arnofor Ad-Free
2nd January 2017, 02:29 PM |#8  
Junior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by aaopt

It's all in the local manifests.

Sent from my Nexus 7 using Tapatalk

Just took a look at those. I have been using TheMuppets at github for the proprietary components, having needed to patch the nvidia components due to an old GNU-ism (gcc extension that was eventually formalised).
Saw that you got the broadcom et al components from your "ads" git repo and wanted to know if there was any reason not to use TheMuppets (or if, indeed, you sourced them from there and modified them), that I can learn from.
Thanks again.
2nd January 2017, 04:07 PM |#9  
Junior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by aaopt

(a.k.a. Build instructions)

There are plenty of guides to building CM. Those guides are still relevant with the possible exceptions of their URLs. Assuming you have read enough such guides to have the general idea of how to build a ROM from source, here is one way you can set up your source tree to mimic mine.

In a clean directory, perhaps ~/android/lineageos-14.1/ :

Code:
repo init -u git://github.com/LineageOS/android.git -b cm-14.1
git clone git@github.com:aperomsik/lineageos_local_manifests.git .repo/local_manifests -b cm-14.1

repo sync -c 
. build/envsetup.sh
brunch grouper

Can confirm that this works - now I just need to find the magic in the code. Also, how did kernel/timeconst.pl not need to be replaced with timeconst.bc and kernel/Makefile not need to be amended to use bc instead of perl? I was getting a compile error because of this in the grouper kernel tree.
2nd January 2017, 05:51 PM |#10  
OP Senior Member
Flag Pawtucket, RI
Thanks Meter: 377
 
More
Quote:
Originally Posted by nixuser1980

Just took a look at those. I have been using TheMuppets at github for the proprietary components, having needed to patch the nvidia components due to an old GNU-ism (gcc extension that was eventually formalised).
Saw that you got the broadcom et al components from your "ads" git repo and wanted to know if there was any reason not to use TheMuppets (or if, indeed, you sourced them from there and modified them), that I can learn from.
Thanks again.

The "ads" git repos referenced in my manifests are AndDiSa's. My repos are labelled "aaopt".

As stated in OP my goal with this ROM is to continue GtrCraft's CM13 work now that he has moved on to other devices. He had been following AndDiSa's proprietary components from AOSP so I just continued that way. In fact I took it a step further by using AndDiSa's kernel directly, not (yet?) seeing a clear reason to maintain my own. I just want to do the minimum amount of work needed to keep somewhat up to date with upstream LineageOS and take advantage of AndDiSa's device-specific performance improvements from the AOSP side.
2nd January 2017, 11:26 PM |#11  
Junior Member
Thanks Meter: 13
 
More
Quote:
Originally Posted by aaopt

The "ads" git repos referenced in my manifests are AndDiSa's. My repos are labelled "aaopt".

As stated in OP my goal with this ROM is to continue GtrCraft's CM13 work now that he has moved on to other devices. He had been following AndDiSa's proprietary components from AOSP so I just continued that way. In fact I took it a step further by using AndDiSa's kernel directly, not (yet?) seeing a clear reason to maintain my own. I just want to do the minimum amount of work needed to keep somewhat up to date with upstream LineageOS and take advantage of AndDiSa's device-specific performance improvements from the AOSP side.

Oops. I got that wrong. Anyway, thanks for your work and I learned a few things from it.
The Following 2 Users Say Thank You to nixuser1980 For This Useful Post: [ View ] Gift nixuser1980 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes