[ROM][NZH54D][2022/12/05][Asus Nexus 7 2012 WiFi/3G][F2FS/EXT4]Android 7.x AOSP

Search This thread

maxiauer

Senior Member
Aug 9, 2017
84
25
@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
 

maxiauer

Senior Member
Aug 9, 2017
84
25
@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

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
 
  • Like
Reactions: AndDiSa

fanegaraj

New member
Jan 26, 2018
1
0
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?
 

AndDiSa

Senior Member
Dec 2, 2009
3,677
4,986
Heidelberg
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?
 

nikobadboy

Senior Member
Jan 12, 2012
171
20
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?
I think your rom memory is almost dead or corrupted. Install again original rom from google using fastboot method.
 

DIXES

Senior Member
Nov 22, 2010
330
33
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.
 

AndDiSa

Senior Member
Dec 2, 2009
3,677
4,986
Heidelberg
@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 ...
 

DIXES

Senior Member
Nov 22, 2010
330
33
@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 ...

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.
 

AndDiSa

Senior Member
Dec 2, 2009
3,677
4,986
Heidelberg
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!
 
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!

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
 

rabbituk

New member
Aug 10, 2020
3
0
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
 

Attachments

  • open_gapps_log_20220215_on_20221211.txt
    3.5 KB · Views: 22
Last edited:

ftspampi

New member
Jan 12, 2023
2
0
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.
 
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.
They are already present in the OP
 

phongtoanquan

Member
Mar 6, 2018
6
0
Root your device with Magisk 25.2

Install termux(or any Android Terminal apps), and busybox on F-Droid or Google Play Store

Install root explorer

Download ktweak and sysctl.conf, copy ktweak to /data/adb/service.d


Copy sysctl.conf to /system/etc


Download 97zram, and copy it to /system/etc/init.d(create init.d folder if it's not existed) and /data/adb/service.d


Edit /system/build.prop, add 1 more code line support in 97zram file

Code:
persist.service.zram=200

Reboot device, open termux, run

Code:
su
sh /system/etc/init.d/97zram
sh /data/adb/service.d/ktweak
sysctl -p

Install Diskinfo to checking zram size in swap information


Basically, I made it come to nearby GNU/Linux. Because I success to configure grouper run GNU/Linux smoothly
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 ?
Code:
su
sh /system/etc/init.d/97zram
sh /data/adb/service.d/ktweak
sysctl -p
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    @phongtoanquan what do you want to achieve? The ROM originally has already built in zram, no need to patch or install other services.
    1
    grouper and tilapia rom 20221211 had best battery time. Performance was better, no suddenly crash, working great @AndDiSa. Thanks
    1
    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.
  • 322
    This thread is about installing and using AOSP 7.x (Nougat) ROM for the ASUS Nexus 7 Grouper / Tilapia devices.

    Asus - Model names

    Grouper = Asus Nexus 7 2012 WiFi
    Tilapia = Asus Nexus 7 2012 3G


    Initial Setup Installation
    1. Update Recovery to TWRP 3.6.2-9 for Grouper resp. TWRP 3.6.2-9 for Tilapia
    2. Boot into Recovery
    3. Factory Reset (only needed if you are not already on Android 7.x AOSP)
    4. Install 7.1.2 Grouper OTA-Package (Build 20221211) (MD5: 5570596ae71ac18f2d60ad6dc16e0add)
      or
      Install 7.1.2 Tilapia OTA-Package (Build 20221211) (MD5: 59f7b415c5d35c62eb9f22322177758b)
    5. Reboot into recovery
    6. Install Open GApps (arm/7.1/pico)
      (if you have issues regarding the size of the GApps please refer to the next post)
    [*]To get root access, I suggest to use either Magisk (V21.4) and Magsik Manager (V8.0.7) the "old" version of Magisk, or the new unified Magisk (V25.1) which can be flashed by TWRP, too. Probably you'll need to rename Magisk-v25.0.apk to Magisk-v25.0.zip
    I was not able to flash Magisk 24.x by TWRP / direct install, nevertheless the patching boot.img method worked. For that you need to extract the boot.img from the OTA and transfer it to your devies. Then you need to patch the boot.img and transfer it back to your PC. Finally you can flash the patched boot.img using fastboot.
    For detailed instructions please consult the Magisk threads here in XDA.

    Do not install Magisk on initial setup as it might lead to issues. Start the ROM without having root access the first time and install Magisk in a second step.

    If you are already on Android 7.x AOSP, it's sufficient to do the follwowing steps:

    Update Installation
    • Boot into Recovery
        • Install 7.1.2 Grouper OTA-Package (Build 20221211) (MD5: 5570596ae71ac18f2d60ad6dc16e0add)
          or
          Install 7.1.2 Tilapia OTA-Package (Build 20221211) (MD5: 59f7b415c5d35c62eb9f22322177758b)
        • Reboot into recovery
      • Reboot into recovery
      • Install Open GApps (arm/7.1/pico)
        (if you have issues regarding the size of the GApps please refer to the next post)
      • Wipe cache/dalvik-cache (optional, but suggested)
      • reboot

    Important: For more detailed installation instructions please refer to the next post
    Important: First boot after upgrading will take a bit longer (stays on ANDROID) because of art optimizations

    flash and use on your own risk!


    CREDITS,
    AOSP/Google, LineageOS, Ziyann for setting up the Grouper-AOSP repository and his Unlegacy Android project, daniel_hk for some hints how to get the 3.1 kernel running with N, timduru for his work on the Asus Transformer, Timur Mehrvarz for his work on the tegra kernel, Francisco Franco for his kernel work in general

    Bugs:
    • please report

    Latest Changes
    • 20221211(AOSP 7.1.2)
      • security fixes for November and December

    Latest version with MicroG-patch applied to them:
    aosp_grouper-7.1.2-mg-ota-20221211.eng.ds.zip (MD5: 8f105bf617f133e798ee82fe7d8cd2e0)
    aosp_tilapia-7.1.2-mg-ota-20221211.eng.ds.zip (MD5: ef5583ba1f561a9d63fb8f5990439922)


    Changelog
    Please refer to the changes found in the github repos

    All ota packages can be found here:
    AndDiSa ROM files repository

    Sources

    https://github.com/AndDiSa

    If you would like to build from the sources, you can do so by cloning and build from repositories:
    but please take in mind that you need to have some free space (>= 100 GB) and some time ...


    XDA:DevDB Information
    Android 7.x AOSP, ROM for the Nexus 7

    Contributors
    AndDiSa
    Source Code: https://github.com/AndDiSa?tab=repositories

    ROM OS Version: 7.x Nougat
    ROM Kernel: Linux 3.1.x
    Based On: AOSP

    Version Information
    Status:
    Stable

    Created 2016-09-23
    Last Updated 2021-12-09
    74
    Please note:
    • the system partition is already quite full which leads to the problem that gapps probably will not install correctly and that may lead to weired problems (apps closing / not showing up correctly / ...). I suggest to use the dynamic gapps package linked above. In addition I suggest you to erase the system partition completely before applying the OTA package
    • If you get "Error 7" when trying to flash the ROM directly after upgrading to TWRP 3.5.2-9, wipe the Boot, System and Cache partition and clean dalvik-cache, then re-boot to Recovery and try again (you will not loose any data as long as you do not wipe the Data partition).
    • If you get "Error 70" when installing GApps copy the attached gapps-config files into the same directory where the gapps installation packages is copiedI.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.

    Some additional hints
    • If you are in a bootloop which shows to Google logo again and again, it's sufficient to hold vol- while booting. The next bootloop will boot into bootloader.
    • If you are in a bootloop which shows the ANDROID splash screen continuusly, connect your device to your PC and enter
      Code:
      adb reboot bootloader
      After a few seconds the device should show up the bootloader screen
    62
    Hi guys,

    first of all I would like to thank all of you for your support you offered to me in the last days and I really feel honoured that so many of your would like to support / help me so that I am able to continue the development for the Nexus 7.
    I've got many offers for a "new" Nexus device from all over the world which I really didn't expect. I was really torn between continuing and stepping out. I've thought very much about pros and cons and it wasn't an easy decision especially if you get so much positive feedback. Thank you again!

    Finally I've decided to stop development for the Nexus 7 (at least for the moment). There are several other projects (not all of them related to Android) I've in mind and probably this now was a broad hint to start with something different. I've uploaded the sources of the ROMs latest version (inc. security patches for June 2019) to Github and tested together with @fidoedidoe whether all needed repos and changes are consistent and that one can build the ROM from those repos without the need of doing additional modifications or patches. The build should run smoothly after synchronizing everything. I will also support and help everybody who would like to step in and continue the builds.
    I know there are several people interested in building the ROM from sources. Probably there is someone (or probably even a group) who would like to continue ...
    Cheers,
    AndDiSa
    55
    2019/02/05 - release for Grouper and Tilapia uploaded

    I've just uploded the latest version of the ROM for Grouper and Tilapia. As always the Android security issues listed in the latest Android Security Bulletin are patched in this ROM.

    Beside that once again I've worked much on the kernel side. Some features are added (multiple binder devices, alarm timer device, ...) and some bugs have been fixed.
    I am still working together with @OlliWi on the slow charging issue which occurs from time to time. Even if I was able to get charging currents up to 1500mA while the device was connected to a charger, we still have the impression that the cable / charger detection needs to be improved. We are on it ...

    Those of you who are familiar with the installation process of the ROM can download directly from here, otherwise please first read the instructions in the OP

    7.1.2 Grouper OTA-Package (Build 20190209) (md5: 885e601a06a2104628a1e450b73f3a18)
    7.1.2 Tilapia OTA-Package (Build 20190209) (md5: 8e4c0e1955ecc0bb65a51582bb01f779)

    And finally as always: flash on your own risk ... ;)
    52
    New year ... new security fixes (2019/01/05)

    Hi guys,

    I've just uploaded a new version of the ROM for our beloved Nexus 7 (Grouper / Tilapia) having the January 2019 security fixed applied to it.

    Beside that I found a bug causing bootloops on initial install / after wiping dalvik. This was caused by zygote not having enough memory available to create the boot.jar on the fly. To fix this issue, I am doing a dex-preopt for the boot image on compile time now which leads to a slightly larger image but improves initial boot time a bit, too.

    To get more memory free on the /system partition, I debloated the ROM a bit, e.g. removed the Browser2, LegacyCamera, Music and Calendar apps as some of them even didn't work fully. There are several alternatives available in several stores which you can install if you need them. Probably most of you do not even notice that these apps were removed.

    Most changes were applied to the kernel. I tested the changes in the last 4 weeks but as I have a Grouper device only and I cannot test each functionality I cannot exclude that something doesn't work as expected. So please file a bug report (best with logcat and a meaningful bug description) if you find some unexpected behaviour and I will have a look at it.

    The most important fix here is probably the improved charging behaviour (many thanks to @OlliWi who provided with fruitful analysis and hints and pushed me to have a deeper look at this issue).
    To get a faster charging of the device, do not boot with a USB cable connected as this prevents the device to charge with more than 500mA (or at least disconnect and re-connect the cable after the device booted).

    I've updated the links in the OP, so you can download the latest version from there.

    Happy new year to all of you!