• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

Csöndi

Member
Mar 6, 2017
12
4
Hello!

I have been using this rom for a while now, and i want to thank you for your work on it, it served me very well!

I would also want to give you some feedback about the new version (feb 9).
I did a clean install of the rom, followed the instructions (wiped everything and set to ext4, rom flash, reboot to twrp3.2.1, beans gapps, reboot to twrp3.2.1, magisk).
I experience crashing of the settings menu, and during the gapps setup thing. Sometimes the "android" boot logo pops up and in half a minute i get back to the homescreen (or the setup, when i was still in it). It feels significantly slower than previous builds, so i did not even had the patience to get my apps etc. There was something up with the wifi as well.

I tried reinstalling everything from scratch, but i get the same results. Slow, and prone to crashing.

i hope the logcat is what you would need. (I never had to pull logs before)
Also sorry if i messed up something obvious!

Edit: I have a grouper, and im sure i installed the right version. i checked.
 

Attachments

  • logcat.7z
    51.2 KB · Views: 4
Last edited:

AndDiSa

Senior Member
Dec 2, 2009
3,586
4,769
Heidelberg
@Csöndi I had a quick look at your logfile and I didn't find anything which is looking unusual. The log is similar to the logs I see when starting my device. The only strange thing I saw is that wifi is not connecting ...

Btw. the first boot may take a bit longer due to ART optimization activities and this has huge impact on performance, too. So wait a bit until the ROM settled down a bit
 
Last edited:

Csöndi

Member
Mar 6, 2017
12
4
@Csöndi I had a quick look at your logfile and I didn't find anything which is looking unusual. The log is similar to the logs I see when starting my device. The only strange thing I saw is that wifi is not connecting ...

Meanwhile i reinstalled the prev version, works flawlessly, so it shouldn't be a hw issue.
Im going to try recreating the errors, and posting a log after that. Maybe i pulled it too early after the reinstall, because im clumsy today. Sorry for the wasted time!
 
  • Like
Reactions: AndDiSa

abhifx

Senior Member
Feb 20, 2011
1,497
737
Chandigarh
I just uploaded the new version of the ROM having the February security fixes applied. As I already mentioned some time ago beside the security patches there are several other changes coming with the new version. Some of them I would like to describe a bit further now.
  • fix for the screen unlocking issues
    thanks to a hint from @Charles IV I was able to backport a solution from LineageOS​
  • a huge amount of kernel changes which provide some additional functionality to the system behavior / possibilities, too
    • backport of linux kernel namespace support
      this probably is the most important change, at least for all of you who were waiting for Magisk-hide support. With the new kernel you can activate Magisk hide and even when rooted, you are able to pass SafetyNet.​
    • backport of linux kernel seccomp support
      seccomp support normally is mandatory for Nougat and beyond, but was lacking in our old kernel sources. seccomp enables the usage of minijail, Nougat+ ROMs are using when executing e.g. mediaextractor and mediacodec processes to put them into a sandbox.​
    • backport of sdcardfs support
      SDcardFS is a replacement for the FUSE filesystem which were used for external file systems (e.g. /sdcard/ ...) Oreo will renounce on FUSE and will use SDcardFS as standard as it reduced I/O overhead and has different other advantages. Currently it's still disabled as I was not able to test it very intensively, but you can try it out easily by changing the build.prop file​
    • backport of vmpressure and adaptive low memory killer
      adaptive LMK makes the LMK more aggressive dynamically, e.g. depending on the current (virtual-)memory usagee​
    • many other security patches and bug fixes

As always, the experts can download Grouper-20180209 or Tilapia-20180209 directly. If you feel unsure, probably it's better to read the OP and the second post first.

And finally, as always: flash at your own risk!

P.S.: As I was not able to test the Tilapia version, hopefully that will work, too, ... ;)
Dont know what you have done with the latest build, but everything is flying. Tablet feels new.
My only gripe is with charging issue which i am unable to fix.

If anyone has the charging dock and is not not using it, kindly think of donating it to this poor guy
 
  • Like
Reactions: AndDiSa

Csöndi

Member
Mar 6, 2017
12
4
@AndDiSa

I installed the latest rom, gapps and magisk as usual, and played around with it. I got the black screen with the android logo about 5-6 times while setting thing up and playing around.
After the first couple of times it happend, i was just after the fist boot and initial setup. The device got faster after the "reboot" like incidents, animations became smoother, although i couldn't access any settings, because the app wouldn't load. I would see a blank white screen and a notofication bar in grey. When i tried to close the app everything slows down, and i get the logo screen. Same things with the playstore on some occasions.
After a couple of trys the settings menu started working, so did the play store.
The wifi connects, has no internet for 1 minute or 2, i get the sudden android logo again, and after that i have a connection.
I installed a couple of apps, and tried browsing the web, but i get interrupted by that logo screen, and put back on the lockscreen.

I hope that any of this is of use to you, and not just a giant waste of time.
 

Attachments

  • logcat2.7z
    85.2 KB · Views: 6

AndDiSa

Senior Member
Dec 2, 2009
3,586
4,769
Heidelberg
@Csöndi in that log I can see several system crashes and due to that the initialization of the system is starting over and over. Even if I was not able to identify the root cause ... :(
Can you explain a bit how you did the installation? I am asking because I saw some messages like that:

Code:
...
02-10 19:20:28.293  6045  6097 W PackageManager: Trying to update system app code path from /system/priv-app/Phonesky to /data/app/com.android.vending-1
02-10 19:20:28.294  6045  6097 W PackageManager: Code path for com.android.vending changing from /system/priv-app/Phonesky to /data/app/com.android.vending-1
02-10 19:20:28.294  6045  6097 W PackageManager: Resource path for com.android.vending changing from /system/priv-app/Phonesky to /data/app/com.android.vending-1
02-10 19:20:28.299  6045  6097 W PackageManager: Permission com.android.vending.appdiscoveryservice.permission.ACCESS_APP_DISCOVERY_SERVICE from package com.android.vending in an unknown group android.permission-group.NETWORK
...

which is indicating that on /data there are already some apps installed which on a clean system should not be the case.
 

shaggyskunk

Recognized Contributor
Nov 22, 2011
19,502
15,852
IDK
I can't install the latest version. I used TWRP 3.2.1 (can't find 3.2.0) everything seems find, no error messages. But when I get in there is no gapps. So if I go back and flash them Google Play Services crashes again and again. Can't even log in, I receive the "Have you logged in?" Message in my phone but in my tablet I get an error: Can't connect to Google Servers.

Also, there is no wallpaper nor Setupwizard. Only Calendar, Email, Settings, Webview Test and some other. Is this only because I usef TWRP 3.2.1? Where can I find 3.2.0? (Also used BeanGapps provided by you)
Factory Reset - Advanced in TWRP - Manually Wipe System - Data and Cache - Flash Rom - SuperSU SR5 v2.82 or Magisk 15.3 - REBOOT - Boot back into TWRP - Flash Gapps (I use Pico) Reboot and Setup - Works for me ?

Sent from my SM-G955W ??
 
  • Like
Reactions: ChipoTheDoggo

Csöndi

Member
Mar 6, 2017
12
4
Thanks for looking into this!

I have the latest twrp, ver 3.2.1
I did a manual wipe, checked all the boxes including internal storage.
I made sure that the file system is ext4 on sys, data and cache.
Installed the rom zip afer copying it on the internal
Rebooted to twrp.
Installed beans GApps, the one linked in op.
Rebooted to twrp
Installed Magisk 15.3
Rebooted to system.

In the initial setup the wifi had some problems, and now that you mention it, it did try to update something while in the initial setup, despite the fact that i chose "setup as new".
 

AndDiSa

Senior Member
Dec 2, 2009
3,586
4,769
Heidelberg
@Csöndi probably the best way would be to do the initial setup as @shaggyskunk wrote in the post before .... and one hint: let it settle down a bit before starting to use it. The system apps are *not* pre-compiled due to space issues on /system. Due to that they need to be compiled on the first start / after a dalvik-cache wipe and this may take a bit. Even if the start screen is shown compilation / optimization is continuing for a while ...
 

Na_

New member
Feb 11, 2018
1
0
ROM Problem

So, last night I finally got my tablet up and running and not lagging like nuts in the Wi-Fi. For some reason, I can't download any applications from the Google Play Store, the home and recent apps thing won't work, nor will the Performance Contol open. I have used the latest release grouper and gapps from the one in late 2017. Also, I already rooted my tablet a long time ago.
 

petrus764

Senior Member
Aug 28, 2012
450
208
Thanks for yet another great update to this ****ty little tablet. Great to see magisk hide support, now I can finally update netflix via play store. Good job as always!
 

OpenMinded

Senior Member
Oct 26, 2006
890
68
a few more notes:
- also had issues with gapps. pico didn't work, hung setup after factory reset - eventually worked the beans mini one after a factory reset
- why on earth is the camera apk missing? I attached the one from the factory system image after many google camera versions crashing or not installing
otherwise, nice ROM, thanks
 

Attachments

  • GoogleCamera.apk
    6.2 MB · Views: 40

ChipoTheDoggo

Member
Feb 28, 2017
12
3
Factory Reset - Advanced in TWRP - Manually Wipe System - Data and Cache - Flash Rom - SuperSU SR5 v2.82 or Magisk 15.3 - REBOOT - Boot back into TWRP - Flash Gapps (I use Pico) Reboot and Setup - Works for me

Sent from my SM-G955W

I did exactly this. Still doesn't work. Really weird, first time I have this kind of issues. I'll download everything again. Maybe something went wrong during download process.

a few more notes:
- also had issues with gapps. pico didn't work, hung setup after factory reset - eventually worked the beans mini one after a factory reset
- why on earth is the camera apk missing? I attached the one from the factory system image after many google camera versions crashing or not installing
otherwise, nice ROM, thanks

Every Nexus 7 ROM I used had Camera missing. I always install Camera M from Google Play. Works flawlessly
 
Last edited:

shaggyskunk

Recognized Contributor
Nov 22, 2011
19,502
15,852
IDK
I did exactly this. Still doesn't work. Really weird, first time I have this kind of issues. I'll download everything again. Maybe something went wrong during download process.
Yeah it's also a good idea to check the size of the zips that you download - I know that I've occasionally had an issue when I didn't check and for some reason the zip download was incomplete ??

Sent from my SM-G955W ??
 

AndDiSa

Senior Member
Dec 2, 2009
3,586
4,769
Heidelberg
One question to the guys who have issues with installation: do you have a Grouper or a Tilapia? It might be that on Tilapia there is probably less space available for the Gapps and due to that you are getting the issues. One solution might be to try Magisk-Systemless Gapps ...
 

DumF0rGaming

Translator
Jan 8, 2013
808
671
Dubai
One question to the guys who have issues with installation: do you have a Grouper or a Tilapia? It might be that on Tilapia there is probably less space available for the Gapps and due to that you are getting the issues. One solution might be to try Magisk-Systemless Gapps ...
Jan build had 204Mb left on /system partition after Pico build. I'm highly recommend it for this tablet to avoid resource-wasting overheads
 

AndDiSa

Senior Member
Dec 2, 2009
3,586
4,769
Heidelberg
@OpenMinded is this the camera app from Lollipop? This probably might work, but the AOSP Camera Apps from Marshmallow / Nougat will not as Grouper / Tilapia have a front camera only and this is not supported. As I am building from the sources only, I do not have installed the camera app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    New Versions 7.1.2 (2021-11) are available

    Hi guys, a new release but only a few changes, i.e. the security paches for November 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-20211105.eng.ds.zip (MD5: d8dfedbca14005dce954931d1953e80a)
    aosp_tilapia-7.1.2-ota-20211105.eng.ds.zip (MD5: b5d1f12db835d236c0b736da3bcd79ed)

    as well as the MicroG-Patched images:
    aosp_grouper-7.1.2-mg-ota-20211105.eng.ds.zip (MD5: 4c0ef1ec4507940dda406d4fe83965b0)
    aosp_tilapia-7.1.2-mg-ota-20211105.eng.ds.zip (MD5: cb7d4c64a4c9d48b901f92027abc7c2e)

    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!
    3
    @Luckz27 you need to store it as it is on /sdcard no need to modify the zip. During the installation the installer checks different directories for those gapps-config-* files.
    2
    Hi,
    How is the microG version installed? Just one file and all, or do I need extra steps? Like installing the AuroraStore?
    Quite simple. Just flash the microG version provided in post #2. Then head over to the microG download section and install the corresponding apps from there. From my point of view it makes sense to install all provided apps beside Fake Store (you can install Aurora Store directly from F-Droid, for example). Reboot your device afterwards, then open microG Settings app and set it up. That's it.

    EDIT: by adding the microG custom repo to your F-Droid sources, you can get automatic microG updates via F-Droid.
    2
    @ev-olution_net one additional question: in which country you are living? It came into my mind that in Germany all network operators have shut down their 3G networks (UMTS) in favour of 5G. So if 2G is working but 3G not it's probably due to the fact that there is no 3G available ...
    1
    Grouper MicroG installed and working. (y)

    Dirty flashed and re-rooted.
  • 316
    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.5.2-9 for Grouper resp. TWRP 3.5.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 20211006) (md5 :b57ddee37bad03f59e2eff562076b027)
      or
    5. Install 7.1.2 Tilapia OTA-Package (Build 20211006) (md5: 65ea4ea189a41ec7792fb13a876157da)
    6. Reboot into recovery
    7. 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 (V23.0) which can be flashed by TWRP, too. Probably you'll need to rename Magisk-v23.0.apk to Magisk-v23.0.zip

    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 20211006) (md5 :b57ddee37bad03f59e2eff562076b027)
        or
      • Install 7.1.2 Tilapia OTA-Package (Build 20211006) (md5: 65ea4ea189a41ec7792fb13a876157da)
      • 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
    • 20211006(AOSP 7.1.2)
      • I applied the security fixes for Otctober 2021
      • I applied / backported a few CVE-kernel patches

    Latest version with MicroG-patch applied to them:
    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)


    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-03-05
    68
    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!