yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] AndDiSa:
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 [MENTION=7211583]Charles IV[/MENTION] 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, ... ;)
[Nexus 7 Android Development] dark0shark:
I just flashed your aosp_grouper-7.1.2-ota-eng-20180209.ds.zip successfully together with SuperSU-v2.82-201705271822.zip (from http://www.supersu.com/download) and Open GApps pico edition. I had problems with audio playback in the Nexus 7 Docking station with previous ROM releases (see this post), but this ROM recognises the Dock for audio playback and runs seamlessly my music - great! Thanks a lot for your fantastic work [MENTION=2188693]AndDiSa[/MENTION].
[Nexus 7 Android Development] DragonTome:
Random 'DTMF' sounds [SOLVED]

Firstly (as I assumed though stated otherwise), the tones were not random. Using adb and logcat, I loosely correlated the tones, in time, with TSLocationManager. I started removing the location permission from some apps until the tones subsided, but they weren't yet completely gone. It took a while to tie this situation to an app, but I did. The sounds are/were debugging tones related to location requests as detailed here: https://github.com/transistorsoft/cordova-background-geolocation-lt/wiki/Debug-Sounds. An application (myAlerts) must use this frame work as it had a configuration file called TSLocationManager.xml in shared_prefs which included the debug parameter mentioned in the previous link/doc. Now, why on earth this application's configuration got corrupted, I can't say, but doing a data wipe on it and another app I suspected has, so far, left me tone free.
[Nexus 7 Android Development] tpuserhp:
[MENTION=2188693]AndDiSa[/MENTION]. The latest ROM is providing pretty good consistent performance. Great job. Thanks
[Nexus 7 Android Development] rwseehoffer:
Perfect ROM!

I just subscribed to the forums specifically to say 'Thank you' for this fantastic ROM. I was ready to throw my 2012 Nexus 7 in the trash--it was little more than a paperweight and I was tired of looking at it. Somehow I ran across the XDA thread about custom ROMs, and the more I read the more intrigued I became. I learned how to unlock the device, install TWRP, and tried RR 6.0.1 as my first ROM but it just did not seem to work well for me. Then I ran across this version and suddenly my old paperweight is as fast as my 1 year old Galaxy Tab. Over the last couple weeks I rooted the device with SuperSU, learned about Nandroid and Titanium backups, and GApps, and installed nearly 100 user apps. Other than a pretty significant battery drain (which is okay fine with me) it's been flawless. So happy to have a backup tablet after so many years. This weekend I will be doing both my brothers' tablets as well. I'm using a Lenovo Thinkpad T410 with Linux Mint 17.2 and had zero problems with the interface. Seriously--thank you!
[Nexus 7 Android Development] ChipoTheDoggo:
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)
[Nexus 7 Android Development] Csöndi:
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.
[Nexus 7 Android Development] AndDiSa:
[MENTION=8119037]Csöndi[/MENTION] 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
[Nexus 7 Android Development] Csöndi:
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!
[Nexus 7 Android Development] abhifx:
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
[Nexus 7 Android Development] Csöndi:
[MENTION=2188693]AndDiSa[/MENTION]

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.
[Nexus 7 Android Development] abhifx:
Also testing sdcardfs, seems ok till now
[Nexus 7 Android Development] OpenMinded:
thanks so much for this awesome rom, best one out there and still being update. Very much appreciated!
[Nexus 7 Android Development] AndDiSa:
[MENTION=8119037]Csöndi[/MENTION] 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:

...
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.
[Nexus 7 Android Development] shaggyskunk:
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 ??
[Nexus 7 Android Development] Csöndi:
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".
[Nexus 7 Android Development] AndDiSa:
[MENTION=8119037]Csöndi[/MENTION] probably the best way would be to do the initial setup as [MENTION=4351374]shaggyskunk[/MENTION] 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 ...
[Nexus 7 Android Development] Na_:
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.
[Nexus 7 Android Development] petrus764:
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!
[Nexus 7 Android Development] AndDiSa:
[MENTION=8933689]Na_[/MENTION] please follow the the installation instructions described in the OP or here
[Nexus 7 Android Development] OpenMinded:
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
[Nexus 7 Android Development] ChipoTheDoggo:
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.

Every Nexus 7 ROM I used had Camera missing. I always install Camera M from Google Play. Works flawlessly
[Nexus 7 Android Development] shaggyskunk:
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 ??
[Nexus 7 Android Development] AndDiSa:
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 ...
[Nexus 7 Android Development] DumF0rGaming:
Jan build had 204Mb left on /system partition after Pico build. I'm highly recommend it for this tablet to avoid resource-wasting overheads
[Nexus 7 Android Development] AndDiSa:
[MENTION=353809]OpenMinded[/MENTION] 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
[Nexus 7 Android Development] OpenMinded:
Hi, yes it is. I also noticed some Camera app is already there in /system/app called Camera2.

I thought at first there was none and it seemed to work to install the apk, but it disappears after a reboot.

So questions are:

- why doesn't the Camera2.apk show up as an app?

- why does the GoogleCamera.apk from the 5.1.1 ROM disappear after a reboot?

I am guessing some init script does it but I couldn't find it. When I removed Camera2 and put the other in /system/app, it also didn't work.

It would be great if this can be fixed, otherwise this ROM is great! thanks
[Nexus 7 Android Development] AndDiSa:
[MENTION=353809]OpenMinded[/MENTION] thank you for the hint. Really speaking I didn't notice that there was still the Camera2 app included within the build, I thought I had already removed it. Most likely because Camera2 is more recent then the Camera app from Lolipop it's beeing ignored even when installed. In the next builds I'll remove it, so probably we will even gain some additional space on /system ...
[Nexus 7 Android Development] OpenMinded:
Hi, you're welcome. I think that app also works once properly registered, because the camera drivers are in there.

Whenever I remove it and install the original camera app, it works during that boot.

When I reboot, I see the icon and then see it gets removed.

So it seems something is messing with the camera app registration/installation.

It would be great if that app just works, even when it's only a front cam, it can be useful for Hangouts and stuff.

I quickly looked through the init files and notices gapps doing something with camera files and I commented the affecting lines to no avail.

I am actually able to run the camera app and then when I close it it shows not installed and disappears.

Would be great to remove that from happening :)
[Nexus 7 Android Development] Csöndi:
I commented earlier about my problems on the feb build. Did any of you with issues install magisk? I red some reports in other threads saying it messes with some 7.x.x roms. My grouper seems to be working now on the new build after noumerous formatings, and rom redownloads, reinstalls without any root solutions for now. I haven't been able to test is for a longer time period tho.
[Nexus 7 Android Development] OpenMinded:
I don't seem to have any issues with Magisk on the latest version, root works and so does the safenet check. I installed it after havving the playstore working.
[Nexus 7 Android Development] Swanee123:
Dirty flashed latest version (over your earlier version) on tilapia using your instructions, recommended Gapps and magisk. All seems to be working well although I haven't put a sim in it yet
[Nexus 7 Android Development] TureX:
Did someone have this bug? And in landscape i sede half shortcut text Sorry for my bad english
[Nexus 7 Android Development] paasoares:
[MENTION=2188693]AndDiSa[/MENTION]

We are very lucky for having you as a developer for this device !!!

Once again, thanks a lot for your hard work. This last update is just perfect.

It is amazing that a device with more than 5 years is still live and kicking with the latest versions/patches.

I use my Tilapia for browsing the web, email, social network, play some games(occasionally), music and movies(local, netflix, kodi, spotify). With this rom the device is more than capable of fulfilling all of them.

Again, thanks a lot for this great work
[Nexus 7 Android Development] FitzCreativ:
I'm not sure if its because I did a factory reset on all partitions before installing the latest update but this is the fastest and most stable ROM I have ever used.

Great work !!
[Nexus 7 Android Development] paasoares:
I always do a clean install !

I don't even have TWRP installed, here is my install procedure :

- ADB reboot bootloader

- Fastboot boot TRWP.IMG

- Clean All Partitions (data and cache i change file system to ext4 and then change them back to F2FS)

- ADB Sideload ROM.ZIP

- Reboot to bootloader

- Fastboot boot TWRP.IMG

- ADB sideload GAPPS.ZIP

- ADB Sideload MAGISK.ZIP (with Wipe dalvik/cache)

- Reboot System

Never had any problem with this procedure
[Nexus 7 Android Development] BobCat78:
Just flashed the new one. Getting lots and lots of Google Play FCs.

Came from a fresh build of January's ROM, Beans GApps mini and Magisk 15.3
[Nexus 7 Android Development] AndDiSa:
[MENTION=580443]BobCat78[/MENTION] without description what you did and without any log files it's a bit difficult to say what went wrong. Did you re-flash the Gapps?
[Nexus 7 Android Development] BobCat78:
Morning [MENTION=2188693]AndDiSa[/MENTION],

Followed normal documented procedure. Will hunt down log files but I might just do a full wipe and try again letter this evening, as it doesn't seem as clean as my January install. Very pleased to have Magisk Hide working, thank you for that.

Watch this space as I'll come back after a full wipe and fresh install and describe anything untoward
[Nexus 7 Android Development] Scivish:
I find that if the GAPPs you install in newer than the ROM build, this can happen. You can try flashing the previous GAPPS of what ever version you use, or you can uninstall, then reinstall the individual apps via play store giving you errors... I had maybe 6 apps I had to do this and it solved the issue: GMAIL, Google Play Games, AVAST are the ones I remember.

I basically run all the apps installed 1 by 1 and reinstall any that give error.
[Nexus 7 Android Development] Ler0y:
AndDiSa. thank you for your last build, for my old Tilapia device.

You awesome :)
[Nexus 7 Android Development] estradz21:
can anyone mirror twrp link it doesnt work on me atm
[Nexus 7 Android Development] TureX:
Try with official twrp app
[Nexus 7 Android Development] estradz21:
Still no luck seems the server is down or is it just me
[Nexus 7 Android Development] Portgas D. Ace:
Seems that the webpage is temporarily unavailable.
[Nexus 7 Android Development] estradz21:
got it but right now my problem is everytime the screen turned off it wont wake up i have to reboot it again to work
[Nexus 7 Android Development] SGH-i200:
Landscape orientation in lockscreen and launcher?

This XDA rotation app looks promising: https://www.xda-developers.com/rotation-orientation-manager/
[Nexus 7 Android Development] kam1kazze:
Cannot go to power off with OTG cable linked

I have the latest version flashed (20180209) and my n7 have a strange behaviour:

With a connected OTG cable (also without usb key) when try to power off the device it always restart itself.

This issue disappear when I remove OTG cable. :confused:

I have try with "fastboot oem off-mode-charge 0" (1), without solve anything.

I use n7 mounted on my car and cannot detach the OTG cable...

any ideas?!
[Nexus 7 Android Development] AndDiSa:
[MENTION=2784045]kam1kazze[/MENTION] I can reproduce the issue, unfortunately I do not have any idea why this might happen as I cannot see anything in the log files. If anyone has a hint ...
[Nexus 7 Android Development] kam1kazze:
Hey, thanks for your quickly answer!

This means that is a ROM related issue, and not a my HW fault...it's a good start point :)

I can say for sure that with old version, but don't remember which one (it was about 6 months old) this "bug" don't happens.

Maybe kernel related?!
[Nexus 7 Android Development] AndDiSa:
The only thing I can imagine that it is related to the otg-charging patch ... I'll have a look at it but cannot say when it will be possible.
[Nexus 7 Android Development] kam1kazze:
Is it something added in the latest version?

Do you mean otg + charging with an y-cable?

Anyway, if you need a tester I'm here :)

Thanks again for all your work!
[Nexus 7 Android Development] AndDiSa:
[MENTION=2784045]kam1kazze[/MENTION] otg-charging is/was not newly introduced but I had some versions out last year where I dropped it.
[Nexus 7 Android Development] Ahkah:
This phenomenon must have at least one additional reason. My two specimen show the same behaviour. It appears with both Beanstalk (based on Android 6) and this OS (based on Android 7). Usually a second shutdown attempt is successful.

I have never used an OTG cable.

The behaviour is quite annyoing, especially as the device rather fast runs out of battery energy when not powered off (I do not use it daily).
[Nexus 7 Android Development] kam1kazze:
Excuse me AndDiSa, do you remember which one is the latest version without the OTG-charging patch? So I can try it if works.

And do you know if I can do a dirty downgrade (keep data partition) without issue?

You have right, with the previous version sometimes this behaviour appear, but now ALWAYS happens (I cannot power off the tablet)
[Nexus 7 Android Development] AndDiSa:
[MENTION=5917730]Ahkah[/MENTION] without an OTG cable connected my device is always switching off and having it laying around battery consumption is about 0.5%/h, but I do WLAN disconnect on idle as WLAN is consuming very much energy and all processes regularly try to "phone home" when WLAN is active which lets the battery drain even faster.
[Nexus 7 Android Development] AndDiSa:
[MENTION=2784045]kam1kazze[/MENTION] OTG-charging was disabled for sure with the version from 20171010. Generally it should be possible to downgrade as it's still 7.1.2 but for safety reasons I would do a backup ... ;)
[Nexus 7 Android Development] kam1kazze:
There isn't version 20171010 (and also 20170923) in the Download section, I see them only in the Changelog :(

Thanks
[Nexus 7 Android Development] AndDiSa:
You can get it from aosp_grouper-7.1.2-ota-eng-20171010.ds.zip.

All the 7.x releases can be found on filehost
[Nexus 7 Android Development] AndDiSa:
[MENTION=2784045]kam1kazze[/MENTION] Unfortunately the reboot-issue is not related to OTG-charging, so I need to have a deeper look at it. It would be glad if anybody can tell me since when this issue is occuring ...
[Nexus 7 Android Development] kam1kazze:
So, you have tested without otg+charging kernel patch...**** !

I think you need a very particular context to replicate the issue, no one keep the OTG cable attached on shutdown...only someone with a fixed installation like on car (my situation).

During this week end I guess I will have some free time to test old versions and seek from which one start the issue.

thanks for your assistance!!