yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] okias:
When these devices has problems with GAPPS, what about allowing microG (open source GAPPS)?

It requires only two patches:

1) https://github.com/microg/android_p...aster/patches/android_frameworks_base-N.patch - allows using "non-system" UnifiedNLP (same as for Android <= 6)

2) https://github.com/microg/android_packages_apps_GmsCore/wiki/Signature-Spoofing -> needed for apps to believe, microG is GAPPS :)

microG is quite unvisible when comes to battery drain and it's also pretty small.

[MENTION=4948627]daniel_hk[/MENTION]

You don't have to bundle it, but these two patches allow instalation without patching and other obstructions :)
[Nexus 7 Android Development] BLewis4050:
The OP mentions that the "updater" is not quite there yet, and advises wiping the system partition; is this still the situation? I ask only because if it is still the same, then the update process is essentially a starting over effort on the tablet (I do a lot of aesthetic customizing ...).

Thanks.
[Nexus 7 Android Development] ArionWT:
On last update, have random wi-fi disconnect :(
[Nexus 7 Android Development] Angristan:
What are the differences between this and https://xdaforums.com/nexus-7/development/rom-discussion-aosp-unofficial-t3467615 ?
[Nexus 7 Android Development] AndDiSa:
At least a different kernel and most likely some different settings ...
[Nexus 7 Android Development] ArionWT:
I note that this problem is happening on 40 or 50 Mhz, on 20 Mhz all is ok.
[Nexus 7 Android Development] gouchouya:
Hi,that is a great ROM

but i cant enable immersive mode on 20170105 grouper ROM

can u fix it??
[Nexus 7 Android Development] AndDiSa:
[MENTION=4336485]alezardstar[/MENTION] I don't think I'll support it. Even if I appreciate the intent of the project, I don't think it's really yet an alternative to flashing gapps and you need to allow signature spoofing which might introduce security holes. Just my 2 cents on that.
[Nexus 7 Android Development] sephren:
Nice to see there is this effort for our nexus devices, thanks for the awesome work from your neighbourhood (MA) :)

I installed this ROM on a very sloppy tilapia device and it feels really snappy again with a great user experience. It's almost like a new device now.

I had a problem with your dynamic mini-gapps package and the latest build. Had a lot of google play service crashes. This was way better with the open-gapps-pico package. Afterwards I re-installed stuff like gmail manually, so it was ok for me to just have the pico version.

But unfortunately a lot of applications crash during usage. For example the kicker app closes itself after 2 or 3 navigation steps, Google drive crashes while opening the menu and so on. Sometimes i got messages like "MTP-Host is not working anymore" or "Pico TTS crashed". Does anyone else have this problems?
[Nexus 7 Android Development] shaggyskunk:
Has anyone flashed the Rom and when you go to reboot you get a message saying - "are you sure you want to reboot - no o/s installed"?

I've tried flashing the most recent build and the Dec build with the same result....

Sent From My SM-N910W8 ??
[Nexus 7 Android Development] sephren:
Had this as well and it was no problem at all. Even got this logging error from Post #3 or so, but didn't seem to be a problem.
[Nexus 7 Android Development] shaggyskunk:
So you just rebooted the device even with the warning ".. No o/s installed"?

Sent From My SM-N910W8 ??
[Nexus 7 Android Development] AndDiSa:
You have to re-install the system.img to free up the space ... so either flash the system.img or, probably easier, reflash the ROM-zip.
[Nexus 7 Android Development] momentoid:
Sorry for the delay, I just now saw this tagged message.

I'm successfully using the May 13 version:

open_gapps-arm-7.1-pico-20210513.zip

FYI, the June 18 version is smaller by 20 MB but raises Error 70. The July version I downloaded was larger than the May 13th version which also gave me an Error 70.

Hope this helps, @gmsalomao2.
[Nexus 7 Android Development] gmsalomao2:
Thank you @momentoid

IT WORKS! =D

Nexus 7 2021 (grouper)

August ROM build (no MicroG)

May 13 Gapps

Here are all my steps in full detail:

Wipe everything available in TWRP, including dalvik cache, data, factory reset... every option available, just to make sure.

Install the August ROM zip (aosp_grouper-7.1.2-ota-20210814.eng.ds.zip)

Success message without errors

Reboot into recovery

Install GApps (open_gapps-arm-7.1-pico-20210513.zip)

Success message without errors

Wipe Cache & Dalvik Cache

Reboot into system

Thank you guys for helping me and thank you @AndDiSa for being so dedicated to this ROM.
[Nexus 7 Android Development] marty_bebop:
Grouper: August ROM MicroG, Magisk 23, Aurora Store.

It's working just great!
[Nexus 7 Android Development] espositodnl86:
Hey guys, I have the 3G version of this tablet and I'm having problem sideloading Open GApps (error no. 70, not enough space). I have downloaded the older version of Open GApps as suggested but I get the same error.

Can you please help me? Thanks.
[Nexus 7 Android Development] AndDiSa:
@espositodnl86 did you follow the instructions from @gmsalomao2 ?

You also need to reflash /system after a failing GApps installation otherwise the old installation will remain (partly) installed and will occupy space.
[Nexus 7 Android Development] mechaone:
Big thanks to all relevant devs for this fantastic rom, and to contributors of this thread!

I found this thread quite by accident. Had given up on the functionality of my Nexus7 and had only retained it because I couldn't bear to dispose of the tablet AND the Otterbox Defender case that contained it.

Yup. I'm THAT guy.

Just as I decided to junk the old slab, I went on a quick hunt for worthwhile (or any) firmware to demonstrate to my son the life cycle of "all" android devices on a development level. There was no way I was wrong. This tablet shall surely prove my point, being old as it is... Nope. Top link, first search, this rom.

I'm too elated to care you've personally discredited me in front of my offspring.

I'm floored by how smoothly the ole 2012 can still run with this rom calling shots. So far, no burps, hiccups, etc. Your work is incredible.

Many Nex7 have been brought back from the shadows by your hand.

Again, my hat is off to all involved. Thank you.

- mech
[Nexus 7 Android Development] espositodnl86:
Yes, step by step.

The only difference is that I have a 3G model so I'm flashing a different version of the ROM...
[Nexus 7 Android Development] AndDiSa:
@espositodnl86 I'try to find a GApps version which matches the requirements for Tilapia and add a link to the OP but it may take some time.

As GApps will be updated automatically you can use even a quite old version.
[Nexus 7 Android Development] espositodnl86:
Thanks! I have tried with the oldest version I could download but I get the same error...
[Nexus 7 Android Development] rahimali:
How far back did you go? Try with this gapps package: https://androidfilehost.com/?fid=2188818919693784514
[Nexus 7 Android Development] momentoid:
Hey Mech,

Welcome to the club of revived Nexus 7 2012. As far as I know @AndDiSa built these awesome Grouper & Tilapia ROMs.

Also, the people on this thread are awesome. Very generous and helpful.

Finally, Nexus 7 2012 is nine years old and still running strong. In those years I have junked multiple Android phones because their batteries died.

Hope you and your son enjoy this device as much as all of us on this thread. 👍
[Nexus 7 Android Development] dizzymon:
This tablet is great. I use it to connect up to my ip cameras to view them. It's great for a MP3 Player. I don't need a brand new powerful tablet to listen to music! All you need is this thing and a bluetooth speaker. You can be bumping your favorite tunes!
[Nexus 7 Android Development] Keeperdy:
Hi, I have the same Nexus 3G model, just installed August ROM for Tilapia following @gmsalomao2 instructions, but with Gapps dd 2019/12/13 provided by @rahimali - everything works fine :) Thank you, guys!

​
[Nexus 7 Android Development] espositodnl86:
It worked, thank you so much!
[Nexus 7 Android Development] gmsalomao2:
Typing is super laggy when using the Notion app​

I want to use this tablet to type using a USB (OTG) keyboard. It works flawlessly with most apps, but when using Notion app it lags A LOT. I type and then I have to wait many seconds for the text to show up on the screen.

The same thing happens when using the on-screen keyboard.

I've made a post on Notion's SubReddit too because I think the problem is with the app itself. But since the problem does not happen on a newer device running Android 10, I wanted to rule out the ROM as the cause.

So @AndDiSa , do you think the ROM could be the issue?
[Nexus 7 Android Development] AndDiSa:
@gmsalomao2 well as the lag happens with on-screen keyboard and usb keyboard I doubt that the reason is directly connected to the ROM. A logcat would be helpful to see whether there are e.g. exceptions thrown during the use of the application.

Edit: I just had a look at the reviews of the app in Google Play store ... it looks to me as if you are not the only one who is experiencing lags when using the app.
[Nexus 7 Android Development] gmsalomao2:
I see. Thank you AndDiSa. Yes, that's probably the app. I'm relieved to rule out the ROM 🙏
[Nexus 7 Android Development] AndDiSa:
New Versions 7.1.2 (2021-09) with several changes are available

Hi guys, I picked up a bit of pace and beside adding the new security patches for September 2021 I added a bunch of kernel patches, especially CVE-patches mitigating potential security issues.

In detail I did the following modifications / improvements:

I fixed the crash of the clock application reported by @momentoid

I added a missing patch for external/sqlite

I applied the security fixes for September 2021

I optimized the kernel config settings, especially removed some superflouus settings

I applied / backported a bunch of CVE-kernel patches. Please have a look at the sources in Github to see the whole list of changes

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

Regarding the wpa_supplicant.conf changes it looks to me that there is some other modification / setting needed. A few days ago I updated my router to OpenWRT 21.02 (which has the build-in possibility to enable WPA3) and I noticed connection issues when I was using WPA3 or WPA2/WPA3 in parallel. Even setting pmf=0 in /data/misc/wifi/wpa_supplicant.conf had no effect as it was overwritten immediately as soon as I was switching on WiFi. Only switching back to WPA2 only resolved the issue for me. I'll further analyze the WPA3 compatibility issue and I will see whether I can find improvements here.

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

aosp_grouper-7.1.2-ota-20210917.eng.ds.zip (MD5: e0381d56f4f1c11c095a9d0057c50699)

aosp_tilapia-7.1.2-ota-20210917.eng.ds.zip (MD5: 7a6b6d37b2f8ee5964c8d9164305a846)

as well as the MicroG-Patched images:

aosp_grouper-7.1.2-mg-ota-20210917.eng.ds.zip (MD5: 9ea020054cfbe1b646e1c9cdcb11358d)

aosp_tilapia-7.1.2-mg-ota-20210917.eng.ds.zip (MD5: 617fbfddc39174fcc0486de8081448e7)

I quickly tested the ROM and didn't find issues, nevertheless I will wait for feedback from the community before I'll add the new version 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 September (2021-09) ROM on Grouper without MicroG patch and May 13 version of GApps (Arm / 7.1 / Pico). Works great. Thanks @AndDiSa, the World times in Clock app works, too. 😎

Notes:

- Sep 18, 2021 GApps raised Error 70 ( similar to Jun, Jul, Aug ver.)

- Amazon Kindle 8.46.1.0 (1.3.248903.0) updated on Sep 13, 2021 fails to start. Error message asks to make sure the ROM is an official build. Unfortunately, I didn't open this version of Kindle with Aug ROM. The previous version of Kindle worked on Aug ROM.

- Google Play, GMail, Chrome, YouTube apps work.
[Nexus 7 Android Development] marty_bebop:
Grouper: September ROM MicroG, Magisk 23, Aurora Store.

One funny thing - USB debugging was turned off after installation, so the device did not show up in ADB from my PC. Had me going for a few minutes. I don't recall that happening before.

Anyway, all seems good. Very much obliged.
[Nexus 7 Android Development] yedektab:
thanks for the rom, my nexus 7 wifi alived but i have a problem with headphone,music comes only left side how can i fix that
[Nexus 7 Android Development] AndDiSa:
@yedektab I cannot confirm this issue from my side. Are you sure your headset / headset-cable / the headset connector are not defective?
[Nexus 7 Android Development] yedektab:
Maybe connector was damaged, thank you for your interest and again thank you for the rom
[Nexus 7 Android Development] AndDiSa:
For those who have issues with installing latest Gapps, you can try to copy the attached gapps-config files into the same directory where the gapps installation packages is copied

I.e. something like

/sdcard/open_gapps-arm-7.1-pico-20210922.zip

/sdcard/gapps-config-tilapia.txt

/sdcard/gapps-config-grouper.txt

and then try to start the installation again. Error 70 should be fixed.

Edit: I just added this hint to notes / FAQ in the second post of this thread.
[Nexus 7 Android Development] Portgas D. Ace:
Successfully updated to latest September build for Grouper with microG patch pre-applied. Thank you for your outstanding support for our beloved and well-aged device, AndDiSa :)(y)
[Nexus 7 Android Development] momentoid:
Successfully installed:

/sdcard/open_gapps-arm-7.1-pico-20210922.zip

with this config file.

/sdcard/gapps-config-grouper.txt

Error 70 is fixed. Thanks, @AndDiSa
[Nexus 7 Android Development] :
Grouper MicroG clean flash. All good (y)

Decided to clean flash this time due to nature of changes. Takes me a bir longer to get all my apps reinstalled and configured but worth just to start afresh. I've not reinstaled KTweak though just to see how this ROM hgoes on default settngs.
[Nexus 7 Android Development] momentoid:
Update:

I uninstalled and reinstalled the above version of Amazon Kindle and it works.

@LesGirauds has a good suggestion. Do a clean install of Sep (2021-09) ROM.
[Nexus 7 Android Development] dan20385:
Sorry to derail the thread, I literally just found my old nexus 7 tablet after who knows how many years. Is there a guide available to install the latest custom rom listed above? Appreciate any guidance, thanks!
[Nexus 7 Android Development] momentoid:
Welcome!

We're on page 242 of this thread. Page 1 has detailed steps to install this awesome ROM.

Depending on the level of your knowledge links to the latest version, Sep (2021-09) ROM are posted on Sep 19, 2021, on this page. A few posts after the ROM links, there is a post with links for a Config file posted on Sep 22, 2021.

Hope this helps.
[Nexus 7 Android Development] dan20385:
Thanks for your response. After some playing around using WugFresh RTK, I think I have managed to do what is needed. Sorry for the silly question but after installing the GAPPS stuff, the Nexus 7 boots fine but is really slow and things such as Settings / GPlay aren't loading - is there anything I am missing? Thank you.
[Nexus 7 Android Development] AndDiSa:
@dan20385 probably the device is still compiling / optimizing the applications and services in background. Wait a bit until compilation is finished then the device should be much more responsive. I noticed, too, that Gapps and Google services became bigger and bigger over the last time and especially on the first boot it takes a while until everything is compiled.
[Nexus 7 Android Development] dan20385:
Thank you - I will let it rest for a while and see how it goes!
[Nexus 7 Android Development] Flounderist:
I finally found the time to upgrade from April build and I tried to flash the ROM only, no Micro-G, no GApps.

I use the device like a monitor for my USB inspection camera so I don't need the G framework at all.

I added 3 apps from apkpure (Endoscope, Nova 6 and Pixel icon pack) and...they work! :)

The tablet is very fast and responsive. No more lags at all on the UI.

Of course I would recommend this solution for those who have a very specific use of the device, like me.

@AndDiSa do you think that resizing the System partition may help in keeping the device snappy using GApps? How could the difference between GApps and no-GApps be so dramatic?
[Nexus 7 Android Development] AndDiSa:
@Flounderist I don't think that resizing the system partition does really help to keep the device snappier when having GApps installed as all applications (independently whether they are installed on /system or installed on /data) are compiled and optimized and the result is stored in dalvik-cache

Resizing /system only helps to get more Google services / applications pre-installed ...

Google services and applications became bigger and bigger over the time and in addition Google is removing more and more functionality from the prebuild ROM into updateable services they have under their control. That is the main reason why older devices having GApps installed are slowing down over the time.
[Nexus 7 Android Development] Flounderist:
OK. That explain why the tablet was sluggish (compared to now) when using systemless gapps magisk module some years ago.
[Nexus 7 Android Development] ruydevorde:
can I install the ROM without GAPPS? is there any difference in performance if I just flash the ROM?
[Nexus 7 Android Development] AndDiSa:
@ruydevorde for sure. There is no need to flash GApps if you do not need them but you have to renounce on Google provided services and e.g. PlayStore
[Nexus 7 Android Development] Portgas D. Ace:
If you really need Google services, go for microG. It doesn't slow down the tablet into oblivion like the "original" GApps do, yet still provides nearly the same functionality. But keep in mind that Google can block your Google account at their will, if you decide to use your account with microG.
[Nexus 7 Android Development] :
...and to add to the above, there is no need to use your google acount with microg. If you want to access your google account content (mail, calendar, whatever) there are often workarounds.

You can even use some google apps (calendar, maps) on microg - you just don't log them in.

There are some apps that need google to run but you can often find google-free alternatives.The only thing you will loose (ime) is any apps that you have purchased through google - you cannot activate paid-for apps without gplay (and so the entire google framework)
[Nexus 7 Android Development] Portgas D. Ace:
You can use Aurora Store to download paid apps if you log in via the same account that you have used to purchase those apps.

If this is too much of a risk for you, there is a somewhat inconvenient workaround for apps that you have purchased via Play Store (not for all apps, but for some). Only thing you need is root plus a root file manager to grab those paid apk's from your /data directory and sideload them to your Google-free device.

As said before, it works for some apps, but most of the paid apps are tied to your Google credentials and will check if Google services are available and if the correct account is logged in.
[Nexus 7 Android Development] :
Thanks for the info, I didn't know that.

I'd (taken a risk and) tried the Aurora store method with one app I've purchased and it didn't work - so perhaps I just got unlucky and it was an app it wouldn't work with. I didn't try it on any other apps and, as didn't want to risk google account suspension (or whatever), I logged microg out of google.

The sideload trick though, I knew nothing about, I might give it a go (though it means retrieving the paid apks from a 'gapped' ROM backup!)
[Nexus 7 Android Development] Portgas D. Ace:
For further reference, here is the Aurora Store FAQ:

https://auroraoss.com/faq/#accounts

Seems that downloading paid apps which you have purchased before via Google Play Store "should" be able to be downloaded via Aurora. If this doesn't work, you might want to try the sideload trick in combination with being logged in with your account (risky, risky :sneaky: )
[Nexus 7 Android Development] Sir Charles82:
Concerning the speed of the N7 (grouper), I have the app "Trimmer (fstrim)" installed and have it trim with every bootup (so it was recommended some years ago). I think this makes the N7 snappier.
[Nexus 7 Android Development] AndDiSa:
New Versions 7.1.2 (2021-10) are available

Hi guys, a new release but only a few changes, i.e. the security paches for October 2021.

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

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

aosp_grouper-7.1.2-ota-20211006.eng.ds.zip (MD5: b57ddee37bad03f59e2eff562076b027)

aosp_tilapia-7.1.2-ota-20211006.eng.ds.zip (MD5: 65ea4ea189a41ec7792fb13a876157da)

as well as the MicroG-Patched images:

aosp_grouper-7.1.2-mg-ota-20211006.eng.ds.zip (MD5: d5d788b3fa735c3e57d9f0fb562e15f6)

aosp_tilapia-7.1.2-mg-ota-20211006.eng.ds.zip (MD5: 643f8fdf2195c2395f788611578c108e)

I quickly tested the ROM and didn't find issues, nevertheless I will wait for feedback from the community before I'll add the new version 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] AndDiSa:
@Sir Charles82 thanks for the hint. Trim should run every three days automatically (if I remember well :-)), but running ftrim manually / more frequently doesn't harm and might improve performance in some circumstances, epecially when you have many write operations on your device.
[Nexus 7 Android Development] :
Grouper mg dirty flashed no problems (y)

As ever, thank you :)
[Nexus 7 Android Development] marty_bebop:
Grouper: MicroG, Magisk 23, Aurora Store.

Working well.

Many thanks.
[Nexus 7 Android Development] dookie23:
I installed the latest 20211006 mg build and I am having trouble patching the boot.img using Magisk. For some strange reason, the LET'S Go button in Magisk is greyed out. Has anyone have this issue? I am not sure what I have done wrong.
[Nexus 7 Android Development] :
yes, it's happened to me too. Just flash the Magisk zip from recovery.

(Edit: I always flash the same Magisk version (21.4) when I flash a new ROM then I use the Magisk app to install the latest version)
[Nexus 7 Android Development] AndDiSa:
@dookie23 @LesGirauds it's long time that I did not install Magisk on my device. There is a chance that you need to grant probably file permissions to the Magisk app. Unfortunately I cannot test as I am out for some days but I will do some tests and add some hints to the OP.
[Nexus 7 Android Development] :
ah yes, I see that that's possible. dirty flashing the ROM would 'reset' the apps privileges. I'll look at that next time I flash (next month?)

thanks for the advice (y) (y)
[Nexus 7 Android Development] Portgas D. Ace:
I would advice to flash Magisk through TWRP right after dirty flashing the new ROM version instead of using the Magisk app. This has worked for me without any issue for numerous iterations now. If you do a clean flash, just reboot after flashing the ROM, then go back to recovery to flash Magisk.
[Nexus 7 Android Development] alphalvr:
This Rom really would make my Nexus 7 useable if it was not for one thing, the only App I want it for does not work.

Waze - Just stops after loading screen.

very old version of Waze - will run but the map is missing, it is just black.

Any idea why? can it be fixed? anything I can do?

I have a 2012 grouper nexus 7

Awesome work none the less. :cowboy: