yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] wrkerr:
Does this mean this ROM supports microG natively, or has [MENTION=4336485]rottenwheel[/MENTION] done some manual legwork to get it working?
[Nexus 7 Android Development] apocalypsenzn:
I've a problem with USB Cable.

When I connect it it says to "Charging" ok, but when I change it to File transfer it not apears on my computer. :'(

**Crying in portuguese**
[Nexus 7 Android Development] IsmaelFaye:
Failure when building AOSP 7.1.2 for Nexus 7

Hi,

First of all, thanks for this great subject. It very useful for me.

I tried to rebuild the AOSP 7.1.2 for my Nexus 7 using your instructions but I am facing some issues when I run "make -j4 otapackage" command.

============================================

Checking build tools versions...

************************************************************

You are attempting to build with an unsupported JDK.

You use OpenJDK but only Sun/Oracle JDK is supported.

I installed "openjdk version "1.8.0_151"". Could you please tell me which one you used to compile the AOSP ?

Thank you in advance.

Best regards.

Ismael FAYE
[Nexus 7 Android Development] AndDiSa:
[MENTION=8963815]IsmaelFaye[/MENTION] either you need to install Sun/Oracle Java or to modify the build.mk There's a test for the Java version but both versions should be fine for building. I for myself use the Sun/Oracle version.
[Nexus 7 Android Development] DumF0rGaming:
MTP is broken atm. It works flawlessly in TWRP tho :p
[Nexus 7 Android Development] apocalypsenzn:
ow... i solved the problem

I go to Device Manager and deleted the Android Device Driver. I pluged my tilapia again and SHAZAM! There's.
[Nexus 7 Android Development] uphall:
Clean Install.

Did a clean install as per instructions on my Grouper, coming from [MENTION=5293805]GtrCraft[/MENTION]s Pure Nexus MM, everything working fine.

Installed Magisk for root and tweaks. Downloaded Unified adblock hosts from the Magisk repository. All going well.

After playing with the rom for a day or so, I decided that I really needed a few more tweaks. Downloaded Xposed sdk25 (arm) from Magisk repository and Xposed installer apk from robov here on xda. Followed the installation instructions and everything up and running well. Installed Gravity Box module and now have enough tweaks to keep me happy.

Finally, installed NoLed app from play store just for the charging indication,(shows charge status on screen off).

One happy chappy with an old device running Android Nougat. Fantastic!!!

Thank you [MENTION=486859]AnDiSa[/MENTION] and the rest of the team.
[Nexus 7 Android Development] kam1kazze:
Finally I have solved the issue, and is NOT a rom related bug :)

Simply flash the latest bootloader (4.23) and the issue is gone...sometimes still happens, but it's ok!

Thanks again for your assistance!
[Nexus 7 Android Development] lotte67890:
How can one see which bootloader is installed and how to update it?

Thx

L
[Nexus 7 Android Development] test03:
Hi [MENTION=2188693]AnDiSa[/MENTION]

I installed the 7.1.2 Grouper OTA-Package (Build 20180209) following the steps listed in your first post.

I also installed the Google Apps (tried with both OpenGapps and BeansGapps (linked from the first post)) but I get the same result: Force Close after the first Gapps initialization screen, no matter what I do.

I also tried to switch to F2FS (system and data) but no luck.

Any idea?

Thanks for your hard work.
[Nexus 7 Android Development] montamer:
Hi [MENTION=2188693]AndDiSa[/MENTION]

I am using nexus 7 in car for navigation and music and I am trying to enable hibernate for faster bootup.

I have added the following option to my build prop, but it doesn't seem to help. Does the tegra 3 support hibernate mode? Any idea?

ro.config.hw_quickpoweron=true
[Nexus 7 Android Development] kam1kazze:
Restart in fastboot mode and type "fastboot oem getvar all" with n7 connected with your pc
[Nexus 7 Android Development] lotte67890:
Ah! Now I remember....
[Nexus 7 Android Development] JJworx:
MTP-Host / Reboot during installation ?

Many thanks, works GREAT.

That said, I've got the issue with crashing MTP-Host and crashing Play Services. Any final Ideas in these 230 pages on that?

Also a question: Installation rules say to Reboot into Recovery between flashing AOSP and Gapps. I never did that, I just queued all zips in TWRP. Is that a/the problem, and WHY do one need to reboot in between?
[Nexus 7 Android Development] goran_s:
I had the same problem when I ignored that reboot step. Try to follow instructions. :)
[Nexus 7 Android Development] JJworx:
But that still leaves the question as to why. TWRP is running in the recovery partition. From recovery the AOSP...img is flashed to the system partition. When rebooting into recovery, system was never touched. So the situation should be unchanged after reboot.
[Nexus 7 Android Development] adstraylight:
TWRP doesn't explicitly unmount the system partition, rebooting resets the mount status of the partition. What I do, rather than reboot, is to go into the mount section of TWRP, and unchecked the system partition, as this causes TWRP to issue an unmount command.

At least this is what I've deduced, and it works for me..
[Nexus 7 Android Development] Jeahaha:
Thanks for this rom, I downloaded the newest version but fugured out that otg charge was removed, do you plan to re-incarnage the otg charge feature as I would like to run the newes version of your rom.

Greets

Timo
[Nexus 7 Android Development] AndDiSa:
[MENTION=9001914]Jeahaha[/MENTION] OTG-charging was only removed in the October/November release currently it's back in, but you need to enable it by yourself as it it not enabled by default.
[Nexus 7 Android Development] Jeahaha:
[MENTION=2188693]AndDiSa[/MENTION] oh thanks man! I'm new to all this stuff, could you explain me how to do it?
[Nexus 7 Android Development] AndDiSa:
[MENTION=9001914]Jeahaha[/MENTION] you could try to do a

echo 1 > /sys/kernel/usbhost/usbhost_fastcharge_in_host_mode

from the terminal or use an application like e.g. kernel adiutor to manage the settings.
[Nexus 7 Android Development] Jeahaha:
Well, this worked out, is there any way to control that the tablet will charge while it is in usb host mode or say to disable host mode when the charger is turned off an enable it again when the tablet will be charged again?

danke dir ;)
[Nexus 7 Android Development] kuro01x:
Hi!

I use this rom and i think that maybe someone there could help me.

I connect Wacom CTL-460 (VID: 0x056A PID: 0x00D4) graphic tablet via OTG. It works, pressure sensitivity and stylus buttons is ok.

But it looks like wacom is not mapped to the screen, it means that when Nexus is in portrait mode, wacom is in landscape, when i rotate Nexus to landscape i can use only 2/3 of the screen. :(

Maybe there is any way to make it work correctly?
[Nexus 7 Android Development] JJworx:
Bug: Display Brightness / Patch level update

Hi, and sorry, nothing on OTG Wacom from me.

Instead I found a bug (?):

- Automatic Brightness doesn't use the full range any more, just part of it. Which part depends on the manual setting.

- The manual setting slider offers a too large range. One can set it to such low values that the backlight turns off and still have some range left.

Tested in combination with Power Control Lite, perhaps someone can test without it.

Also I'm interested in patch level 2018-03-01. I'm aware that this is AndDiSa's private work supplied to all of us without any recompensation. I wouldn't have 2018-02-05 or anything near without him. I know it will come sooner or later. I'm just so curious about it... sorry!
[Nexus 7 Android Development] NOW2XDA:
I would like to try this ROM but the Setup Wizard (Einrichtungsassistent) doesn't work corectly. It stops in any case and I can't pass this step.

I followed the guide step by step, but I used Pico Gapps, because the recommended ones doesn't download (and when it has a speed of 20KB per Second).
[Nexus 7 Android Development] AndDiSa:
[MENTION=8190003]NOW2XDA[/MENTION] I had some issues with the Gapps, too, lately. pico gapps work, but you need to enable WiFi manualy, e.g.

adb shell -c 'svc wifi enable'

after that it should work. If you run into a bootloop, install the ROM, but no gapps. Let the ROM boot up, restart into recovery and now flash gapps in a second step.

I have the impression, that compiling the system libs sometimes consumes too much memory and so some system processes are being killed which then leads to a bootloop.

I'll give more detailed instructions in the OP when I will release the next version of the ROM.
[Nexus 7 Android Development] hailahaiela:
I find op's gapps works without issues.

Installing opengapps (Pico/nano ) package causes setup wizard crash.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5688617]hailahaiela[/MENTION] did you try with the latest version, too? For me everything was working fine as long as I was doing only an update of the ROM. Unfortunately I did a forced reboot and ran into the problem that my /data filesystem was corrupt which led to issues with some settings. So I decided to wipe and to re-install from scatch and exactly then I ran into the problem. Using Beans-Gapps from the OP I was able to configure my WiFi but then it remained on the "checking ..." screen. I suppose it was a similar situation as [MENTION=8800954]danja95[/MENTION] and [MENTION=3530008]ufa[/MENTION] were running into.
[Nexus 7 Android Development] AndDiSa:
deleted (double post)
[Nexus 7 Android Development] hailahaiela:
Yes,i too faced this when clean flashing.updating worked flawlessly.
[Nexus 7 Android Development] :
Dear Brother

I look forward to waiting for latest security fixes.

---------- Post added at 04:08 PM ---------- Previous post was at 04:04 PM ----------

Is Grouper Oreo update impossible?
[Nexus 7 Android Development] JJworx:
As nobody answered at all, I repeat my bug report:
[Nexus 7 Android Development] AndDiSa:
[MENTION=5880039]JJworx[/MENTION] soory, I do not have any issues with brightness settings ... beside that if not set to the lowest value it's generally too bright ;)
[Nexus 7 Android Development] petrus764:
Agreed, but it's even better (darker) with adaptive brightness enabled.
[Nexus 7 Android Development] SGH-i200:
USBHost Fastcharging in Host Mode

Activate USBHost Fastcharging in Host Mode:

You can use an automation app like Tasker to disable Host Mode if the charger is turned of. But you need to have the right echo command for disabling the USB Host Mode. For a start look into the /sys/kernel/usbhost/ folder.
[Nexus 7 Android Development] spark001uk:
OK so I've flashed Feb2018 build over my Dec2017 one, and it seems this one didn't erase anything, all my apps etc stayed - which I'm not surprised by, because it's still NZH54D after all.

However, after following instructions, I have now ended up with both SuperSU and Magisk installed. Which should I keep? The only thing currently using root so far as I know, is Adaway.
[Nexus 7 Android Development] AndDiSa:
[MENTION=2288749]spark001uk[/MENTION] go with Magisk! I've switched to Magisk half a year ago and it's working perfect for me. Even SafetyNet-Check is passing ...
[Nexus 7 Android Development] spark001uk:
OK thanks. So do I just simply uninstall supersu and reboot then? And then open magisk? Or is there more to it?
[Nexus 7 Android Development] AndDiSa:
Most likely it's sufficient ... if uninstallation of SuperSU works, I didn't try yet.
[Nexus 7 Android Development] spark001uk:
OK so turns out I wrongly assumed "uninstalling SuperSU" meant just uninstalling the app. I did that, then installed Magisk, and after updating itself it started repeatedly asking to install a version that it had already installed! So I did that, and then it wasn't working properly at all. I ended up having to do a wipe and reflash in order to restore the boot image back to stock. It's OK though, I kind of wanted to clean it anyway.

On reading the Magisk thread, it appears "uninstalling" SuperSU was actually meant to imply opening SuperSU and performing a full unroot first, rather than merely uninstalling the app!
[Nexus 7 Android Development] laugeek57:
March update ?
[Nexus 7 Android Development] DumF0rGaming:
I hope it will have as much reduced I/O overhead stuff enabled by default, my tablet hangs on for a few moments quite frequently on Jan build
[Nexus 7 Android Development] rescue_toaster:
I ran into the same problem when using the open gapps-pico. The solution has been posted here and at various other places on the internets, though I tried a few of other solutions that didn't work. I'll repost what I think is likely the easiest solution so it shows up as a more recent search result in this thread, as I did a search when I encountered the problem, but then spent a bit looking through the results for the solution.

It looks like for whatever reason that wifi is not enabled after a clean install. After clicking on "restart app" (or similar) that appears when you get the "Setup wizard has stopped" you can quickly scroll down from the top for your notifications and then get into the settings to enable wifi. It took me a few tries to get into it. Once the wifi is enabled the setup wizard will work.
[Nexus 7 Android Development] sziggins:
Hi,

First of all I would like to thank [MENTION=2188693]AndDiSa[/MENTION] for his work on the latest Build 2018020.

Then, I realized that I wasn't happy with the lags because of Google Play Store and Services and the effort to have some privacy from them.

Finally, inspired from a devoted contributor of Asus TF700 [MENTION=4968172]berndblb[/MENTION]'s post I decide to do the same on my N7 Grouper.

So, I used a Titanium Backup of every app+data I had to my laptop then reboot into mentioned recovery, format data, wiped everything and changed data partition to f2fs then installed Grouper (Build 2018020) and Magisk v16.0. After reboot I just downloaded the Titanium Backup from APKMirror but someone can find its own one from /system/app or /data/app before format (...) but not sure about that and restored the saved Titanium apps+data. The result is amazing as I have almost no lag at all but ok I am not using so many apps.

For updating the apps I use from XDA labs the APKUpdater. There is always a risk of finding updates from sites other than Google Play Store but I can live with it. Some apps might want to have the Google Play Services to work on the other hand I think there is always an alternative from fdroid. Another benefit I have (ok I could do it even with GAPPS installed) is that I can install apps that Google Play Store doesn't allow it as N7 is not a compatible device for many of them. For example Skype Lite is one of them and wants Services too as it is complaining about that but is working flawlessly!

That's it, sorry for the long post and cheers!

ps

To install an app as there isn't a file browser I used settings->storage->explore.
[Nexus 7 Android Development] Ahkah:
You might consider using Yalp from F-Droid instead of the Google Play Services.
[Nexus 7 Android Development] bovirus:
[MENTION=2188693]AndDiSa[/MENTION]

The link about TWRP 3.2.0 in first is wrong. Please use theese:

Asus Wifi 2012 (grouper) - TWRP info

Asus Wifi 2012 (grouper) - TWRP v. 3.2.1.0
[Nexus 7 Android Development] Thvmh:
I have constant resets of the system on the latest version. Already tried wiping cache and reflashing.
[Nexus 7 Android Development] AndDiSa:
[MENTION=4206959]Thvmh[/MENTION] resets? What do you mean? Can you provide with a logact?
[Nexus 7 Android Development] Thvmh:
I'm just using the tablet and than out of the blue the bootscreen pops up. It boots very quick though. ADB stops when the device is back on its lockscreen.

Crash happend arround 13:54 after opening the aliexpress app.

B.T.W. I can't set google now as the launcher for some reasone too.
[Nexus 7 Android Development] Thvmh:
But the weird part is. This time it is aliexpress. Before it was the google play store... Or the settings menu
[Nexus 7 Android Development] SGH-i200:
Reduced I/O overhead?

Which 'I/O overhead stuff' do you mean? You should upgrade to 20180209 build:
[Nexus 7 Android Development] estradz21:
still having a problem waking this device up i have to restart the tablet again for it to work but as soon as the screen turned off on stand by cant wake it up
[Nexus 7 Android Development] adstraylight:
I think this is a problem in the system ui of aosp, as a similar thing happens with the UA builds for grpuper. I've never had to force a restart, but it can often take up to 20s or so to wake. My guess is that it is related to the fact that it often fails to register the charger and also changes in wifi connection, whereas these are reflected properly in the settings.

It's like it periodically goes to sleep and stops listening to other processes and input events. I've trie taking it out of doze, but to no avail. There must be some other factor at work.
[Nexus 7 Android Development] brewer75:
20180209 Build Just Doesn't Like My Grouper

I have been using this rom for quite a while and never had problems with new builds, however, I am having problems using the 20180209 build with Magisk. I've tried clean flashing as well as dirty "update" flashing this build and although everything flashes OK (open Gapps or Beans Gapps), once it boots, after a short time, it will go back to the "Android" screen repeatedly and it is very difficult, or impossible to wake once the screen goes off. I've given the tablet plenty of time to settle after flashing and the problem still occurs. I decided to go back the the previous build (20180112) and it flashed and functions perfectly so I wonder if there is something about the kernel revisions my Grouper just doesn't like?
[Nexus 7 Android Development] BLewis4050:
Will all custom ROMS, including this one be affected by the new rule for accessing Google Apps?

ref: www.xda-developers.com/google-blocks-gapps-uncertified-devices-custom-rom-whitelist/
[Nexus 7 Android Development] apocalypsenzn:
Plans for Oreo?
[Nexus 7 Android Development] 239:
Plans for using search?
[Nexus 7 Android Development] AndDiSa:
[MENTION=5825218]BLewis4050[/MENTION] yesterday I wiped completely and installed the ROM freshly on my device. Using the steps I described in the OP my play store is still certified and I didn't need to do any other steps. The kernel was built newly yesterday but the Android build number was still from 2018-03-09. Not sure what happens when you install newer builds. But if they are really checking only the build date of the ROM you can easily circumvent this check: install a ROM wth build date before 2018-03-15, do the setup with this version and then apply an update on top of it. As long as you do not need to wipe data you are fine.
[Nexus 7 Android Development] AndDiSa:
[MENTION=637263]bovirus[/MENTION] I've updated the links in the OP. Thanks for your hint.
[Nexus 7 Android Development] AndDiSa:
I've already updated setup / installation instructions in the OP,but I think I'll skip the March update release as there was not really much which was fixed and as the April fixes are most likely to arrive within the next days I'll wait until I've included them, too.
[Nexus 7 Android Development] brewer75:
UPDATE

I noticed AndDiSa recently made this recommendation on the first page of this post..."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." I decided to try this revised flashing procedure so I uninstalled Magisk and did a clean install of the 20180209 build (I also flashed Beans gapps). Everything went smoothly, no problems with setup, and only an occasional return to the "Android" screen initially after everything was flashed and stabilizing. So far no problems and I'm happy I'm able to use the current build. Thanks go to AndDiSa on this!
[Nexus 7 Android Development] federico.guerrazzi:
[emoji23]

Inviato dal mio ASUS_Z00A utilizzando Tapatalk
[Nexus 7 Android Development] starfarer:
is it normal that this setting reverts to default value on every reboot? Any way to make the changes permanent and survive reboots? Also can't see anything related on kernel auditor.
[Nexus 7 Android Development] starfarer:
Managed to issue echo commands from performance control app at boot. Not sure if to do with f2fs (data+cache) but getting fc on performance control app and MTP host.
[Nexus 7 Android Development] Ahkah:
It seems that you mixed up US date format with CW date format. I suggest using ISO instead: 2018-03-09 and 2018-03-15. :D
[Nexus 7 Android Development] AndDiSa:
[MENTION=323826]starfarer[/MENTION] PerformanceControl app needs root access otherwise it force closes.
[Nexus 7 Android Development] starfarer:
I've magisk and it was installed after the first reboot of the ROM. I'll check later to see if I've somehow messed up magisk settings.

The app do work but every now and then gets FC msg. It's as if magisk not granting or delaying root access.
[Nexus 7 Android Development] starfarer:
I'm definitely having problem on performance control app. When opening for first root check, it fails despite seeing root access. Same thing if I install busybox module for magisk. The app hangs on using busybox from playstore.
[Nexus 7 Android Development] adam1491491:
need help

I tried to falsh the ROM into NEXUS 7 2012 several times without success. Now it is stuck at bootloader and can not reboot. There are very small words on left upper corner " Booting Failed". How can I fix it?
[Nexus 7 Android Development] AndDiSa:
Follow the instructions from the OP and especially check whether you have the correct bootloader version and the correct TWRP version installed.
[Nexus 7 Android Development] adam1491491:
"Follow the instructions from the OP and especially check whether you have the correct bootloader version and the correct TWRP version installed."

I am sure TWRP is right version because it worked. But after I wiped cache memory, it can not reboot in any way. It can only power off or bootloader. It seems like I accidentally delete some system files so it can't start and get into recovery mode.
[Nexus 7 Android Development] AndDiSa:
[MENTION=7360339]adam1491491[/MENTION] fastboot flash recovery image again and then start from the beginning
[Nexus 7 Android Development] ra_van:
It is not a problem anymore:

Google removes GApps 100 device limit for uncertified devices, fixes device registration page
[Nexus 7 Android Development] AndDiSa:
ROM with April security fixes is available

I've just uploaded the latest version of the ROM. Beside March and April security fixes, I've tried to make the ROM a bit more snappy and to save some energy, too. You can directly download the Grouper and Tilapia version from here or the OP.
[Nexus 7 Android Development] dark0shark:
Just installed it and transitioned in a second recovery run from SuperSU to Magisk. ROM runs indeed stable and smooth, and audio output thru docking station is fine, too. Thanks a lot!
[Nexus 7 Android Development] barabangel:
With the latest version Performance control app disappeared....?
[Nexus 7 Android Development] AndDiSa:
[MENTION=1485773]barabangel[/MENTION] yes, I removed it for two reasons:

- it has some issues with magisk, e.g. even with root access applied you are getting some error messages (it complains mostly about missing busybox)

- we gain a bit of free space on /system which might help to install Gapps more easily (especially in case of Tilapia)

If there is request, I can provide the apk as a separate zip ...
[Nexus 7 Android Development] tpuserhp:
​

I wiped system, data , and caches before flashing rom, open gapps, and magisk v16.3. I installed youtube from play store. When I played a video from youtube, youtube crashed and system rebooted. The same with dirty flash. Hope you can duplicate this issue too. Thanks.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5333182]tpuserhp[/MENTION] would be great if you can provide with a logcat.
[Nexus 7 Android Development] tpuserhp:
Logcat attached below. Thanks.

You will see some permission errors. But I have fixed that. The crash was Fatal signal 11 with stack trace info.