yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] adam1491491:
Though I finally got ROM, aosp_grouper-7.1.2-ota-eng-20180209.ds, while Tilapia version did not work, and OpenGApps, open_gapps-arm-7.1-pico-20180401. After rebooted it kept showing apps shut down and can't re-open. So I had to flashed it back to 5.1.1.... Really don't know why?
[Nexus 7 Android Development] kozmo2k4:
I'm currently on the February ROM, everything is working quite well.

Since the new update was just released, I'm getting ready to upgrade, and was thinking to switch to Magisk.

Are there any major advantages to Magisk over SuperSu?

And what would be the proper procedure to switch from SuperSU to Magisk?

Thanks in advance.
[Nexus 7 Android Development] AndDiSa:
[MENTION=267205]kosmo2k[/MENTION]4 I would remove SuperSU in a first step, then update the ROM to the new version and let it boot without having Magisk installed. In a second step reboot to recovery and apply Magisk.
[Nexus 7 Android Development] kozmo2k4:
Thank you kindly.
[Nexus 7 Android Development] SGH-i200:
Thanks for backporting SDcardFS! Can you provide a benchmark?
[Nexus 7 Android Development] abhifx:
Cant provide any as i have moved on to nexus 7 2013.

However last I ran the devise, it was fast enough without gapps installed.
[Nexus 7 Android Development] starfarer:
For missing busybox: I used magisk module Busybox_for_android_NDK-1.28.2 and the app passed the test. Problem is getting FC's msg everytime when N7 boots or screen is turned on (no FC as long the tablet is used) but the app itself is working as can change and retain settings.

This ROM is very good but unfortunately OTG function (via Y cable) works only after reboot (not this ROM but everything after kitkat). I need this functionality for car install but looks like compromise either way.
[Nexus 7 Android Development] laugeek57:
Hello, AnDiSa

I've got crashes with videos apps vlc,youtube,molotov ?? crashes and reboot N7 :confused:
[Nexus 7 Android Development] ccgx:
I've tried to install the latest version for tilapia, but it just hangs at the Google Logo wont start. Even tried starting from scratch. Any ideas?
[Nexus 7 Android Development] mschumiv:
Hello everybody!

I i have several problems with this rom ( no matter the build/ grouper):

1. Waze navigation app doesn't fully work, no map display. I REALLY NEED THIS APP.

2. Can't finish the setup process using open gapps. Only works with Beans gapps ( no problems) or with Deltadroid's base gapps for Lineage based roms but if i skip wi-fi setup.

3. Video apps crash and reboot the N7, on this final build (Youtube, mx player).

Any ideas?
[Nexus 7 Android Development] AndDiSa:
[MENTION=5871663]Bakica[/MENTION] Unfortunately in the log you posted here I cannot see any issue [MENTION=6140286]laugeek57[/MENTION] [MENTION=5333182]tpuserhp[/MENTION] I am trying to reproduce the issue with youtube / video player ... [MENTION=5363290]ccgx[/MENTION] unfortunately I do not have a Tilapia device ... I would need to get a logcat or at least the last_kmsg to be able to analyze
[Nexus 7 Android Development] wilmsn:
Hi AndDiSa!

How did you get the security fixes? As far as i could see they did not come upstream with the android sources. If you transfered them do i have a chance to fetch your sources to build my RR-Rom?

Best Regards Norbert
[Nexus 7 Android Development] AndDiSa:
[MENTION=5880132]wilmsn[/MENTION] I cherry picked and backported them from the 8.x branch. Probably you would like to have a look at the patches I am applying to the sources (compared to android_r7.1.2_r33). Unfortunately those are the combined paches, i.e. not separated by commits. I do not want to create so many repositories on github ...
[Nexus 7 Android Development] laugeek57:
I'm on grouper dirty flash or clean install crashes with all apps videos and reboot N7 :crying:

And I flash rom on my N7 since 2012 so this is a beginner error when I say that there is a problem on your last build ...

All works fine on 2018/02/09
[Nexus 7 Android Development] AndDiSa:
[MENTION=6140286]laugeek57[/MENTION] I can confirm the issue, I just could reproduce it.

I've also set up my tablet completely new to analyse / see the issues people are reporting here. I didn't have any issues when doing it in the following way:

- wipe / clean everything

- install the ROM

- install gapps-pico

- install the setup-fix

- boot the devcie, skip the initial network setup

- setup network

- play and play services are beeing updated to the latest version automatically

- go to play store and set up an account when requested

From here on everything is like always ...
[Nexus 7 Android Development] laugeek57:
I performed this procedure and I find myself stuck with reboot after watching videos ... I install your builds since you started here so I confess I do not understand ...:(
[Nexus 7 Android Development] AndDiSa:
@ laugeek57 the video issue I've located but needs to be fixed, the rest should work.
[Nexus 7 Android Development] laugeek57:
No other worries I went back to previous version for now ...

German quality is not what it was ...:laugh::laugh::laugh:
[Nexus 7 Android Development] SGH-i200:
I'm very happy with this high quality ROM and the fast response to the bug reports!
[Nexus 7 Android Development] laugeek57:
Joke !!! bro :laugh: Humour french...;)
[Nexus 7 Android Development] AndDiSa:
[MENTION=6140286]laugeek57[/MENTION] Never mind, I understood quite well ;)

Btw. issue is located and fixed, but I suppose I will not be able to upload before tomorrow
[Nexus 7 Android Development] adam1491491:
I have trouble with previous version. The new version works well with my N7 2012 except Youtube. Thanks for AndDiSa !!
[Nexus 7 Android Development] laugeek57:
Take your time my dear neighbor ;) I will wait until then ... fan of the first hour of your work on this good old N7 2012 :highfive:
[Nexus 7 Android Development] starfarer:
yes very true. I've tried almost every variant of ROM in last few weeks and each time missed this. Now finally decided to take break from binge flashing and ended up with previous Oct build with OTG + charge. Not changing anytime soon!
[Nexus 7 Android Development] SGH-i200:
OTG+Charge

[MENTION=323826]starfarer[/MENTION] - Did you try to manually enable the usbhost_fastcharge_in_host_mode in the newer build?
[Nexus 7 Android Development] AndDiSa:
[MENTION=6754437]millosr[/MENTION] I'll add this patch to the Github and will patch my sources, too.
[Nexus 7 Android Development] jolinnard:
Thank you. Will try now.

Edit: Tilapia running great. 3G works now. Even after dirty flashing over a grouper backup... Thank you both for the support and for making this sweet ROM!
[Nexus 7 Android Development] n3kf:
OK, so after a day, the ROM seems to run pretty well on my grouper. All except Maildroid. Maildroid FCs half the time starting. FCs if you try to go into settings. And will FC frequently looking at messages. I've tried clearing cache and dalvik cache. Clearing data and resetting it up. Uninstalling and reinstalling. Nothing seems to work. I'll try looking at the logs and see if I can find a reason. Anyone using Maildroid successfully?
[Nexus 7 Android Development] n3kf:
OK. So looking at the logs, it seemed like the FCs were happening on screen drawing activities. So I l lowered the animation numbers from .5 to .25 and set force gpu rendering on. It *seems* like that has significantly cut down on the FCs. Is that possible or am I just imagining it?
[Nexus 7 Android Development] AndDiSa:
I installed MailDroid for testing reasons now and I didn't have a single FC yet.

BTW. I do have forced GPU usage but nothing else. I have the impression that there are some race conditions especially when an application is still starting / initializing. When you touch the screen in that state, the application crashes. If you wait a bit or choose a different screen of the same application first the app runs most likely without any issues. I saw some binder / binder transaction stacktraces in the logs when there are those FCs, but unfortunately no hint where to look :(
[Nexus 7 Android Development] n3kf:
I have a fair number of email accounts which may have something to do with it. I am also on the Pro version. It ran without incident on previous ROMs. MM, LP, etc. I'll be glad to send you a log of you want to peak at it. I also sent some traces to the developer. Although once he notices this is not a Google stock ROM he may say it's the ROMs fault!

I am a Linux developer, so I'll look into the logs a bit also.
[Nexus 7 Android Development] n3kf:
OK, so the problem with Maildroid is probably not Maildroid. Will be interesting to see what the developer says. Whenever I get a crash in Maildroid it's actually a sigsegv in RenderThread. That is an Android library, correct? The following is from the crash.

11-25 23:31:20.914 F/libc (22016): Fatal signal 11 (SIGSEGV), code 2, fault addr 0x63f80000 in tid 22182 (RenderThread)

---------- Post added at 06:10 AM ---------- Previous post was at 05:49 AM ----------

I have a micro dump if it's useful.....
[Nexus 7 Android Development] fidoedidoe:
Excited about the prospect of tilapia support (I'm currently using grouper version on my Tilapia), is there a packaged tilapia version available for download / install or are you guys building your own from source at mo?
[Nexus 7 Android Development] AndDiSa:
Currently there us no tilapia version available. The problem I currently have is upload connection of my internet provider. It takes more then two hours for uploading 200MB :( ... I need to find a possibility to do an asynchronous sync that I can upload over night.
[Nexus 7 Android Development] jolinnard:
Yes, I built it for my own use. I have no problem to share it with you if you are OK with that...
[MENTION=2188693]AndDiSa[/MENTION] it's a shame... Fortunately I don't have that problem. Can I help you in some way?
[Nexus 7 Android Development] qitt:
I'm very interested in to try tilapia build. Please share your work if you can...
[Nexus 7 Android Development] masterofmayhem:
Is there any way to integrate the Gapps like this 7.1 ROM for the Nexus 5:

http://xdaforums.com/google-nexus-5/development/rom-fake-nexus-rom-nexus-5-t3466736/page246
[Nexus 7 Android Development] adstraylight:
I don't think this is technically allowed under the AOSP licence, I think if you want to be completely compliant and include Gapps you would then have to submit the ROM to Google for in house testing. Anyway, what is so hard about flashing a separate package? At least this way you get to control what goes onto your device, and flash the most up to date versions.
[Nexus 7 Android Development] cosmickamal:
Hi All, flashed the rom and i am fully satisfied with performance but somehow its charging very slowly for me. Am i missing something? Any help shall be appreciated.
[Nexus 7 Android Development] MarvinOl:
That is not a problem of this ROM or any software - the problem is that the USB port on the Nexus 7 is not soldered to the main board but connected to it via a ribbon cable. And that ribbon cable is connected to a connector that oxidizes over the years. The connector on the cable needs cleaning with contact cleaner to get the charging speed back again. I have already had to do it 2 times and regained normal charging speed.
[Nexus 7 Android Development] n3kf:
Here is the micro dump if someone has more expertise then I do in these.

Well the developer of Maildroid found a bug due to the traces I got. So that is good news!
[Nexus 7 Android Development] AndDiSa:
I've uploaded a new version of the ROM for Grouper and Tilapia, you can find the download links in the OP.

Major changes:

- camera working

- music app working

- improved stability, i.e. much less FCs

Installation / updating instructions can be found in the OP.

Regarding Tilapia: As I do not have a test device available, I was not able to test. Please report if you find any issues.
[Nexus 7 Android Development] 239:
Great update! Just dirty flashed it on Grouper along with latest OGApps/SuperSU without problems. Camera works again, big thanks!

[IMG="Yay!"]https://i.imgflip.com/mkovb.jpg[/IMG]
[Nexus 7 Android Development] millosr:
Tilapia build is working fine.

Ril, camera and hangouts calls are working :)
[Nexus 7 Android Development] shaggyskunk:
Awesome Build - I did have a strange issue (not sure if it's the Rom - Gapps or just the Device) - I did a Clean Flash - Factory Reset etc - Flashed Rom & Gapps 7.1 Pico - But I was having issues with Play Services & Play Store - Couldn't restore Nandroid due to error 255 (not enough space lol) Did another Full Wipe - Flash etc - In the end what worked for me was Flash Rom only - Reboot - Flash Gapps & SuperSU - Don't know if anyone else had the same problem - So this may be just an FYI for anyone who does ;)

Sent From My SM-N910W8 ??
[Nexus 7 Android Development] starfarer:
no, won't stick after reboot if you just echo the command. I used PEM 1.8 to enable fastcharge and Fixed mode. You can also use Performance control app but the app always comes up with FC whenever screen is turned on or on reboot. Also don't think newer kernel has those files in /sys/kernel/usbhost. I used kernel from Extracted DC Kernel from CarbonROM by daniel_hk - gps3dx
[Nexus 7 Android Development] kozmo2k4:
Another case of reboots here, when trying play (any and all) videos on the 20180406 release.

Dirty flashed back to 20180209 release, and everything works fine.

Wife is happy now, again.

Thank you [MENTION=2188693]AndDiSa[/MENTION] for all your hard work you put into this old device.
[Nexus 7 Android Development] AndDiSa:
[MENTION=3141503]kozmo2k4[/MENTION] yes, I know. I've fixed the issue and built a new version, unfortunately my upload speed is crap currently ... will try the upload again the evening.
[Nexus 7 Android Development] ThePiGuy:
[MENTION=2188693]AndDiSa[/MENTION] I have been looking around and I noticed that whilst other grouper ROMs use the 3.4 kernel (e.g. the staging branch on LOS), you use the 3.1 kernel. Would you mind explaining the advantages of staying on 3.1 as opposed to moving to 3.4 (I have heard 3.1 is more stable, but then I was wondering why others have moved to 3.4)
[Nexus 7 Android Development] AndDiSa:
[MENTION=8699949]ThePiGuy[/MENTION] when around to years ago the kernel 3.4 set up for Grouper started is was very unrelyable in the beginnen. That's the main reason why I was using / I am still using the 3.1 kernel in my Nougat builts. In the meantime I've merged/backported many features from 3.4 and above and ... if you compare both kernels you can see that there are no longer many differences. I think for future Oreo builds the 3.4 kernel is probably the way to go, but I do not want to change the kernel for the Nougat build.
[Nexus 7 Android Development] ThePiGuy:
So if I was to create my own nougat build now, you would recommend using 3.4
[Nexus 7 Android Development] AndDiSa:
I think I would do so. Have a look at the Unlegacy Project, their kernel looks quite good to me.
[Nexus 7 Android Development] mschumiv:
Any news on that upload?
[Nexus 7 Android Development] AndDiSa:
New build is uploaded and I've just updated the links in the OP ... ;)
[Nexus 7 Android Development] mschumiv:
Thank you. Great work!
[Nexus 7 Android Development] laugeek57:
All works fine thanks !!! AndDiSa:D
[Nexus 7 Android Development] adam1491491:
Thank you, AndDiSa....
[Nexus 7 Android Development] AndDiSa:
[MENTION=8074969]Eliastik[/MENTION] I cannot identify the reason for that ... I suppose there was a blocked foreground thread which after a while was beeing killed by the watchdog. Would be great to see a bit more about the processes running. At least there is some ART activity in parallel which might have influence, too.
[Nexus 7 Android Development] Eliastik:
I have identified that this issue occur often when the wifi reception is bad (when I am far from my router). I doesn't have seen this issue when I am close to my router.

For the complete logcat: https://drive.google.com/file/d/1PJ8Nb2OXrAEHWcxGgiVnECtay6yOJKDp/view?usp=sharing
[Nexus 7 Android Development] jolinnard:
1. For waze a friend of mine get back to version 4.34.1 and it just works (link to apkmirror). Disable auto-update in Play Store and you are go.

2. For gapps, simply flash ROM and boot. Then reboot to recovery and flash gapps. Boot again and login to Google.

3. I don't have idea. Probably is explained later.
[Nexus 7 Android Development] mschumiv:
This happend to me too, wi-fi dropped a couple of times.

---------- Post added at 07:37 AM ---------- Previous post was at 07:33 AM ----------

I figured it out with waze as you said. Reverted back to a previous version. For some reason, the latest version works on my galaxy S6 but not on this tablet.
[Nexus 7 Android Development] AndDiSa:
[MENTION=8074969]Eliastik[/MENTION] thank you very much for the log file. You can see that there are many processes and services started in parallel and in addition I found some issues with network connections, too:

...
04-11 18:48:01.273 502 753 E NativeDaemonConnector.ResponseQueue: Timeout waiting for response
04-11 18:48:01.274 502 753 E NetdConnector: timed-out waiting for response to 50 clatd stop wlan0
04-11 18:48:01.306 502 753 E Nat464Xlat: Error stopping clatd: java.lang.IllegalStateException: command '50 clatd stop wlan0' failed with 'null'
04-11 18:48:01.845 502 746 E NativeDaemonConnector.ResponseQueue: Timeout waiting for response
04-11 18:48:01.846 502 746 E NetdConnector: timed-out waiting for response to 51 bandwidth setglobalalert 2097152
04-11 18:48:01.864 502 746 W NetworkStats: problem registering for global alert: java.lang.IllegalStateException: command '51 bandwidth setglobalalert 2097152' failed with 'null'
...

Due to blocked theads, ANRs, etc. and too few memory available to handle all those processes the main process is beeing killed and the device is starting over. I can see this at least three times in your log. I am not sure what you did to set up the device but I would suggest to do the initial boot without any additional applications and to restore / set up them later.
[Nexus 7 Android Development] Ahkah:
Updated from December 2017 OS and July 2017 Beans GApps to April OS and pico Open GApps, followed by wizard patch.

Overall the system seems to be rather laggy compared to the December version, but this might get better overtime. Unlocking works better than before.

The app "Google Play Filme & Serien" ("Google Play Movies & TV") is constantly crashing. Looks like some permissions are missing. Is this reparable? Can I grant permissions manually? The app info page tells me "no permissions requested", and I already cleared the app data.

PS: Just saw that I accidentally booted into system, then again to recovery, after installing OS, and not directly into recovery. May this have caused the problems?

PS2: The "Google Play Bla" apps are deinstallable. So I just got rid of them, as I not really need them.

Log:
[Nexus 7 Android Development] mschumiv:
In this version 20180409, Youtube works but freezes sometimes and you have to wait a few minutes or force close the app or force reboot the system. Installed everything as instructed in the first post.
[Nexus 7 Android Development] AndDiSa:
Sorry, but this must be something different I do not have any issues with Youtube. Everything works fine, no freezes, no blocked screen. I suppose there are some other processes causing the freeze. Probably you could get a log file to analyze the issue more deeply.
[Nexus 7 Android Development] mschumiv:
Ok, i'll try. Thanks!
[Nexus 7 Android Development] Eliastik:
How can I do this ? Factory reset of the ROM ?

I updated from your 6.0 AOSP ROM by backup & restore apps with Titanium Backup the last year and I didn't have any issue except with the two last updates.
[Nexus 7 Android Development] Sam Nakamura:
Just a quick "thank you" to [MENTION=2188693]AndDiSa[/MENTION] and everyone involved with this lovely project, runs incredibly well on my old grouper :highfive: much faster than expected, from all I heard about the infamous slowness of the N7 I'm pleasantly surprised - just got the device as a new toy to play with... Cheers
[Nexus 7 Android Development] kozmo2k4:
Quick update:

Flashed 0409 update this morning and all works great. No issues with video playback, or anything else so far.

Thank you again, [MENTION=2188693]AndDiSa[/MENTION]
[Nexus 7 Android Development] 13brew:
With the latest version of this ROM (20180409) my Tilapia freezes sometimes and then reboots. Also for some reason device loading after reboot takes a lot more time then before. So I had to reinstall an older version (20180209).

Nevertheless you've done a great job and I'm very grateful, thank you.

Also it's great that you've provided a link with SetupWizzard-Fix. Crash on an initial setup was really annoying:)
[Nexus 7 Android Development] LeSpark:
Same problem here. It's stuck at the boot screen ("Google" and the opened lock) for at least 6-7 minutes.

Didn't test much yet but the rest worked fine.

But also many thanks for your work from me! Great to see that this old tablet still has a life.
[Nexus 7 Android Development] 13brew:
Exactly
[Nexus 7 Android Development] AndDiSa:
[MENTION=8223593]LeSpark[/MENTION] [MENTION=8933099]13brew[/MENTION] Upgrading from a previous release or new setup? Would be great to get some more information to cut down the issues you are facing ...
[Nexus 7 Android Development] 13brew:
New setup. What information do you need?
[Nexus 7 Android Development] AndDiSa:
[MENTION=8933099]13brew[/MENTION] How did you set up?

- Boot into recovery

- wipe cache / dalvic cache / data

- install ROM

- install pico-gapps

- install setup-wizzard-fix

- boot into sytem

Or what was your flow?
[Nexus 7 Android Development] 13brew:
Exactly like this.

Started fine, initial setup was fine, but when I started actually use the tablet - random reboots occur.

The actions are exactly the same (install the same apps from Play Store, etc.)

And, as [MENTION=8223593]LeSpark[/MENTION] mentioned,

if you need actual steps which cause reboot - a can take a risk and install it once more:)
[Nexus 7 Android Development] LeSpark:
Sorry, should have mentioned that earlier. It's a Tilapia and i upgraded from the previous release.

Installed Rom, rebooted to Recovery, Installed latest Opengapps and SuperSu, Wiped Cache and rebooted
[Nexus 7 Android Development] AndDiSa:
[MENTION=8223593]LeSpark[/MENTION] did you have Opengapps before or did you use Beans? When I was changing from Beans to Opengapps I had to wipe because some versions of did not match (some messages about downgrading a sqllite database is not supported), but it didn't stuck on the Google screen but on the Android screen ...
[Nexus 7 Android Development] LeSpark:
No, i used Opengapps (Pico) before. Just downloaded the latest version as usual.

Edit: I used these files to upgrade:

aosp_tilapia-7.1.2-ota-eng-20180409.ds.zip

open_gapps-arm-7.1-pico-20180413.zip

SuperSU-v2.82-201705271822.zip
[Nexus 7 Android Development] mikem1074:
Nexus 7

Ive flashed 2 different custom ROMs, why do i loose play store and keyboard when ever i do?
[Nexus 7 Android Development] AndDiSa:
Did you flash the gapps packet on top of it? If not, you will not have the play store ...
[Nexus 7 Android Development] :
I dirty flashed the ROM (grouper) over a previous version; all seemed OK but battery life was really poor and I think I had problems with location (anything needing location just seemed to hang) and Play was likewise hanging. Perhaps a Google acct problem? Don't know.

I'll do a wipe & install process (which it what I usually do in truth)

Edit: all okay after clean install though obviously I won't know about battery life for a couple of days. Ime, it often takes a bit of time for battery usage to settle into a pattern.
[Nexus 7 Android Development] gumage:
7.1.2 Grouper OTA-Package (Build 20180409) - BUG (random reboots) (install youtube and play video - reboots)

7.1.2 Grouper OTA-Package (Build 20180209) - OK
[Nexus 7 Android Development] mikem1074:
i flashed the app first then the rom
[Nexus 7 Android Development] AndDiSa:
... then it's obvious that you don't have the play store as the installation of the ROM erases the /system partition before installation starts.