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

Search This thread

AndDiSa

Senior Member
Dec 2, 2009
3,705
5,076
Heidelberg
HTC Desire
Nexus 7
@rottenwheel I suggest to do it in the following way:
- go to recovery
- flash the new ota
- reboot to recovery (normally not needed, only to be sure ...)
- flash Magisk / SuperUser
- reboot to recovery (normally not needed, only to be sure ...)
- flash microG
- clean cache / dalvik (to be sure, as it it only a minor update cleaning dalvik probably not needed)
- reboot
 

akashkyh

Senior Member
@rottenwheel I suggest to do it in the following way:
- go to recovery
- flash the new ota
- reboot to recovery (normally not needed, only to be sure ...)
- flash Magisk / SuperUser
- reboot to recovery (normally not needed, only to be sure ...)
- flash microG
- clean cache / dalvik (to be sure, as it it only a minor update cleaning dalvik probably not needed)
- reboot

Thanks for the updates... u have given a new life to my 5 years old tablet...:)
 

DumF0rGaming

Translator
Jan 8, 2013
812
673
Dubai
You may already know, but I'm gonna tell how brilliant dude @AndDiSa is . For the first time I can tell that Nougat ROM isn't made by Tilapia hater :laugh:

Compared to November build:

RIL is working, haven't tested the data yet, shows H+
Sound doesn't stutter while heavy typing

Compared to 3.4 ROM from Jan 4th:

It's buttery smooth! I didn't expect it to run as it is on KitKat. I don't want to install LSpeed anymore, even with snowflakes on Lawnchair! Presicious work on governor tweaking can be seen.

It's usable! Not only it boots as quickly as it should, but it doesn't freeze in half of the way. Futhermore, it didn't freeze completely for 50 minutes I've spent setting it up! All the time it was reasonably warm, not burning hot. And I think it will stay cold till you start watching videos - Youtube 12.49.55 doesn't crash for me, 720p60 is running smoothly.

Speaking of 50 minutes SoT, it took roughly 25%, should consume even less, since I had NFC and geolocation enabled, had been using recovery multiple times, have installed many apps. As for charging it's definitely a hardware problem, mine takes from 0.23 to 0.63A on any ROM.

So far there's only one thing broken - MTP doesn't work at all and it breaks adb untill reboot, other modes are working fine. MatLog shows successfull switch and start of the server, not a single warning

God bless you @AndDiSa, Tilapia can be daily-driver again. I hope many devs will take a look at your sources and you personally will try to do something with Oreo. :highfive:

Those who will install this ROM should flash ROM and gapps together, then apply a command by this guy to avoid issues:
https://xdaforums.com/showpost.php?p=75158141&postcount=1008
 
Last edited:

aureljared

Senior Member
May 2, 2013
970
671
dantis.me
Redmi Note 11
Those who will install this ROM should flash ROM and gapps together, then apply a command by this guy to avoid issues:
https://xdaforums.com/showpost.php?p=75158141&postcount=1008

I've found that Setup Wizard doesn't crash if you flash Beans GApps (Mini). The crashes have only occurred for me when using OpenGApps.
Same thing on my Galaxy S5 and Nexus 6P.

I do agree that the 01/12 build is great! Lot better than the 3.4 builds, those were very laggy for some reason.
MTP Host also crashes a lot on my Nexus 7.
 

f23coupe

Member
Feb 9, 2015
7
0
If you are familiar with the updating process, you can download the new versions also from here:

And as always: flash on your own risk ...

AndDiSa, I just flashed your December build a day or two prior to you uploading this. The December flash was my first time flashing a non-stock ROM on a grouper, so pardon my ignorance. A few questions and comments for you.

1. How to update to the January build? Boot into TWRP and then install the January OTA? If so, does that erase the apps, settings and alike? Will this be necessary when installing updates? I too like clean installs to make the installation smooth, but re-installing apps (not the Google apps) again would be a major pain.

2. The link and reference to TWRP 3.2.0 is obsolete as TWRP has de-listed 3.2.0 and replaced it with 3.2.1.0. New users like myself can benefit from that TWRP link getting updated to 3.2.1.0.

3. The swipe gesture required during the lockscreen to bring up a pattern/PIN/password prompt is "longer" than with stock 5.1.2. I say "longer" because I literally now have to swipe the entire length of the screen to bring up a pattern/PIN/password prompt when attempting to unlock from a locked state. For that matter, even home screen app page scrolls (using Google Now launcher) require a "longer" swipe. Unsure where to change this setting or this is part of your ROM, but I thought I let you know of this difference.

4. The battery indicator doesn't indicate a charging status when awake. Only when I powered down did I see that it was indeed charging. I thought I had a bad cable or connection, but after powering it down did I see that I was able to charge without issue. Perhaps this is a bug? I'll continue to monitor this to see if I can replicate this as I only have a few days worth of operation time.

5. The performance of the December build over stock Android 5.1.2 is much improved, but not as quick as a factory wipe and install of 5.1.2. It may be because 7.1.2 is more resource-heavy, but I'm glad to have this over stock 5.1.2 when loaded with my set of apps.

Thanks for your work! The grouper is alive again thanks to you!
 

Buratei

Senior Member
Sep 12, 2012
163
18
does does anyone know if there is a fully compatible version of powereventmanager for nougat releases? the one I am on now only works half of the time (even less tbh)

also, I could use a kernel that allows me to turn mpdecision off. the one included in this rom doesn't seem to sport that option with kernel managers (ex kernel manager, kernel adiutor, etc)
 

petrus764

Senior Member
Aug 28, 2012
450
208
AndDiSa, I just flashed your December build a day or two prior to you uploading this. The December flash was my first time flashing a non-stock ROM on a grouper, so pardon my ignorance. A few questions and comments for you.

1. How to update to the January build? Boot into TWRP and then install the January OTA? If so, does that erase the apps, settings and alike? Will this be necessary when installing updates? I too like clean installs to make the installation smooth, but re-installing apps (not the Google apps) again would be a major pain.

2. The link and reference to TWRP 3.2.0 is obsolete as TWRP has de-listed 3.2.0 and replaced it with 3.2.1.0. New users like myself can benefit from that TWRP link getting updated to 3.2.1.0.

3. The swipe gesture required during the lockscreen to bring up a pattern/PIN/password prompt is "longer" than with stock 5.1.2. I say "longer" because I literally now have to swipe the entire length of the screen to bring up a pattern/PIN/password prompt when attempting to unlock from a locked state. For that matter, even home screen app page scrolls (using Google Now launcher) require a "longer" swipe. Unsure where to change this setting or this is part of your ROM, but I thought I let you know of this difference.

4. The battery indicator doesn't indicate a charging status when awake. Only when I powered down did I see that it was indeed charging. I thought I had a bad cable or connection, but after powering it down did I see that I was able to charge without issue. Perhaps this is a bug? I'll continue to monitor this to see if I can replicate this as I only have a few days worth of operation time.

5. The performance of the December build over stock Android 5.1.2 is much improved, but not as quick as a factory wipe and install of 5.1.2. It may be because 7.1.2 is more resource-heavy, but I'm glad to have this over stock 5.1.2 when loaded with my set of apps.

Thanks for your work! The grouper is alive again thanks to you!

1. boot to twrp, flash rom and re-flash gapps. No apps or settings will be erased, but you need to re-flash gapps. If you want root, flash magisk too.

3. same for me, there's also a similar bug on pixel 2 phones, that has a magisk fix but i haven't tried on the n7.

4. I do not have this issue, swipe down the notification tray and it should indicate that it's charging on the battery tile. Also, it should say charging on the lockscreen.

5. Mine's faster, but that may depend on how bad your nand is.
 

DrCheesecake

Member
Jan 29, 2017
8
2
Latest tilapia build - spot on

Today I've uploaded a new version of the ROM (Grouper / Tilapia) containing the January security fixes. You can download them from the OP. I've cherry-picked the related commits as Google didn't update the 7.1.2 branch (yet). As I already wrote, no fixes for Sprectre for now ... just wait and see whether we will get them. (Really speaking I do not expect them :()

Beside that a slight change in the kernel: I disabled LP overclocking as I noticed that battery consumption in relation to performance is better without LP overclocking. Due to that I had to adjust the intelliactive settings a bit, too.

If you are familiar with the updating process, you can download the new versions also from here: Grouper-OTA (20180112) / Tilapia-OTA (20180112)

And as always: flash on your own risk ...

Thank you again @AndDiSa! My tilapia is super smooth with your 20180112 build. Spot on!
 

mafarric0

Member
Aug 24, 2013
41
9
I haven't updated since 3 or 4 months ago, and now I made a clean installation of the January version. It is faster overall, takind less time to load applications and to respond to screen input. Definitely the best of the bunch!

Unfortunately my tilapia speaker is ruined and the battery takes some time to charge, but probably there's nothing to do on those fronts.

Considering this is an almost 6 year device, it's amazing that such an old hardware can still run most of today's apps. Thank you @AndDiSa for your effort to reduce e-Waste!
 
  • Like
Reactions: lotte67890

brewer75

Senior Member
Feb 15, 2013
313
102
Pickerington
Nexus 7
Motorola Xoom
I haven't updated since 3 or 4 months ago, and now I made a clean installation of the January version. It is faster overall, takind less time to load applications and to respond to screen input. Definitely the best of the bunch!

Unfortunately my tilapia speaker is ruined and the battery takes some time to charge, but probably there's nothing to do on those fronts.

Considering this is an almost 6 year device, it's amazing that such an old hardware can still run most of today's apps. Thank you @AndDiSa for your effort to reduce e-Waste!

I just replaced the speaker in my grouper and it works like new. I bought mine on eBay and it was less than $6.00 so you might want to check it out. I imagine the speaker is that same in the tilapia as it is in the grouper but you can certainly research it a bit to make sure if you're interested.
 
  • Like
Reactions: 239

Charles IV

Senior Member
Jan 15, 2016
570
180
...
3. The swipe gesture required during the lockscreen to bring up a pattern/PIN/password prompt is "longer" than with stock 5.1.2. I say "longer" because I literally now have to swipe the entire length of the screen to bring up a pattern/PIN/password prompt when attempting to unlock from a locked state. For that matter, even home screen app page scrolls (using Google Now launcher) require a "longer" swipe. Unsure where to change this setting or this is part of your ROM, but I thought I let you know of this difference.
...

I think I posted a fix here a while back, and I made a pr on @aaopt's lineage builds, but I forgot about these.
I've create a pull request in @AndDiSa's grouper builds, but I'm not entirely sure it will work as I haven't tested it on these builds.
 
Last edited:

cbkiyanda

New member
Jan 22, 2018
1
0
Hi,
This is the first time I installed a custom recovery, first time I flashed a custom rom. I decided to finally try and to start with a grouper device I hadn't really used in quite a while. I think I followed all the instructions correctly, used twrp and the 20180112 build. Flashing went fine. I flashed the rom, rebooted to recovery and then flashed gapps. Setup seemed fine, but the "home" and "opened apps" (the circle and the square buttons) don't work. The back arrow works fine. These were working minutes before I did the flash, so I don't think it's a hardware issue.

I'll admit I haven't gone through the 220 pages of this threed, though I did read everything from the post announcing the latest build. I didn't see anyone with that problem. I'm wondering if that's something I did wrong.
 

danja95

Member
Dec 21, 2017
19
1
Feedback for tilapia
Bugs:
- Landscape mode if tablet is in 16:9 position, launcher will not rotate.
- gApps will not install, even with the speical config file
- 3G Module does not work, even a external huawei stick will not work
 

Top Liked Posts

  • There are no posts matching your filters.
  • 332
    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.7.0-9 for Grouper resp. TWRP 3.7.0-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 20240306) (MD5: 81b65db59a0690d6f5a5f1791133d684)
      or
      Install 7.1.2 Tilapia OTA-Package (Build 20240306) (MD5: b9beb4aa902c0aaf271e51f37b17db17)
    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 the unified Magisk (V27.0) which can be flashed by TWRP, too. Eventually you'll need to rename Magisk-v27.0.apk to Magisk-v27.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 20240306) (MD5: 81b65db59a0690d6f5a5f1791133d684)
        or
        Install 7.1.2 Tilapia OTA-Package (Build 20240306) (MD5: b9beb4aa902c0aaf271e51f37b17db17)
      • 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
    • 20231212(AOSP 7.1.2)
      • security fixes up to December 2023

    Latest version with MicroG-patch applied to them:
    aosp_grouper-7.1.2-mg-ota-20240306.eng.ds.zip (MD5: aa5b2fe8b9c0889479f45537fb551dea)
    aosp_tilapia-7.1.2-mg-ota-20240306.eng.ds.zip (MD5: bc6723ea47fa9ceec36cf3e33fa3b74c)


    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
    76
    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!