yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] rahimali:
Thank you @AndDiSa for the updates. I've added mirrors for all four variants with links below. Hope you do not mind.

grouper:

aosp-grouper-7.1.2-20221211

aosp-grouper-7.1.2-microg-20221211

tilapia:

aosp-tilapia-7.1.2-20221211

aosp-tilapia-7.1.2-microg-20221211
[Nexus 7 Android Development] bochuflo:
Thanks a lot! Have a nice start into the 2023!
[Nexus 7 Android Development] frrrizzz:
Installed 7.1, Pico Gaps, Magisk 25.2. All semms stable.

Great work @AndDiSa, thanks a lot!
[Nexus 7 Android Development] rabbituk:
Today I've also managed to install the latest build 20221211 with pico open_gapps_20220215. I had space issues with Error 70 reporting that there was no enough space. So used the information in AndDiSa's post about gapps-config. Would be keen to know if there was any other way around that.

Thank you
[Nexus 7 Android Development] ftspampi:
I've got a couple of these Nexus 7 (2012s) which ran great until they were upgraded to Lolipop (Android 5). I'm seeing here that you all have what looks like an updated image for the Nexus (2022-12-11).

My devices are starting out on Lolipop (Android 5), just freshly reset and I would like to try out Grouper.

So far I've downloaded these:

twrp-3.6.2_9-0-grouper.img

aosp_grouper-7.1.2-ota-20221211.eng.ds.zip

Can anyone provide a link to a full set of instructions for how to proceed.

Frank S.
[Nexus 7 Android Development] rahimali:
They are already present in the OP
[Nexus 7 Android Development] phongtoanquan:
After follow ur instructions i dont see swap info in diskinfo every time reboot. Do i need to rerun this command every time i reboot ?

su
sh /system/etc/init.d/97zram
sh /data/adb/service.d/ktweak
sysctl -p
[Nexus 7 Android Development] AndDiSa:
@phongtoanquan what do you want to achieve? The ROM originally has already built in zram, no need to patch or install other services.
[Nexus 7 Android Development] phongtoanquan:
I saw ROM original have 250Mb zram, Is that enough to be smooth?
[Nexus 7 Android Development] AndDiSa:
You need to consider that the device has only 1GB of memory. If you set zram too high it will slow down performance as active processes will be put into zram and swapping takes place. Best would be to renounce on zram completely but that's almost impossible if you install gapps.
[Nexus 7 Android Development] ftspampi:
First I'd like to say how impressive the 7.1.2 build is for the Nexus 7 (2012) device (Grouper).

aosp_grouper-7.1.2-mg-ota-20221211.eng.ds

Wow! Simply amazing!

So far I've experienced great battery life, the device is very responsive, and I've been able to load my favorite apps from the google store.

I do have some questions:

I've noticed that using the already included AOSP keyboard, even though I have trace typing enabled, it doesn't seem to work. Has anyone else noticed this? Is there a work around?

After about 17 hours, the device got into a very slow almost unresponsive state. However I was able to perform a shutdown and restart it. Everything did returned to normal.

Could this be because of Trim not being performed on the internal storage?

I'm hoping that Android Nougat has trim built in, and doesn't actually require a third party App, or rooting. I realize that by rooting the device, I should be able to load a third party trim App and maybe benefit from it, but I do have some reservations about this.

Is it really necessary to load a third party Trim App? Maybe the slowdown I experienced had nothing to do with Trim?

What are your thoughts on this?

So far I'm very pleased with the results, this has been most impressive.

Frank S.
[Nexus 7 Android Development] Baonks81:
grouper and tilapia rom 20221211 had best battery time. Performance was better, no suddenly crash, working great @AndDiSa. Thanks
[Nexus 7 Android Development] WiiiLDFARMER:
I really want to thank @AndDiSa for keeping this device alive! i tried a couple of roms, but this is the one which is smooth (relatively speaking ;) and still supports most modern apps. Thanks a lot!

Does any one know if it is possible to disable audio routing to the dock connector, for example by changing some system files?

I am using this device as a wall mounted HomeAssistant dashboard which I charge via the dock interface, but because of that also the audio gets routed to that interface (nothing connected to the audio pins). I would like to keep the audio through the system speakers. I tried the “disable automatic media routing over usb” in the developer tools, but it is not working.

Thanks in advance for any tips!

EDIT: Found a solution for this specific problem, I am posting it here in case anyone finds this via Google.

with HomeAssistant tts notifications specifically, you can select the media stream. If you select the ”alarm_stream”, the audio will be routed to the speakers.
[Nexus 7 Android Development] bobii0514:
First of all thanks for maintaining this device @AndDiSa .I installed your rom on my Grouper Nexus 7 with 32 gbs of storage. Everything is excellent except that the camera is not recognized at all. Any fix? If you want i can provide more details about the device. I'm running Android 7.1 AOSP with the GAPS you specified. Also,it's not rooted yet. Followed your instructions down to the last letter
[Nexus 7 Android Development] AndDiSa:
Best would be to install a third-party camera application, e.g. Open Camera.
[Nexus 7 Android Development] bamaredwingsfan:
Thank you for keeping this going
[Nexus 7 Android Development] johnzei87:
I want to use my nexus wifi 2012 with this andisa rom in my car. Anyone knows how to turn on/off tabet when is plugged-in or unplugged to the charter? Tnx
[Nexus 7 Android Development] Baonks81:
I tested with Simple Camera app working too. It came from Simple Mobile Apps
[Nexus 7 Android Development] Baonks81:
I installed fresh by format system paritition. This update works fast, but responsive/latency so laggy. I changed nr_requests=64 and read_ahead_kb=128 (default is nr_requests=0 or 128, read_ahead_kb=256 or 512). Responsive was so slow and smooth now, because hardware was too old, can not making it fastest like new devices
[Nexus 7 Android Development] xMDKx:
anyone know how I can update the webview on this device? it seems that it do not support projject treble, and I want to use it as a home assistant dashboard
[Nexus 7 Android Development] dark0shark:
Magisk 26.0 is available in Update Channel "Beta" and updating works flawlessly.
[Nexus 7 Android Development] mvuille:
Trying to revive an old, sluggish Grouper tablet. Followed the instructions in the OP and flashed TWRP and AOSP and after reboot things were looking good.

Then I installed gapps_pico, first running into the "error 70" issue then "succeeding" after using the config file. However, after reboot things were very unstable, couldn't log into my Google account, etc. So I decided to forego gapps and reinstall AOSP.

After reflashing AOSP, the Launcher is continually crashing and basically nothing works. (I did another reinstall, just in case of finger trouble, made no difference.)

When I look at logcat, I see numerous errors and exceptions relating to missing files and directories. Specifically to the launcher failure, I see:

So there is clearly something very wrong.

I came across the similar issue discussed in this post but I don't know what "the very first firmware version 20170105" is referring to.

Any help/hints much appreciated.

MV
[Nexus 7 Android Development] AndDiSa:
@mvuille I doubt that starting with an older version of the ROM will help to get your issues sorted. I would suggest to you to:

- wipe the device, dalvik-cache and data

- install the ROM and boot once without installing Gapps before

- copy the Gapps config file to your device

- reboot to recovery and install gapps

- set up your Google account

at this point the device should be (hopefully) up and running ...

Please keep in mind, too, that each time you install a new ROM version you need to install Gapps again as the updater script does not automatically backup and update the Gapps you have installed on the device.
[Nexus 7 Android Development] mvuille:
@AndDiSa I have wiped and reflashed several times, always have the same issue.

I can tell there is data in the /data partition, yet logcat suggests that all accesses are failing.

So I tried Advanced/Fix contexts from TWRP and that resolved the issue!

Thank you for all your fantastic work.

MV
[Nexus 7 Android Development] AndDiSa:
New releases with 2023/04/05 security fixes are out!

After a long time I decided to provide you with a new set of ROM files for our beloved Grouper/Tilapia devices (which are heading to the 11th birthday ... ;.)).

There are no functional changes only the security patches from January until April were added.

I just updated the OP with the links to the Grouper and Tilapia releases (standard- and MicroG-versions).

Have fun!
[Nexus 7 Android Development] rahimali:
Hi @AndDiSa ,

Thank you for the updates. Just out of curiosity, why do you recommend TWRP v3.6.9-2 when v3.7.0 is available? Is the new version too bloated or buggy or is the OP just not updated? :)

Edit: By the way, I have mirrors available for all 4 variants, will only share if anyone is having issues with AFH and if you approve.
[Nexus 7 Android Development] AndDiSa:
Frankly speaking, I didn't test TWRP 3.7.0 yet so I left the "old" version in the OP.

If you would like to mirror the packages uploaded to AFH, you are welcome! Thank you very much for your offer.

I am still looking for a solution to host the files probably by myself on a my own systems, but before I can do that there are some other steps to be done ...
[Nexus 7 Android Development] rahimali:
So here goes. Following are the mirrors for the April 18, 2023 releases for all 4 variants:

MicroG

Tilapia-7.1.2-20230418-microg

File links - Mirrored.to - Upload Your files to multiple hosts

Securely upload your files, media and documents to more than 30 cloud storage providers simultaneosuly. Remote Upload files to Google Drive and many other hosts.

www.mirrored.to

Grouper-7.1.2-20230418-microg

File links - Mirrored.to - Upload Your files to multiple hosts

Securely upload your files, media and documents to more than 30 cloud storage providers simultaneosuly. Remote Upload files to Google Drive and many other hosts.

www.mirrored.to

GAPPS

Tilapia-7.1.2-20230418-gapps

File links - Mirrored.to - Upload Your files to multiple hosts

Securely upload your files, media and documents to more than 30 cloud storage providers simultaneosuly. Remote Upload files to Google Drive and many other hosts.

www.mirrored.to

Grouper-7.1.2-20230418-gapps

File links - Mirrored.to - Upload Your files to multiple hosts

Securely upload your files, media and documents to more than 30 cloud storage providers simultaneosuly. Remote Upload files to Google Drive and many other hosts.

www.mirrored.to
[Nexus 7 Android Development] ravenoutfit:
All working fine on grouper microg (dirty flash) (y)

Edit: flashed TWRP 3.7 too.
[Nexus 7 Android Development] yxo 6o6uka:
Joining the chorus of grateful beneficiaries of the dev's altruism! Thank you!

A misc question: does anyone know of a way to change the ringtone for gvoice on grouper? (I know how in later androids.) May be expose ringtone selection in settings via some config tweaks? Gvoice works great and rings some tone out of the box. Just trying to get slightly fancier :)
[Nexus 7 Android Development] angusf:
Amazing job. My old Nexus 7 grouper tablet is up to date with 7.1.2 / April 2023 security patches from a clean flash.

A couple of thoughts/tips:

I used a USB OTG cable to connect an external USB containing the ROM/GAPPS and gapps-config-grouper.txt. Easy to select in TWRP. Just choose Install > Select Storage with it connected.

GAPPS would not install until I commented out calsync in gapps-config-grouper.txt.

On device setup after first boot I had to skip google sign in but then Play Store sign in worked fine.

Chrome quit a few times on me, but after a device restart seems better.

Device definitely settled down after a while.

YouTube is playing without lag, and resizing/switching orientation without issue.

Thank you for keeping this alive.

A
[Nexus 7 Android Development] lfs6r:
I've been using it since last year. gapps error 70 error happened recently, I couldn't solve it.
[Nexus 7 Android Development] yxo 6o6uka:
Fwiw, i switched to bitgapps a couple of years ago and never looked back to seemingly overengineered opengapps. Using it across all rooted androids, including this grouper. Download and flash the wonderfully minimalistic *core* version (yes, there is arm 7.1.2) and u r all set. no nonsense, no config files to edit. just works, out of the box. survives ota across all my devices. bitgapp dev did a really superb job. perhaps it may work 4 u 2.
[Nexus 7 Android Development] lfs6r:
Thanks i will try it in time.
[Nexus 7 Android Development] ravenoutfit:
@yxo 6o6uka - have you tried the microG version of the ROM? I'd be interested to see how that compares (in terms of responsiveness/speed) to the std ROM + bitgapps.

I'd prefer to use the std (non microG) ROM but it was sluggish with OpenGapps.
[Nexus 7 Android Development] yxo 6o6uka:
I have not tried microG.

Pretty sure all gapps variants will have the same responsiveness/feel. The slowest resource in the tablet seems flash. Disk io is the first resource to bottleneck. When, for example, the playstore decides to do its bookkeeping what apps to update, it's best to leave it alone to do its thing.

Practical things that make the tab usable:

- trim often. makes a big difference. "Trimmer (fstrim)" does the job well.

- block ads. with ads the user experience is frustratingly inconsistent. I run diversion on the router for lan wide block and it makes a huge difference vs. when on public wifi (with ads). Sadly local adblock on device is a non-starter... e.g. adaway is apparently rereading the hosts file from flash, so the tab becomes unusable.

- tame your expectations. the tab is still good as a book reader (moon+ reader app, I like how hefty nexus feels in hand and i really like the screen for reading), a good music player (vlc app, for music and audiobooks), an excellent IP phone (gvoice app, a great way to protect your cell number), home automation panel, a remote control for connected devices, light email client. Limiting the # of apps avoids overhead and lightens periodic freezes courtesy of g playstore
[Nexus 7 Android Development] ravenoutfit:
That was my intuition tbh but I thought I'd ask. Thanks for your thoughts/input (y)

I block ads on my network (with PiHole) and use Trimmer too, so tbf the responsiveness of the tablet (which I also like the comparative 'heftiness' of!) is probably about as good as it's going to get. I have a newer Lenovo tablet but I still prefer my Nexus 7. I don't use it as a reader nor voip, but for general light web browsing and as a remote - still a solid performer in those roles.
[Nexus 7 Android Development] chris@xda:
https://bitgapps.io/ that's such a find, on par for me with /e/OS & the microG/LOS Firmwares

Did I understand that right? This firmware will give security patches on my old Tilapia?

I'm so happy to hear that
[Nexus 7 Android Development] v0ltax:
Thanks again! Recently I set my Nexus as a desk flip-clock, which also controls the light through google home.

Does anybody know how I can turn on dark mode? thanks in advance
[Nexus 7 Android Development] JimTDI:
FYI... I have run the microG version of this ROM across many versions/devices. Yesterday I put the standard version of this ROM on one of my N72012s with the BiTGapps that was released a few days ago (I believe they're v2.3) and I have to say it is still quite snappy as the microG version was.
[Nexus 7 Android Development] dizzymon:
I just dirty flashed this over my Lineage 14 N72012 and it is snappy as ever. I am getting an error but it is random so I'll just ignore until I really have to reflash it. It's some Process core error.
[Nexus 7 Android Development] brackenhill_mob:
I'm getting "Launcher has stopped" the moment I swipe up from the lock screen so I can't do anything further.

I've tried reinstalling the latest ROM zip but the error persists.

Can anyone suggest what I can try next?

TIA

[Edit - Found my answer here https://xdaforums.com/t/rom-nzh54d-...s-ext4-android-7-x-aosp.3467514/post-88398487]
[Nexus 7 Android Development] Ahkah:
I confirm that this combination successfully installed:

twrp-3.6.2_9-0-grouper.img

aosp_grouper-7.1.2-ota-20230418.eng.ds.zip

open_gapps-arm-7.1-pico-20220215.zip

gapps-config-grouper.txt (lines "Include", "Core" and "calsync")

However, I just read above about BiTGApps and became curious. What are the advantages, and would BiTGApps-arm-13.0.0-v2.3-CORE.zip the package to choose? And about that bitgapps.conf file: Shall it only contain the

"ro.config.setupwizard=true" line, and may it be placed in the main directory of the device, just near ROM and gapps?

PS: Just overwrote recovery with "twrp-3.7.0_9-0-grouper.img", and this also worked.
[Nexus 7 Android Development] AndDiSa:
New releases with 2023/08/05 security fixes are out!

Hi guys,

I didn't forget you ;-)

I thought for the 11th birthday of our beloved device it would be great to have an updated release of the firmware.

A new set of ROM files for Grouper/Tilapia devices are uploaded and the links in the OP are already updated. (Both versions, i.e. Gapps- and MicroG-versions)

There are no functional changes only the security patches from Mai until August were added.

Let's celebrate and have fun!
[Nexus 7 Android Development] :
Dirty flashed microG on grouper - perfect... :) (y)

Also, out of interest, factory reset and clean install of gapps version (+ gapps). Again all fine but my aging device is slowing down (happens to us all) and I prefered the comparative responsiveness of microg, so reverted to it.
[Nexus 7 Android Development] worthywow:
Hi! Firstly many thanks to the Devs for a great ROM :-)

I had a few issues installing but the help at the top and google got me working! I had an issue with installing the gapps (the error 70) so tried the bitg - this sort of worked but Play Services was a bit dodgy so I persevered with gapps and got this installed but am getting a repeated "google services framework keeps stopping". I did do a full factory wipe and reinstall of the ROM and gapps. Any advice on why this might be happening much appreciated!
[Nexus 7 Android Development] vinibali:
Is there a way to change the default hostname?
[Nexus 7 Android Development] JPAntunes:
Thanks a lot for this @AndDiSa ! My Nexus 7 is back!

I wanted to use it as a dashboard for Home Assistant, but it freezes with Wallpanel, FullyKiosk, and the HA app. Any ideas? Thanks!
[Nexus 7 Android Development] xMDKx:
hey, I've investigated it a little, as my ideia was to use it as a HA dashboard on the wall; it seems the webview bundled on this version is pretty old and doesn't met the requirements to run it

tried to update to a newer version without luck :/

I'm thinking on trying postmarketOS to be able to use it as intended
[Nexus 7 Android Development] rahimali:
I've tried that before as well. I think somehow the webview version (or maybe it's hash) is hardcoded into the ROM so it doesn't accept a later version
[Nexus 7 Android Development] AndDiSa:
Hmm ... I was the opinion that WebView should be updated automatically by Google, but I did not check yet.
[Nexus 7 Android Development] rahimali:
It's not updated automatically and I tried to download three variations from apkmirror but none would stick. There a google android webview, there's one called android system webview and the one I would prefer to use would be bromite system webview. Maybe you could check into it one of these days at your convenience...
[Nexus 7 Android Development] TheXeno:
Hi! I tried this ROM as I have hope again to use my old Nexus! You guys are enabling the real recycling revolution ;)

I tried the last updated infos of August '23 and I found the first bug for me: connecting the USB to a charger (or booting with the device already connected), in any case detects only one re-connection. In other words, if I put the USB back in the second time, it won't detect any charger, and also with a USB meter it shows 0.000A absorbed, and no charging state is detected.

When not in Android (i.e. off or in recovery mode with TWRP), it works fine. (With some cables is slow, but this happens also with device off.)

Any clue?

Thanks!
[Nexus 7 Android Development] vinibali:
I was trying to use the setprop and using a name in the advanced wifi setting, but it goes back to the default one.
[Nexus 7 Android Development] TheXeno:
Update. I also noticed that when is not charging:

- the USB data won't work

- the USB is...backpowering (I have a USB dongle to measure the current, in this case, when is connected to the tablet without a charger, is turning on!) -> it's like is doing OTG

- a reboot solve the issue. tablet off or in recovery won't do any problem.

It happened once that the charge was working, it was after a Dalvik wipe. A reboot later, all was as before.

@AndDiSa is there any data I can give to you to try to reproduce this?

Additional bug:

- double tap work but wakes after 1 tap -> after some minutes with screen off, double(single) tap won't work anymore up to the next screen on.

- Whatsapp call via bLuetooth audio is somehow completely distorted - just over Bluetooth, but works correctly for media.
[Nexus 7 Android Development] JPAntunes:
How did you get the HomeAssistant dashboard to work?
[Nexus 7 Android Development] WiiiLDFARMER:
Poh, it's been a while. What are the problems you are facing? I thought it was just this rom + installing the APK from home assistant
[Nexus 7 Android Development] JPAntunes:
Doesn't even start. Not with the APK, FullyKiosk or Wallpanel. Just freezes.
[Nexus 7 Android Development] TheXeno:
Ok, for who might have the charging/OTG issue in the future, I cracked the way to make it work, but is empirical:

The tablet stop accepting any charge and stops having the USB working whenever you try to re-plug the USB when is active. The way to avoid this it to put it in standby, and wait that it goes actually in sleep (I measured and "listened" the activity of the power regulator). In this way it will never get stuck.

Somehow connecting the USB while is active, it works only the first time, then it goes into this "OTG" mode when unplugging it. And the internar regulator also makes a weird buzzing - I guess is trying to generate 5V output on the USB, but the point is that is recognizable.
[Nexus 7 Android Development] :
Deleted. Wrong thread.... woops :sneaky:
[Nexus 7 Android Development] WiiiLDFARMER:
It's been a while since I set it up and used it. It was working, but still a bit too slow for practice use. When you woke up the tablet, connecting to Home assistant took >15s. Typically I already had my phone out and did the action there before everything was loaded.I set all settings to minimize load on the tablet (e.g. no background processes, no animations, no full playstore framework), but still it is a bit slow to be workable. Again, this is due to the connecting eveytime you wake the tablet (also with persistent connection enabled in HA settings). After it's connected, navigating through the app is okay-ish.

Nevertheless, the following (used to) works for me with this ROM:

- Build-nummer: aosp.grouper-userdebug 7.1.2 NZH54D eng.ds.20221211.152745 test-keys

- Home Assistant minimal APK v2022.12.0

- microG Services Core

- microG Services Framework Proxy

- F-droid

- Fakestore

I can't remember why and if microG was a necessity, but I have a vague memory of not being able to properly run the app (even the minimal version) without it.

Does this help you?
[Nexus 7 Android Development] lfs6r:
I found and installed March 2022 rom+twrp 3.5.2 and opengapps from 2019. When I download Opengapps from its website, it does not work. In the last ROM version I installed, there were wifi disconnection problems and low battery life.