yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] aaopt:
If you are not using f2fs and haven't run Trimmer in a while, you could try Trimmer. My tablet starts to lag if I don't run it about once per week.
[Nexus 7 Android Development] mausbock:
[MENTION=2188693]AndDiSa[/MENTION]

First test after flashing the ZIP was successful. I have done a heavy usage test with different apps including my most crashing ones and I had no FC and no unexpected close.

I will test again the next days and report if FCs or closes occur.
[Nexus 7 Android Development] andyro2008:
I'm using trimmer twice at day and F2FS, I'm running out of ideas ?

Enviado desde mi XT1527 mediante Tapatalk
[Nexus 7 Android Development] thierry+:
Hi all......there is a lot of reporting of FC's and issues with apps reported on this thread, the gapps cited on this thread I can understand because those packages are custom builds, but other apps....well what we know about them? It would be helpful if posters said what apps, checked their reviews in playstore, checked a similar app by a different developer for comparison.

The reviews in play store can help because hopefully users are reviewing on the latest stock ROM, a different developer may have a similiar app that has no issues with this ROM. I think the OP needs to concentrate more on gapps packages working whilst keeping the rom ASOP, there are lots of apps out there with issues and this ROM should not be the first suspect; I believe more homework needs to be done by posters reporting app issues.

The Connect app by Omron did not work at the time of the 2nd release of this ROM, but I waited for Omron to update it because the reviews on play store were negative at the time across lots of devices. Should I have blamed the ROM.

?

This is not rant I just think we should look at apps in more depth when see that they have issues, the reviews in google play store teaches us this very fact.

Regards all.
[Nexus 7 Android Development] tpuserhp:
I applied the patch which seems to help reduce app crashes. None so far. Thanks.
[Nexus 7 Android Development] adstraylight:
Ordinarily I would agree, but as the app that crashes most for me is Google Play Newsstand, and I'm running an AOSP 7.1.1 based ROM on my N4 that has no problem with this app, I'm forced to think otherwise.

I should add that Newsstand has had a complete overhaul since N was released, and has had similar FCs in both new and old incarnations.

I'm away from my tablet at the moment, but am very much looking forward to trying the patch soon, many thanks to the devs for looking into the issue...
[Nexus 7 Android Development] JensM1973:
After applying the patch my critical apps like for example web.de and Spotify are working better. No unexpected close anymore.
[Nexus 7 Android Development] andyro2008:
I applied the patch in my GF device, she is using Resurrection Remix, and she had FC. It fixed the problem for her [emoji14]

Enviado desde mi Nexus 7 mediante Tapatalk
[Nexus 7 Android Development] Bakica:
No suddenly closes in my case either.

Thank you very much ?
[Nexus 7 Android Development] kaankulahli:
Where is the tilapia source your repo's ? [MENTION=2188693]AndDiSa[/MENTION]
[Nexus 7 Android Development] AndDiSa:
[MENTION=6922118]kaankulahli[/MENTION] the repository is referencing the Tilapia device tree from [MENTION=6754437]millosr[/MENTION]
[Nexus 7 Android Development] capounet:
No unexpected close anymore after a few hours of testing. Thanks a lot. Rgds, Philippe
[Nexus 7 Android Development] thierry+:
[MENTION=2583740]adstraylight[/MENTION].......I agree with you regarding any gapps hence why I recommended that the OP work out any issues with only the gapps packages that he recommends as working with his ROM. I have not installed any gapps at all and so I am not seeing these issues, that said he seems to have a fix.

Thinking about this bought to mind an app i had ssues and fc's which was the XDA app...lol. I must admit though after the last update I have not experienced any issues, I should also add that I shut down apps that I am not using.

Regards
[Nexus 7 Android Development] adstraylight:
I think this is hopefully a moot point now, but there seems to have been a connection between webview, the graphics driver, and high RAM usage caused by apps that involve long lists of web content. For instance other apps that have shut down on me were BBC News, and Reddit. It also didn't seem to be related to webview version, and was too inconsistent to pin down with any real clarity.

The best I got to an association was that the incidence increased with high background RAM usage, but again this was too vague to be useful.

But with luck, all now a thing of the past :)
[Nexus 7 Android Development] topoldo:
Hi all.

I had AndDiSa January release until yesterday when I decided to update my N7 2012 Grouper 32MB to TWRP 3.1, March 8 AndDiSa AOSP release + GApps + SuperSU as reported in the OP. I also added the patch to the kernel to avoid problems with WiFi.

The installation run fine as I expected.

Then I also decided to install also the patch against abrupt FCs. I don't know if this was the cause or not (I need to retest) but since then I had several freezing of different apps like Firefox, Gooogle Maps and WPS. All of them seems apps hungry of RAM and, as I wipe cache partition after the update and patching, the re-creation of the cache could be the cause. This is why I want to retest. Anyway this post is just to say that, at least in my hands, the patch against FC was not so good as others report here.

Cheers,

Topoldo
[Nexus 7 Android Development] andyro2008:
Dear AnDiSa, i think i had found my crash problem using terminal emulator and top command. System start to lags when [khubd] starts to using the 100% of the first CPU core, continuously, until system crash totally.

So far it's happening after a long time connected to wall charger.

I will try to reproduce it again with logging enabled in the PC to provide a logcat.

Enviado desde mi Nexus 7 mediante Tapatalk
[Nexus 7 Android Development] AndDiSa:
[MENTION=5555315]topoldo[/MENTION] If I remember well, in the January release there was no zram enabled by default, which since march release is enabled. This would explain, too, why you have performance issues with memory heavy applications. I noticed in the lst days, one or two freezings, too, while I was using G+ opening a webview in Chrome and tried to share that ...

I dont't expect that the patch is related to these performance problems. If you want, you can also try to apply the patch on top of the January release, it should work there, too.
[Nexus 7 Android Development] AndDiSa:
[MENTION=4968571]andyro2008[/MENTION] the kubd is the usb daemon, so if that process is running wild i would expect some usb device issues.
[Nexus 7 Android Development] othermark:
Installed this last weekend. Works great. The OP gapps clock crashes on alarms. Simply disabled it and installed the play store version.

Anyone use stickmount with this version?
[Nexus 7 Android Development] k ahangar:
hi [MENTION=2188693]AndDiSa[/MENTION]

i have problem with share files to other devices by shareit in this rom. this is not done
[Nexus 7 Android Development] AndDiSa:
Hmmm ... if I try to download from the play store it's telling me: not compatible with your device

It's very probable that's not working when you install it by side loading.
[Nexus 7 Android Development] abhifx:
blame shareit. try esfile manager, that works better
[Nexus 7 Android Development] tomtom_38:
[MENTION=2188693]AndDiSa[/MENTION]

I had to flash the boot.img in recovery mode because the Tablet is not recognized by the pc .

I think it its a problem with the tablet.

I delete all driver. But the tablet shows me no notification about usb options

with stock rom I had no problem with that.

I can switch the wifi on and out without reboot but the wifi connect and disconnect very often.
[Nexus 7 Android Development] adstraylight:
So far so good with the patch, the system feels solid. Yes there's a slight render lag, but worth the trade off, thanks for this ?
[Nexus 7 Android Development] Ahkah:
What is the lag caused by? What functionality does the library provide that was exchanged by the patch? Is it a part of the graphics driver?
[Nexus 7 Android Development] AndDiSa:
[MENTION=5917730]Ahkah[/MENTION] the patch is wrapping the proprietary libnvos.so library. I suppose due to the wrapping, i.e. there is an additional call, the access speed is slightly reduced.
[Nexus 7 Android Development] vetzki:
my grouper (version from 0308) shows a red bar for mobile network signal in battery>history details.

is this normal behavior for grouper ? (not sure if it was also like this with previous versions? )
[Nexus 7 Android Development] AndDiSa:
[MENTION=3445844]vetzki[/MENTION] yes, this was already since 6.x the case. I didn't find the possibility to remove this for grouper yet ... if someone has a suggestion / hint :)
[Nexus 7 Android Development] k ahangar:
no i didnt install rom by side loading. i installed rom more than 7 times like your Installation Instructions in posts 1&2 exactly (with supersu & without supersu ). But in all installations, crash my apps and device go to desktop more times. i dont use any backup and i download my apps from Googl play store...

dose have any solution?

and if i want comeback to the latest Stock rom, How i can try it? (i like use your rom brt I'm tired of crash high realy:( )
[Nexus 7 Android Development] AndDiSa:
[MENTION=7913386]k ahangar[/MENTION] I didn't intend you installed the ROM by sideloading, but the app ... I cannot download from store because it's incompatible, so it's useless to complain that the app is not running.
[Nexus 7 Android Development] n3kf:
This has really helped with the apps closing on my device. I will provide a log of I get an unexpected close.
[Nexus 7 Android Development] oldman_58:
Is it possible to go back to stock, I having charge issues, Wifi and 3G issues.

Flashed the Boot.img file as well as the libnvos-patch.zip same issues.

I tried flashing the last Factory Image and no luck, any help would be appreciated.
[Nexus 7 Android Development] AndDiSa:
[MENTION=2742144]oldman_58[/MENTION] it would be very helpful to get some more information. What are the concrete issues you are facing? Which factory image did you try to flash and how did you do it? What is / was the result? Did you do a factory reset after flashing the factory image?
[Nexus 7 Android Development] oldman_58:
QUOTE=AndDiSa;71690190][MENTION=2742144]oldman_58[/MENTION] it would be very helpful to get some more information. What are the concrete issues you are facing? Which factory image did you try to flash and how did you do it? What is / was the result? Did you do a factory reset after flashing the factory image?[/QUOTE]

3G connection drops and requires a reboot, not a big deal

While charging the charge indicator in the battery disappears, requires a reboot, the reboot sometimes does not work. have to power down and charge.

Installed this ROM after a full wipe in TWRP 3.1.0.0

To attempt a return to Stock i downloaded from google https://developers.google.com/android/images "nakasig" for Nexus 7 (Mobile)

#!/bin/sh

This is the batch file that comes with the download.

fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot flash bootloader bootloader-tilapia-4.23.img
fastboot reboot-bootloader
sleep 10
fastboot flash radio radio-tilapia-1231_0.18.0_0409.img
fastboot reboot-bootloader
sleep 10
fastboot -w update image-nakasig-lmy47v.zip

fastboot -w does a full wipe including "userdata"

Unit goes into "dead" Android on the screen and nothing else until I force it back to the bootloader.

Presently RELOADED "aosp_tilapia-userdebug 7.1.1 NOF27B" through TWRP, i'll get a logcat when thing start to awry maybe help track down the issues.

Log file attached
[Nexus 7 Android Development] AndDiSa:
[MENTION=2742144]oldman_58[/MENTION] regarding the charging indicator this sounds very strange, I've never seen this. Looks to me as if there is somethis messed with your device. A log probably might help to find the reason.
[Nexus 7 Android Development] oldman_58:
I attached a log file..
[Nexus 7 Android Development] AndDiSa:
[MENTION=2742144]oldman_58[/MENTION] your log looks so different ... I do see messages regarding StriktMode exceptions, just at the beginning but the rest doesn't look too bad to me.
[Nexus 7 Android Development] Andy2No:
Add

fastboot reboot

at the end?
[Nexus 7 Android Development] oldman_58:
after fastboot -w update the fastboot reboot is automatic

---------- Post added at 09:41 AM ---------- Previous post was at 09:40 AM ----------

One the issues appear I will get another log and post.
[Nexus 7 Android Development] Meritz:
Hey AndDiSa, thanks for the ROM!

I recently installed it on my 1st gen Nexus 7 and have run into issues. I am unable to use WiFi on the device, which I know is a listed bug. However, even while using the workaround of having WiFi scanning on, I am still unable to connect.

I also tried installing the updated boot.img file via fastboot and also TWRP and no luck, still no WiFi. I am only able to see a list of networks available but if I try connecting the tablet to any SSID, I receive an authentication problem.

Any ideas? What might I be doing wrong?

EDIT: After trying to wipe cache again, I'm happy to report that WiFi is now working :)
[Nexus 7 Android Development] oldman_58:
http://cloud.tapatalk.com/s/58e1ab59ed019/Log_2017-04-02_21-44-46.txt.zip

Here is a log file where 3G is dead.
[Nexus 7 Android Development] AndDiSa:
The only entries I could find in your logs and whihc might be related to the 3G problem are the following:

04-02 19:29:55.468 26990 26990 W am : type=1400 audit(0.0:1088): avc: denied { getattr } for path="/system/bin/app_process32" dev=mmcblk0p3 ino=120 scontext=u:r:rild:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file permissive=0

Those messages occur all over your log file and it's indicating, that this call is denied due to sepolicy restrictions. As I don't have a Tilapia device I am not really sure what might be the reason, but a bit of Googling indicated to me, that those issues might be related to the xposed framework or an incompatible SuperSU version.
[Nexus 7 Android Development] adstraylight:
Could also try simply resetting the network settings.

Settings (wireless and network) - More...

I've had experiences on both my "legacy" devices with N, where the settings database seems to get slightly messed up and something specific needs to be rewritten.

Probably irrelevant, but it's where I'd start in terms of eliminating the possibilities.
[Nexus 7 Android Development] oldman_58:
I just tried the reset, thanks for all the help. I'll let you know how it goes.

Well the reset didn't do much after a few hours 3G is gone and tablet does not recognize the SIM card. It may be that I am rooted and running selinux enforced, I will try to change that and see what happens.
[Nexus 7 Android Development] xxsk8rdude06xx:
Missing everything.

After I flashed this I booted up and I am missing a browser, and all the Google Apps that I flashed from the OG post. Multi window doesn't seem to be there either?
[Nexus 7 Android Development] Sym_Link:
If you wiped system before flashing ROM you will need to reboot back into recovery to flash gapps
[Nexus 7 Android Development] AndDiSa:
You always have to reflash gapps after installation of the ROM, there is no backup script which retains the gapps.
[Nexus 7 Android Development] dabl8:
This occurs in a dark room if adaptive brightness is enabled. I couldnt use adb settings put at first; had to echo 255 to the brightness sys file to get the brightness back.
[Nexus 7 Android Development] AndDiSa:
New release based on 7.1.2_r5

I've just uploaded a new release of the ROM based on Android 7.1.2 with all security fixes for April 2017 applied, also all of the issues discussed here in the last days / weeks are (hopefully) fixed.

In addition I tried to improve performance as well as battery life time. I think I've found a good compromise, at least for my usage of the device. I've added a PerformanceControl application, too, so everybody who would like to is able to adopt the settings for his/her needs.

[MENTION=5723969]parrotgeek1[/MENTION] I've integrated some of your suggestions, but the default I/O scheduler is still cfq. I didn't notice any difference between cfq and row, so I kept the old settings. Neverthless row is added, too, so using the PerformanceControl application one can change this.

Special thanks to [MENTION=5840086]zyian[/MENTION] who was able to fix the app closing issue which was for sure one of the most annoying bugs.

When updating to the new version, please follow the instructions in the OP / second post and I suggest to wipe cach/dalvik to be sure that there are no leftovers from the old ROM which might lead to crashes.

And as always: flash on our own risk!

Downloads:

7.1.2 Grouper OTA-Package (Build 20170407) (md5: b9de62635ed61758348cf5387956feeb)

7.1.2 Tilapia OTA-Package (Build 20170407)

Notice: as I do not have a Tilapia device, I was not able to test the build, please report any issues ...
[Nexus 7 Android Development] thierry+:
HI AndDiSa,.....thanks for the new ROM.

Do you have any plans to try and implement A2DP sink capability on this ROM? If it could be done would the ROM automatically ask you to chose an app to play the stream once or always like when you select a file in a file manager? Could you even make the ROM share to a recording app by asking if that app uses the internal mic or the A2DP stream? For myself this would be a useful feature without straying from ASOP path.

regards
[Nexus 7 Android Development] pauldrudd:
Great work, just updated without any problems, running smoothly so far :good::svetius:
[Nexus 7 Android Development] 239:
Updated and no issues so far, Performance Control crashes without root but that's not surprising i guess. WiFi fix worked for me as well, thanks AndDiSa!
[Nexus 7 Android Development] AndDiSa:
[MENTION=6076637]239[/MENTION] I did't check without root, but I think crashes are to be expected without the proper permissions
[Nexus 7 Android Development] laugeek57:
Hello,

I test last update rom 7.1.2

Crashes with play films youtube VLC always app with videos ...

It's fixed with others gapps ?
[Nexus 7 Android Development] JerryPi:
Dirty flash NFC settings crashing

Just did a dirty flash on my grouper, it works great, except nfc is not working and settings are crashing when i want to set it up. Will have to do a clean flash in the future. Thank`s for your support :cool:
[Nexus 7 Android Development] 239:
You are right, didn't test that, yet. Netflix also causes the device to reboot. :(
[Nexus 7 Android Development] pyr4m1d:
I did a clean flash (according to the instructions) but the Setup Wizard is always crashing at the "Set up your Nexus 7" page, no matter what I choose.
[Nexus 7 Android Development] tpuserhp:
I wiped caches and system and flashed 7.1.2 rom , 20170408 open gapps pico, super su 2.79 sr3 and v4a. Rebooted and play store app is missing. Odd.

Tried to play a movie using my mx player and rebooted right away.
[Nexus 7 Android Development] St3ve32:
[ROM][7.1.2_r5][N2G47J][Grouper|Tilapia][F2FS/EXT4]Android 7.x AOSP

The latest version after clean flash made Welcome Wizard crash and all videos cause reboot. No mater what app I use for them.

But otherwise it's really perfect :)
[Nexus 7 Android Development] massima:
I Installed last version+dynamic gapps without issues on a f2fs system (data and cache). I can use it quietly, no reboots or other strange stuffs (OTG works too):good::laugh:
[Nexus 7 Android Development] Omegakenshin:
I'm having the same issue, reboot on videos and Welcome Wizard Crash.
[Nexus 7 Android Development] Troublicious:
Wonderfull work AndDiSa !

Reboot here too when playing videos (it was working well in previous build)
[Nexus 7 Android Development] AndDiSa:
I am very sorry, I can confirm the reboots. It's s kernel panic I'll need to have a deeper look at it.
[Nexus 7 Android Development] St3ve32:
Anything we can do? :)
[Nexus 7 Android Development] Omegakenshin:
You can try installing the rom without the gapps,

and after it boot one time to the OS,

go back to recovery and install gapps

That way I skip the Wizard crash, good luck
[Nexus 7 Android Development] AndDiSa:
Fix for video crashes

Sorry again for the mess, but I didn't test the video functionality so I missed this issue. As I already wrote it's a patch included within the kernel which causes the problem. The attached boot.img will fix the problem. You can flash it using fastboot and it's compatible with Grouper and Tilapia devices. Full images will be provided most probably tomorrow or the day after ...
[Nexus 7 Android Development] St3ve32:
[ROM][7.1.2_r5][N2G47J][Grouper|Tilapia][F2FS/EXT4]Android 7.x AOSP

Thank you so much for such a fast fix. Can report that all videos are working fine again. And the tablet it self is really nicely responsive considering its age :D really great work :)
[Nexus 7 Android Development] imitev:
Just flashed the r5 and the patch and they worked PERFECT!

Tablet is running smooth than ever!

Thanks!

Edit: Here some problematic apps - Skype hungs when making call, bqckground of the launcher becomes pink sometimes, can't start performance control app.
[Nexus 7 Android Development] pepetops:
Hi. I have problems using ssh. I have sshdroid running on my tablet and I found its impossible to connect from anywhere by the ssh program. I'm not sure if is a tablet problem or the use of 7.1.2 android.

I have also problems with the wifi, it's difficult to connect with certain stability The tablet is rooted.

Any idea? Regards
[Nexus 7 Android Development] laugeek57:
Good job my friend with version 7.1.2 I can read videos claiming DRM rights google play movies and Molotov TV streaming ...:):good:

With Dolby Atmos dax lepro3 v2.3 and pixel launcher awesome N7:laugh:
[Nexus 7 Android Development] pitflyer:
My Google Play services keeps stopping. I flashed it clean (wiped tablet first) in this order: TWRP, Image (in TWRP), Boot.img patch (in recovery), Mini Gapps and SuperSU (in TWRP).

Any ideas on how to debug, or if I did everything in the right order?
[Nexus 7 Android Development] badduck43:
Yes same issue here, anything that plays video reboots the device ( Xfinity Stream, Netflix, Youtbe, HBOGo). I also noticed that selecting the 3 dot 'More' item under Wireless & Networks causes Settings to crash every time.
[Nexus 7 Android Development] pitflyer:
So my first try was this method:

Wipe, Image, GApps, SuperSu, Boot.Img Patch. When everything came up just fine there were no Gapps or SuperSU which I realized made since since the last boot.img over rode that. So then I went back and added Gapps and SuperSU but had the Google Play services stopping every time issue.

This time I did Wipe, Image, Boot.Img (in recovery), Gapps, SuperSU (all before booting first time). Now I can't get past the welcome screen at all.

So my third try will be Wipe, Image, Boot.Img (in recovery) and then boot. If its stable then i'll go back and do Gapps and SuperSU, though I understand that would lead to my Google Play services crashing issue due to permissions not being set. I'll report back if that's what occurs and see if anyone else can report the correct steps with the latest boot.img patch. Thank you!

EDITED: As expected with the third try I'm back to my original problems. I did use the latest Mini Gapps this time, and eliminate SuperSU from my testing cycle. So in summary

Wipe, Image, Boot.Img Patch, Boot, MiniGapps, Boot -> Can get in, but Google Play Services stops every couple of seconds after second boot. First boot works fine, no welcome screen asked, but no Gapps obviously :(

Wipe, Image, Boot.Img Patch, MinGapps, Boot -> Can't get in as the Welcome app crashes every time on 'Set up new Nexus' and can't get past it