yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] :
You'll need to flash the magisk zip again.

Or install the apk - the latest Magisk can do the patch, no?
[Nexus 7 Android Development] Luckz27:
Yep, I know and this is what I always did after I sideloaded the updated ROM.

But I would avoid to do it each time.

Is it possible?
[Nexus 7 Android Development] :
I don't think so, not to my knowledge anyway.
[Nexus 7 Android Development] Baonks81:
Hi @AndDiSa, where's folder I could take brcmfmac4330-sdio.bin, I had BCM4330B1.bin on /system/etc/firmware(your AOSP 7.1.2). Because GNU/Linux borrowed bluetooth drivers from Android. I want testing it, Linux bluetooth driver's unstable on upstream now
[Nexus 7 Android Development] MiSSigNNo:
Which is the dynamic Google apps package that anddisa mention?
[Nexus 7 Android Development] Luckz27:
GitHub - akaessens/magisk_google_glide_lib: This Magisk module installs the proprietary Google Glide library

This Magisk module installs the proprietary Google Glide library - akaessens/magisk_google_glide_lib

github.com

Hey guys, I installed this module to get swipe on N7 but, sadly, it didn't work...

Might you help me to understand why?

Thanks in advance.
[Nexus 7 Android Development] anthony.d:
Any mirror for the files? androidfilehost.com seems to be down.
[Nexus 7 Android Development] spocko:
The links are working for me.
[Nexus 7 Android Development] anthony.d:
Interesting, I get a cloudflare (Chicago) error from both my home ISP and cell network connecting from Ontario, Canada. Trying since this past weekend, same result. Tunneled my connection via PIA VPN, and was able to download the files. Thanks for confirming it was working for you.
[Nexus 7 Android Development] rahimali:
Hi, anyone manage to replace the built-in webview on the latest (microg) ROM with bromite system webview? I was trying today without success. Have to keep reverting to the built-in one because no other version works and the built in version is very old.
[Nexus 7 Android Development] rahimali:
@AndDiSa could you help with this/comment on this please? Thank you!
[Nexus 7 Android Development] AndDiSa:
Hmm ... I am not quite familiar with microg and dealing with the system webview. I need to dig in further, but if you have Gapps installed, it will be updated automatically by Google.

I am also not sure whether there the possibility to switch to a newer version but I'll see how e.g. lineagoOS is dealing with this topic.
[Nexus 7 Android Development] rahimali:
Hi @AndDiSa I'm avoiding google lgapps because they suck the very life out of the device, google play services specifically, hence I went with microg. I believe either the MD5 or some other type of signature or even the file size of the webview package included may be hardcoded into the ROM somewhere which is why it might not be accepting an update or a different webview package?

Thank you!
[Nexus 7 Android Development] dark0shark:
Just for the record: As published here new version TWRP 3.7.0 is available for download. It runs fine on my grouper device.
[Nexus 7 Android Development] AndDiSa:
Thank you very much for the info and for testing the new version. I just prepared the latest version of the ROM with the latest, i.e. October patches but I didn't have the time to compile and publish it yet. Hopefully I'll get the time to do it within the next days.
[Nexus 7 Android Development] Baonks81:
Let do it @AndDiSa, thanks for long time support
[Nexus 7 Android Development] jaamoke:
Nexus 7 feels like new

Thanks for this ROM! After my wife's stock Nexus 7 started slowing to a crawl with the 5.x OTA release, she stopped using it, and I put it up on a shelf in my closet. I recently ran across this thread and decided to try this ROM. Talk about shocked. I can't believe how smooth the Nexus 7 runs. It's my goto table now, and even runs Nougat better than my 5-year-old HP Touchpad! :)

Thanks to the Devs who make this possible -- you all ROCK!
[Nexus 7 Android Development] spark001uk:
Working rather well so far. About the charging, and bear in mind I don't know much about how the charging instructions are written into the ROM, and though I doubt it somewhat, wouldn't it be nice if it was just a matter of cutting the charging "piece" out of a stock ROM and sticking it in the new one? I'm guessing it does not work like that though!? As I say I don't know that much about how complex it is, I'm just curious! ;)
[Nexus 7 Android Development] shaggyskunk:
You might want to consider that if you have (probably) the original battery - it's going to likely do two things badly - Hold a Charge - And Recharge.

Sent From My SM-N930W8 ??
[Nexus 7 Android Development] hormosapiens:
Slow charging is related to the software 7.1.1 I went back to stock and the same nexus 7 with the same old 3-4-year-old battery would charge normal and hold the charge as expected.

I don't think the code for this device with 7.1.1 is there, concerning charging, which is normal.

We can't have everything with this prehistoric piece of hardware.

Thanks to the dev for the work as it made my Nexus 7 usable again.
[Nexus 7 Android Development] AndDiSa:
Concerning charging: If someone has a hint how to improve the situation ... any suggestion is appreciated. I've already compared the kernel sources with the latest 5.x ones and the one from Metallice and even with other devices sporting the smb347 but I could not find any difference which could cause the issue. I rarely get more than 850 mA even when "fastcharge" limit is set to 1800.

There is only one thing that might cause this issue: the smb347 reduces current automatically when the battery gets too hot and in the startup log I could find a message saying that the thermal module is not available, so probably due to fallback reasons the smb347 limits the current to 900 (which is the normal mode).
[Nexus 7 Android Development] jolinnard:
Sorry for the large post, and it seems a bit offtopic here, but I was measuring intensity on 2 tilapia devices on several power chargers and PC USB ports (directly on the cable) recently.

I agree with [MENTION=2188693]AndDiSa[/MENTION]. In my case, both devices are running this ROM now, but before, one of them was on an old Slimkat 4.4.4. I can confirm that charging intensity is not related to ROM/kernel. At least, from my experience. It seems that smb347 controller always "win" and it charges "the way it wants".

A fun scenario was with a 4 port wall charger, 2 USB have 2.4A max, the other 1.0A. My Nexus 7 was charging at 0.4A on hightest ports and at 1.3-1.4A on the lowest ports... That hasn't any sense to me... but was funny. Also, when my N7 was at 50% I could measure 1.7A some times.

I was reading a lot in this thread about it (it's long and it has a lot of information), but, at the end, only you can do to charge in the hightest rate is: use a good cable and a good charger (it doesn't matter if is 1.0A or more), battery temperature seems important, as well as battery condition.

And, if some of you have really really bad charging and you are comfortable opening your N7, you can disassemble the battery and clean the connector cable under it. You can do with the rest of the connectors and see if it helps a bit. It's explained in the post linked above (at the thread end).
[Nexus 7 Android Development] Bakica:
Is it possible that post from supersu thread is somehow connected with the instability of the system with /data and /cache formated f2fs? (after reformatted to ext4, issues rarely appears):

https://xdaforums.com/showthread.php?p=70492947
[Nexus 7 Android Development] adstraylight:
My tablet charges at 20 - 30% per hour, via the pogo pins (dock) rather than the USB port.

Things I have done to mitigate battery use while sleeping:

1. I use an app called Screen Off Kill, to kill all but my most regularly used apps when the screen if off (NB. Don't kill custom launcher or Keyboard).

2. Set governor parameters to raise maxspeed load 90, Hispeed load set to 75, I find this combination allows for greater use of intermediate cpu speeds. I was otherwise finding that the CPU was spending a seemingly disproportionate amount of its awake time at 1200 (may contribute to heat?)

3. I have found the max number of active CPU cores sometimes is locked at 2 on startup, this could be a bug in Trickster Mod, so I have now explicitly set it to enable all 4 as part of its startup settings

4. I have disabled Wifi Scanning, and open network notification in settings.
[Nexus 7 Android Development] shibadoo:
Unfortunately non of these instructions worked for me, not with OpenGapps and also not with Dynamic Gapps. After system reboot all the gapps are force closing. Had to go back to last december release.
[Nexus 7 Android Development] AndDiSa:
[MENTION=980259]shibadoo[/MENTION] Did you check in the recovery log whether the flashing went well and did you flash SuperSU in systemless mode? Did you check whether the apps have granted all permissions they need?
[Nexus 7 Android Development] spark001uk:
Try starting with an advanced wipe, and tick everything except internal storage, then flash the ROM. Then clear dalvik, and reboot into recovery again and flash gapps etc, this is important, as if you let it boot into android then that's when it starts playing up. Or it did it to me when I got it wrong anyway. If you've done it right then when you reboot into android you should get the welcome setup.

---------- Post added at 01:38 PM ---------- Previous post was at 01:28 PM ----------

When you flash supersu in twrp it automatically detects and installs in system less mode. Or it did for me.
[Nexus 7 Android Development] gerardo87:
[MENTION=2188693]AndDiSa[/MENTION] I really appreciate your work. This is the first time that my "poor" old nexus work as it should (really smooth), so I want to really thank you

Inviato dal mio SM-G930F utilizzando Tapatalk
[Nexus 7 Android Development] shibadoo:
Flashed again, did everything exactly as described (again). Funny enough this time it worked, before I flashed the ROM the same way at least 10 times. No idea why it worked now.

During flashing of the ROM (at the end, after the blue progress bar is at 100%) there appears an error message twice: "E: unknown command [log]". Why that? In recovery.log I can see nothing else, only this error message. Anything to worry about?

Unfortunately "Performance Control" does not work anymore as it pretends that there is no root, whereas other apps that depend on root are working fine. Same happens now in my nandroid backup (december release of your ROM). Before flashing the new release of this ROM it worked in the december release. Already uninstalled und reinstalled it, no effect.
[Nexus 7 Android Development] AndDiSa:
[MENTION=980259]shibadoo[/MENTION] The messages "E: unknown command [log]" has something to do with Nougat-compatibility of TWRP but you can ignore them. Regarding your issues with PerformanceControl / root: probably you installed SuperSU on /system and not systemless but the installation probably is not complete due to lack of space in /system. Pleas have a look at post #2 where I described how to force systemless installation of SuperSU.
[Nexus 7 Android Development] shibadoo:
I did it exactly as you mentioned in your post. Titanium, BusyBox, Total Commander etc. are working fine, only Performance Control claims there is no root. How can I determine for sure how SuperSU is installed?
[Nexus 7 Android Development] AndDiSa:
[MENTION=980259]shibadoo[/MENTION] you can open a terminal type in the mount command. If SuperSU is installed systemless you should find an loop mount entry:

grouper:/ # mount
...
/dev/block/loop0 on /su type ext4 (rw,seclabel,noatime,user_xattr,acl,barrier=1,data=ordered)
[Nexus 7 Android Development] k ahangar:
[MENTION=2188693]AndDiSa[/MENTION]

hi and thank you for this rom.

is in

20161213

release simcard works in tilapia ?
[Nexus 7 Android Development] AndDiSa:
@ k ahangar yes, should be fine, but why not using directly the 20170105 version?
[Nexus 7 Android Development] Paddy's:
Hi,i don't know if this could help because i am using unofficial slimkat at the moment but i want to try your rom when i'll have the time . I noticed different speed charge with different charger.

If i use the original charger, the app ampere shows 1100 mA top speed , and 1000 mA average speed .

After 5 minutes i used an aukey quick charge 2.0 charger with the same usb cable and ampere showed 1300 mA top speed and 1240 average .

After 5 minutes i used an aukey quick charge 3.0 charger with the same usb cable and ampere showed 1120 mA top speed and around 1070 average speed.

The stanger thing is that the aukey 3.0 quick charge is always slower than the aukey quick charge 2.0 charger,using the same usb cable and almost at the same moment .

Hope this could help and thank you for your great work .
[Nexus 7 Android Development] spark001uk:
Quickcharge 2.0 and Quickcharge 3.0 are new(ish) standards which bump the charge voltage from the usual 5V up to 9V (and even 12V I think) to charge compatible devices even faster. The 2012 N7 doesn't support either, so those chargers would have just been falling back to the normal 5V standard.
[Nexus 7 Android Development] nikobadboy:
Thanks for your work at this rom and please keep the Nexus 7 tablet alive. I'm still using it for yt and reading.
[Nexus 7 Android Development] AndDiSa:
New releases with 2022/10/05 security fixes are out!

I just updated the OP with the links to the Grouper and Tilapia releases having the latest security fixes applied to them. Have fun!
[Nexus 7 Android Development] metterschling:
The 20221023 MicroG Grouper build is showing security patch level of July 5, 2022, the build number contains 20220708, just the kernel version states Monday, October 24. Does that mean that only the boot image got updated compared to the 20220708 build?
[Nexus 7 Android Development] AndDiSa:
Sorry, my mistake... All patches are applied but I forgot to update the version number ... :-(
[Nexus 7 Android Development] Baonks81:
Tested on tilapia, tablet run fast. Thanks @AndDiSa

P/S: grouper run fast too, nice update ;)
[Nexus 7 Android Development] shibadoo:
https://androidfilehost.com/ is dead ... again ... at least for tilapia

UPDATE: Workaround: find the image via AndDiSa's profile page: https://androidfilehost.com/?w=profile&uid=24269982087014697

Warning: PDO::prepare(): SQLSTATE[00000]: No error: PDO constructor was not called in /web/libs/classes/SqlCache.php on line 11

Fatal error: Uncaught Error: Call to a member function execute() on null in /web/libs/classes/SqlCache.php:16 Stack trace: #0 /web/libs/classes/SqlCache.php(40): SqlCache::runSql('SELECT pref_nam...') #1 /web/libs/classes/System.php(1308): SqlCache::getCachedSql('SQL_CACHE_SYSTE...', 'SELECT pref_nam...', 60) #2 /web/libs/classes/System.php(11): System->update() #3 /web/libs/global.inc.php(123): System->__construct('live') #4 /web/index.php(3): require_once('/web/libs/globa...') #5 {main} thrown in /web/libs/classes/SqlCache.php on line 16
[Nexus 7 Android Development] Dragorius:
Just download it (tilapia) without problems from german mirror. Update works fine. Up to now no problems (we will see later :cool:). Thanks to keep this tablet running.
[Nexus 7 Android Development] Boten89:
Anyone who has downloaded the latest grouper imgae who can upload/mirror it somewhere? Androidfilehost doesn't work.
[Nexus 7 Android Development] rahimali:
I can do it but only after @AndDiSa provides approval.

Grouper mirrors:

https://www.mirrored.to/multilinks/0sb0xmtfb1

aosp-grouper-7.1.2-20221023-microg

https://www.mirrored.to/multilinks/1lcdrnmopb

aosp-grouper-7.1.2-20221023-standard

------------------------------------------------------

Tilapia mirrors:

https://www.mirrored.to/multilinks/phg9g4vgza

aosp-tilapia-7.1.2-20221023-microg

https://www.mirrored.to/multilinks/1ytvmgfr9r

aosp-tilapia-7.1.2-20221023-standard
[Nexus 7 Android Development] AndDiSa:
Looks as if AndroidFileHost has some major issues ... I will try to set up a mirror but I don't now yet when I will find the time.

@rahimali yes, please do so. Thank you very much.
[Nexus 7 Android Development] Baonks81:
I checked all cores, it's not usual online for some reasons or using intelliactive governor. I felt not powerful enough for apps nowadays. So I wrote some code hotplug cores and put it in /data/adb/service.d/. Magisk will autorun hotplug script(from someone at vmware and temp_throttle), checking cpu online and set it 1 (online). Set min freq and max freq on every core which online, after sleeping 2 seconds, the script will check again. This script will useful for someone whom need more power on n7

Requirements: unlock bootloader, root, Magisk 25.2 installed, busybox install at /system/bin

Create hotplug file with code below and su chmod -R 0775 /data/adb/service.d/hotplug in terminal android

#!/usr/bin/env bash

# Main loop
while true; do
# Based on script by William Lam - http://engineering.ucsb.edu/~duonglt/vmware/
# Found at http://askubuntu.com/questions/764620/how-do-you-hotplug-enable-new-cpu-and-ram-in-a-virtual-machine

# Bring CPUs online
for CPU in $(ls /sys/devices/system/cpu/ |grep -E '(cpu[0-9])'); do
CPU_DIR="/sys/devices/system/cpu/${CPU}"
busybox echo "Found cpu: \"${CPU_DIR}\" ..."
CPU_STATE_FILE="${CPU_DIR}/online"
if [ -f "${CPU_STATE_FILE}" ]; then
STATE=$(cat "${CPU_STATE_FILE}" | grep 1)
if [ "${STATE}" == "1" ]; then
busybox echo -e "\t${CPU} already online"
else
busybox echo -e "\t${CPU} is new cpu, onlining cpu ..."
chmod -R 0775 "${CPU_STATE_FILE}"
busybox echo 1 > "${CPU_STATE_FILE}"
chmod -R 0444 "${CPU_STATE_FILE}"
fi
else
busybox echo -e "\t${CPU} already configured prior to hot-add"
fi

chmod -R 0775 "${CPU_DIR}"/cpufreq/scaling_min_freq
write "${CPU_DIR}/cpufreq/scaling_min_freq" 102000
chmod -R 0444 "${CPU_DIR}"/cpufreq/scaling_min_freq

chmod -R 0775 "${CPU_DIR}"/cpufreq/scaling_min_freq
write "${CPU_DIR}/cpufreq/scaling_max_freq" 1300000
chmod -R 0444 "${CPU_DIR}"/cpufreq/scaling_min_freq
done
sleep 2 # The amount of time between checking cpu online
done

android7.1.2/hotplug · main · Baonks81 / Nexus 7 2012 grouper Android 7.1.2 kernel parameters and virtual memories · GitLab

Dummy from Android 7.1.2

gitlab.com
[Nexus 7 Android Development] JordiXTR:
Hi all and thanks for the new version :D

I have a Nexus 7(grouper) that has some ultra slow behaviour some days ago, so I make factory reset as first step. After that the whole system continues ultra slow like tap reacts in 10 seconds. Since it was and old Android version I look some new versions and I reach this post. With TWRP I see that /data /cache cannot be wiped since were not mounted. I format again those partitions as Ext4 and solves the problems. Then the factory reset wipe works without errors. I update using aosp_grouper-7.1.2-ota-20221023.eng.ds.zip and put gapps.

Unfortunately, when it enters to Android and makes the welcome message to select the language to be used it pop ups continuously services that stops working (google framework services).

My guess is that maybe still having some problems with the flash memory. I attach dmesg and logcat from a fresh boot.

Can any one help me?

EDIT: Since seems attach don't work:

Easyupload.io - Upload Files and Share Them Easily

Uplaod files easily and share them with your friends and colleagues. File upload solution for everyone. Upload big files and get a link to share effortlesly.

easyupload.io

Thanks :D
[Nexus 7 Android Development] JordiXTR:
I don't see the files attach. Did you see it? Seems attach files not working.
[Nexus 7 Android Development] AndDiSa:
@JordiXTR dmesg.txt looks fine to me, logcat.txt contains several exceptions but it's difficult to individuate the reason for that. When flashing the ROM for the first time did you boot the system once before flashing gapps or did you flash gapps directly together with the ROM?
[Nexus 7 Android Development] JordiXTR:
Hi, thanks for your time.

I first flash the rom without gapps. Then boot android I see the errors and then go to recovery and put gapps since I didn't know if gapps was a must be.
[Nexus 7 Android Development] AndDiSa:
No, you don't need the gapps ... I would probably try to start over, i.e. wipe again and install the ROM from scratch. Probably it helps...
[Nexus 7 Android Development] JordiXTR:
I will try but i think is some kind of hardware problem. Any app or something to test and get some hint?
[Nexus 7 Android Development] AndDiSa:
No, nothing special is coming into my mind.
[Nexus 7 Android Development] JordiXTR:
Launcher and almost all apps shows the stops working pop up on loop.

Checking the logcat I see:

I go to /data/user/0 an make an ls -la

but /data/data don't exist, is that normal?
[Nexus 7 Android Development] JordiXTR:
Hi Andisa,

check the repo manifest I think the keychan name is wrong

<project path="packages/apps/KeyChain" name="platform/packages/apps/KeyChain" remote="ads" revision="ads-7.1.0" groups="pdk-fs" />

maybe shoud be?

<project path="packages/apps/KeyChain" name="packages_apps_KeyChain" remote="ads" revision="ads-7.1.0" groups="pdk-fs" />
[Nexus 7 Android Development] AndDiSa:
@JordiXTR thank you very much for pointing this out, I'll correct that in my manifest.
[Nexus 7 Android Development] maxiauer:
@AndDiSa First of all thanks a lot for your work !!!

QQ: I was able to update the device and start it, but unfortunately on the first launch / first set-up, after connecting to the WiFi, it gets stuck on "Searching for updates"

Wasn't able to found something like this issue on this thread...any idea what the problem can be?

Thanks !!!!

Max
[Nexus 7 Android Development] maxiauer:
False alarm. After a couple of restart it finally connected to Google, and move forward. now is downloading all the GPlay updates. Will keep my fingers crossed
[Nexus 7 Android Development] fanegaraj:
Hello,

I have a weird problem. I have a Nexus 2012 Wifi and i tried installing your roms.

The problem is that if i install a newer one than aosp_grouper-7.1.2-ota-eng-20181208.ds the device boots directly in recovery, it doesn't boot to system.

So for example the next available version aosp_grouper-7.1.2-ota-eng-20190610.ds doesn't boot anymore.

I have wiped it a few times in all modes possible.

The last versions don't boot also.

I have installed bootloader 4.23.

Any suggestions?
[Nexus 7 Android Development] AndDiSa:
Can you explain your installation steps in more detail? Do you install gapps, too? What is the TWRP version you have installed on your device?
[Nexus 7 Android Development] nikobadboy:
I think your rom memory is almost dead or corrupted. Install again original rom from google using fastboot method.
[Nexus 7 Android Development] DIXES:
I got a small problem, when I connect usb cable to charge my Nexus 7 (grouper), it is no sound output (e.g. use youtube app playing videos), but if I disconnect usb cable then the sound output works.

I installed this rom, aosp_grouper-7.1.2-ota-20221023.eng.ds.
[Nexus 7 Android Development] AndDiSa:
@DIXES hmm ... that's strange, I didn't notice that issue yet, but I'll check whether I can reproduce it here with my device. Looks like there is something strange with audio routing ...
[Nexus 7 Android Development] DIXES:
I've found how to fix this issue, I need to go to "Sound > Other sounds > Dock speaker plays" and change "Media audio only" to "All audio". Now the sound output works when usb cable connected.
[Nexus 7 Android Development] AndDiSa:
New releases with 2022/12/05 security fixes are out!

Finally I was able to upload a new set of ROM files to Android-Filehost. I just updated the OP with the links to the Grouper and Tilapia releases (standard- and MicroG-versions) having the latest security fixes applied to them.

I know that there are (somtimes?) issues with Android-Filehost but unfortunately I didn't find a convenient way yet to provide the files from a different service but I am still working on it.

Have a nice Christmas days and a new start into the 2023!
[Nexus 7 Android Development] bochuflo:
@AndDiSa you have made an amazing work, thanks a lot!! I can not download files from Android-Filehost, is there any way to get these files?