yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] breaktheblock:
I seem to be having ongoing problems even just loading the ROM and gapps pico.

How do I produce logs for you guys to read.

My grouper isn't rooted.
[Nexus 7 Android Development] mafarric0:
I am using f2fs and I have no problems in my rooted tilapia. The boot takes around 2 minutes, but it eventually gets there. Fortunately the last ROM is so stable that I barely have the need to reboot, so that's not a problem to me.
[Nexus 7 Android Development] AndDiSa:
Thank you for your response. Btw. only the first boot takes this long, all other boots should take much less time.
[Nexus 7 Android Development] Ahkah:
Anything is standard. No f2fs, no encryption, no root access etc.
[Nexus 7 Android Development] Sam Nakamura:
In my case no encryption but f2fs, thought about switching back to ext4 already, do you think it's recommended?
[Nexus 7 Android Development] RedFlag80:
I'm unable to make this version working with Battery Charge Limit App. It seems that the app try to change the battery status at /sys/class/power_supply/battery/status between charing and discarging but if I try to manually change the status with echo "Discharging" > /sys/class/power_supply/battery/status no error appear but the status remain Charging. My device is rooted

Does someone managed to make this works?
[Nexus 7 Android Development] luismg:
what pico gapps do I need to install ARM32 or ARM64?

thanks!
[Nexus 7 Android Development] OlliWi:
ARM32.
[Nexus 7 Android Development] psiphi:
No encryption, no f2fs, but I do use root via Magik
[Nexus 7 Android Development] Nexus7_tilapia:
Hi,

Not encrypted; No F2FS.

But is rooted [Magisk].

Regards
[Nexus 7 Android Development] thoiloidainhan:
Is there a way I can keep DT2W on permanently? My power button is about to go and some time just doesn't turn on. Thanks
[Nexus 7 Android Development] AndDiSa:
The issue here is deep sleep. For improving battery live time deep sleep is enabled. Unfortunately due to that an irq is needed to wake up from that mode. The touch screen itself is not able to create such an irq so the device will not switch on. The only chance is to disable deep sleep for the sake of battery live time.
[Nexus 7 Android Development] hteles:
I'm sure the problem can be solved if he buys a flip cover for Asus Nexus 7. Mine I'm pretty sure that wakes the device when opening.

Regards
[Nexus 7 Android Development] thoiloidainhan:
I don't care about battery life, the tablet is just used for reading now and I keep it plugged in. Would be nice if u can teach me how to disable deep sleep :)
[Nexus 7 Android Development] mafarric0:
The battery standby is excellent as it is now, using deep sleep. I wish it had been always like this for the past 5 years or so.
[Nexus 7 Android Development] OlliWi:
Still trying to figure out a good parameter set. But as there may be some issues with the ROM this has no priority.

And don´t expect too much from the kernel tweaks, we cannot overcome physical hardware limits, i.e. the eMMC performance is limited to 40 MB/s sequential read and 20 MB/s seq. write (without file system overhead).

I asked [MENTION=2188693]AndDiSa[/MENTION] to revert the changes from commit https://github.com/AndDiSa/android_...200c546#diff-85feab798b230007ec40ef11bf4746e7 in order to have the default parameter set for the CFQ IO scheduler and then we can tweak the parameters using the init.grouper.rc file.
[Nexus 7 Android Development] Johan132:
Nothing to contribute really, but I just want to share that this ROM is rock solid for me! Better than the official LineageOS ROM on my Samsung S6 ;)
[Nexus 7 Android Development] Sam Nakamura:
Do I gain any stability by switching back to ext4, I mean not in theory but in real life experience? Someone has experience with the 2 file systems on this particular device with this specific ROM?

Thanks in advance for reporting your experience! :good:

Edit: not that I could observe any particular instability except those rarely happening crashes/reboots, just thought if they might be remotely connected to the file system...
[Nexus 7 Android Development] psiphi:
Its more of a "we KNOW ext4 works and is stable, so lets use that" to eliminate variables we are not sure about.
[Nexus 7 Android Development] thoiloidainhan:
So I just randomly stumbled upon a solution to this.

I came across an app on the g.store called volume unlock that allow turning on the screen with the volume buttons. Some of the comments mention how it drains battery so I suspect the use of wakelock here and it is indeed!! Now I have dt2w permanently on. Love android, sometimes a simple trip to the app store is all you need
[Nexus 7 Android Development] Nexus7_tilapia:
Hi guys

Dear [MENTION=2188693]AndDiSa[/MENTION] & [MENTION=8559165]OlliWi[/MENTION]

New last_kmsg file is attached. [896 KB]

[The touch screen did not react to my touches; I held power button for seconds and ...]

https://drive.google.com/file/d/1voEWrQJA8ofon7EWsjJAEBZuKCuW_Xsy/view?usp=drivesdk

best regards
[Nexus 7 Android Development] AndDiSa:
Hmm ... I quickly checked the log but it does not show any errors ... only that you used the power button to switch off the device.
[Nexus 7 Android Development] frankusb:
I tried F2FS, not on this ROM, Cyanogen 12.0. I found that after some time, the F2FS became corrupted and applications would stop working. I posted this experience in the ROM's thread. I switched back to EXT4 and experienced no more problems. Here is the thread.
[Nexus 7 Android Development] AndDiSa:
[MENTION=8618734]Nexus7_tilapia[/MENTION] [MENTION=7125933]Sam Nakamura[/MENTION] [MENTION=5917730]Ahkah[/MENTION] I am hardly trying to reproduce paging / reboot issue on my device, unfortunately without success until yet. Today I'll merge the September security fixes so you can expect a new release witin the next days, but most likely the release will still have the same issue :(
[Nexus 7 Android Development] Ahkah:
However, thanks for your effort!

In order to give a positive feedback: Since the last two or three versions, where I also disabled Wake-on-Whatever, I have no longer noticed any inadvertent restarts. With previous versions, including Android 6, my devices very often restarted instead of shutting down; sometimes I needed three attempts until a device finally was powered off.
[Nexus 7 Android Development] Nexus7_tilapia:
Dear [MENTION=2188693]AndDiSa[/MENTION]

I can’t thank you enough. ^_^

Best regards
[Nexus 7 Android Development] AndDiSa:
Version with September security fixes (2018/09/05) available

I've just uploaded the new version. Beside a minor kernel change (cfq scheduler default values) there are only the security fixes for September 2018 included. Unfortunately I was not able to reproduce the rebooting issues yet (even creating some load and using Youtube frequently).

The links in the OP are already updated.
[Nexus 7 Android Development] Sam Nakamura:
Thank you for this power support! Great!

--------

I don't bother about the issue, I really only rarely experience a random reboot, maybe 3 times in 4 months, I wouldn't even call it "issue" but thought posting logs may provide a chance for you to study this undesirable behavior, what you do for us N7 2012 users is more than enough, so no worries about it - gonna upgrade now!

Edit: I just saw the OP suggests the use of magisk 16.6, however latest magisk (v17. 1) works equally well with your ROM, just thought to mention even though you probably know this...
[Nexus 7 Android Development] 239:
I also never noticed reboots on this ROM (except the IPv6 crashes in previous builds). [MENTION=2188693]AndDiSa[/MENTION] Do you know why com.android.quicksearchbox appeared after last update? I'm not sure whether I had disabled it or it wasn't there before but other system apps are still disabled.
[Nexus 7 Android Development] OlliWi:
Same here. Not a single kernel crash for the past few weeks.
[Nexus 7 Android Development] sziggins:
Hi,

I am experiencing those SODs too but only when it is connected on a Telekom Speedport Entry 2i.The VDSL2 router seems is the cause of them. The channel that broadcasts the Wi-Fi is the 1. I tried both [MENTION=2583740]adstraylight[/MENTION]''s posts #2638 and #810 with no luck.

I am attaching a last_kmsg.log and a logcat record via LogcatExtreme. I use f2fs as data file system but no problem when other routers are in use. Tried even flashing previous rom version but with no luck too on that router...

Hope that helps.

By the way great work [MENTION=2188693]AndDiSa[/MENTION].

Cheers!
[Nexus 7 Android Development] NikoNik7:
Installing 7.1.2 Tilapia OTA-Package (Build 20180917)

Install Build 20180917 to Tilapia. Respect to [MENTION=2188693]AndDiSa[/MENTION]!

General impressions very positive:

- Even Skype (Lite of course, full i haven't risked) tolerably works and not really slows down all system! Unfortunately volume of sound in Skype Lite is low. Would be great if it was possible to strengthen;

- It even can show movies again!!! But volume of sound happens quite low depending on a soundtrack;

- Removal of unnecessary desktops for some reason isn't allowed in the interface. Would be great if it was possible to strengthen;

- And yes, it was experience crashes of the Setup-Wizzard even if connected to WiFi. Yes, install SetupWizzard-Fix helps in that case.

- After installation of 40 applications the speed of interface's operation became a little more slowly, but it works at least.

I hope on this version I won't face spontaneous distortion of the interface any more as in all insertions older 4 versions of the android.
[Nexus 7 Android Development] puffel86:
Thanks for all the work.

My N7 was not used for years now because it was unusable since lollipop update.

Now it works quite good for some days.

But I found a bug.

When screen mirroring to Chromecast and then after disconnecting from Chromecast the N7 freezes completely and I have to shutdown with holding power button.

Maybe this can be fixed?
[Nexus 7 Android Development] AndDiSa:
Use the Home-App to disconnect the Chromecast device and it should work without issues.
[Nexus 7 Android Development] puffel86:
Thanks AndDiSa for your fast response.

I tested with native android screen mirroring from the task list menu and also I tested it with the Google home app. Both are freezing the N7 when disconnecting from the screen mirroring.

Otherwise Chromecast and supported casting apps are working fine...only the screen mirroring causing the problem when disconnecting.
[Nexus 7 Android Development] AndDiSa:
[MENTION=5019712]puffel86[/MENTION] it's a long time ago that I tested sceen mirroring to a chromast. I'll see whether I can reproduce it on my side otherwise a log file (kmsg / logcat) containing the issue would be great.
[Nexus 7 Android Development] puffel86:
I have no idea how to do this.

Is there an easy way to get these log files?
[Nexus 7 Android Development] AndDiSa:
Doesn't matter, I was able to reproduce the issue and it looks as if not only the Nexus 7 shows this behaviour.
[Nexus 7 Android Development] section_94:
Hello again. I am back just to confirm the expected: the reboots occur in the September build too. Mtorrent and this kernel just don't like each other. Andisa is probably sick of seeing this log by now but here it is again anyway for the September vesion :p
[Nexus 7 Android Development] fajera:
the function is only theoretically

and in fact it will never work???

someone wrote about flip cover,

what a miracle it will work???
[Nexus 7 Android Development] hteles:
I did

I have a flip cover, those with a bluetooth keyboard, and it cycles the screen when opening and closing.

I think it needs a magnet to perform that function. Just try before you buy, but it should work with any nexus 7 ( 2012 ) compatible cover :good:
[Nexus 7 Android Development] fajera:
I'm only interested DT2W

There is and NOT WORK such a joke...
[Nexus 7 Android Development] mafarric0:
I also have a flip cover and it wakes up from deep sleep like a charm.

I'm not interested in DT2W at all as it seeps power. Besides, this device did not had it in the first place, so I think it's not a big deal.
[Nexus 7 Android Development] hteles:
Agreed.

But nevertheless even i have a flip cover, sometimes when watching TV laid on the couch i leave the nexus in stand position, and at that times i use D2TW. So for me there is not a problem in having the feature, and in my case works relatively well. :highfive:
[Nexus 7 Android Development] :
GAPPS Issue

Hello everybody :)

I have an annoying issue with the GAPPS and I hope somebody can help me to solve it.

My device is a Nexus 7 3G (Tilapia) with twrp 3.2.3-0 installed. I flashed the latest rom version (Build 20180917) and the latest ARM32 Pico GAPPS from Open GAPPS (open_gapps-arm-7.1-pico-20180927), but when I reboot my device I can't see any sign that the GAPPS are installed. There is no Google Playstore or anything else from Google. I tried it again three times, but it never worked.

During the installation process of the ROM and the GAPPS in twrp recovery there is no error message.

Does somebody maybe know why I can't install the GAPPS? Should I try GAPPS from another source?

Thank you all very much!
[Nexus 7 Android Development] Ricochet90:
Edited
[Nexus 7 Android Development] Sam Nakamura:
You're free to contribute on a code level to the project to improve it's features just like anyone else, otherwise you have to accept the software and it's features "as is", see we're talking here about a feature that is limited by the hardware capabilities of the device... so it would rather make sense to complain about it to Asus, not the developer who's ambitiously working on this device for a better user experience (pretty successfully if you ask me)!
[Nexus 7 Android Development] paasoares:
Install ROM then reboot to recovery/TWRP and only after that install GAPPS with Wipe Cache & Dalvik Cache Checked

---------- Post added at 06:39 PM ---------- Previous post was at 06:37 PM ----------

@AnDiSa

Did you change anything regarding battery consumption in the latest build ?

My Tilapia is draining to fast and i can see in battery usage that TABLET IDLE is at 43%

I have exactly the same apps installed that use to have on previous builds and never seen this behavior
[Nexus 7 Android Development] :
Thank you very much, it worked! The ROM runs super smooth and I'm very happy about it! :good:
[Nexus 7 Android Development] AndDiSa:
[MENTION=342699]paasoares[/MENTION] No, nothing beside the changes described in the changelog. Did you check whether you have Google syncing problems (mail, drive, news, ...)

I noticed that when such syncing issues are existing battery drain is very high.
[Nexus 7 Android Development] schmatzler:
Thank you so much for this ROM! Compared to crDroid and LOS 14.1, this is by far the smoothest one. UI responds very well while scrolling, almost no lag.

Isn't that launcher from Ice Cream Sandwich? I always liked the old, unbloated Android launcher.

I installed SuperSU, Xposed, FakeGapps and microG and now I can use Google Services with half of the memory still available. My Grouper lives again! ?
[Nexus 7 Android Development] Aker666:
Thank you, I've been able to revive an old Nexus 7 with Lollipop that was impossible to use. I LOVE YOU.
[Nexus 7 Android Development] williamlaw:
Great Rom !!

I would like to know is this your support Micro G ?

Sicne I was failure to use Play store with Micro G ..... Error "Google Account already exists" while signin.

Thanks
[Nexus 7 Android Development] DumF0rGaming:
I've installed Nanodroid fork just flawlessly today
[Nexus 7 Android Development] williamlaw:
Just tried to install Nanodroid under TWRP, but Play Store still not available to use.

"Error retrieving information from server [RH-01]"

Do you have idea ?

Thanks
[Nexus 7 Android Development] Portgas D. Ace:
Clear Play Store's data and cache and reboot your device. Otherwise download the latest version of Play Store from apkmirror and install it.

Did you use the microG self-check service to identify possible flaws?
[Nexus 7 Android Development] DumF0rGaming:
1. Try to close and reopen Play Store from Recent menu multiple times

2. Make sure Google cloud messaging and Device registration are enabled, Signature spoofing is applied

3. Clean PS cache and dalvik cache

4. Remove your account and set it up again

5. Move PS to system/priv-app
[Nexus 7 Android Development] schmatzler:
PlayStore doesn't work for me either, it just jumps back to the login screen. Although com.android.vending is in /system/priv-app and all MicroG-related stuff, too.

YouTube works fine with my Google Account and I have the same problem on my Xperia XA2, so maybe something is incompatible between the latest PlayStore and MicroG?

Anyway, I just use Yalp Store now to get all my apps. Not a problem since the Google Services still work fine in all apps except the original PlayStore.

The "Error retrieving information from server [RH-01]" usually happens the first time PlayStore is started up, though. Just kill it or reboot the device and it should come up, if it works for you.
[Nexus 7 Android Development] zzULMANzz:
Thanks a lot for this ROM! Personally I find it better than official ROMs (especially than Lollipop). It is fast, stable and ascetic. I didn't find any bugs issues (only it was a problem with setup wizard crashes, so fix was really helpful). Unfortunately, it was not possible to test the device with newest Antutu because it didn't support 3d plugin. So there is my results in Antutu X, Antutu 5.7.5 and Quadrant.

[IMG="Antutu X"]http://i64.tinypic.com/2lu5d9c.png[/IMG]

[IMG="Antutu 5.7.5 (1)"]http://i65.tinypic.com/wvwlja.png[/IMG]

[IMG="Antutu 5.7.5 (2)"]http://i63.tinypic.com/29og3dv.png[/IMG]

[IMG="Quadrant"]http://i68.tinypic.com/5y9b4j.jpg[/IMG]

I don't know how trustworthy are these scores. But it feels like that's really faster than majority of exsisting ROMs (including official 5.x).
[Nexus 7 Android Development] schmatzler:
Update: I got the PlayStore working with microG now, so I don't need to install the bloated OpenGAPPS and can keep a lot of free RAM.

Here's how it's done:

1. Flash the ROM, flash SuperSU 2.82 SR5 from here to get root and ALSO flash Xposed for SDK25. You can do all of that in one go in TWRP.

2. Boot up and install XposedInstaller 3.1.5 from apkmirror. Open that up and get the "FakeGapps" module and activate it.

If the XposedInstaller tells you that Xposed is not active, just set it to Off and On and it will work after a reboot.

This tool lets you use microG instead of the official Google Play apps, it simulates their signature.

3. Install Total Commander from apkmirror (the APK from the official website doesn't work) and enable all root features in the app settings.

4. Install F-Droid. When that's done, add the microG repository by just opening the link on this website with F-Droid.

5. In F-Droid, install the following apps:

- microG Services Core (choose the latest version from the versions dropdown, otherwise it may default to an outdated one)

- MozillaNlpBackend

- microG DroidGuard Helper

- microG Services Framework Proxy

6. Get the latest PlayStore APK from apkmirror and install that, too.

7. Now you're almost done. You just need to copy the apps into /system/priv-app, otherwise they won't get all of the permissions neccessary to work and you cannot login to the PlayStore.

Open Total Commander and go to /data/app. In there, copy the following directories over to /system/priv-app:

- com.android.vending-1

- com.google.android.gms-1

- com.google.android.gsf-1

- org.microg.gms.droidguard-1

- org.microg.nlp.backend.ichnaea-1

You will be asked to remount, just hit OK.

For some reason, the permissions in the /system/priv-app/com.android.vending-1 directory will be wrong now and it's not readable by the system.

So go to its properties and the RWX option. Change the permissions to 755.

8. Reboot. Go into microG settings and do the self check, accept all permissions, activate device registration, cloud messaging and set up UnifiedNLP.

Basically, go in there and accept everything from top to bottom to set it up completely.

Now you can login into the PlayStore without drawing tons of resources! :)

Compared to OpenGAPPS, this thing is super-lightweight. It only takes up a few megabytes and easily fits onto the small system partition.

The added benefit is, that we sent as little data as possible over to our big G brother and the Play Services will NOT run all of the time in the background, drawing battery and much needed RAM.
[Nexus 7 Android Development] plusminus_:
Perhaps this is a silly question, but I'll ask anyway :p

If I turned my Tilapia into a Grouper, would the cell radio be turned off, or just ignored (so it could be on without me knowing)? Is there any way to check?

Thanks

+-
[Nexus 7 Android Development] hteles:
If all you want to achieve is better battery life, just turn airplane mode on and then turn on only WiFi or whatever else you need. ( Bluetooth , etc )
[Nexus 7 Android Development] [Hmk]:
First of all thanks a lot for this detailed guide. I almost got it working, the only thing still unchecked is the UnifiedNlp registration. It says "The system did not bind the UnifiedNlp service." I restarted it several times, still no change. I have the location backend set up checked. Any idea what I'm still missing?

Also, not sure if this is related, but when I try to open PlayStore it wants me to log in, which I did, but I can't get past that. I log in and then it reverts back to the log in screen.

Thanks a lot for your time and help.
[Nexus 7 Android Development] plusminus_:
Thank you, that was my primary concern...

But I also wanted to avoid any little differences between the Grouper and Tilapia builds (such as the one that caused long boot times on Tilapia devices many months ago!)
[Nexus 7 Android Development] hteles:
Not long time ago I was exactly where you are now :angel:

Things got straight and never made the jump, but as the master has said, it is possible to make the move.

It's your choice, and probably it's reversible in the future. Another option maybe is modifying the assert lines in the ROM zip. Never did it, too.

Regards.
[Nexus 7 Android Development] schmatzler:
Then it's using the app from /data/app and that won't work.

Delete com.android.vending-1 from /data/app and reboot. If the PlayStore is now missing in the app drawer, make sure all of the folders and files in/system/priv-app/com.android.vending-1 are set to 755.

About UnifiedNLP: I have the same problem, but it still works fine.
[Nexus 7 Android Development] [Hmk]:
That was it. :good:Thank you very much.

Also had a problem with not being able to get into Gmail. The solution for it is:

Create a Google account from system settings -> accounts (if not already done).

Install GMail

On Android 6.0: Open App settings and grant contacts and Google Mail permission (under additional permissions) to GMail

Open GMail and skip the intro if necassary. Do not add any account

Open system settings -> accounts -> Google -> your google account and check if there is a GMail present. Disable (if enabled) and enable it. It should take a short time to sync mails and then display current time as "last synced".

If there are new mails in you GMail account there should already be

Open GMail app again. If it is still on the "add account" screen, touch the "continue to gmail" (or sth like that) button at the bottom.

You should see your GMail.

Got it from https://github.com/microg/android_packages_apps_GmsCore/issues/146
[Nexus 7 Android Development] garson99:
Is there a way to change boot animation in this ROM? I can't see anything in /system/media or /data/local .

EDIT:

Nevermind, I see it works if I put custom bootanimation.zip in /system/media :)
[Nexus 7 Android Development] AndDiSa:
New version with October 2018 security fixes

I just uploaded the new version of the ROM with October security fixes. It can be donwloaded from the OP, or directly from

Grouper OTA-Package (Build 20181016) (md5: 1a9d0071f4de1e2eb6342de027868e98)

Tilapia OTA-Package (Build 20181016) (md5: 8e8dc72817b8d637a9790439ee433cd4)

Beside security fixes no big changes, beside some minor adaptations in memory management.

As always: flash at your own risk!