yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] n3kf:
So I can overclock on this ROM? Did not know that....
[Nexus 7 Android Development] Portgas D. Ace:
I didn't say that you can overclock it. Just mentioned kernel tweaking possibilities.
[Nexus 7 Android Development] n3kf:
Ah, OK. These things actually run pretty good at 1.6GHz. I never had overclocked the GPU. Since the question was about overclocked CPU and GPU, I was hoping. Would be a nice add to the kernel, but know he wants it pretty much straight AOSP. Switch kernels if you want to overclock, but then all the kernel tweaking is lost and you would have to run parrotmod or do it with a kernel tool.
[Nexus 7 Android Development] schokohase74:
best 7.1.1 Rom

Hello AnDiSa and Community

Happy new Year.

Very thanks for the great Rom. I am testing many Rom`s for Nexus 7. All Roms have had many Error. This Rom is in the moment the best running Custom Rom like iÂ´m thinking. Very smal and fast.

https://forum-lw-1.xda-cdn.com/images/smilies/good.gif

Schokohase
[Nexus 7 Android Development] gerardo87:
Deleted
[Nexus 7 Android Development] brmpfgl:
Very nice rom! Are you plannung an update to this, [MENTION=2188693]AndDiSa[/MENTION]?
[Nexus 7 Android Development] AndDiSa:
It's already on the way ... most likely tomorrow there will be a new downlod with the new security patches available
[Nexus 7 Android Development] AndDiSa:
7.1.1_r9 release is out

New version based on android-7.1.1_r9 for Grouper / Tilapia are available for download from the OP. I suggest to wipe dalvik after installation of the new ROM.

Another hint: I am using new the Mini_Dynamic_Gapps from 20170105, but you need to be careful if you would like to install SuperSU, too. Dynamic gapps are filling up the /system partition as much as possible, so for SuperSU it is a *must* to be installed in systemless mode.
[Nexus 7 Android Development] Portgas D. Ace:
I assume that those dynamic GApps are a version, where you can choose which components to install during flash process, right?
[Nexus 7 Android Development] AndDiSa:
[MENTION=1808910]Portgas D Ace[/MENTION] as far as I know you cannot configure the components to be installed. I didn't have issues installing them, but if you want to be on the save side, probably installing the gapps pico-version is the better way.
[Nexus 7 Android Development] fsw_informatrix:
Thanks again AnDiSa, you're really incredible (y) I will test it and report as soon as I can...

Édit: stay healthy too!
[Nexus 7 Android Development] momentoid:
Installed March version of ROM and GApps, still with TWRP 3.4.0.0. Works great. Thanks @AndDiSa.

However, absolutely hate this xda portal. The advertisements are so aggressive and intrusive, won't let you log in or type a message. Browser: Chrome on this tablet.
[Nexus 7 Android Development] dark0shark:
Installed March edition, works smooth as always. Concerning Magisk: @topjohnwu published major release 22, and its installation works on our Nexus 7 as easy as described for "legacy support" in 4 steps here:

Installation

The Magic Mask for Android

topjohnwu.github.io
[Nexus 7 Android Development] :
Thanks @dark0shark ... I had a problem with the new magisk and was about to research what was needed (and indeed IF it worked on grouper Nexus 7)

Edit: as it happens, I had done as the 'custom recovery' instruction said (rename the apk as a .zip and flash) but it didn't work. It said it'd flashed but the Nexus wasn't rooted. I've gone back to the previous Magisk version and all is ok. I'll sort out the new version next time.

The new ROM gets the thumbs up from me (y)
[Nexus 7 Android Development] Goon818:
@AndDiSa

Thank you for the update.
[Nexus 7 Android Development] brewer75:
I am having the same experience.
[Nexus 7 Android Development] dark0shark:
Oops, I trusted the messages output of flashing Magisk-v22.0.zip in TWRP, but you are right: the system is not rooted (although Advanced Root Checker Pro is stating that). So we have to wait on the next release of Magisk.
[Nexus 7 Android Development] Flounderist:
For who is struggling with Magisk: did you tried to flash 21.4 and then update to 22 from app?

p.s. I'm still on Jan build
[Nexus 7 Android Development] brewer75:
That was the first thing I tried but it didn't work. I also tried the renaming step as well as uninstalling Magisk in TWRP and then installing 22 but again, with no success so back to a working 21.4. I also have a Nexus 7 2013 and it is working flawlessly with the new Magisk 22.
[Nexus 7 Android Development] AndDiSa:
Anybody tried already to patch the boot.img by the Magisk App and flashed the patched boot img by fastboot?

Only an idea ...
[Nexus 7 Android Development] :
No, not tried it. I want to find some time to read a bit more about the upgrade processes/paths. At the moment, tbh, it seems like they (Magisk) have over complicated things. I'm sure that's not the case, and there are very good reasons for doing what they have done, I just don't (yet) understand those reasons/process.

I simply renamed the apk to .zip and flashed that via TWRP. The process seemed to work OK, with a long reboot time and several loops/reboots, but my Nexus wasn't actually rooted at the end of it. So I went back to the previous Magisk version.

The 'in app' (and recommended) upgrade process doesn't work either. You press "Let's go" but nothing happens. I'm leaving it as is for now but want to read up on it. Maybe there'll be a Magisk update that'll resolve?

Edit: oh hang on, maybe I did patch an image. I think it might have been the recovery though, not the boot. The patch worked but the resultant image was too large to flash.
[Nexus 7 Android Development] spiou:
Yes it worked without problem.
[Nexus 7 Android Development] BeeJ1109:
Hi AndDiSa,

Can you please explain why your ROM, does not use "/system/add-on.d/magisk.zip" and "/system/add.on/Gapps.sh."

To restore previous settings, from previously working ROM, that has been Rooted and previous Gapps .

Difference in Your ROM.

After Flashing the latest release ROM everytime. Both are required to be reinstalled to regain ROOT and Stop Google apps crashing after Reboot, including wipe Cache and Dalvik-Cache, before rebooting System.

All of my 5 other devices function, as expected.

Flash with TWRP, Any ROM update on any Device, using a newly built ROM, by many other DEVs.

Work perfectly, without having to reinstall Magisk or Google Apps, again and again, until crash stops.

It is only your ROM, that requires, all the extra effort, to get the Nexus 7 Tab to be fully functional again, after just a security patch. Compiled with latest release.

All my other devices, I just flash ROM update just released. That is it.

All working exactly same, with NO extra effort. Up to date, within a minute, after ROM setting up apps on first boot. Rooted and Google apps all functional, no errors, dropouts, crashing, lockups.

I would suggest in your ROM, you need "add-on.d" functionality to be enabled, just making a reflash an easy update, that other Devs, have achieved years ago.

I would be interested in your comments. Or is it just an issue with Asus Nexus 7 2012 device, that Samsung, HTC, and others allow this very useful option to exist.

Cheers, BeeJ1109
[Nexus 7 Android Development] RacerXXX:
Testing Grouper March 5 2021 security patch. Installed pico apps. Tested google play works fine.
[Nexus 7 Android Development] j8a:
Hi @AndDiSa ,

I successfully update the february OTA on my Nexus 7 2012 today and the USB is charging and I could transfer files again!

Nice job 🤞
[Nexus 7 Android Development] shibadoo:
@AndDiSa cannot download the march tilapia package... "No mirrors found"

Edit: None of your files can be downloaded: "No mirrors found".
[Nexus 7 Android Development] AndDiSa:
@shibadoo looks at if AndroidFileHost has some issues at the moment, sorry.

If these issues remain I'll see whether I can find a different solution for providing the files.
[Nexus 7 Android Development] rahimali:
I'll try and add a couple of mirrors, will post back when done...

Edit:

https://www.androidfilehost.com/?fid=2188818919693766465

https://www.androidfilehost.com/?fid=2188818919693766466

https://www.androidfilehost.com/?fid=2188818919693766467
[Nexus 7 Android Development] j8a:
Hi @AndDiSa ,

I upload a recent report that was generated in my Nexus 7 2012 grouper.

Hope it help, regards
[Nexus 7 Android Development] fsw_informatrix:
Hi @AndDiSa,

I'm sorry that I could find the time before, but I finally tested everything and here is the report:

- all of my 25 apps are working flawlessly, including demanding ones like YouTube and Netflix.

- OpenGapps and everything Google related (that I'm using) is working.

- No problem with Wi-Fi and files transfer with Bluetooth is working (in both directions).

- files transfer with USB OTG is working (in both directions).

- TWRP 3.5.1 is working. I tested formating cache + Dalvik & backup, I guess I will have to wait your next ROM to test flashing ;-)

Note about Magisk 22: there is no way to get root back outside of manually flashing the boot image.

For those unsure how to do it:

- extract the boot image from the ROM.

- in the Magisk app, choose "Install" and point to the file boot.img.

- transfer the patched file to your PC ("adb pull" or with a file explorer).

- flash it with "fastboot flash boot /path/to/magisk_patched.img"

After that, root and SafetNet are working as they used to before...

Keep up the great work AndDiSa, and stay all safe!
[Nexus 7 Android Development] DumF0rGaming:
Just revived my blast from the past with the newest build, works great so far. Can someone remind what do we do to get faster charging? I plugged it into my wall with 34% and initially it was threatening me to charge for 11 hours so I replugged it again. Now it says it will charge from 50% to 100% in 3h. Is that okay? OG battery, OG charger, Nexus 5 cable
[Nexus 7 Android Development] AndDiSa:
@fsw_informatrix thank you very much for this information about Magisk.

I am thinking about how patching / flashing could be made more easy. Providing the (probably already prepatched) kernel separately would be quite easy ... with integrating it into an ota I have some bad feeling. Especially as Magisk (and some of its modules) has become a bit delicate when it comes to updates.

On the other side the kernel is quite stable and did not change for some time now. Probably a kernel-less ota would work ...
[Nexus 7 Android Development] AndDiSa:
@DumF0rGaming 3 hours is quite good. The capacity of the battery is round about 4000mAh, max. charging rate is 1500mA ... that matches more or less the 3 hours estimated.
[Nexus 7 Android Development] fsw_informatrix:
You're welcome :)

I'm no programmer, but I asked myself what has changed between the versions 21.4 and 22 of Magisk that is making it now failing to find and patch automatically the boot image?

So I made you a diff of the important scripts it is using, perhaps you can find something that explains it (v21.4 is left and v22 is right)...

Note: the file addon.d.sh didn't changed between versions, but I noticed also a difference with the file update-binary! The old one is 3.5MB and the "file" command says "update-binary: a /sbin/sh script executable (binary data)", whereas the new one is only 737 Bytes and a pure shell script, as "file" says "update-binary: a /sbin/sh script, ASCII text executable", so I can make a diif of those...

Hope this helps!
[Nexus 7 Android Development] fsw_informatrix:
It seems the forum doesn't let me attach any more files, that's weird...
[Nexus 7 Android Development] :
Thanks for the nudge!

I'd been meaning to sort this out for a few days now, just hadn't gotten around to it. Then I read your post and it have me the kick I needed!

Just for info, I flashed the patched boot image direct from TWRP recovery and all seems good.
[Nexus 7 Android Development] fsw_informatrix:
You're welcome!

Good tip with TWRP, I will have to try that if the next version of Magisk still need all this manual work...
[Nexus 7 Android Development] :
It's great that you're are still thinking of us (and maybe enjoy a puzzle to solve!*) but it's not hugely necessary that you take more of your time on this (unless, of course, you want to*) We are already really appreciative of what you do for us and cannot expect more.

Personally, I don't think It's a problem to have the extra step (given the levels of knowledge people need to flash a ROM and root) and flashing the patched boot image takes no time at all. It's click-click-done.

(*I love giving myself little scripting tasks every now and again, as something to keep myself occupied with rather than anything really needed.)
[Nexus 7 Android Development] :
...oh, and, of course, some people may not want to root, or not want Magisk , so any solution that was created would have to be optional.... or 2 ROM updates made available each time; one patched (rooted), one unpatched.
[Nexus 7 Android Development] giopego:
do you suggest installing a different kernel to improve speed?
[Nexus 7 Android Development] dirtyreturn:
I don't know about any other kernel. This build runs amazingly well the way it is!
[Nexus 7 Android Development] o0BeN0o:
Hy,

this Rom work fine for me, but I have charging issue:

I use my nexus 7 as a motorcycle GPS and despite the fact I keep it plugged, the battery discharges.

My USB charging plug give 2.0A at 5V

When I go to see processes which use battery, I'm surprised to see that the first cause of discharge is "GSM signal" (first bar in red).

Is it a bug or a GPS app and full brightness display will discharge a dc plugged tablet anyway?

thx.

Benoit
[Nexus 7 Android Development] camp0s:
I had similar problem when I was using a "system optimizer app", don't remember exactly which one, it had a blue icon/theme. While driving using the Here WeGo app the battery drain was huge.

Ended up removing the app, resetting the tablet and installed a new Rom Build --> problem solved!

That red bar might just indicate a "Red quality" signal, which means you got no GSM signal in Android, expected if you use the WiFi model or if you use the 3G without SIM card. Just put it in Airplane mode.

Lastly, a slow charge might indicate a burned-out charger cable, the flat ribbon built inside the Nexus - it happens and you can only replace it.
[Nexus 7 Android Development] :
I have had the same thing and, tbh, I just simplistically assumed that GPS used more power than the recharge could provide.

In my case, it's not due to the GSM as I use an app with maps loaded - so it's offline, no need of a data connection. This happens in both my car when charging from the cigarette lighter, or on my motorbike charging from an external power source. I've assumed it's the 'screen on' time that's the bigger part of the battery drain. Tbh, I didn't think there was anything I could do about it.
[Nexus 7 Android Development] camp0s:
I got one of those USB Power meter gadgets and tested each charger, how much current were outputting.

Sometimes it's the poor charger, other times it's the cable (!), some terminal times it's the flat ribbon inside the tablet.
[Nexus 7 Android Development] tomc1:
Post #2 appears to be missing all of the basic steps about how to install e.g. how do you even get into the stock recovery.

The summary steps in post #1 are also wrong, because you have to boot into v7.1, set up WIFI, then boot back to recovery and flash gapps.
[Nexus 7 Android Development] marty_bebop:
Yep, I flashed the patched image from TWRP and it worked. Root Checker reports the device is rooted.
[Nexus 7 Android Development] :
Thanks for the tip. I have one of those USB meters so I ought give it a go. Cables is a good point too. I've got loads and just grab any old one to charge, I've never checked how good they are/aren't.
[Nexus 7 Android Development] Timmmmaaahh!:
Getting into recovery is elementary knowledge; it doesn't need to be explained. It's usually power + volume down from the off-state but for this device it appears to be power + volume up, the former gets you to fastboot. You can easily duck this. I can't say anything about your second comment as I don't own this device.
[Nexus 7 Android Development] dark0shark:
Magisk 22.1 is out and does it, see screenshots. Also new TWRP 3.5.2.
[Nexus 7 Android Development] :
Thanks for the pointer. I've just flashed it without problem.

Also, as you say, latest Magisk app handles the update correctly too. It's good to have an 'old' device so well looked after.
[Nexus 7 Android Development] fsw_informatrix:
Thank you dark0shark for the double tip :cool:

I can confirm that Magisk 22.1 solves the problem, so no more patching/flashing manually, root is working and so do SafetyNet.

TWRP 3.5.2 also seems to work as intended, I flashed it without issue, but I only tested backup and format cache/Dalvik for now...
[Nexus 7 Android Development] AndDiSa:
Hi guys,

thank you so much for your support in this thread, especially the new TWRP and Magisk ... :)

I just updated the OP with the link to the new TWRP 3.5.2-versions and the ROM-versions with the March security patched.

and as we are already in April ... here are the new versions with the April 2021 security patches:

7.1.2 Grouper OTA-Package 20210411 md5: 2d3e71abc15951deb646008706371084

7.1.2 Tilapia OTA-Package 20210411 md5: 7ab79ee4a84c68180052017b2d486879

I've updated my repositories on Github, too.

I suppose you all know it, but for completeness: these version are untested

The OP will be updated within the next days after I got some feedback from the community.

Have fun and stay healthy!
[Nexus 7 Android Development] DumF0rGaming:
@AndDiSa thanks for your efforts mate. Can we have signature spoofing patch in the next release, please?

patcher/dexpatcher/hook_7.0-10.0_services.jar.dex · master · Christopher Roy Bratusek / NanoDroid · GitLab

microG, F-Droid, GNU Bash, FOSS applications and more for Android

gitlab.com

Since the latest version didn't work for me I'll share a version from 2018 that applies
[Nexus 7 Android Development] sujeethan:
So I haven't really touched nexus 7 2012 since 2016? Got AOSP android 6.0.1 rom installed with some mods. Whats the best setup currently for performance. I only have a ereader on mine, but I miss having youtube and a browser.
[Nexus 7 Android Development] marty_bebop:
Grouper

ROM with April updates

Latest GApps

TWRP 3.5.2

Magisk 22.1 - Root Checker shows rooted

Thanks to all concerned for keeping these devices alive. I use mine often, audiobooks through a Bluetooth connected speaker, online radio etc.
[Nexus 7 Android Development] BeeJ1109:
Hi AndDiSa,

Can you please explain why ROM based on Android 7.1.2, needs TWRP passed v3.4 and later than Magisk 20.4.

I am confused with continuous feedback on TWRP and Magisk Sites.

These updates are only required for newly build ROMs, being Android 8, 9, 10 and 11. Magisk 21 or 22 required for SAR "System as Root" or later device design changes.

Of which there are NO ROMs developed for Asus Nexus 7 2012 on Android 8 thru to 10, that I can not find, after many hours of searching.

Possible reason, for NO later releases, being the "lack of space" or "Design Restriction" in "System Partition Size" being limited to only 700MB, instead of the usual ~ 1GB. on most other "16 or 32 GB" memory devices, now usually 64, 128, even 256 GB devices. Also NO External SD card.

Can you please offer some feedback, why the need to upgrade.

Your ROMs are being periodically updated with security patches only, still 7.1.2 no later.

Cheers Beej1109
[Nexus 7 Android Development] AndDiSa:
@DumF0rGaming when I find the time, I'll prepare a build for testing with the signature spoofing patch applied.
[Nexus 7 Android Development] AndDiSa:
@BeeJ1109 Generally new versions include bug fixes, too, but if you do not want to update to a newer version you can always stick with an old one.
[Nexus 7 Android Development] AndDiSa:
@DumF0rGaming

yesterday I've found some time to include the signature spoofing patch into the latest build. Downloads can be found

for Grouper: aosp_grouper-7.1.2-mg-ota-20210411

for Tilapia: aosp_tilapia-7.1.2-mg-ota-20210411

Please note: it's not tested, so no guarantee that it's really working

Attention: You should be aware that signature spoofing introduces security risks.
[Nexus 7 Android Development] PrzywódcaStada:
Hi. I have a problem. I got error 70 while installing the application. Can anyone help? 😉
[Nexus 7 Android Development] BeeJ1109:
Hi AndDiSa,

So new versions include fix.

I am interested in knowing what are the specific fixes.

Please elaborate, More info helps explain the need to update.

Cheers BeeJ1109
[Nexus 7 Android Development] fsw_informatrix:
Hi AnDiSa,

Just a first quick report about the last ROM:

- I dirty flashed the 20210411 ROM with TWRP 3.5.2 without any problem.

- Rebooted to recovery, flashed Open GApps pico 20210413 without any problem and then wiped cache/Dalvik.

- Once the system was booted, I tried to install Magisk from the app (as I dirty flashed, it was still there), but it only offered to patch an existing boot.img (again).

- I renamed the Magisk-22.1(22100).apk file to Magisk-22.1(22100).zip and flashed it from TWRP, without any problem.

- After a reboot, root is back and SafetyNet is OK.

Everything seems to work for now, but I will report back when I will have tested it more thoroughly...

Again, thanks for your great work and stay safe!
[Nexus 7 Android Development] PrzywódcaStada:
Help?? 😉
[Nexus 7 Android Development] AndDiSa:
Wrong gapps version?
[Nexus 7 Android Development] PrzywódcaStada:
Hi. I have a problem. I got error 70 while installing the application. Can anyone help? 😉 Installs PICO and doesn't work
[Nexus 7 Android Development] fsw_informatrix:
Hi, you should try to ONLY flash the ROM alone at first, reboot to recovery and THEN flash the Pico package, after that. Please tell us how that goes.

Note: you might want to wipe manually /system before flashing the ROM, just to start over fresh, not 100% sure if it's really needed though, try that if it's still showing the error...
[Nexus 7 Android Development] PrzywódcaStada:
Hi. can you tell me this easier or give me some instructions? I tried to clear the memory and installed different versions of Gapps but to no avail. all the time error 70.
[Nexus 7 Android Development] PrzywódcaStada:
[Mod Edit] Added automated translation:

Spoiler content hidden.

Spoiler content hidden.
[Nexus 7 Android Development] fsw_informatrix:
Hi, please look at this video (I'm not speaking Hindi either, but just look at the images):

Step-by-step:

- You can see that guy has the same "error 70" that you got, at first.

- So, go to TWRP > "Wipe" > "Advanced Wipe" > choose "System" > "Swipe to Wipe" > wipe it.

- Go back to "Install" > flash the last ROM (20210411).

- Go to "Reboot" > reboot to Recovery.

- Go back to "Install" > flash the Pico package.

Now, that should be done without errors.

Good luck!
[Nexus 7 Android Development] PrzywódcaStada:
I tried the way out of the movie and it doesn't work. 😔 the same error all the time.
[Nexus 7 Android Development] AndDiSa:
@PrzywódcaStada try to find an older version of Gapps. Chances are quite high that the latest Gapps are too big for our old device. After installation the outdated version will be updated automatically by Google.
[Nexus 7 Android Development] PrzywódcaStada:
I tried Gapps 5.1 but it was error 20.
[Nexus 7 Android Development] rahimali:
Gapps - 5.1 is not compatible with this ROM. This ROM requires 7.1 Gapps. Please try the smaller (though older) gapps package I have shared here -> https://androidfilehost.com/?fid=2188818919693784514
[Nexus 7 Android Development] PrzywódcaStada:
Works 😊 older Gapps managed 😉 I noticed that my Nexus slowed down a bit 😉 I have a little lag.
[Nexus 7 Android Development] rahimali:
This device came out eight, almost nine years ago and shipped with Android v4.1.2. The manufacturer supported updates till Android 5.1 (which basically turned it into a useless brick). We have @AndDiSa to thank for supporting this device through Android v6 and 7, making it usable again and keeping it updated with monthly patches/security updates. Given the circumstances, a little lag is acceptable :D
[Nexus 7 Android Development] JaviLerma:
Hi! I have the same problem :(

Wich version do you use?