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

Search This thread

shaggyskunk

Recognized Contributor
Nov 22, 2011
19,731
16,044
IDK
Yes. Guess TWRP just didn't recognize the installed image as the new OS. Restart was as expected, first bootloader, then android logo, first start took a while, no reboot loop or something like that.
Ok - did you Flash Gapps at the same time - or you rebooted just the Rom first and back into recovery and flash Gapps? (that's what I've had to do the last couple of builds). Very strange regardless... I've never seen this before.

Well I also got a recovery log so I'll let bigbiff know
Thanks again!

Sent From My SM-N910W8 ??
 
Last edited:

zurien

Member
Sep 12, 2012
35
17
Nice to see there is this effort for our nexus devices, thanks for the awesome work from your neighbourhood (MA) :)

I installed this ROM on a very sloppy tilapia device and it feels really snappy again with a great user experience. It's almost like a new device now.

I had a problem with your dynamic mini-gapps package and the latest build. Had a lot of google play service crashes. This was way better with the open-gapps-pico package. Afterwards I re-installed stuff like gmail manually, so it was ok for me to just have the pico version.

But unfortunately a lot of applications crash during usage. For example the kicker app closes itself after 2 or 3 navigation steps, Google drive crashes while opening the menu and so on. Sometimes i got messages like "MTP-Host is not working anymore" or "Pico TTS crashed". Does anyone else have this problems?

Getting a lot of application crashes here as well, like Google+ crashes constantly while scrolling through posts.
 

AndDiSa

Senior Member
Dec 2, 2009
3,705
5,078
Heidelberg
HTC Desire
Nexus 7
It's already for years that I didn't use TB ... there is almost no need for it. When updating to a newer version of the ROM the data partition is not touched and all apps / data remain installed. Probably when switching between differen ROMs it may be useful, but after restoring you often have FCs or wrong settings ... :(
 
  • Like
Reactions: gerardo87 and 239

shaggyskunk

Recognized Contributor
Nov 22, 2011
19,731
16,044
IDK
It's already for years that I didn't use TB ... there is almost no need for it. When updating to a newer version of the ROM the data partition is not touched and all apps / data remain installed. Probably when switching between differen ROMs it may be useful, but after restoring you often have FCs or wrong settings ... :(
Yes - However when I Flash a Rom - I almost always: Factory Reset - Advanced in TWRP 3.0.2-0 - Manually Wipe System - Data and Caches - Flash Rom and Gapps - Flash SuperSU - Reboot and set up.
For me using TB to restore USER apps ONLY is very useful.

Sent From My SM-N910W8 ??
 

AndDiSa

Senior Member
Dec 2, 2009
3,705
5,078
Heidelberg
HTC Desire
Nexus 7
Yes - However when I Flash a Rom - I almost always: Factory Reset - Advanced in TWRP 3.0.2-0 - Manually Wipe System - Data and Caches - Flash Rom and Gapps - Flash SuperSU - Reboot and set up.
For me using TB to restore USER apps ONLY is very useful.

Sent From My SM-N910W8

... if you renounce on factory reset and only wipe system / cache / dalvik-cache everything should work in the same way and you can skip the apps restore step :)
 

sephren

Member
Apr 10, 2015
5
2
I didn't restore anything and wiped caches etc, but i have those crashs nevertheless. Any idea how to improve the situation here? I'm totally clueless regarding those ROMs, but it seems like mem-free is too aggressive or something like that.

---------- Post added at 02:04 PM ---------- Previous post was at 01:54 PM ----------

Only if it is the same ROM. Switching ROMs without wiping data partition causes instability, such as FC's.
Oh, is wiping data partition not included in TWRPs default factory reset? Then this would explain all problems i see :D
 
Last edited:

Codster314

Senior Member
Nov 5, 2015
67
26
Vancouver, BC
Hi AndDiSa,
I am facing two issues, may be you could enlighten me on solving them.
1) wifi, connects and disconnects randomly.
On last update, have random wi-fi disconnect :(
Me as well, on latest Jan 5, 2017 build. I've seemed to have it on all the old Andriod 6/7 roms I tried as well for my Nexus 7 (grouper) - perhaps a kernel issue? It's very slight. And you can't tell it's happening all the time. But for example while playing "Clash of Clans" in a battle the wifi will disconnect and connect quickly, and then it will kick you from the Battle and say you lost connection. You will be connected right back (but kicked out of the battle). This happens almost every 2 or 3 battles.

Most apps just see the disconnect and reconnect and do not do anything, so you do not even realise wifi is connecting and disconnecting. It's only some "sensitive" apps you notice it where it'll kick you out of something cuz of the temporary internet disconnect. Like I said I only notice it on Clash of Clans, and then only notice it when I am in a battle on Clash of Clans (as the app is fine with intermittent internet/wifi in the "lobby" or other parts of the game). And of course Chrome and everything you do not even notice internet cutting for half a sec.

I believe people who think they do not have "wifi disconnect issues" are just people who do not realise it's happening as the apps they use are fine with intermittent internet (like web browsing or such).

I've had this for a while with my Andriod 6/7 roms, then I moved to SlimKat (4.4.4) for a couple months and there were no wifi problems. Then with all the positive reviews about 7.1.1 I thought I would try this to see if it was fixed... it's not though. Any ideas what I can do to fix it? or help I can give to solve it? It never happened with Andriod 5, I believe started happening later in Andriod 6, and all of the Andriod 7 roms I've tried.
 

AndDiSa

Senior Member
Dec 2, 2009
3,705
5,078
Heidelberg
HTC Desire
Nexus 7
I do see from time to time those re-connection issues, too, but I've currently no idea what might be the reason. Probably it's related to old binary drivers or firmware. On startup you can find some error messages regarding WiFi within the logs but nothing really to concern about. If I find some time, I'll try to have a deeper look at it.
 

spark001uk

Senior Member
Jan 14, 2010
705
154
Surrey, Untidy Kingdom
My issue and how I resolved it!

OK I thought I would share my experience to help anyone that may be running into a similar problem to mine, and how I fixed it.

I have a Wifi N7 (grouper) that updated itself to 5.1.1 (stock) a while back, and started running like a dog, so I thought time for a ROM.
I chose the 7.1.1 ROM from this thread as I was recommended it.

So, here's what I did first time round (which gave me problems):
- Using NRT, unlocked bootloader, and installed root/TWRP 3.0.2
- Placed 7.1.1 OTA, and dynamic gapps, onto internal storage
- Rebooted into TWRP, advanced wipe, wiped everything except internal storage.
- Installed the 7.1.1 OTA, then wiped Dalvik.
- I then rebooted and let it boot fully into android. THIS is where the problems started.
It booted straight to a home screen with a clock and a few icons. It didn't go through new device setup. I then rebooted into TWRP, and installed dynamic gapps. When I rebooted back into android, I started repeatedly getting a "Google Play Services keeps stopping" message, and nothing I did seemed to help, I tried all sorts of suggestions, such as clearing play services data, allowing all its permissions etc, nothing worked. So I had to start again and reflash the ROM.

Here's the procedure I did which worked fine:
- Rebooted into TWRP, advanced wipe, wiped everything except internal storage.
- Installed the 7.1.1 OTA, then wiped Dalvik.
- Rebooted, but immediately held pwr/vol- to get straight back into TWRP. **DON'T let it boot normally into android.!**
- Installed the dynamic gapps
- Rebooted again, this time letting it boot normally (1st boot will take a while)
- On boot, it enters setup and you can just take it from there (I always setup as new device, to avoid any possible issues)

Only thing I'm facing now is it seems to be charging rather slowly, my USB tester stick is showing the charge rate settles out at 0.6A which is quite low, it used to charge at more like 1.5A before. However this is a known issue with this ROM, so I'm sure a fix will come along. However I can confirm that disconnecting/reconnecting the charger as stated does seem to increase it a bit.
Anyway aside from that it seems to be running really well, nice and smooth, a darn sight better than the official 5.1.1 update which messed it right up! I expect Google won't be doing any more for this model either.
Thanks very much for all the hard work AndDiSa.!

Hope this helps
.
 
Last edited:

Codster314

Senior Member
Nov 5, 2015
67
26
Vancouver, BC
I do see from time to time those re-connection issues, too, but I've currently no idea what might be the reason. Probably it's related to old binary drivers or firmware. On startup you can find some error messages regarding WiFi within the logs but nothing really to concern about. If I find some time, I'll try to have a deeper look at it.
Ah thanks. Yea like I said, it's not a huge issue as most people don't even notice it. But I must admit for a small number of Apps, it's a very annoying thing. hehe
 

pehlm

Senior Member
Aug 23, 2016
176
71
Sweden
Hi! Just installed this smooth ROM on my 2012 Nexus 7. It's like a new tablet, and I haven't used it for over two years. Thanks! :) Have some questions though. If we later have a new version of this ROM, is it secure to just dirty flash it over the current ROM or must I wipe system partition as mentioned in the OP? In the OP it is also talked about a updater script which must be updated, is this a delta updater or something? If I must wipe the system partition I must reflash Gapps and Supersu (systemless), right? I understand though that the apps and data is left, because it is no need to wipe Data upgrading to a newer version of this ROM. Grateful for some clarification on that. Thanks alot for the ROM!
 

AndDiSa

Senior Member
Dec 2, 2009
3,705
5,078
Heidelberg
HTC Desire
Nexus 7
Even if a dirty flash would be sufficient I would suggest to wipe /system in TRWP before flashing the ROM. It as no impact on the following steps as the updater script which is installing the ROM does not backup gapps, so you need to reflash gapps in either way. The same is valid for SuperSU, as it should be systemless and flashin a new boot partition is removing the SuperSU installation you need to reflash SuperSU, too. Nevertheless dirty flashing is fine, though I am suggesting to do the following steps for updating:
- boot into TWRP
- wipe system, cache, dalvik-cache
- install android-aosp-xxx.zip
- reboot into recovery
- flash gapps (and SuperSU)
- reboot system

If I am not flashing directly the img-files by using fastboot, I am doing it in to way described above and I never had issues.
 

pehlm

Senior Member
Aug 23, 2016
176
71
Sweden
Thank you for the quick answer! Then I understand. And either way I must reflash Gapps and Supersu. Also thanks for the quick steps to flash!
Pehlm
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    @ridley1000 yes, it's normal as f2fs doesn't provide any advantages for read only partitions. f2fs helps to leverage the usage of the flash memory when changing / overwriting data but as the system partition is read only there is no advantage.
  • 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!