yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] rahimali:
It's the google play services in the Gapps that kills the performance on this device. The best performance you'll get with this device is with this ROM, F2FS on /data and /cache and no Gapps or microG instead of Gapps.
[Nexus 7 Android Development] minakmostoles:
thanks for the rom,

Could you put the unlock by pressing twice on the screen?
[Nexus 7 Android Development] PrzywódcaStada:
Please try the smaller (though older) gapps package I have shared here -> https://androidfilehost.com/?fid=2188818919693784514
[Nexus 7 Android Development] j8a:
Hi @AndDiSa,

I successfully installed the march security OTA updat on my Nexus 7 grouper without any problems.

Awesome job!

I used the gapps pico arm 7.1 released this year on Frebruary 6 th.

Regards,
[Nexus 7 Android Development] AndDiSa:
Sorry guys, ...

the new version with the May-2021 security patches are prepared, but unfortunately I do have some issues with uploading them to AndroidFileHost. I need to think a bit where I can provide these (and future ?!) files for you.

Stay tuned, I'll keep you up to date.
[Nexus 7 Android Development] rahimali:
You could try Mega or Sourceforge (or both). I could help with the uploading/sharing if you want.
[Nexus 7 Android Development] AndDiSa:
@rahimali well it's more a matter of organization of the files. I could provide download links to my webspace, too, but AFH provided some nice features, e.g. counting the number of downloads, automatic MD5 generation, several proxies all over the world, ... and really speaking I don't like Mega nor Sourceforge
[Nexus 7 Android Development] KaksiTzeta:
I have solved in this mode:

download the Open Gapps ARM + 7.1 + AROMA (is more then 1GB)

try to install aroma without any changes (next -> next -> next ... install) and works
[Nexus 7 Android Development] AndDiSa:
New Versions 7.1.2 (2021-05) available

Finally I managed it to upload the new files having the security patches May/2021 applied:

aosp_grouper-7.1.2-ota-20210508.eng.ds.zip (MD5: 0df8eea4444ba468464a2e6a0afe1ca8)

aosp_tilapia-7.1.2-ota-20210508.eng.ds.zip (MD5: 34b256999902db4419e401b025a0b6b6)

in addition I prepared the MicroG-Patched images, too:

aosp_grouper-7.1.2-mg-ota-20210508.eng.ds.zip (MD5: b18eed2950bed1a1cd02502fc916930a)

aosp_tilapia-7.1.2-mg-ota-20210508.eng.ds.zip (MD5: 1861570fe5f08cfa437367702f3c7ff2)

As always: the releases are untested and I will wait for feedback from the community.

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

Stay safe!
[Nexus 7 Android Development] KaksiTzeta:
Ok I have installed this version as upgrade and all google apps freezes or crashes XD

All works fine with a clean new installation

Nexus 7 2012 3g tilapia ota
[Nexus 7 Android Development] AndDiSa:
@KaksiTzeta I suppose you didn't follow the update process properly and forgot to install Gapps after the update.
[Nexus 7 Android Development] dark0shark:
Installed this ROM version, runs fine together with current pico GApps and Magisk 23.0 - thanks a lot!
[Nexus 7 Android Development] tomc1:
Just a note, might be worth adding that the 100% easiest way to root, once rebooting with the image, is to install SuperSU via TWRP recovery.

Magisk is waaaay more complicated as it needs .zip unpacking etc etc.

I just did this, and works fine.

SuperSU Download
[Nexus 7 Android Development] dark0shark:
Magisk 23.0 is totally simple to install: Just rename file extension from .apk to .zip and flash it in TWRP together with GApps as described in step 7 in OP.
[Nexus 7 Android Development] shibadoo:
What is the difference between the regular version(s) and the "MicroG-Patched" ones? Wanted to test on tilapia....
[Nexus 7 Android Development] DumF0rGaming:
Support for signature spoofing
[Nexus 7 Android Development] Olli 73:
From Wikipedia:

MicroG (typically styled as microG) is a free and open-source implementation of proprietary Google libraries that serves as a replacement for Google Play Services on the Android operating system. It is maintained by German developer Marvin Wißfeld.[1] MicroG allows mobile device users to access Google mobile services with less tracking of their device activity compared to Google Play Services. In a presentation, Wißfeld described microG as "the framework (libraries, services, patches) to create a fully-compatible Android distribution without any proprietary Google components".

I installed the MicroG-Version on my Tillapia, and so far all i can say is "WOw". I wonder if my N7 ever was this quick and fluid before. Thank You again AndDiSa! Next i will try MicroG on my MotoX Pure.

Has anyone installed the MicroG-package-module that is offered in Magisk?
[Nexus 7 Android Development] tomc1:
It doesn't say in that level of detail in the first page, so I didn't try it; The Magisk install instructions are all about copying files back and forth, not flashing from TWRP.

So that's why I used the trusty SuperSU flash
[Nexus 7 Android Development] dark0shark:
See https://magiskmanager.com/#How_to_Install_Magisk_Latest_Version_on_Android_Custom_Recovery_Option
[Nexus 7 Android Development] tomc1:
Uh huh. Except I was reading here on their actual site : https://topjohnwu.github.io/Magisk/install.html#getting-started

As it shows "ramdisk : yes" the official suggestion leads to "patching images".

The fact we're even talking about it is kinda proof that "flash SuperSU" is an easier and more concise option to give people ?
[Nexus 7 Android Development] dark0shark:
SuperSU is completely outdated and eol, that's why Magisk is recommended in the OP, too. Just my 2 cents.
[Nexus 7 Android Development] :
I've clean flashed the MicroG grouper ROM and all is fine (y)

I am now struggling to get a working network location provider. The MicroG unifiedNLP is saying it does not "bind" with the system and is not compatible (that may not be a problem in itself, it might still work!) Do I need to install a 'full' (e.g. NanoDroid) solution? Any help would be appreciated.

Edit: to be clear, I've been installing individual mircog components (core, unifiednlp, nlp provider apks, etc) up until now.

Edit edit: I've removed the components I installed and have installed a full NanoDroid-MicroG zip. It's not reporting errors, seems to be working, but location services are SLOW in finding a location.
[Nexus 7 Android Development] shibadoo:
Installed the regular version on my tilapia without any problem. Unfortunately my device is very slow (already since a few versions of this ROM). After switching it on it lasts at least 20-30 minutes until it is useable. And also afterwards it is very slow. Probably I have to reset it completely one day and flash the ROM on a clean device.
[Nexus 7 Android Development] kozmo2k4:
SU by Chainfire is considered untrusted, since he (Chainfire) sold it a few years back.
[Nexus 7 Android Development] dr.n4b0:
Well I just did exactly this and with the current march version it runs smooth as butter at first glance. But I also omitted any google services this install.

@AndDiSa I had problems installing the march version directly on my tilapia after a fresh format. But it worked after reformatting, installing the January image and then afterwards updating to the march version. Can be that this was a fluke on my end but eventually someone has a similar problem.
[Nexus 7 Android Development] marty_bebop:
Grouper: May ROM, latest Pico GApps & Magisk 23 installed. All good, everything seems to be working fine.

Many thanks.
[Nexus 7 Android Development] mikeataol:
Have you ever booted to recovery and done the "repair partition" to your data and or system partition?
[Nexus 7 Android Development] brickedfire:
Hello,

I have tried to install aosp_tilapia-7.1.2-mg-ota-20210508.eng.ds.zip but fail to also install opengapps pico (twrp-3.5.2_9-0-tilapia.img). It fails with error 70 (not enough space).

The first post implies that there is an alternative dynamic gapps package but I cannot find the corresponding link to make Google Play Store work.

Would you please share the link to the "dynamic gapps package"?

If that does not work, do I need to re-partition the Google Nexus 7 (2012)? If so, how exatly does that work?

Thank you for your help!
[Nexus 7 Android Development] :
If you want gapps then you should flash the other build - not the 'mg' (MicoG) build.
[Nexus 7 Android Development] brickedfire:
thank you for the feedback.

I have just tried the regular OTA image (aosp_tilapia-7.1.2-ota-20210508.eng.ds.zip) with the same result - still getting ERROR 70.

UPDATE:

I have now tried open_gapps-arm-7.1-pico-20191213.zip (a much older version of opengapps as suggested 2 pages earlier in this thread. ERROR 70 is gone now :) (even without the OTA version)
[Nexus 7 Android Development] momentoid:
Checkout this thread on page 234 of this forum:

Post in thread '[ROM][NZH54D][2021/05/05][Asus Nexus 7 2012 WiFi/3G][F2FS/EXT4]Android 7.x AOSP' https://xdaforums.com/t/rom-nzh54d-...s-ext4-android-7-x-aosp.3467514/post-84846749
[Nexus 7 Android Development] qazerr:
was able to install latest tilapia ROM (Build 20210508) with open_gapps-arm-7.1-pico-20210128.zip (with new one i got insufficient storage error) from https://sourceforge.net/projects/opengapps/files/arm/20210128/

maybe some "more new" version is also ok, i chose this one by size of zip but real final size can vary (i think the main issue is that gmscore-arm became larger).

thank you.
[Nexus 7 Android Development] marty_bebop:
I have installed AdGuard on my Grouper. In the Filtering Log, I see endless frequent calls from Google Play Services which AdGuard blocks. Would the MicroG version eliminate this kind of network traffic which presumably consumes scarce CPU cycles? Having thought about it, I install via ADB the apps I want anyway - do I need the Play Store? Are there downsides to losing it I am not thinking of? If not, I'll give it a whirl.
[Nexus 7 Android Development] v0ltax:
thanks to you my old nexus keep fighting. I really appreciated your work
[Nexus 7 Android Development] :
You don't need Play Store but it's hard to know what you'll miss without it. Some apps do need it but you can find replacement ones that don't. Some apps say they need it but don't in practice. And some apps don't need it at all. All depends which apps you use. Take a backup and give MicroG a whirl. It's what I did and I'm on MicroG now... but then I don't use my Nexus 7 for anything sophisticated.

The only thing I do struggle with (and I find it a little weird because I would have thought it so simple, comparatively) is a decent calendar app. Google's calendar just worked for me, and whilst I can find calendar sync apps (e.g. dav5x) I've yet to find a (free) calendar app that does as I like.

Edit: The change to MicroG has definitely been worth it for me, my tablet is much quicker now.
[Nexus 7 Android Development] marty_bebop:
Much obliged. Main use is Smart AudioBook Player, a couple of radio streaming apps and occasional youtube/web browsing. I use it daily. It sounds like it would be worth it for a snappier tablet. I'll give it a go. Thanks again.
[Nexus 7 Android Development] marty_bebop:
Grouper. Well, I bit the bullet and installed the MicroG version of May ROM along with Magisk 23. Whilst I was at it, I formatted the Data partition, so starting from scratch. I've installed the apps I want.

The performance improvement is quite startling, as is the boot up time.

For as long as this game continues, please do "mg" versions of the ROM!

Thanks to everyone.
[Nexus 7 Android Development] gerega:
Check out these fine tools by Tibor Kaputa. You find them for free on fdroid store. Best toolkit set I use. Please be fair and spend him a beer. Do install the thank you companion app which offers some nice bonus, when you install more than one "simple app".

Simple Mobile Tools

A group of simple, open source Android apps without ads and unnecessary permissions, with customizable colors.

www.simplemobiletools.com
[Nexus 7 Android Development] :
Thanks for the tip @gerega

As it happens, it's the free version of the simple calendar that I use. Of all calendar apps I tried, it was the one that suited me best. Maybe I should try the pro version.

I use davx5 to sync to my google calendar and 'calendar import-export' to load an ics - it's not ideal but it works.
[Nexus 7 Android Development] tilapia7:
😀Installed tilapia microg and love it :):)(y)(y)(y)
[Nexus 7 Android Development] j8a:
Hi @AndDiSa , I was able to install the OTA gropuer in my Nexus 7 2012 device.

I used the open Gapps pico arm 7.1 from February 6th.

The device has a total storage of 32 Gb. I wonder whether I should change to the mg build or not.

Awesome job!

Regards
[Nexus 7 Android Development] :
I recently changed to the mg build and think it has, on balance, been worthwhile. My Nexus is much quicker than it was on gapps. As I said earlier, much will depend on which apps you use/need; some apps need the google services framework. If you depend on such an app then a move to mg will not work for you.

Something also to note, if you have paid for any apps via google play (as I have) this will not be recognised on mg (at least, there might be a way but I personally have not found it!) It also seems you cannot buy any apps other than through Play - something I find a little strange tbh. I've used Aurora store and F-Droid and there are no purchase options. (BTW, I don't object to paying for apps if I think they are good, and solid work, I like to reward developers if I use and value their work)
[Nexus 7 Android Development] romanovmykola:
Hello,

I`ve just installed the aosp_grouper-7.1.2-mg-ota-20210508.eng.ds.zip

Rooted it with unified Magisk (V22.1)

installed root explorer via adb

nothing more

All i need from my tablet is to use it for Youtube and Youtube Music. In order to keep the tablet faster, I decided not to install Google Services.

In order for Youtube and Youtube Music to work, i decided to use Youtube Vanced. I tried to install the root-version of Youtube Vanced - it launches, but instatntly throws an error about Google Play Services missing. So i installed the non-root version.

PROBLEM:

In the non-root version of Youtube Vanced and Youtube Music Vanced, when i click on login, nothing happens. May it be due to lack of browser in the ROM? I remind you that I haven`t installed anything but ROM, ROOT and file manager.

Thank you very much in advance!
[Nexus 7 Android Development] rahimali:
You need to be able to somehow connect to Google in order to sign in. Either you use GApps (with the included google play services) or you use microG. If all you need to use is Youtube, microG is the best choice for you.
[Nexus 7 Android Development] AndDiSa:
New Versions 7.1.2 (2021-06) available

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

aosp_grouper-7.1.2-ota-20210616.eng.ds.zip (MD5: 994c28c33343659a67df1ccf18c0ca55)

aosp_tilapia-7.1.2-ota-20210616.eng.ds.zip (MD5: 3da48a501f9123c0ebe0db027c3a99da)

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

aosp_grouper-7.1.2-mg-ota-20210616.eng.ds.zip (MD5: f638e9d3f3443697d40126d075e28a9c)

aosp_tilapia-7.1.2-mg-ota-20210616.eng.ds.zip (MD5: 8b2f0aebf3bd20da8e64577e88fe64a6)

... 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] :
I've dirty flashed the MicroG grouper version and flashed Magisk... alles ist gut / tout est bon / all is good :)
[Nexus 7 Android Development] dookie23:
I clean flashed the MicroG grouper version today and it booted up fine. Performance seems good as well although I'd need more time to test that out.

With Micro-G, what is the best appstore to install to get apps?
[Nexus 7 Android Development] :
"best" depends on what you want I guess. I use Aurora Store simply because I like the layout and find it a little easier to use than F-Droid or Aurora Droid... but there are others that I haven't tried.
[Nexus 7 Android Development] momentoid:
Installed June version of grouper ROM and May version of GApps.

Everything is good. Thanks @AndDiSa!

NOTE: June 18 version of GApps gives Error 70 even though the zip file size of May 13 version is larger by about 20 MB.
[Nexus 7 Android Development] dookie23:
Thanks. I have used the Micro-G build for the last 5 hours. The UI is much more responsive than the regular build + Gapps. Thank you @AndDiSa for the effort.
[Nexus 7 Android Development] gaffer63:
Thank you VERY much for the work you have done AndDiSa! Like so many other people said - you gave new life to a very useful tool. Cheers!
[Nexus 7 Android Development] marty_bebop:
Grouper: June ROM, mg version plus Magisk 23.

All good, many thanks.
[Nexus 7 Android Development] kozmo2k4:
Aurora to replace Play Store, Foxy Droid to use the FOSS F-Droid (F-Droid app has tendency not to delete cached packages upon installation, you will get over 1GB of data in no time).
[Nexus 7 Android Development] NootYest:
I just tried to clean flash the MicroG version but after bootup the launcher and media services keeps crashing and i am not able to do anything. i flashed my grouper after wiping system data internal and both caches.

Is there anything i am doing wrong?

thanks in advance!
[Nexus 7 Android Development] :
It doesn't sound like you're doing anything wrong. So, first step, double check that you are flashing the grouper version of the ROM. Check its MD5 and perhaps download it again in case it's corrupted.
[Nexus 7 Android Development] NootYest:
I just doublechecked the downloaded zip file on the pc and after copying to the device. the md5 are fine. The version is also fine (grouper). I already tried the may version and the june version. Are there any other things i can try? the non mg version works fine.
[Nexus 7 Android Development] :
That's kinda weird. You're super sure you've got the grouper version of mg?
[Nexus 7 Android Development] NootYest:
I am pretty sure. ehat can i do to verify it? i clicked on the link with grouper in the name and the filename also says grouper. The MD5 sum is the same as the one behind the grouper file here: f638e9d3f3443697d40126d075e28a9c

I just got an idea but not sure if it will work: I am going to install the non mg version first, boot it up and verify its running and dirtyflash the mg version on top. Could this work?
[Nexus 7 Android Development] :
If the file name is 'aosp_grouper-7.1.2-mg-20210616.zip' then you have the right file! That's the one I dirty flashed without problem (over last month's MicroG version).

I personally doubt it, but you never know!

What you could try is clean install last month's mg version, see if that boots up OK and if so then dirty flash this month's.
[Nexus 7 Android Development] NootYest:
Okay i just tried to install the april release because i already tried the may one. Same result. then i dirtyflashed june on top of april and the error stays. I will now try to clean flash the normal/non mg version again to see it working. After this i do not know how to proceed...
[Nexus 7 Android Development] :
No, I can't say as I do either. I don't understand why the google version will flash but not mg - that makes no sense to me. Fingers crossed that your workaround works :)
[Nexus 7 Android Development] NootYest:
just to be safe: i do not need to flash gaps with the mg version? this is the one running without, isn´t it?
[Nexus 7 Android Development] NootYest:
It just got worse. I am not able to get the normal version to run again. the same behavior. I need to investigate further and try to get other roms to work and switch back and forth.

Are there any "cleanup" scripts for twrp to really start from scratch?
[Nexus 7 Android Development] AndDiSa:
@NootYest

No, you don't need to flash Gapps with the mg-version.

Good luck to you and your device ... I don't want to be the devil's advocate but it almost looks to me as if your flash memory is getting old ...
[Nexus 7 Android Development] NootYest:
I just had a long journey. I flashed a kitkat rom just to make sure something can run on this tablet. i ended up in an endless bootlogo. I let the battery run out to get it off because holding power or any combination of buttons didn't work. Just now i clean flashed the mg version again. I thought the jump back and forth could resolve the issue.

The result is the same. I Think i cannot get anything to work on this tablet.

I flashed the non mg yesterday, everyting running great. decided to reflash because i do not need google because it is just for controlling homeautomation on the wall.

are there any tools to check for hardware errors on the memory?

thanks for your support!
[Nexus 7 Android Development] AndDiSa:
@NootYest unfortunately for my device it started in a similar way. I doubt that there is a method to check whether the memory is still good. Normally there is some space reserved which is used automatically when there is some of the storage causing issues. Over the time this memory is getting less ... until the point where first issues arise on user level due to defective storage. Sometimes low level format can help, but I am not aware of any public tool available for Grouper / Tilapia.
[Nexus 7 Android Development] JimTDI:
This ROM is great! Thank you AndDiSa for keeping our tablets alive and running well.

One question please, do I need to run a file system trimming utility with this ROM, and if so is there one that is recommended?
[Nexus 7 Android Development] willymoto:
@AndDiSa,

Thanks for making the MicroG build available. This should make this old tablet working fast again.
[Nexus 7 Android Development] Rene1985:
Hello is there a way to overclock the cpu like 200mhz more?
[Nexus 7 Android Development] pedrosoares48@gmail.com:
Hi @andisa,

Long time since I've been here, and with this XDA forum changes my old username is not valid anymore (paasoares).

Anyway, just to thank you AGAIN and to let you know that latest version with Migro-G Patched is awesome.

Having a 2012 device still working, now completely free from google "crap" is just amazing !!!

MicroG Patched Rom + MicroG (GmsCore,GsfProxy & FakeStore) + Magisk + Aurora Store = Winning Combo

Again, thanks for keeping this device alive and kicking
[Nexus 7 Android Development] JimTDI:
Posted this question a few weeks ago. Anyone? Thanks!
[Nexus 7 Android Development] AndDiSa:
Under normal circumstances there is no need to run trim manually (it's called automatically every 2/3 days if I remember well) but it depends much on how much you are using your file system, especially writing and erasing files.
[Nexus 7 Android Development] JimTDI:
Got it. Thanks very much for your reply, and of course your ROM!
[Nexus 7 Android Development] federico72:
Question: how is your wifi data rate? Can't get more than 10-15 Mb/sec on mine.

I left the tablet in a drawer for a long time and I don't really remember if it was slow on the original rom too.
[Nexus 7 Android Development] dr.n4b0:
Sounds about right yes. Wifi 802.11n has 150mbit/s with one antenna and that means 18.75Mbytes/s in theory and about 15Mbyte/s in real world conditions.
[Nexus 7 Android Development] federico72:
Sorry, I wrote the wrong unit of measure.

I get 10-15 Mbps where the slowest of my other devices connect over 50 Mbps.

That translate in a very low data rate clearly visible during streaming (low quality).

Is the only device running so slow.

I double checked the antenna connectors on the cover just in case.

Tweaking a bit the router giving also priority to the tablet (QoS), I can get 19-20 Mbps.

Tested with the service provider router (AC) , a Cisco (N) and a Tplink (AC).

Perhaps is just a faulty device now...

Out of curiosity, what are your router settings ?