yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] Seferi:
I can confirm the random crashes as well..
[Nexus 7 Android Development] norman0:
+1
[Nexus 7 Android Development] Poebat:
GAPPS Crashes on startup. Any ideas? I am downloading from opengapps.org with ARM -> 7.1 -> pico
[Nexus 7 Android Development] aaopt:
Did you use the Gapps config file linked from op?
[Nexus 7 Android Development] aaopt:
Thanks for logcats. I have not seen crashes like these.

Please try applying the experimental patch zip from [MENTION=2188693]AndDiSa[/MENTION]'s AOSP thread here. Looking at his zip I think it should work with my ROM too, because he replaces some proprietary libraries which I use directly from his repository when building my ROM.

[MENTION=2188693]AndDiSa[/MENTION] if there are more positive reports will you be putting these libraries in your proprietary_vendor_nvidia repository?
[Nexus 7 Android Development] AndDiSa:
[MENTION=1852644]Johnassel[/MENTION] that looks very similar to those crashes I saw from time to time. You should really try the patch and provide me with a logcat if you can still see similar crashes in RenderThread

[MENTION=3729448]aaopt[/MENTION] yes, for sure but the main work was done by [MENTION=2633638]Ziyan[/MENTION]
[Nexus 7 Android Development] Seferi:
[MENTION=2188693]AndDiSa[/MENTION] [MENTION=3729448]aaopt[/MENTION] Thanks for the info and the zip file. Just flashed it and will report back..
[Nexus 7 Android Development] Johnassel:
Thanks, I'll try it!
[Nexus 7 Android Development] bretzelpopo:
I have problem when i try to flash suremove, error executing updater binary in zip, there is no number error.

For remove root, i just have to wipe system and flash rom and gapps?

Edit: to aaopt, i see that you included root in your build, how to change that because I've an app which don't work with root, thx
[Nexus 7 Android Development] 9Lukas5:
Disable root in developer settings

L
[Nexus 7 Android Development] bretzelpopo:
Yes but I think the application will see that I am root, in fact it is for the canal(French app) and it works well with my s5 with lineageos root, i think it's a problem of widevine drm, i dont know if it would work with a rom Marshmallow
[Nexus 7 Android Development] googleygoggles:
I wonder if we'll ever get official Lineage OS
[Nexus 7 Android Development] Johnassel:
Unfortunately my Nexus 7 died today. It won't power on anymore. Pressing the power button 30 sec didn't work. Now I disconnected the battery, maybe it is back tomorrow.
[Nexus 7 Android Development] Dilbert99:
ive had the odd app crash with some different apps but Flipboard is the worst and crashes consistently. I have the latest 0315 rom. Applied this patch andno change. The rom works great otherwise except for the slow charging.not sure if that is rom related.

Update:

Ok reapplied wiped cache/dalvik and seems to havesolved the crashes but the odd thing is flipboard now hangs even after a reinstall. Charging issues seems to have gone as i get a good charge rate now. Possibly an unrelated hardware issue

alain
[Nexus 7 Android Development] bretzelpopo:
So i think it's a rom problem, maybe maintener can build blob drm widevine, will be grateful
[Nexus 7 Android Development] AndDiSa:
I had a similar / the same situation some days ago. During the night a process was running wild and drained the battery. Have a look at my blog where I've described how I solved the situation.
[Nexus 7 Android Development] norman0:
Patch is working good. No FC since flashing it.
[Nexus 7 Android Development] Johnassel:
Hmmm, unfortunately it didn't help. It doesn't react to anything. No button press, no charging, nothing. But I'll try on.
[Nexus 7 Android Development] AndDiSa:
[MENTION=1852644]Johnassel[/MENTION] You should try to connect it to a charger (which is providing sufficent current) and then immediately press the power and vol- buttons in parallel. It may take up to 20/30 sec. but then the bootloader menu should appear, or at least the charging battery image. If you are in bootloader, select power off and switch off the device and let it charge for a while. If you get to the battery charging image only, it's sufficent to let it charge without doing anything.

The problem is that the device temporarily takes >= 500mA when it's trying to start but normally the charger current it limited to 500mA max. so the battery needs to provide the additional power otherwise the boot will be interrupted but if the battery is empty ...
[Nexus 7 Android Development] bretzelpopo:
Sometimes I repair Nexus 7 and I plug directly a usb cable cut on the battery connector (not good) but it works rather well, just twenty minutes on usb computer
[Nexus 7 Android Development] Johnassel:
Mhm. Didn't work either. It doesn't react to anything. :(
[Nexus 7 Android Development] Seferi:
[MENTION=2188693]AndDiSa[/MENTION] [MENTION=3729448]aaopt[/MENTION] No more crashes after installing the patch but device became a bit laggy somehow.. I don't know maybe its just placebo..
[Nexus 7 Android Development] :
Working excellently here with patch. No crashes and I don't notice any lag. :good:
[Nexus 7 Android Development] dooderooni:
After applying the patch I also began to experience freezing issues requiring a long press of the power button to reboot. I simply flashed the latest version of the ROM to undo the patch and that seemed to work. Still get the very odd app crash, but they are few and far between.

Is there an easier method to undo the patch settings that might help others who want to go back to the stock ROM settings without reflashing?
[Nexus 7 Android Development] AndDiSa:
[MENTION=2113031]dooderooni[/MENTION] please do not mix up things here. If you see freezings this has nothing to do with the patch this is due to too high memory usage and the need for swapping / killing and restaring apps in the background. Regarding the patch the only thing you probably may notice is a bit of lag in displying graphics.
[Nexus 7 Android Development] dooderooni:
Thanks for clearing that up AndDisa. My Nexus is only the 8GB model so I try not to put much on it anyway and it's not used for gaming. Looking at the average memory usage for the past 24 hours it is showing 604mb average usage (64% of the available .95gb).

I might reinstall the patch over the weekend and check memory usage etc and post back the results.
[Nexus 7 Android Development] fsw_informatrix:
[MENTION=2188693]AndDiSa[/MENTION] [MENTION=3729448]aaopt[/MENTION] here I've attached logcat files from 3 different crashes that happened just before I tried the patch, where you can see the libc warning of a fatal signal 11 (SIGSEGV), code 2 in RenderThread.

After flashing the patch, no more crashes :) and no noticeable lag : I tested it really hard by doing some mad driving with a Ferrari in GTA Vice City for Android :D

But sadly, the patch brought me now a whole new problem :(

When I want to confirm leaving a game of GTA Vice City, pressing "Yes" freezes the app and I have to force kill it, what never happened before !

In the more recent logcat attached, you can see the message "E/libnvossh( 2867): Segmentation fault! Ignoring." continuously running until I force close the game....

Please tell me if you need more logs, informations or tests from my side.

(FYI I'm using XDA AdAway, that could explain the lot of Chromium / Opera warnings / errors in the logcat files, but I don't really know for sure).

And thanks to you and all the community for still breathing life in our beloved little grouper :good:
[Nexus 7 Android Development] DSTear:
Apps and activities are closing/crashing frequently. Running the last build but experiencing this for a long time. LogCat is here.

View attachment LogCat.txt
[Nexus 7 Android Development] 9Lukas5:
Did you try the patch discussed on the last few pages?

L
[Nexus 7 Android Development] dabl8:
I'm getting the brightness going to zero when playing with the brightness slider. Literally nothing but a black screen and had to do echo 255 > /sys/devices/platform/pwm-backlight/backlight/pwm-backlight. It's only a problem if adaptive brightness is enabled.

Edit: oops , wrong thread; I have two groupers .
[Nexus 7 Android Development] duffinoo:
Hi everybody, this ROM file counts only LMY47D - but I've got LMY47V - I'm fighting with ERROR 7 CODE - I know how to fix it (edit update script) - but I'm not pretty sure, if this ROM can be used for LMY47V. Is it possible? Thanks a lot. duff
[Nexus 7 Android Development] pepetops:
I installed but there are a few but important programs for me that it doesn't work, like sshdroid or solid explorer. Also wifi goes very bad. I have to take off and get another android version

Enviado desde mi ASUS_Z012D mediante Tapatalk
[Nexus 7 Android Development] eNVy:
Any new builds ?
[Nexus 7 Android Development] duffinoo:
Thanks, but at all - if I've changed update-script from LMY47D to LMY47V - it's not working. I'm getting unknown command - updater process ended with ERROR: 7 - error installing zip file. I didn't find solution for this. I've got bootloader 4.23 and I'm not able to find any newer version. I'm using TWRP.
[Nexus 7 Android Development] naggi_1:
Adaway can`t copy the hosts data

Hello,

I have the problem that Adawy can not copy the host data to system/etc/hosts

I have flasched Super Su and busyBox., using TWRP 3.1.0

Root checker said, that root is given.

Any idea, why this problem is given on this rom?

Problem solved....
[Nexus 7 Android Development] Att1Tude:
Hello. Thanks for creating this rom, its smoothier than anything before(cm12). To the point. I install roms via Nexus Root Toolkit, and i read the first post how to install this rom.

I made sure nothing goes wrong so i read the how-to-install sentence by sentence. NRT has the flashing queue function, so i added there lineage first, and gapps Pico after. Meanwhile flashing i read u must add gapps config in directory.Dont know how i missed that, wth. Well the NRT finishes and restarts tablet, and gapps worked fine and still does. Installed tons of apks on tablet so I don't want to do all stuff again, if tablet decides to tell me not enough space.

TL;DR: Is there a way to install gapps config afterwards?
[Nexus 7 Android Development] Charles IV:
Thats interesting, the reason gapps config is there is because the pico file is too big for the n7's system partition, so the config file makes it smaller, so it's interesting that it worked without.

I would say be happy that you didn't need it but:

You can simply reflash the gapps zip with the config file in the same directory, and wipe cache, dalvik etc.

---------- Post added at 08:54 AM ---------- Previous post was at 08:50 AM ----------

has adawy not been given permission to use root? Im not really sure.

Paste bin a logcat and maybe somebody can find out what's wrong

p.s. lineage os has root built in. simply go to developer options and you can enable it, no need for supersu
[Nexus 7 Android Development] Att1Tude:
Yeah was wondering that too something weren't right there. Iirc I wiped everything I could from recovery. Might be I had multiple recoveries installed(cwm and whatever multirom manager had installed), twrp were in use each time NRT ran anything, but isn't that "virtual" recovery from computer, idk. But ok thanks for answer!
[Nexus 7 Android Development] Charles IV:
has anyone else who's building themselves noticed that the repo sync time is a lot shorter than normal, and the brunch grouper time has halved?
[Nexus 7 Android Development] street_dog:
Sounds like you need to run this from recovery.

https://www.androidfilehost.com/?fid=24438995911977059
[Nexus 7 Android Development] naggi_1:
Hello Charles IV, street boy,

first, thank you for your replay [MENTION=7211583]Charles IV[/MENTION], I gave root. How do I create a log file ? [MENTION=554290]street[/MENTION] boy, falshing the zip is a good idea. but I will look for the one without systemless because I do not run on it.

I checked xda and sow that I'm not alown with this problem.

I tried this way https://xdaforums.com/showpost.php?p=68376352&postcount=6816 , bit..I'm to silly for this or it do not work anyway

Problem solved, thank you
[Nexus 7 Android Development] street_dog:
Even if you do not have systemless su, you will need to flash the systemless v2 for adaway to work. AND you will need to have adaway 3.2.

If it works...No need to invent the wheel again...
[Nexus 7 Android Development] zerbey:
Amazingly smooth for a Nougat ROM, nice work!
[Nexus 7 Android Development] naggi_1:
newstart in recovery

Hello,

will it be possible to add to the menue for new start the options to restart in recovery and bootloader?
[Nexus 7 Android Development] :
Mmmh, it's in LineageOS now "for ages"/since day one.

Have you enabled it in developer options and in settings/buttons/power menu/restart?
[Nexus 7 Android Development] okias:
[MENTION=3729448]aaopt[/MENTION] Would tou ve interested in covering official lineageos support?
[Nexus 7 Android Development] gagmani:
[MENTION=3729448]aaopt[/MENTION] Tried to build today to get 7.1.2, repo sync showed some error:

"Syncing work tree: 1% (6/599) error: Your local changes to the following files would be overwritten by checkout:

core/config.mk

Please, commit your changes or stash them before you can switch branches.

error: build/: LineageOS/android_build checkout 96efb2183e7ccc18b569e7a7218075260348ed8d"

Are 7.1.2 sources not available for grouper? I thought they were merged on April 14th by the official Lineage devs.
[Nexus 7 Android Development] aaopt:
As you all may have guessed, I have been busy with Real Life for the last couple weeks. Tonight I finally sync'd my tree in preparation for a build, and did not get any error messages from the sync stage at least. But in any case, the error message seems to be saying that you have modified build/core/config.mk and not checked the changes in to git. For clues you can try "cd build; git status; git diff".
[Nexus 7 Android Development] gabibbo97:
lineage-14.1-20170418-UNOFFICIAL-grouper.zip

lineage-14.1-20170419-UNOFFICIAL-grouper.zip
[Nexus 7 Android Development] bretzelpopo:
can you add blob drm widevine plz , https://github.com/TheMuppets/proprietary_vendor_qcom_binaries/pull/11/files
[Nexus 7 Android Development] naggi_1:
I did't, thank youfor this info.

it works
[Nexus 7 Android Development] :
Great!

Let the thank-you-button be your friend :)
[Nexus 7 Android Development] webbie2:
Thank you for the April Update. I will be re flashing tonight. Only issue I currently have is the device does not wake from sleep and needs to be rebooted. Seems to fix it. I'm ion the 3/8 build i believe.
[Nexus 7 Android Development] dbrickg:
Is there an April Update? I see a couple posted by gabibbo97 a day or two ago, but was kind of waiting till there was an "official" unofficial version by aaopt
[Nexus 7 Android Development] fsw_informatrix:
[MENTION=4746003]webbie2[/MENTION]: Never happened here on 3/8 and 3/15 builds. Perhaps you should try to save & wipe everything, then do a fresh clean flash, to see if it keeps having this problem (if you haven't already done so, of course).

[MENTION=3729448]aaopt[/MENTION]: I don't know if someone already thanked you for this: the camera is working :)

From the moment I've erased the official Google firmware, every other single ROM I've tried (5.x, 6.x and even 7.x) had all kind of problems with the camera, but on this ROM, it works flawlessly now (again).

Even if I know that its resolution is not so good, as are the quality of the pictures that it makes, but I really hate it when a piece of my hardware won't behave as it should ;)

So, merci beaucoup and keep the good work.
[Nexus 7 Android Development] Charles IV:
ive started getting errors on my builds.

here is a pastebin: https://pastebin.com/EWRj2AeR

ive included the repo sync etc incase there is a fault there.
[Nexus 7 Android Development] AndDiSa:
[MENTION=7211583]Charles IV[/MENTION] I've submitted yesterday a patch for that to LineageOS's gerrit, but it still needs to be reviewed and integrated.
[Nexus 7 Android Development] Ziph0n:
I'm also interested into the Widevine DRM. Will it be implemented?
[Nexus 7 Android Development] aaopt:
Uploaded the one I built last week but I'm not so happy with it-- poor battery life and poor wifi behavior relative to previous builds. There's a chance that problems crept in due to trying to install while my battery was too low, so I am trying to reinstall now. Meanwhile other people with risk tolerance can test it along with me.

Edit: taken down, building again.
[Nexus 7 Android Development] aaopt:
I am not following LineageOS for android_device_asus_grouper. I cherry-picked one of your two commits and I'll push to my github after I confirm it works for me. The other one seems to already be handled on my side, by commenting out rather than deleting some rules conflicting with neverallow. I did have some other unpushed commits which I have pushed now-- many of them yours, as usual.
[Nexus 7 Android Development] dbrickg:
Thanks. Downloading now. I'll install and get back to the group once it's done ....
[Nexus 7 Android Development] aaopt:
Don't bother. Just noticed some leftover junk in that ROM from a private build. Taking it down and building again.
[Nexus 7 Android Development] dbrickg:
OK, thanks. Let us know when the new build is online
[Nexus 7 Android Development] aaopt:
Build is here for those who want to test along with me.
[Nexus 7 Android Development] norman0:
Just installing the new build. Is this "no more app crash patch" included?
[Nexus 7 Android Development] marty_bebop:
I am joining in the fun - downloaded, installing & testing new build.

---------- Post added at 10:44 AM ---------- Previous post was at 10:23 AM ----------

Wiped system, cache & Dalvik. Installed 0423 ROM & OpenGapps Pico.

First boot took a looooong time - I know I know, just saying.

Working nicely and in light use.

If there is anything in particular to look out for, let us know.

Cheers, Marty.
[Nexus 7 Android Development] aaopt:
Yes. Please test relevant cases.
[Nexus 7 Android Development] akillenb:
DRM issues

The Play Movies DRM issue is still present. Trying to play any movie still gets

"couldn't fetch license (error 901)"

Youtube and other videos appear to play fine.

Play Music and Books both are ok.
[Nexus 7 Android Development] Charles IV:
i honestly have no idea, but if you pastebin a logcat, clever people might identify something
[Nexus 7 Android Development] akillenb:
DRM logcat

Here's a logcat
[Nexus 7 Android Development] AndDiSa:
[MENTION=7258623]akillenb[/MENTION] you have a grouper device, haven't you? It might be the issue that the mcc /mnc is null and due to that there is no unique key generated when the telephony service is integrated into the rom. In my builds I have telephony services only integrated into the tilapia build. Probably there is a different solution possible, but if you look into your logfiles you might find some messages complaining about mcc / mnc beeing null

Edit: I just looked at your log. The issue is not exactly as I supposed, but similar. It's complaining about invalid mcc / mnc and missing permissions. But I think the reason is the same ...
[Nexus 7 Android Development] akillenb:
Yes, I've got a 32 GB Grouper. what I see is "Failed to find drm plugin" followed by UnsupportedDrmException messages - not being a dev, that's what looks like a problem, to me....
[Nexus 7 Android Development] aaopt:
I have not included widevine libs. Not sure if there might be legal issues with doing so.
[Nexus 7 Android Development] hammerbeard:
April build was running smooth but has become clunky suddenly, not sure what action caused it but restart doesn't seem to help either.
[Nexus 7 Android Development] Charles IV:
have you run an fstrim?
[Nexus 7 Android Development] Ziph0n:
I'm pretty sure that some other ROMs have this DRM included (such as the AOSP ROM for the Nexus 7)
[Nexus 7 Android Development] 123x:
Can I directly upgrade from CM12.1 official to this ROM?

Does this ROM support DRM?

How is its performance compared to CM12.1? CM12.1 runs OK at best on my grouper...
[Nexus 7 Android Development] hammerbeard:
No, I have not. What is that process.
[Nexus 7 Android Development] zerbey:
I wouldn't recommend going directly from CM->LineageOS 14, I'd be surprised if that works at all. Do a clean wipe. This ROM seems to perform almost as good as the stock 5.1.1 ROM, which is quite an achievement. I've had very few lockups here. Nexus 7s are never going to win any performance contests!
[Nexus 7 Android Development] aaopt:
No DRM support for now.

If you want to try anyway, keeping your CM12.1 data may or may not work but worth trying. Just make a backup of your data with TWRP (as usual) and then try installing this ROM without wiping data. It might work. If it doesn't, depending on the failure mode you might get away with wiping data for just one or two apps, or you might have to wipe data altogether.

That said, recently on one of my kids' phones I had to reset and I was surprised at how well Google's backup restore process worked. I only had to restore about three apps' data from my TWRP backup.
[Nexus 7 Android Development] Charles IV:
there is an fstrimmer app on the play store, or you can do it any other method (i use Lspeed, which does other things, and also scuedules)

fstrim is useful for reducing lag, and [MENTION=3729448]aaopt[/MENTION] recommends doing it about once a week if i remember correctly

---------- Post added at 03:20 PM ---------- Previous post was at 03:10 PM ----------

do you know if the patch has been submitted?

i still seem to be getting errors, am i able to modify something in my device tree to fix it?
[Nexus 7 Android Development] aaopt:
My device tree has the patch and my build Sunday was fine. Looks like your github device tree is in sync with mine... so please provide a fresh build log.
[Nexus 7 Android Development] Charles IV:
here's what i ran the other day (yesterday i think)

also i use your device tree and local manifests, as when i try to use mine, i get different errors, which is strange as my device and kernel trees are forked of yours with very few/no changes

update

hmm, I've built again (including sync and everything), but looking at the modified files, they are different, so i can only assume the device tree on my computer isn't syncing properly, I'll look into it.

another update

nailed it! my local manifests was all deleted apart from roomservice. i wonder how that happened

will remove local_manifests and re-clone
[Nexus 7 Android Development] AndDiSa:
[MENTION=7211583]Charles IV[/MENTION] [MENTION=3729448]aaopt[/MENTION] I've just prepared a device tree which should work with LineageOS,too. Only in case you would like to compare ... :)
[Nexus 7 Android Development] Charles IV:
re doing it all with a freshly cloned local manifests. Maybe it's deletion was why my sync times were so fast!

update

nope, its already onto the build!

thanks guys, completed with no errors
[Nexus 7 Android Development] Charles IV:
throwing an idea down, I'm currently porting cm for another device, and i noticed in BoardConfig.mk (in device tree root) there were some parameters for the partition sizes. If we edited these and other similar files, could we increase the small system partition? or would it bootloop because they are also set in hardware
[Nexus 7 Android Development] AndDiSa:
The partition sizes in BoardConfig are only used to define / limit the image sizes used within the build but not for resizing the partitions on the device.
[Nexus 7 Android Development] onoakino:
Just flashed the April build. Fantastic work on the camera. Coming from the original January build where the camera produces pixelated pictures, this April build makes me want to take selfies again using my Nexus 7. Good job! I'll post again if I ever experience the crashing like that from the first release.
[Nexus 7 Android Development] schnee1:
I just checked back after few weeks. Where can i find the April build? On this thread i only see build from March. Or i have to build it myself?

Thanks
[Nexus 7 Android Development] aaopt:
I'll update OP soon but meanwhile see #322
[Nexus 7 Android Development] dbrickg:
installed the 4/23 build yesterday. seems to be working quite nicely. thanks so very, very much!