yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] AndDiSa:
[MENTION=2366949]pitflyer[/MENTION] Some people suggest to do the first boot without gapps, i.e. do a full wipe, install the ROM and do a boot into the ROM and let it start. After it's started, do a reboot into recovery and install Gapps.

One I had the problem, that the permission of the Gapps were not set correctly and I had to correct it manually later, but this might be also due to the fact, that I didn't do a wipe and rests of the previous gapps installations remained installed.
[Nexus 7 Android Development] pitflyer:
That's the process I follow where I get to the Google play services stopping every couple seconds (and no Nexus wizard)

Wipe

Rom

Rom boot.img patch

Boot and reboot

Gapps

I just removed the boot.img patch from my cycle and it seemed to work.. (I used opengapps nano..)

Guess I will try to test a video and see if I have a problem now.
[Nexus 7 Android Development] AndDiSa:
New OTA packages (20170409) with video fix uploaded

Those of you who have problems with patching the ROM by installing the boot.img can now also download the OTA package.

Install 7.1.2 Grouper OTA-Package (Build 20170409) (md5: 1a21f75bda2ca549f3c20476e95c4f1b)

Install 7.1.2 Tilapia OTA-Package (Build 20170409) (md5: 415839a721a2511bf44d5ef5f2074b2d)

I've updated the links in the OP, too.
[Nexus 7 Android Development] badduck43:
Awesome! This fixed the video issues for me! Thank you!

I am still experiencing crashes from within Settings however, is this expected?

"selecting the 3 dot 'More' item under Wireless & Networks causes Settings to crash every time."
[Nexus 7 Android Development] tpuserhp:
The boot.img has fixed the reboot issue while playing video. But selecting the 3 dot 'More' item under Wireless & Networks causes Settings to crash every time like it was reported earlier. Other than that, a great rom update. Thanks!
[Nexus 7 Android Development] Promez:
Run great no more reboot with videos, it's just still present the nfc setting FC
[Nexus 7 Android Development] pitflyer:
I will try the new zip soon. Definitely had my device reboot when trying to play videos before.. couldn't get the boot.img patch to apply. Thanks to AndiDiSa for keeping the project alive!
[Nexus 7 Android Development] AndDiSa:
[MENTION=4775471]badduck43[/MENTION] [MENTION=4285036]Promez[/MENTION] thank you for reporting the issue. It's identified and it will be fixed in the next release.
[Nexus 7 Android Development] AndDiSa:
Workaround for Setup Wizard Crashes

Many thanks to [MENTION=4948627]daniel_hk[/MENTION] who posted a workaround in his thread, which I am repeating here:

The current available Gapps' setupwizard still use the API 22 method. And it's probably the only apk call the interface directly. Thus it would crash when starting wifi.

The workaround is:

1. Flash ROM (and SuperSU).

2. Reboot and setup your Wifi.

3. Reboot to recovery and flash Gapps

4. Setup your account in settings after reboot.
[Nexus 7 Android Development] tpuserhp:
Fixed the settings crash issue. I believe build.prop is missing net.tethering.noprovisioning entry. After i issue setprop net.tethering.noprovisioing true in terminal emulator, no more settings crashes. Anyway, i include that statement in the bootup script which i got it from parrotmod script.
[Nexus 7 Android Development] pepetops:
With the new OTA no video problems and wifi seems to work better
[Nexus 7 Android Development] pitflyer:
I tried this method, and used the 'Mini Dynamic Gapps' mentioned in the original post and Google Play Store services keeps crashing for me (I wiped all to start). It will accept my username and password (I see my Google pic so I know its communicating) but after my password on 'Checking info' it will always say 'Having trouble communicating with Google server'.

Starting over now and replacing with OpenGapps Nano (which worked for me before, except the video issue)

EDIT: OpenGapps Nano worked for me -- watching YouTube now (rebooted before). Thanks all!
[Nexus 7 Android Development] Sym_Link:
If you do a full wipe, ie system wipe, you have to boot back into recovery to flash gapps. You don't necessarily have to boot into the ROM first, just back into recovery from recovery. If you don't wipe system, you can flash gapps directly after ROM. It has to do with the way the partition is formatted and needs to be remounted. Flashing the ROM image isn't affected by this fact.
[Nexus 7 Android Development] Hubird:
Rom seems really fast but YouTube causes the device to reboot, same with some web pages (Chrome and Firefox)

7.1.2

Patch level 5 April 201720170405.202442 I am pretty sure that is the latest
[Nexus 7 Android Development] imitev:
Just flashed full image 20170409, gapps and supersu - youtube is working, skype is working. No issues for now...

Keep doing such a good job!!!
[Nexus 7 Android Development] AndDiSa:
[MENTION=7148474]Hubird[/MENTION] you've downloaded the version from 04/07 not the version from 04/09
[Nexus 7 Android Development] Hubird:
Ah, thank you, yes, old build... Sorry about that
[Nexus 7 Android Development] JerryPi:
Nfc still doesn`t turn on

That did it for the settings not crashing, but nfc stil won`t turn on. See the attached pics :eek:
[Nexus 7 Android Development] AndDiSa:
[MENTION=2894821]JerryPi[/MENTION] the build.prop modification was for the crash with the SetupWizard, not for the Nfc .. an updated version with Nfc fixed will be uploaded within the next days.

Btw. how did you get there ... it should crash, at least for me with the uploaded version it is.
[Nexus 7 Android Development] JerryPi:
Ah i see, cool, i just edited bulid.prop with the line net.tethering.noprovisioning=true saved and rebooted, and was able to go to those settings. Need my NFC to wake my bt speaker. Patiently waiting :fingers-crossed:
[Nexus 7 Android Development] ivanoff7:
Yes that worked. Thanks a lot.

I have a question though, it seems that super mario run cannot run on it apparently because of rooted device. Is there a way of unrooting the Nexus 7 on this rom ?

Thx
[Nexus 7 Android Development] AndDiSa:
[MENTION=4638462]ivanoff7[/MENTION] ... then you've flashed SuperSU in the installation step because the ROM is not rooted when you install only the OTA or super mario is using e.g. SafetyNet for checking. In that case there might be issues due to the test key signature and / or the fingerprint which is not recognized.
[Nexus 7 Android Development] ivanoff7:
I didn't install superSU, so I was assuming the rom was not rooted. No it won't start. Will try with magisk, however this is for when device is rooted... Will continue to look.
[Nexus 7 Android Development] DrCheesecake:
[MENTION=2188693]AndDiSa[/MENTION] Thanks for that. Works a treat :)!

I've been trying to build for tilapia myself (as a learning exercise) following your instructions on github (with 'lunch 9'). It builds fine, but when I flash it to the N7 the SIM card is not recognised. Whereas with your ota download (04/07 or the newer 04/09) the mobile bit works fine. I'm using Ubuntu 16.04 LTS. I originally built it in February and have done 'repo sync' to update everything (Before that, I reversed your patches using 'git reset --hard' and deleted the files added by one of the patches). Are there any steps that I've missed? Just wanted to check before I deleted everything and did another 'repo sync' which would take a lot of time and data.
[Nexus 7 Android Development] mausbock:
[MENTION=2188693]AndDiSa[/MENTION] Thanks for the new 04/09 Version. On Tilapia device it is running great, no FC, no Wifi issues, no 3G mobile data issues. [emoji106]
[Nexus 7 Android Development] AndDiSa:
[MENTION=8033133]DrCheesecake[/MENTION] you need to apply all the patches located in platform_manifest-Grouper-AOSP, too, especially the hardware_ril.patch otherwise 3G will not work. [MENTION=6755201]mausbock[/MENTION] thank you very much ... version 04/10 is currently beeing prepared to fix the FC issue on NFC, but if I am right this issue on Tilapia should not exist, does it?
[Nexus 7 Android Development] DrCheesecake:
[MENTION=2188693]AndDiSa[/MENTION] Thanks for that. I didn't apply all the patches, only the ones listed in the readme. Done the others and will try the build again. Otherwise, I can of course just use your build.

Also, as far as I can see NFC seems to be working fine on Tilapia.

Cheers!
[Nexus 7 Android Development] mausbock:
Normally I don't use NFC, but now I tested reading my credit card via NFC and there was no FC. Seems like Tilapia is not affected an no patch is needed.
[Nexus 7 Android Development] JerryPi:
Tnx man. Oh yeah i have a grouper ✌️
[Nexus 7 Android Development] duffinoo:
Unfortunatelly not working for me :/. Any other suggestions? Thanks.
[Nexus 7 Android Development] Torgar:
This has always worked for me!

If you use this ROM (AOSP, older version).

1. Boot into recovery TWRP 3.1.0. and flash

(aosp_tilapia or grouper-7.1.2-ota-eng-20170409.ds.zip).

2. Reboot into recovery.

Flash (Mini_Dynamic_GApps-7.1.x-20170121.zip).

Wipe Dalvik/Cache and boot the system.

3. Afterwards reboot into recovery again and flash

(SuperSU-v2.79-SR3), if you need!
[Nexus 7 Android Development] AndDiSa:
Version from 20170410 uploaded

I've just uploaded the new version which contains the fix for the NFC issue on Grouper.

I've added the the build property 'net.tethering.noprovisioning', too, to prevent the SetupWizard crashes. Thanks to [MENTION=5333182]tpuserhp[/MENTION]
[Nexus 7 Android Development] duffinoo:
Thank you - but still same error - google services keeps stopping.
[Nexus 7 Android Development] Drumack:
On version from 20170410 still having SetupWizard crashes. Tried open gapps and Mini Dynamic GApps.
[Nexus 7 Android Development] Ahkah:
This is a common problem on all devices, it's not Nexus 7 specific. I just read about this problem in the Nexus 4 forum.
[Nexus 7 Android Development] pehlm:
Thank you for the ROM update! Is it safe to install Magisk instead of SuperSU from TWRP? Is there someone who has tested that? Thanks in advance.
[Nexus 7 Android Development] AndDiSa:
[MENTION=7682126]pehlm[/MENTION] I didn't try yet, but I do not expect issues.
[Nexus 7 Android Development] JerryPi:
Thank you, my nfc is working again ?
[Nexus 7 Android Development] Promez:
I'm still on the 09/04 build but with adding the line on the build prop and deleting the nfc apk setting stopped to fc and the NFC remains disabled.

The build is really smooth and finally i haven't encountered any fc or crash in 2 days, this is definetly the best build for our N7! Thank you very much Andisa!
[Nexus 7 Android Development] pehlm:
Thank you for the reply, maybe I try Magisk later. Have installed the new ROM without big issues now, using SuperSU. Thanks! :good:

To help for someone:

I was following this for the correct installation:

1. Boot into TWRP recovery (3.1.0)

2. Wipe system, data, dalvik, cache

3. Flash ROM

4. Boot the whole system (before installation of Gapps), don't do anything on the system at first

5. Power Off the device and reboot to recovery (using the power and volume buttons)

6. Flash Gapps (I was using Gapps pico)

If installing root:

7. Open terminal in TWRP, type: 'echo SYSTEMLESS=true >/data/.supersu' -> ENTER

8. Flash SuperSU (I was using the stable version on the SuperSU XDA-page)

9. Wipe dalvik/cache

10. Reboot

It was working flawlessly. :D:D The ROM seems very stable now. Thanks again!
[Nexus 7 Android Development] pepetops:
Hi. I installed magisk each time I update this ROM and I have no problems. I no need write anything on twrp console

Enviado desde mi Nexus 7 mediante Tapatalk
[Nexus 7 Android Development] pehlm:
Ok, good to know, thanks, maybe I'm trying Magisk later on the ROM :)
[Nexus 7 Android Development] mn.code:
Here is a little workaround for setup wizzard crash:

1. Connect the tablet to PC

2. Use adb to enter following command

adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings

3. Wifi settings should be opened now on your tablet, turn on the wifi (and connect to a network if you want)

4. Return back to setup wizzard (by pressing back) and you are good to go :)
[Nexus 7 Android Development] Radboy16:
First off, thank you so much for this ROM. I thought my N7 was done for. Lollipop updates slowed it down so much that I havent touched it in at least a year. This ROM runs fairly smooth, and it is nice having a newer OS.

Question/request:

The unlock screen isn't as responsive or sensitive as i feel like it should be. I have to swipe from the bottom all the way to the top extremely fast to unlock. Even then, it doesn't correctly register that half the time. Is there any way to reduce the speed/distance required for the unlock to register? It is quite inconvenient, as most devices require a relatively short swipe, while i usually have to start from offscreen on one side, and slide off screen on the other. I'm using my N7 (grouper) in landscape if this helps.

Other than that, and the occasional message that the MTP server has crashed, everything works great. Thanks so much :victory:
[Nexus 7 Android Development] duffinoo:
Thanks! This order is ok for me... :good:
[Nexus 7 Android Development] AndDiSa:
[MENTION=8197329]Radboy16[/MENTION] for unlocking there is a workaround which might help: first swipe down to pull down the notifications / short settings then swipe up and you will get directly the possibility to unlock the device.
[Nexus 7 Android Development] MaxFTW:
Setup wizard FC not fixed :/
[Nexus 7 Android Development] br3wski3:
Thank you so much [MENTION=2188693]AndDiSa[/MENTION] !! :good:

Just upgraded from 20170308 with the 20170312 WiFi fix to the most recent 7.1.2_r5 20170410 and so far so good barring the fact that for some reason I had to reinstall Google Play Music due to it being unresolvably crashy otherwise - no issues since and no other unknown gapps/apps have had issues thus far (MTP still seems crashy). ***EDIT*** I take that back Chrome also ended up in the same boat as Play Music - had to uninstall and reinstall to get it to play nice again! ***END EDIT***

Thanks again, we all appreciate it! :D

-br3wski3
[Nexus 7 Android Development] steve.d.hill.uk:
Google Play Games does not work I'm afraid, if one upgrades from an older version without wiping the system partition.
[Nexus 7 Android Development] oldman_58:
Excellent work loaded the latest for Tilapia and everything works great!!! Battery life seems to be much better.
[Nexus 7 Android Development] zaqwsx3:
Google Play services has stopped

Newbie here, trying to breathe life into an old Nexus 7 2012 I have. My apology if this is not the right thread to post my issue. I've done the following:

Copy the 2 zip files (aosp_grouper-7.1.2-ota-eng-20170410.ds.zip, Mini_Dynamic_GApps-7.1.x-20170121.zip) to the tablet via USB cable

Three fingered salute to boot (press power, vol-up and vol-down) into Recovery mode (TWRP 3.1.0-0)

Wipe -> Advanced Wipe -> Select (Dalvik / ART Cache, System, Cache, Data) and swipe to wipe

Back to main menu, then Install -> Select (aosp_grouper-7.1.2-ota-eng-20170410.ds.zip) and swipe to confirm flash

Reboot System, and swipe to reboot, wait for it to boot, then power off

Three fingered salute to boot (press power, vol-up and vol-down) into Recovery mode (TWRP 3.1.0-0)

Install -> Select (Mini_Dynamic_GApps-7.1.x-20170121.zip) and swipe to confirm flash

Wipe cache/dalvik, and swipe to wipe

Reboot System, wait for it to boot

Now I continue to get the "Google Play services has stopped" and "Google Play services keeps stopping" messages every few seconds.

I've searched around for a solution, most of which say a mixture of things such as ensure you have the correct GApps installed, ensure you wipe dalvik-cache, clear google play app cache, throw the thing away, etc.

I've also tried various a number of different GApps including those from opengapps.org, mini_dynamic-GApps and full_dynamic-GApps ... to no avail.

Any suggestions?
[Nexus 7 Android Development] oldman_58:
Tried to build and got the following error:

No private recovery resources for TARGET_DEVICE grouper

make: Nothing to be done for `/'.

make: *** No rule to make target `make'. Stop.

#### make failed to build some targets (01:52 (mm:ss)) ####

How do I make the build for tilapia?

repo init -u [url]https://github.com/AndDiSa/platform_manifest-Grouper-AOSP.git[/url] -b ads-7.1.0
[Nexus 7 Android Development] AndDiSa:
[MENTION=2742144]oldman_58[/MENTION] after syncing the repo and applying the patches (*.patch) from platform_manifest-Grouper-AOSP, I am doing the following from the base directory:

$ ./envsetup

$ ./lunch [7 | 8 | 9] -> 7 = grouper-userdebug, 8 = grouper-user, 9 = tilapia-userdebug

$ make -j{x} otapackage
[Nexus 7 Android Development] AndDiSa:
[MENTION=3755208]zaqwsx3[/MENTION] some hints / suggestions:

- normally power plus vol+ should be sufficient to start into recovery, if you press vol+ and vol- together there is a chance the device goes into APX mode

- if you have only the issues with google apps force clothing you can try to correct the apps permisions manually. Go into settings / apps / permisions and grant all permissions to the Google apps which they are requesting. Probably you need to select 'show system apps, too' on that screen to see all applications.

- if this is not working, you can start over, i.e. do a wipe and boot the system. You may run into the SetupWizard issue then, but you can find several workarounds posted here in the thread
[Nexus 7 Android Development] capounet:
Uploaded the grouper version of the 10th and tested it for 24 hours. Most probably the smoothest & most stable vesion since the early days of AndiSa ROM.

- Not a single problem during the update following instruction from the OP.

- Not found any apps issue except one "La libre" which was generating UI freezing issue. Just delete this apps data & problem solved.

- No FC

Once again congratulations for this brilliant work.

Kind regards, Philippe
[Nexus 7 Android Development] pehlm:
In 7, try to use OpenGapps pico (the smallest) instead. All the other steps are correct.
[Nexus 7 Android Development] oldman_58:
Thank you very much, seems to be working now.

How can I donate a little beer money?
[Nexus 7 Android Development] CutGlass:
I concur your instructions were the basis of me getting an up and running AOSP nexus :)

There are lots of instructions about the play services on the web, I remember because we used to have a hudl 2 that would do that, I believe you have to go into setting > wait for error message > apps > wait for error message > find play services > wait for error message > clear all data/ clear cache. That may work but I do think it better to just go with pico and build the tablet up, if for example /system was full as the initial install has now populated it, then it's likely future updates to any apps are not going to have the space requirements to update.
[Nexus 7 Android Development] pehlm:
Yes, I definitely agree with that. :)
[Nexus 7 Android Development] pepetops:
I use also pico gapps, and no problems at all

Enviado desde mi ASUS_Z012D mediante Tapatalk
[Nexus 7 Android Development] n3kf:
Is the libvnos patch applied to the latest build or is that something that we should still flash? Thanks.
[Nexus 7 Android Development] yoyobagyo:
My steps and successfully

1 full wipe in TWRP 3.1.0.0

2 flash rom than wipe cache after finish

3 reboot to home screen

4 go to TWRP flash latest magisk, wipe cache after finisj

5 flash opengapps 7.1 nano

6 reboot
[Nexus 7 Android Development] tpuserhp:
Yes, the libvnos patch has been included in the latest build.
[Nexus 7 Android Development] zaqwsx3:
GApps pico

Thanks all for your replies. I followed the instructions again, and used GApps pico, and all works fine ... apart from apps running really slowly (but what do we expect from a 5 year old device!). Many thanks to AndDiSa and the dev team :svetius:
[Nexus 7 Android Development] CutGlass:
My father has a grouper, I had one when they came out then it died :( just having a quick play around on lollipop I believe it's faster on Nougat than lollipop, though I have no benchmarks to prove this, by the time it had been OTA updated to lollipop it was so bloated and every other app... well at least with a clean slate you have the fastest that is theoretically possible within the device's hardware limitations. Possibly a slim ROM might work, I'd love to try a comparison and maybe I'll persuade someone to give me their device for a while (current one is my son's, speed is not an issue for his purposes) If it can surf the web, make the odd Skype call, read some email, that's pretty much 99% of the user base covered.

I'm sure some of the chinese cheap supermarket tablets are worse with bloat and background apps, plus the Nexus has real corning gorilla glass and a nice contrast ratio on the screen, so specs wise it's good value for money.
[Nexus 7 Android Development] Omegakenshin:
Something that has done magic with the speed of my grouper Nexus 7 is this app Trimmer

https://play.google.com/store/apps/details?id=com.fifthelement.trimmer

You'll need to be root but I think you may want to give it a try,

it's awesome when you actually notice the difference
[Nexus 7 Android Development] Andy2No:
Can anyone recommend a dark theme for this ROM - or earlier incarnations of it? (I'm still on the original ROM this thread was about, plus the Wifi fix, for now).

I've set the launcher background to black but I get a headache very quickly, looking at the white background in Settings or Google Play, and when trying to use a USB thumb drive - for some reason that doesn't work directly in Asus File Manager, it sends me to the stock android one, which has the white background (and is poorly thought out).

I tried a few Substratum themes, but substratum only installs in legacy mode, and none of the ones I tried would actually work - just lots of little red error messages, when I tried to apply them.

I don't know if the CM based ones would work. I tried a couple on the last Lollipop ROM I briefly tried. The first one made the tablet unbootable. The second only partly worked, and seemed to kind of take over - there was a new and pointless boot animation that came with it, for one thing.

I've read that Google deliberately didn't include a dark theme with Nougat. Words fail me.
[Nexus 7 Android Development] ruedihofer:
Installing 20170410 required me to format data for the first time after a long time and i had to use the trick for the crashing Start screen . Well, i managed ..

Some issues left in my device:

- Performance control APP constantly crashing

- volume for Speaker not working when in game (pool break light)

- battery charging not working through USB when switched off, only with side plug

Any help? How can i help with resolving?

Otherwise, perfectly useful and fast. Thanks!!
[Nexus 7 Android Development] akashkyh:
Got the successful way to install finally:

Copy the 3 zip files (aosp_grouper-7.1.2-ota-eng-20170410.ds.zip, BeansGapps-Mini-7.1.x-20170415.zip) to the tablet via USB cable

Three fingered salute to boot (press power, vol-up and vol-down) into Recovery mode (TWRP 3.1.0-0)

Wipe -> Advanced Wipe, Format Data & Factory Reset and swipe to wipe

Back to main menu, then Install -> Select (aosp_grouper-7.1.2-ota-eng-20170410.ds.zip) and swipe to confirm flash

Reboot System into Recovery mode

Three fingered salute to boot (press power, vol-up and vol-down) into Recovery mode (TWRP 3.1.0-0)

Install -> Select (BeansGapps-Mini-7.1.x-20170415.zip) and swipe to confirm flash

Wipe cache/dalvik, and swipe to wipe

Reboot System, wait for it to boot

U will successfully complete all steps without crashing.

Reboot System into Recovery mode

Three fingered salute to boot (press power, vol-up and vol-down) into Recovery mode (TWRP 3.1.0-0)

Back to main menu, then Install -> Select [BETA] SuperSU v2.79 SR4 and swipe to confirm flash

Reboot System, wait for it to boot

*Latest BeansGapps updated core base to April security 7.1.2
[Nexus 7 Android Development] CutGlass:
Now I'm a little confused as within the last two pages is two posts detailing successful installation by myself and another member using opengapps which is tried tested and documented to avoid /system issues