yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] X-Flies:
aaopt's Lineage OS 14.1 20180121

TWRP 3.2.1

OpenGapps

Magisk 16.4

Had this since "ever". One morning, when I got the tablet it was already bootloping. I guess it had something to do with userdata because right after I erased it via fasboot TWRP immediatly started working.

I'm now making a clean install of the same setup with a few problems, initial wizard can't connect or allow me to connect o wifi.
[Nexus 7 Android Development] Flounderist:
Try sweeping down quick settings and enable wi fi.
[Nexus 7 Android Development] X-Flies:
I would if it let me...
[Nexus 7 Android Development] Flounderist:
I was able to do that on an older build. By the way, you could clean flash ROM only, then apply a magisk module called magicgapps. I am using it and it worked fine.
[Nexus 7 Android Development] X-Flies:
Will try it next time.

For now I disabled the lineageos setup wizard before first boot and worked fine.

This is a problem with gapps, not with the lineageos build.

Thanks for your help.
[Nexus 7 Android Development] eNVy:
Any Oreo builds being worked on ?
[Nexus 7 Android Development] pieceofphil:
Use Search in the thread
[Nexus 7 Android Development] Charles IV:
Yes. I haven't in a while, because it stays on the Google logo when booting.

I'm keeping an eye on [MENTION=4598799]hazzer[/MENTION]'s work and unlegacy Android.

Tbf Oreo on this tablet is a bit of a stretch, and the gapps problem will be worse, but Oreo could bring some useful enhancements.

Edit: I've got a last_kmsg, here it is for anyone that wants to have a look:

https://vomitb.in/4utrkwo4C0

The bad line seems to be:

[ 5.570498] sdhci-tegra sdhci-tegra.3: Error: tegra3 io dpd not supported for sdhci-tegra.3

another edit: this log seems to be from the twrp kernel, which would imply that the kernel isn't even being loaded when trying to boot oreo?
[Nexus 7 Android Development] eNVy:
That's great. Thanks for your hardworking.

Can we use Oreo GO version for our tablet ?
[Nexus 7 Android Development] Charles IV:
Looking at [MENTION=2188693]AndDiSa[/MENTION]'s AOSP 7 thread, it seems like he's backported a few android go optimisations, so we probably have some, but looking at the effectiveness of enabling/disabling android go is certainly something I'm interested in, as it may just end up being a Windows 10 S.
[Nexus 7 Android Development] Charles IV:
I'm trying to build for tilapia again, this time using a modified version of [MENTION=2188693]AndDiSa[/MENTION]'s tilapia tree, rather than [MENTION=4598799]hazzer[/MENTION]'s.

It's currently at 32% and I'm hopeful.

Quick note to anyone who wants to try flashing it: I'm currently signing all of my builds (idk why, just thought it would be fun), so when flashing you'll either need to run this migration script (will attach) or you will need to wipe data.

Will upload the build to androidfilehost when it's done.

edit:

to run the script, rename it to migration.sh, and do the following (or equivalent)

adb root # This requires an userdebug/eng build and ADB root access to be enabled
adb shell stop
adb push ./lineage/scripts/key-migration/migration.sh /data/local/tmp/migration.sh
adb shell chmod +x /data/local/tmp/migration.sh
adb shell sh /data/local/tmp/migration.sh official
adb reboot recovery
# Now install my LineageOS install zip

when flashing an unsigned build, like aaopt's just replace the 'official' with 'unofficial'.

update: I'm getting this error while building. I'm asking on irc, but only LuK1337 has responded, so I have low hopes.
[Nexus 7 Android Development] hackintosh5:
You've tried to disable ccache? Also, try to look if AndDiSa tree has a special toolchain requirement. Try to update your system too, it may be outdated clang in path. Also try uninstall clang, if it is installed - this may need you to add another toolchain to PATH if it errors out at any clang++ stage.
[Nexus 7 Android Development] AndDiSa:
[MENTION=7211583]Charles IV[/MENTION] Unfortunately this commit was never merged to LineageOS even if it's there for more than one year now ... :(
[Nexus 7 Android Development] hackintosh5:
I read the patch, and have +1'ed the Gerrit, after reading the Gerrit instructions
[Nexus 7 Android Development] Charles IV:
thanks, it's build and uploading now.

I spoke to someone on irc, and they said they weren't going to merge it as it isn't needed for "normal" devices, and it can be done in the device tree. I'll look into it as this would be good practice for me, but I imagine you guys would be much better suited in knowing what to do!

Here's the build for tilapia. Let me know if it works! For those who are trying, make sure you use the migration script as described in my previous post, or wipe data.

edit:

ok, so after much fighting on irc (with the guy that -2'ed the change, I found out that it the problem could be fixed by commenting out the HWUI_COMPILE_FOR_PERF := true line in BoardConfig.mk. idk if this will work, and if it does, if it will work properly on the devices. I am building now.

another edit:

also, [MENTION=5396680]Mr Smile[/MENTION], previously you offered to test for tilapia, do you want to try the rom I just put on androidfilehost if you haven't already?

more edit:

so I built without the repopick, and commented out the hwui line, and the new rom is here. I'm less sure that this will work but will be grateful for feedback!
[Nexus 7 Android Development] rjmohit:
Any new builds for grouper? I can test! Thanks!
[Nexus 7 Android Development] Charles IV:
yeah, I've got my pc set up to do weekly builds, and host them for ota updates, however because it's on my pc the server is offline half the time, I'm starting it up again now for you guys. Beware the builds are signed however, so you'll need to use the migration.sh script.

edit: https://download.charles-iv.uk

I think I posted the migration script and instructions slightly earlier in the thread.
[Nexus 7 Android Development] wangenau:
Thanks for this new build, i will test it later!

Are you using AndDiSa's device and kernel tree for your build?
[Nexus 7 Android Development] Charles IV:
AndDiSas kernel tree, my device tree with AndDiSa's latest commits. I haven't merged the dt2w commits though as last time I tested there was some problem, but that may have been fixed with the second commit.
[Nexus 7 Android Development] Alex_Lyt:
502 bad gateway
[Nexus 7 Android Development] Charles IV:
Yes. I'll upload the latest to Android file host tomorrow.

Edit: looks like the nginx bit is up, so if you go to download.charles-iv.uk/builds you can download it
[Nexus 7 Android Development] Alex_Lyt:
Still no luck. Waiting for mirror )
[Nexus 7 Android Development] Charles IV:
https://www.androidfilehost.com/?fid=11050483647474828000

no idea whats wrong with my website.
[Nexus 7 Android Development] matze779:
Is a clean flash required? At durty flash say TWRP (latest version) 'Error 7'.
[Nexus 7 Android Development] Charles IV:
make sure you have latest twrp. clean flash shouldn't be needed, but if you can, do.

Also, because the build is signed, it will give an error about incompatible data unless you use the migration script or wipe data.
[Nexus 7 Android Development] Charles IV:
[MENTION=2188693]AndDiSa[/MENTION] I thought I'd let you know that I tried building with both of your dt2w commits and now furniture screen on has some issues. Sometimes double tapping opens up the camera (lineage shortcut when double pressing per button), sometimes not, and even just waking using the power button seems to have some issues. I didn't have these when I only cherry picked the first commit. However, when I disable it in settings, this time it is disabled, and everything (so far) it's working normally. I will upload a logcat.

Edit: XDA labs won't let me attach something to a post I'm editing, so you'll have to wait a bit longer until I get onto my pc

edit: attached as zip.
[Nexus 7 Android Development] tech927:
dt2w?

How do you get dt2w going with this rom? That's something i'd love to have.

Thanks.

Dave.
[Nexus 7 Android Development] Charles IV:
If you want to build yourself, cherry-pick these two commits from AndDiSa's device tree (plus any more related commits if he adds any more). If you exclude the second commit, I find it is more stable, but you have to enable dt2w with a command (look around in AndDiSa's AOSP 7 thread).
[Nexus 7 Android Development] Alex_Lyt:
The best rom ever, so far. Thank you!
[Nexus 7 Android Development] bamaredwingsfan:
I downloaded the latest version of this ROM and it's really the smoothest ROM I've ever ran on my n7 tablet. But I'm having a problem with charging. My tablet won't recharge unless I reboot the tablet. Is this a known problem or what, because I didn't have this issue with the last ROM I was running.
[Nexus 7 Android Development] JT1510365:
not a issue for me buddy and im running the june 25th build which is latest

---------- Post added at 04:56 AM ---------- Previous post was at 04:32 AM ----------

Thanks so much for your work im running your latest ROM build as a secondary ROM in multirom on my nexus 7 and its much faster than any other nougat rom i tried! Thank you so much again for your work:)
[Nexus 7 Android Development] FlyOnTheWall43:
Weird, I just installed 14.1-20180625 and mine is charging no problem. Did this just start happening for you, and which version exactly of this ROM are you running?

---------- Post added at 10:13 PM ---------- Previous post was at 10:01 PM ----------

Thanks for you work on this!... I just flashed ran the migration script and then flashed this build... it boots up fine, but after a minute or two, it reboots... Any ideas how to fix it?
[Nexus 7 Android Development] bamaredwingsfan:
I'm running the same version you are, I just downloaded it 2 or 3 days ago
[Nexus 7 Android Development] aiamuzz:
Hi,

[MENTION=5653319]JT1510365[/MENTION] ... could you point to me how have you set up your multirom system on the grouper device ?

thanks.
[Nexus 7 Android Development] Charles IV:
I am seeing similar problems reported on [MENTION=2188693]AndDiSa[/MENTION]'s thread, unfortunately, I'm not much of a developer myself, so I don't know, although I do not have these problems. However, I have a minimal install with few apps and without gapps, so maybe it's just that the device can't handle it? I would see if you can see anything in the /proc/last_kmsg, or upload it here so other people can look.

This tablets charging is unreliable, for me I rarely use it and every now and then just leave it charging, so I don't know about charge times for me, or why you would notice this after updating, but on AndDiSas thread, I noticed they recommended not having the tablet plugged in while it's booting and this might help.

Also make sure you use a decent cable and adapter that can supply a constant 2A (which is more than the tablet can take, so it should mean that it stays high)
[Nexus 7 Android Development] Hyerald:
Problems

Hi guys, I have had problems in these last days.

I have been using and updating this rom (actually installed 2018-01-21 version) about a year and no problems. But in these last 2 days I have problems, the device reboot when I make a new document or anything that is stored in the memory (my memory isn't full). Yesterday I had the bad luck of activate the wifi. The device reboot again and it just got stuck in the lineage logo.

I entered the recovery and I can't do any kind of wipe or install anything because it restarts.

I attached a Photo because I can't even do logcats.

Hope your help, :crying: I'm very, very worried. Thanks.

And great work with our roms.
[Nexus 7 Android Development] AndDiSa:
[MENTION=8477975]Hyerald[/MENTION] looks as if your filesystem has some errors and needs a filesystem check. I am currently not sure whether TWRP has an option for it otherwise you need to do it manually.
[Nexus 7 Android Development] nannycrick:
I'm new to the me370t but not new to rooted devices. This rom is a great improvement to my little tablet. The stock rom (5.1.1) had any game I loaded lagging, locking up or force closing. Lineage is very smooth. No problems with the install since I always clean flash any rom. My thanks to everyone who contributed to it! ?
[Nexus 7 Android Development] meldor54:
Updated to a newer version.

normally i re-flash Gapps after rom, even on an update/dirty flash. don't know if you're supposed to/have to, but better safe than sorry.

Everything went to plan BUT i noticed 'googleTTS' was listed in the log, then realised i hadn't copied the grouper config to device before flashing, just the zip.

basically i need to know what affect running Gapps (pico) will have without using the config?

i was under the impression Gapps would fail (due to not enough space), if ran without the config, but it installed fine.

from what i can tell from reading the config and comparing to TWRP log, the only difference seem to be that GoogleTTS is added. are there any other difference's??

(play service etc is all working fine)(and i don't use any text-to-speech things so that's not an issue)

just curious: will leaving it like this make any difference? or was the only reason for the config to get around the lack of space error?

p.s. i'm using the official-unofficial version from OP, not the 'official'/signed one posted a few messages ago.

EDIT: p.p.s I've reflashed rom(dirty) and then Gapps(with config) so everything should be fine regardless, but still curious if there are any other differences.
[Nexus 7 Android Development] hackintosh5:
Don't quote the OP.
[Nexus 7 Android Development] Charles IV:
The config is purely there to ensure gapps fits on the device, but obviously it doesn't really matter.

Just beware that in my experience the tablet is a lot faster without using gapps (I use yalpstore to install all Google play apps), although the transition is hard at first.
[Nexus 7 Android Development] nannycrick:
I've been away from XDA forums.

Thanks Hackintosh5 for reminding me about quoting the op. My bad!

I flashed the latest version of this rom along with the latest opengapps pico. First boot always takes a while but had no problems with storage, or logging into Google. Still have plenty of memory space. It all runs nice & smooth. Very well done guys!
[Nexus 7 Android Development] kjfan985:
what is the best way to get root back? Installed super su and got stuck in a boot lop
[Nexus 7 Android Development] Charles IV:
Its built in. Its in developer options.

Or if you want safety net you probably want magisk
[Nexus 7 Android Development] kjfan985:
thank you I will try that

---------- Post added at 10:03 PM ---------- Previous post was at 09:38 PM ----------

I am trying to run bcmon how ever when I open the app everything is blank?
[Nexus 7 Android Development] HMBM47:
Need some help. Screen goes black after the tablet loads up (Due to me setting the brightness to zero).

I was able to set the "brightness" to 255 that's located in "/sys/devices/platform/pwm-backlight/backlight/pwm-backlight" but that doesn't fix the issue. I assume it may be because I still had auto brightness turned on?

Is there any way to set the auto brightness to off with ADB?

Thanks.

Edit: Being that I JUST installed the ROM today, I decided to just reflash it. I'm still curious if there's a solution, though.
[Nexus 7 Android Development] toeb:
settings put system screen_auto_brightness_adj 1

Range is -1...1

And I think you net to be root..
[Nexus 7 Android Development] HMBM47:
Yeah, I wasn't rooted at the time, so there was no way I could have done that.

Being the curious person I am, I tried to compare a /sys folder with auto brightness on and /sys folder with auto brightness off, but of course nothing I do makes it possible to transfer said folders to my computer. Copying /sys to /sdcard gets stuck in TWRP and that copied folder can't be transferred to Windows (Either through Explorer or using ADB pull). And ADB pull doesn't pull anything from the default /sys folder.

Besides, I now have the go to command to get me out of this predicament if there's ever the off chance I turn auto brightness on AND turn it all the way to zero (actually -1 ;))! Thanks!
[Nexus 7 Android Development] The_Shiznit:
Allright, so i flashed linageageOS 41, and installed openGapps pico and have playstore running, everything looks ok.

My problem is that i have 14.7Gb used of 14.56Gb.

I can install anything.

Any have an idea how and what i delete so i can free up some space?

Thanks in forward :o
[Nexus 7 Android Development] Alex_Lyt:
Just take a flashlight and point it on a sensor.
[Nexus 7 Android Development] Charles IV:
Do a clean flash, wipe system and data first, because that can't be right , especially considering how small the system partition is on our devices.

If not install magsik and get the systemless gapps with that
[Nexus 7 Android Development] EpikurProd:
I use a new file from aaopt, it s smooth and very nice for daily use.

Name : lineage-14.1-20180708-UNOFFICIAL-aaopt-grouper.zip you can find in on this androidfilehost folder.

Thank for updating !!
[Nexus 7 Android Development] tech927:
Upgrading tablet

Hello,

I'm running Lineageos 14.1 on my Nexus 7 2012 Grouper. The file name is:

lineage-14.1-20171122_224807-UNOFFICIAL-aaopt-grouper.zip

I have downloaded:

lineage-14.1-20180625-UNOFFICIAL-grouper.zip

first of all is this the right file? Second, can I upgrade the tablet without having to backup and reformat and if so how?

Thanks.

Dave.
[Nexus 7 Android Development] aiamuzz:
Well i recently flashed this file ...

aaopt build

I am assuming from your currently installed ROM which is ... lineage-14.1-20171122_224807-UNOFFICIAL-aaopt-grouper.zip .... you already have a twrp recovery up and running ... if so read thru ...

I am however unclear about your reasons behind a no backup ... is it that you lack space on your device ... the only risk in the event your flashing fails ... you may have to start afresh by flashing the devices official stock ROM ... if its a matter of space ... it would make sense to clear space for a backup ... once you successfully boot into this new ROM then you could delete the twrp backup and restore your data which you had moved to make space.

I however don't see why you would like to avoid formatting ... if the reason is, you'd want to retain all the apps from your current ROM to the new one then, you can do it by formatting only the /system partition ... leave the /data as it is without formatting it ... and you'll have all your apps from this ROM to the next build ... please be sure to flash the gapps(pico) zip file from the OP after the flashing of the latest ROM.

I just did it recently and things are fine ... all apps have been retained in the newly flashed build.

PS : This ROM file ... lineage-14.1-20180625-UNOFFICIAL-grouper.zip ... seems to be Charles attempt to build a ROM .... so i guess Charles will be able to answer your concern with regard to his ROM.
[Nexus 7 Android Development] Charles IV:
If that file is from me, then you will need to use the migration script before flashing if you don't want to wipe data. If it's from aaopt (on his androidfilehost), then in theory you should be fine not wiping or backing up, but I would recommend backing up and wiping system, cache, dalvik.

On a side note, I accidentally formatted my building drive, so new builds on my broken ota server will be signed with test keys, so for those on one of my old builds, you'll have to use the script with the unofficial argument, and for those on aaopt's, the transitioning between mine and his can be dirty wipes without and script work. My ota server is at https://ota.charles-iv.uk although the ota update don't work I think. It should build every Monday.
[Nexus 7 Android Development] MachiavelliBs:
Everything works great with the latest version of the rom. Thank you for your work !
[Nexus 7 Android Development] cucumbers:
Same here. Just dirty flashed the latest build from aaopt (20180708) over an older build and everything went fine. Might be a "placebo" effect but the latest build seems smoother and more responsive. Good stuff!
[Nexus 7 Android Development] MachiavelliBs:
Update . When i ty to unlock the screen it reboots and i need like 30 secs to boot again . Ill test day or two more to see if there is a chance to fix this .
[Nexus 7 Android Development] cucumbers:
Something I've just noticed after a few days of use of the latest test build: the device behaves just fine when it's offline (airplane mode) but when the wifi has a connection, the screen seems to randomly lock, and you never know how long it will take before you can unlock it again. Not bootlooping, just screen locks. Seems fine when I turn off wifi again.

Just occurred to me I should produce a logcat... Will try to do that soon.
[Nexus 7 Android Development] Charles IV:
Yeah, navigate to builds/full from that page.

My computer currently isn't building so there won't be a new build until I work this out.

Of course, if you want a new build, you can build yourself, is not too hard.
[Nexus 7 Android Development] Alex_Lyt:
I've tried, still no result. I'd like to just have the last existing build of yours.
[Nexus 7 Android Development] Charles IV:
Sorry, should have mentioned to try ota.charles-iv.uk.

https://ota.charles-iv.uk/builds/full/ has the latest build
[Nexus 7 Android Development] M47Z:
What is wrong with this one?

https://androidfilehost.com/?fid=5862345805528043471

Is it not mentioned in first post on purpose?
[Nexus 7 Android Development] H0w4rd:
Is this ROM smoother than the stock ROM 5.1.1? :)
[Nexus 7 Android Development] Charles IV:
It's labeled at 'testing' in the second post, so maybe aaopt hasn't tried it to make sure it works.

---------- Post added at 08:13 AM ---------- Previous post was at 08:11 AM ----------

Yes, it was for me, but I'm running without gapps.

As for instructions, look at the instructions for another Nexus device on the wiki, the instructions should be similar.
[Nexus 7 Android Development] H0w4rd:
Thank you very much for this rom. It's very smooth and fast.

I only wish the installation instructions were more detail, because I'm not experienced in flashing, I was struggling with almost every step (how install TWRP, what platform of gapps to choose, etc...), but I managed to figure it all out. Now I have to find out how to root it ;)
[Nexus 7 Android Development] fsw_informatrix:
[MENTION=4849529]H0w4rd[/MENTION] : The easy way for rooting it is to go to the LineageOS extras page https://download.lineageos.org/extras and to download the Su add-on for arm 14.1.

Then boot to TWRP, flash It, reboot & enjoy ?
[Nexus 7 Android Development] lanoblesse:
.

Hello,

I want to install this one

lineage-14.1-20180708-UNOFFICIAL-aaopt-grouper.zip

on the link

androidfilehost.com/?fid=5862345805528043471

but which platform and version of googleapp pico version should I use on the website ?

opengapps.org/

Thank you for your help !
[Nexus 7 Android Development] fsw_informatrix:
[MENTION=3758346]lanoblesse[/MENTION] : just follow the instructions here ? : http://www.lineageosdownloads.com/download-gapps-lineage-os-versions/
[Nexus 7 Android Development] H0w4rd:
I've just installed open_gapps-arm-7.1-pico-20180926.zip and it works.

I've just done it, but my device is still not rooted :(

I downloaded addonsu-14.1-arm-signed.zip, installed via TWRP, nothing has changed :(
[Nexus 7 Android Development] fsw_informatrix:
[MENTION=4849529]H0w4rd[/MENTION] : just follow the instructions here => https://android.stackexchange.com/q...nsu-arm-signed-zip-on-lineageos-still-no-root
[Nexus 7 Android Development] Charles IV:
You don't need the add-on zip, its built into these ROMs, just enable root in developer options for apps and adb
[Nexus 7 Android Development] H0w4rd:
I tried to install this ROM on another Nexus 7 2012.

I received some errors:

could not detect filesystem for /dev/block/platform/sdhci-tegra.3/by-name/APP, assuming ext4

mount: failed to mount /dev/block/platform/sdhci-tegra.3/by-name/APP at /system: No such file or directory

E1001: Failed to update system image.

error: 1001

Updater process ended with ERROR: 7

Is it dead for good?
[Nexus 7 Android Development] Flounderist:
Are you using latest twrp recovery?
[Nexus 7 Android Development] H0w4rd:
Sure.