• 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

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
 

AndDiSa

Senior Member
Dec 2, 2009
3,585
4,767
Heidelberg
@danja95 probably you should follow the installation instructions from the OP and if you have still problems a detailed issue description and a logcat would be appreciated
 
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

which build do you have installed?
I'm currently on Tilapia Build 20171208 and I'm facing none of the mentioned bugs.
I used open gapps pico, but flashed them after the initial configuration of the ROM.
 

AndDiSa

Senior Member
Dec 2, 2009
3,585
4,767
Heidelberg
i the attachment you can find my logfile.

i hope someone can help me.

regards daniel

I am wondering how you can even open the device. Can you please describe the steps you have done when installing the ROM? The log is full of errors and exceptions party related to encryption (applications using an outdated mechanism to derive the keys) but also related to usbmanager and mtp service.

I suggest you to set up the device newly following the installation instructions in the OP. Do a full wipe and do *not* restore any app / data using e.g. Titanium or something else.

Sent from my Nexus 7 using XDA Labs
 

danja95

Member
Dec 21, 2017
19
1
I am wondering how you can even open the device. Can you please describe the steps you have done when installing the ROM? The log is full of errors and exceptions party related to encryption (applications using an outdated mechanism to derive the keys) but also related to usbmanager and mtp service.

I suggest you to set up the device newly following the installation instructions in the OP. Do a full wipe and do *not* restore any app / data using e.g. Titanium or something else.

Sent from my Nexus 7 using XDA Labs

My Steps:
1. Boot into Recovery
2. Advanced Wipe -> Check everything
3. Select my OTG Device (where i have my ROMs)
4. Install the AOSP ROM
5. Reboot Again to Recovery in Recovery
6. Install BeansGAPPS
7. Install SuperSU latest
8. Wipe Cache/Dalvik
9. Reboot in System
10. Minimal Setup (WLAN, Google Login, Kernel Auditor App)
11. Logcat to SDCARD
12. Logfile zipped and uploaded here


btw. i'm using a USB HUB on OTP with: USB Flashdrive, Arduino Leonardo (act as HID Consumer) and a Huawei E1550 (3G)
 
Last edited:

AndDiSa

Senior Member
Dec 2, 2009
3,585
4,767
Heidelberg
@danja95 that's strange because in the log I saw initialization of several laucher applications. From where do they come if they are not installed? Did you wipe data, too? Otherwise you will keep the apps previously installed. Another thing which might cause the issues: if you install SuperSU not in systemless mode you run into issues. Try to skip the SuperSU installation or use Magisk 15.3 which always installs systemless and provides SuperSU functionality, too.

The USB-Hub could cause the issues with mtp and usb so probably it would be better to remove the hub , at least until everything is set up correctly.
 

danja95

Member
Dec 21, 2017
19
1
@danja95 that's strange because in the log I saw initialization of several laucher applications. From where do they come if they are not installed? Did you wipe data, too? Otherwise you will keep the apps previously installed. Another thing which might cause the issues: if you install SuperSU not in systemless mode you run into issues. Try to skip the SuperSU installation or use Magisk 15.3 which always installs systemless and provides SuperSU functionality, too.

The USB-Hub could cause the issues with mtp and usb so probably it would be better to remove the hub , at least until everything is set up correctly.

I really sure i wipe everything. To make me sure i always wipe in advanced mode.

SuperSU must be systemless. I will try with Magisk. But back in few days i tried allready magisk, with same results.

My USB Hub is the main feature of my Build. In "nAOSProm-7.1.1-tilapia-b05" i have no issues with the hub, but another problem.

but ok. at GMT+1 6pm i will try it in this way: Only ROM and BeansGAPPS and i will provide you a log again.
 

Ahkah

Senior Member
Jun 24, 2014
294
102
landmarks, watermarks[,] and benchmarks

Thank you very much for Your latest ROM, dear Andisa. First day. Antutu showed 21871 points. 3D 367, UX-9635, CPU-9239, RAM-2630. Tilapia Nexus 3G 2012

I am sorry, but without any other values for comparison these numbers are as interesting as the famous rice bag in China ;). What about the original OSs for this device (Android 4.0 / 4.1 / 4.4 / 5.1)? I could only find a specimen with hacked and modified Android 4.1 which showed just about 12000, but the 3D test had failed. Memory and CPU were a little bit faster than Android 7, but UX was about half of it. But I think that hacked OS version might be the culprit.

By the way: Antutu is an extremely "un-nice" app that starts automatically (cannot be prohibited in Android 7, for whatever reason?!?) and constantly shows a notification. There is only one solution: immediately uninstall.
 
Last edited:
  • Like
Reactions: melkozerov

SGH-i200

Senior Member
Aug 31, 2009
1,075
249
Landscape orientation in lockscreen and launcher?

- Landscape mode if tablet is in 16:9 position, launcher will not rotate.

I have installed the APEX Launcher to get the launcher to rotate to landscape.

But the lock screen is not rotating. How can I change that?
 
Last edited:

AndDiSa

Senior Member
Dec 2, 2009
3,585
4,767
Heidelberg
@danja95 I tried to reproduce your issue on my device but I was not able. Can you provide with a logcat containing this situation?

Sent from my Nexus 7 using XDA Labs
 

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
    @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
    @momentoid no, no special preconfiguration regarding settings ... but I just checked and it's the same on my device even if I was able to select to store backups on Google Drive ... :unsure:
    Not sure whether it's related to the fact, that the device is also showing "not certified" ... probably Google is offering the backup only to certified devices ?!
    1
    @phoenix_wnd thank you very much for reporting the issue. I just pushed a corrected version of the manifest.
    Regarding the issue with the sepolicy I cannot reproduce on my side ... it's compiling without any issues, even a clean build 🤔
  • 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!