yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] AndDiSa:
New Versions 7.1.2 (2021-07) available

Yesterday I was able to upload the new files having the security patches July/2021 applied:

aosp_grouper-7.1.2-ota-20210714.eng.ds.zip (MD5: c9ba5c1302b2773c2b7bacf480b2c692)

aosp_tilapia-7.1.2-ota-20210714.eng.ds.zip (MD5: 9122512815acbc5948eed1182545abe3)

As last time, I prepared the MicroG-Patched images, too:

aosp_grouper-7.1.2-mg-ota-20210714.eng.ds.zip (MD5: 665564d33512cbf54280b1a554c2ecdd)

aosp_tilapia-7.1.2-mg-ota-20210714.eng.ds.zip (MD5: a2ed4f40d6d58bec7fbd5521055dc18b)

... as always: the releases are untested and I will wait for feedback from the community before I'll add them to the OP.

If you report a successful (or unsuccessful :)) installation, please note which version (Grouper / Tilapia, with or without MicroG-patch) you have installed and tested. Thank you very much!

Stay safe!
[Nexus 7 Android Development] :
Grouper MicroG clean flashed and magick, no problems. All my apps restored and, so far, no problems. Gets the (y) from me.

Thanks once again @AndDiSa
[Nexus 7 Android Development] momentoid:
Installed July version of Grouper ROM with May version of GApps.

Works great. Thanks @AndDiSa.

Over the weekend I will try to resolve GApps issue.
[Nexus 7 Android Development] marker1:
Thanks for working on this, AndDiSa.

I have installed your 20210714 build with microg patches on my grouper. It boots fine. However, I am unable to install any apps.

I've tried downloading F-droid.apk on my laptop, then copying it over to /sdcard/Downloads. I can see the file is there in TWRP, but when I launch the system and look in 'downloads' the apk is not there. I've enabled 'installing apps from other sources' in the settings.

I've tried with the 20210616 builds, both with and without microg patches, and the result is the same.

(also - probably a different issue - installing opengapps zip as recommended above always gives error 70)

Thanks
[Nexus 7 Android Development] :
The 'Downloads' app is a bit weird. I think it only shows files that have been downloaded, I don't think it show the contents of the 'downloads' folder. @marker1 the apk IS there, you'll be able to see it with a file manager.

Have you tried installing f-droid via adb?
[Nexus 7 Android Development] js-xda:
Thank you for your work! Tested a complete clean flash with a Tilapia without GApps. Running into an issue that I observed already before with an Samsung S II (i9100) - issues connecting to WiFi. I have the suspicion that it could be the same:

It appears that WPA2/3 enabled networks give also issues here - with a plain WPA2 hotspot (my OnePlus 5) no issues. I thought first (with the Samsung S II) that the issue is rather due to running a 2,4/5 GHz mixed mode and mesh of router & repeater but @rINanDO proved with the above fix that it is more about the WPA3. Maybe something to include in this build?

(And just in case someone might wonder why this is only now an issue: The Nexus 7 moved and is only now in touch with WPA3.)
[Nexus 7 Android Development] js-xda:
There is a solution to your issue:

Go to "Settings"

Open "Storage" section

Click on "Other" and "Explore"

A full file manager opens and you can navigate to Downloads and install the APK file (after activating the permission).

Enjoy!
[Nexus 7 Android Development] marker1:
This works! Thanks for your help (also LesGirauds)
[Nexus 7 Android Development] marty_bebop:
Grouper July ROM MicroG version, Magisk 23.

Easy install, no problem (I think I could do it with my eyes shut).

I had to upgrade DuckDuckGo (from 5.85.3 to 5.91.0) as it quit on launch. No problem.

Many thanks.
[Nexus 7 Android Development] KainRaziel:
First of all I wanted to thank anddisa for her work; i installed grouper microg version on my nexus 7, everything works perfectly.

As I am not an expert on microg, I wanted to know a few things; if i am offtopic, i apologize to mods and to anddisa.

1) I only installed the microg rom and the tablet booted up. Do I have to use it with my google account and, if so, how do I enter it? Or can I use it without?

2) how do i install the apps? (i read about aurora store, but do they have to be install manually?

I searched for a microg guide in the general threads, but couldn't find it.

Thanks again anddisa and I apologize again if I have broken any rules.
[Nexus 7 Android Development] :
@KainRaziel

1. No, you do not have to use your google account. You can if you want but there is little use or advantage to doing so, ime. You can enter your google account in 'MicroG Settings' (and you'd need to install that, it's part of the MicroG core services)

2. Their are a number of 'package manager' apps you can use to download apps, Aurora Store is one. F-Droid is another. Again, it's part of the MicroG core services.

So, to do the above, you'll need the MicroG core services files. The best way (imo) to get all of those is to download and flash a zip file (like you'd flash the gapps packages for the google services)

Have a read of this... https://microgdownload.com

...it will give you a link to download a microG services zip plus a little bit of an explanation about MicroG. It's all really quite straightforward and once you get the hang of it, no different to flashing a gapps zip. :)

Just another little note; there are other zip packages available for MicroG, depending on what level of services you want. Again, much like the different gapps zips. And, like gapps, the size of the zip might be an issue on your device. So choose smaller zip files to begin with.
[Nexus 7 Android Development] KainRaziel:
LesGirauds, thank you very much for your availability and patience. I have installed the microg services you indicated, everything ok. Now I should just manually install the apk, for example, of the aurora store, or manually the apk of each application that I have to install, right?

For Anddisa: Installation with microg succeeded perfectly, really fast tablet. Thanks again.
[Nexus 7 Android Development] :
Yes, manually install the Aurora Store apk (and/or F-Droid) - if it's not already installed* - then use it to select and install the apps you want. Aurora will ask you to sign in, either anonymously or using your Google account. I don't know what using your google account gives you, I always use the anonymous sign in.

*some of the (larger) MicroG zips will include Aurora and/or F-Droid. Depends which one
[Nexus 7 Android Development] KainRaziel:
I installed the microg components you indicated, I don't think I have aurora store because I don't see an icon, so I think I have to install it manually. I'll take the one posted in the aurora store thread here on xda. Thanks again for everything.
[Nexus 7 Android Development] KainRaziel:
Last update: installed aurora store, everything works perfectly (I just had to activate "allow installation of unknown applications" in the tablet, I think I have to do it for all of them).

I noticed that after installing the microg components I have the playstore icon again. I'm not using it anymore.

Thanks again to Anddisa and LesGirauds for their help.
[Nexus 7 Android Development] flintash:
I like to Thank AndDiSa first of all for the great job done. I was skeptical when I saw android 7 for Nexus 2012, but I had nothing to loose, those tablets were gathering dust in the drawer.But my god, is it that a resurrection?!

All is working great except the battery life when in "sleep". I read a lot of this thread, not all, weather I missed or it wasnt mention but I hoped that tablet lived longer than 2-3 days when in sleep. Because I dont use it daily, sometimes when I pick up the tablet , its dead because wasnt recently charged. I'm trying to investigate here myself with GSam battery app, and what is killing the battery is kernel, and I recon wlan_rx_wake. Because I'm not that sophisticated, I'm asking you lads, have you got any ideas how can I put Nexus into deep sleep?

I tried turning wifi off, and airplane mode, but it doesnt work, any ideas?
[Nexus 7 Android Development] js-xda:
I stopped using actively the device (tilapia) but tested still the latest build (no Magisk, no GApps, WiFi on but not connected (see earlier post), no SIM in device) earlier this month and had no such issues (very little (few percent) battery drain over night). Maybe related to the GApps or Magisk?
[Nexus 7 Android Development] nitishdk:
Hi can we directly apply microg new update directly I mean I'm on December 2020 version
[Nexus 7 Android Development] nitishdk:
Can we convert and use f2fs on this rom and which guide to follow to do
[Nexus 7 Android Development] pedrosoares48@gmail.com:
Yes, it is possible to use F2FS on DATA and CACHE partitions.

On TWRP choose : WIPE -> ADVANCED WIPE -> select the required partition -> CHANGE FILE SYSTEM -> F2FS

Note : you will lose all data on those partitions (Partitions will be formatted with the new file system)
[Nexus 7 Android Development] Gorilla Daddy:
Fantastic rom. I was excited to see Google Duo running on this old tablet! Is there some trick to getting the microphone-audio to work? The other side can't hear anything.

(Update: running the latest 7-14-2021 on grouper, no microphone sound recording working in any app. Is it my tablet hardware, or do I need to configure something?)

(Update2: I plugged in a headset, no audio recording from there either. Tried "Smart Recorder" which lets you adjust gain, no luck either)
[Nexus 7 Android Development] AndDiSa:
@Gorilla Daddy I am not sure what might be the issue with your device, I just checked with the Nextcloud-Talk app and I was able to use the device with a headset to communicate with my partner on the other side.

Btw.: probably you are wondering why I am suddenly able to test / verify issues reported here as my device died around two years ago ... at this point I would like to send a big "thank you" to @js-xda who gifted me his Tilapia :)
[Nexus 7 Android Development] MacLeod100:
@js-xda Big thanks to you ! ❤️❤️❤️👍
[Nexus 7 Android Development] mafarric0:
Tilapia with latest version and MicroG.

Works like a charm.

Also, I use F2FS on DATA and CACHE partitions.

@AndDiSa Thank you for keeping these great little devices alive for so many years!
[Nexus 7 Android Development] AndDiSa:
New Versions 7.1.2 (2021-08) available

Hi guys, in the last days I played a bit with my "new" Tilapia device and I was able to prepare the new ROM versions having the security patches for August/2021 applied to them. Beside the security patches for August I did some further modifications / improvements:

The most important change is the default setting for the pmf (protected management frames). It was set to pmf=1 to provide better security (especially against the Kr00k security issue). Unfortunately not all routers are compatible with this setting so some people noticed that they had connection issues. Especially unexperienced people who wanted to try out the ROM complained about WiFi not working. Due to that the new default setting has changed, i.e. pmf=0 is default now. But this value will be used only on a fresh / clean install of the ROM, otherwise the settings provided by /data/misc/wifi/wpa_supplicant.conf will be used.

Nevertheless I suggest you to modify /data/misc/wifi/wpa_supplicant.conf and set pfm=1 if your router is compatible to that setting as it provides a better security.

Some miror updates in some of the repositories being used for building the ROM were applied, e.g.

external/iptables

external/ppp

...

a missed security patch in external/libhevc was applied

security patches for August 2021 were applied

The full list of changes you can find in my Github repos

The "standard" versions for Grouper / Tilapia are available for download:

aosp_grouper-7.1.2-ota-20210814.eng.ds.zip (MD5: 2817c388112830614b48fe129cbccf73)

aosp_tilapia-7.1.2-ota-20210814.eng.ds.zip (MD5: 07d6098119b4511f6fa56d1537f10a5f)

as well as the MicroG-Patched images:

aosp_grouper-7.1.2-mg-ota-20210814.eng.ds.zip (MD5: 8da739b71d8f60e645e01291ef628386)

aosp_tilapia-7.1.2-mg-ota-20210814.eng.ds.zip (MD5: f0f343f2a9a3c442cf0cb204caabd92f)

I quickly tested the ROM and didn't find issues, nevertheless I will wait for feedback from the community before I'll add them to the OP.

If you report a successful (or unsuccessful :)) installation, please note which version (Grouper / Tilapia, with or without MicroG-patch) you have installed and tested. Thank you very much!

Stay safe!
[Nexus 7 Android Development] momentoid:
Successfully installed August version of Grouper ROM, without MG patch, and May version of GApps. Did not mess with but confirmed pmf=1. Everything is good. Thanks @AndDiSa.

Big thanks to @js-xda for gifting your Tilapia to @AndDiSa.

Now that you can test, let me nitpick. In default Clock app, setting global time crashes.
[Nexus 7 Android Development] AndDiSa:
@momentoid I can reproduce your finding will have a look at it when I find the time.
[Nexus 7 Android Development] momentoid:
No hurry at all. I hope debugging this may help reveal other issues, if any.

A few builds ago I was looking up the local time of a sports event in another country and experienced this crash.
[Nexus 7 Android Development] AndDiSa:
Well, I never used this functionality up to now as I am relaying on network time and at most I was changing timezone / country in the settings.

Edit: in the next version this bug will be fixed. It was a simple one ... :-)
[Nexus 7 Android Development] momentoid:
Nice work. Thank you. 😎
[Nexus 7 Android Development] :
I didn't know things would get better!! :D

Grouper mg installed no problems whatsoever. PLUS, I dirty flashed and usually I find after that that there are maybe 4 or 5 apps that don't work, have to be deleted and reinstalled. This time, I have found only 1 that needed that!!

WiFi is good for me as default settings.

(y)(y)(y) from me! :)
[Nexus 7 Android Development] V'Pier:
I tried this on my two Groupers and after rebuilding/rebooting, it kept crashing, so I went back to the June build.

Update: Although now I've just tested the formerly working June build and it doesn't seem to work right now, I think it has to do with the F2FS I did to the system prior.

How am I supposed to go about doing this a fresh build, I have nothing to lose on these 2 Groupers so, I'm happy to format over and over till this gets working right.
[Nexus 7 Android Development] AndDiSa:
@V'Pier without having additional information / logs it's difficult to give you a hint what went wrong ... but as you have issues now with the former working version, too, I have a question: You re-flashed Gapps after the update? The installation method does *not* automatically preserve your Gapps installation, i.e. you have to flash them on top of the ROM otherwise there is a big chance that you get app crashes.
[Nexus 7 Android Development] V'Pier:
Nope, no Gapps at all, just strictly aosp_grouper-7.1.2-mg-ota-20210814.eng.ds.zip

I redid it and found that somehow the F2FS is causing problems with the launcher crashing after the build, but if I go back to EXT4, it's totally fine. This is a bit depressing as I hear F2FS is much faster, but how do I go about installing the August build and not having it hit a brick wall and having launcher failures after the fresh build.
[Nexus 7 Android Development] AndDiSa:
Well, good to hear you figured out the reason for your issues but nevertheless F2FS should work ...

My tests with F2FS (which were already some years ago) didn't show much difference in performance, nevertheless F2FS should work without issues especially as the ROM update doesn't touch the /cache and/or /data partitions at all ... there must be something different which causes your issues, but without logs ...
[Nexus 7 Android Development] V'Pier:
Well to start at the beginning....

I've made sure to update to TWRP 3.5.2_9-0

Since I didn't have anything to lose, I did a Format Data to start off with, and did an Advanced Wipe for good measure.

Then I installed aosp_grouper-7.1.2-mg-ota-20210814.eng.ds.zip

Then I let it reboot, and that's when I get repeated messages of the launcher failing, but this only happens when I do it as F2FS.

If I leave all the partitions as EXT4, it's perfectly fine. Not sure how I dig up the logs to give it to you, I'd have to reinstall one of the two Groupers I have in F2FS mode to allow it to stuff up again.
[Nexus 7 Android Development] AndDiSa:
To get the logs you can connect the device via USB to a PC and if you are on Linux you can do a

adb logcat | tee log.txt

so you can see what's going on during the start of the device and the log in parallel is stored to log.txt

Not sure what are the equivalent commands on Windows ...
[Nexus 7 Android Development] marty_bebop:
Grouper: August MicroG ROM

Seemed extra slow on first boot, but ok after that.

All good.
[Nexus 7 Android Development] ayunatsume:
Can I upgrade without wipe (dirty) from standard 20200805 with gapps-pico to microg version aosp_grouper-7.1.2-mg-ota-20210814.eng.ds.zip?

edit: Nevermind, I made a clean flash instead after discovering oandbackup :p I even accidentally wiped internal storage hehe (good this I have a backup!).

edit2: Nice! Very fast! Way faster than standard + pico gapps even after restoring my old apps :) I just got surprised by the lack of any file manager to start oandbackup but nothing adb can't fix :p

edit3: I;ve always wondered -- does MTP not work? I've been transferring files via MTP in TWRP for 2-3 years now. PTP does work though. Enabling/disabling USB debugging does nothing.
[Nexus 7 Android Development] KainRaziel:
I apologize if the question has already been asked: is it possible to update the previous microg rom with the new one without fully formatting the tablet? I ask why I have always deleted everything with a new rom and the tablet is fine and without problems. I wanted to know if I could directly install the new one so keep the apps and data. Thanks to those who want to answer.
[Nexus 7 Android Development] :
Yes. I did exactly that.

I usually do a 'clean' install; wipe everything and reinstall all apps etc (it doesn't take too long) but sometimes I'll do a 'dirty' flash over the top of the previous install. That's what I did this time and it was fine.

I have found in the past that some apps do misbehave after a dirty flash, and I'll have to uninstall and reinstall them, but I only had 1 app do that this time.
[Nexus 7 Android Development] KainRaziel:
LesGirauds, thanks as always for your availability. I will follow anddisa's guide on the front page for what concerns the update, I think it is also valid for the microg version. I will only do the wipe cache / dalvik. Thanks again and thanks as always to Anddisa for the incredible work.
[Nexus 7 Android Development] KainRaziel:
Carry out the update and everything works perfectly. To LesGirauds. I noticed that after upgrading I no longer had the microg files you recommended, but aurora still works. I think this is normal and they need to be flashed again. Thanks again for everything.
[Nexus 7 Android Development] gmsalomao2:
Is this ROM faster than Android 6 + Parrot Mod?

Can I use Parrot Mod with this ROM ?
[Nexus 7 Android Development] AndDiSa:
@gmsalomao2 you cannot use Parrot-Mod with this ROM as it will break some other configurations / modifications included within the ROM but almost all modifications which were applied by Parrot-Mod are integrated / adapted to this ROM, too.
[Nexus 7 Android Development] gmsalomao2:
Thank you! I'm excited to try it.

Just one more quick question...

If I follow the steps on the first page I'll probably be able to get root access with Magisk without breaking anything, right?
[Nexus 7 Android Development] AndDiSa:
Yes, should work without issues ... even if I didn't install / use Magisk for a long time now but other users here in the forum reported recently success.
[Nexus 7 Android Development] gmsalomao2:
I tried to install the default ROM + GApps, but even after reading the instructions on the second post, I couldn't find a way to install GApps without "Error code: 70". I wiped EVERYTHING before installing the ROM and I'm still getting the same error. My device is 32GB.. What am I doing wrong?
[Nexus 7 Android Development] AndDiSa:
Most likely your GApps are too big ... Some users reported that GApps from May 2021 are the latest version which can be flashed without issues.
[Nexus 7 Android Development] gmsalomao2:
Thank you.. I'm still facing issues, though =(

I've wiped everything again and did it from scratch.

Wiped everything: System, Boot, Data, Internal Storage, Cache...

Installed ROM (latest grouper August 14th build) - without MicroG

Rebooted into recovery

Installed May 29th Pico GApps

Wiped Cache

Rebooted into system

Then I get constant error messages when the systems loads, saying "Google Services keeps stopping" and I can't really do anything.

I've tried with May 13th Pico GApps too.
[Nexus 7 Android Development] AndDiSa:
Just a hint: Did you wipe dalvik-cache, too?
[Nexus 7 Android Development] gmsalomao2:
yes
[Nexus 7 Android Development] gmsalomao2:
I've just tried with the June build too and the same thing is happening. I'm most likely doing something wrong.

The OpenGApps have to be ARM version, right? I don't know what else I could be doing wrong.
[Nexus 7 Android Development] AndDiSa:
Well, crashing Google Services generally is an indication that GApps are not installed / not installed correctly. Probably @momentoid can indicate which GApps he used lately ...
[Nexus 7 Android Development] gmsalomao2:
If I install one GApps build on top of the other, would it be enough to find what build works? Or do I have to wipe everything?
[Nexus 7 Android Development] Portgas D. Ace:
[MENTION=2188693]AndDiSa[/MENTION]:

thought about it being similar to a package that you can flash with AROMA installer through recovery, where you can choose the components. But, yeah, Open GApps (pico or nano) would be my package of choice otherwise, if I need to flash GApps (currently GApps-less).
[Nexus 7 Android Development] AndDiSa:
[MENTION=1808910]Portgas D Ace[/MENTION] I would like to have such a package, too, because I noticed to have only ~10MB free on /system and I am not 100% sure that everything was installed correctly even if I do not have issues. If somebody finds an appropriate Aroma package ...
[Nexus 7 Android Development] Flowah123:
There is Magisk + phh's too :D

I use it on your ROM ;D
[Nexus 7 Android Development] mafarric0:
Hello all, and Happy New Year!

I got to hold of a another Nexus 7. This time it's a grouper running Lollipop.

I will do a clean install in it this weekend and if it goes well I'll do the same to my Tilapia. Unfortunately I have some FC on my device and I suspect it’s related to the Gapps? I installed gapps pico-version but now I'll try the package you use.

Later I'll post the results.

Thank you [MENTION=2188693]AndDiSa[/MENTION] for your great work!

To everyone reading this, if you have doubts, I personally recommend this ROM to make your tablet usable again, fast as new and with the latest security updates.
[Nexus 7 Android Development] aaopt:
Is there something inappropriate about opengapps aroma package? Personally I don't like the idea of downloading a huge package just to install a tiny fraction of it, but if you want interactive choices at install time, it's there. Or you can pick any opengapps size of your choice and configure selections with a gapps-config.txt file.
[Nexus 7 Android Development] AndDiSa:
[MENTION=3729448]aaopt[/MENTION] probably I'll have a deeper look at it.

I was a bit unhappy having still >100MB available on /system after intalling the pico version of gapps. Looking for some alternatives ... ;)
[Nexus 7 Android Development] UCHIHA:
Finally....

Will flash this for sure.

Thanks dev...

But wait, is this release included webview patch from opengapps?

I don't see that on changelog.
[Nexus 7 Android Development] AndDiSa:
It's included but I forgot to mention it in the changelog. You can check that in the frameworks_base.patch in the repo.