yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] AndDiSa:
[MENTION=5917730]Ahkah[/MENTION] there is no automatic backup in the build script, so you need to reflash them again, as described in the OP.
[Nexus 7 Android Development] Ahkah:
I kind of remember that there was some backup script with Open Gapps and CM11, but, however, I reflashed the Dynamic Gapps (version from 25. Feb.), and now the Play Store seems to be fine again.

By the way: When I started the updated OS for the first time I noticed that the character font of the "Google" logo on the home screen seemed to look somewhat unfamilar. After reinstalling the Gapps the font changed back to sans serif.

Unfortunately the app "Play Filme & Serien" which had refused to play my movie in the previous OS ("Lizenz konnte nicht abgerufen werden, Fehler 901") version, now just crashes (".... wurde beendet").

EDIT: Reinstallation of the app seemed to help (it was not sufficient or not possible to delete the app's data).

Movie now starts.

Great! Thanks for all the effort!!!
[Nexus 7 Android Development] EternalSeekerX:
Coming back to AOSP ?

Hey AndDiSa,

I used your 7.1.1 rom on my nexus 7 (2012) about a few months back before switching to cm14.1 due to it being in beta. Is the new release a complete release ? Or still beta?

Since my linux p-root app broke due to a dev update I wanna try the chroot apps and what better way to do so then using my rooted nexus 7. So I'm looking for a stable rom ?
[Nexus 7 Android Development] AndDiSa:
Depends on what you understand an application has a 'beta' status. I've been using this ROM since the beginning as a daily driver, e.g. all main functionality is working without issues or at least there is a work around for using it. There might be some glitches here and there but I try to fix them as soon as I get knowledge of them ... at least if have an idea where to start and if I find the time.
[Nexus 7 Android Development] EternalSeekerX:
Thanks for the reply. I'll flash this when I can. Not alot of force closes ? I use nova launcher normally
[Nexus 7 Android Development] JensM1973:
Hi,

I updated from the February version to the brand new version. Update went fine and all installed apps worked without any error!

But than I found out that the WLAN is deactivated after a resume from sleep. I wasn't able to reactivate WLAN without a restart of the device. I changed to the always on option in the WLAN settings and now it seems that the connection is stable. Usually I use the option to automatically turn off WLAN once the screen is turned off.

Regards and thanks for this great ROM!

Jens
[Nexus 7 Android Development] AndDiSa:
WLAN is switching off in sleep mode if you do not force it to stay on all the time, but it should automatically re-start as soon as you are opening your device. For me generally it's working fine ... I would need a logfile to analyze more deeply.
[Nexus 7 Android Development] Drumack:
Confirm this, I have the same problem. Make clean flash
[Nexus 7 Android Development] JensM1973:
Hi AndDiSa,

here is the logfile.

Steps to reproduce: Turn WiFi off and after a couple of seconds try to turn it on again. WiFi doesn't come back...

Thank you,

Jens
[Nexus 7 Android Development] capounet:
March release - ithanks & ssue with the wifi which does not wake up

Hello Andisa,

Thanks for this wonderfull rom that I am using since your first release; each months it had some improvement.

This time even smoother behaviour than before.

One problem discovered after a few hours is the wifi which does not restart anymore though the wifi config was set to never stop during sleep.

Regards, Philippe
[Nexus 7 Android Development] AndDiSa:
Thank you very much for the log file. I had a brief look at it and something is strange: the WiFi supplicant is not running and that's the main reason why WiFi is not working.

The question is: why that service is not running. Did you restore settings /apps from a backup or did you forget to wipe while coming from another ROM?
[Nexus 7 Android Development] AndDiSa:
[MENTION=4802198]capounet[/MENTION] [MENTION=8126166]JensM1973[/MENTION] I've just tried on my device to see whether I can reproduce this issue, but for me everything is working fine. I't may take a moment until the connection is established (the status remains in connected, no internet), but a few moments later the connection is there.
[Nexus 7 Android Development] pauldrudd:
Same issue here, wifi not turning on after sleep. I did a full wipe/factory reset and data wipe after a couple of failed installations. Apart from that, amazing rom and unbelievable that grouper is alive and kicking after 5 years!

Clarification: unable to turn wifi on without restarting the device
[Nexus 7 Android Development] Ahkah:
Just did some WLAN tests with these results:

1. manually switch off WLAN works, and it can manually be switched on again.

2. setting "WLAN konfigurieren/WLAN im Ruhemodus aktiviert lassen" : NIE (engl.: NEVER) was just ignored in the first attempts, but at the third attempt I got a BSOD.

So it seems that one should currently NOT use that setting.
[Nexus 7 Android Development] kwsam9:
Installed the latest version today on 2 N7s and both are working well. No issues with wifi at all.

Thanks [MENTION=2188693]AndDiSa[/MENTION] for your effort in keeping this ROM updated. Very much appreciated.
[Nexus 7 Android Development] JensM1973:
Hi,

I updated from the Februray version of the ROM. Only did a wipe of thed dalvik/cache partion and kept the user partion in order to avoid a new setup of the device. This works fine in the past. Maybe I start a clean install today or is there any other chance to start/trigger the WiFi supplicant manually.

Jens
[Nexus 7 Android Development] AndDiSa:
[MENTION=8126166]JensM1973[/MENTION] probably a complete wipe is not needed, but dalvik should be wiped. [MENTION=5917730]Ahkah[/MENTION] I'll try to see whether I can reproduce the issue when toggling the switch on and off several times. I normally do always switch off WiFi during sleep and it's enabling at wake up time without any issues
[Nexus 7 Android Development] HerrT:
just to make sure: did you re-flash your gapps after the ROM? Because there is no automatic backup in the build script, so you need to reflash them again, as described in the OP...
[Nexus 7 Android Development] Ahkah:
It took me about five minutes to produce the BSOD. Thanks for the effort! Note that on my device the WLAN obviously was not switched off during sleep, despite the switch setting, at least the indicator in the status bar always showed a running WLAN connection immediately after having unlocked the device. My device is protected by a PIN, this might make a difference.
[Nexus 7 Android Development] JensM1973:
Yes, I made a re-flash of the gapps after I flashed the ROM over the existing February version. No issues with existing apps or the appstore - Expect of the WiFi problem.
[Nexus 7 Android Development] AndDiSa:
Sorry, but I am not able to reproduce the WiFi issue, everyting is working as expected.

I googled a bit and found that this issue happens on different devices and different Android versions. Some hints indicate that it might be related to invalid entries within the wpa_suppliant.conf file, other hints lead into the direction of router / WiFi configuration ... but not really a final solution for everbody.
[Nexus 7 Android Development] paasoares:
Hi,

First i tried to upgrade to this new version (flashing rom, rebooting to recovery and then flashing gapps & SU with clean cache & Dalvik). end result was a very laggy system.

Then i start from scratch...formating SYSTEM/DATA/CACHE, installing Rom rebooting to recovery and then flashing gapps & SU with clean cache & Dalvik.

Everything is working fine exept that i also experience the same Wifi connection problem. this morning i was unable to turn wifi on without restarting the device.
[Nexus 7 Android Development] aaopt:
Most likely the lag could have been solved with Trimmer. Something to keep in mind for next time.
[Nexus 7 Android Development] AndDiSa:
One question to the people having WiFi problems: do you have a Tilapia or a Grouper device? Having only Grouper here I would like to exclude the possibility that this issue is related to tethering ...
[Nexus 7 Android Development] paasoares:
Hmmmm,

Using F2FS on DATA & CACHE. As far as i know F2FS doesnt require trim....maybe i'm wrong

---------- Post added at 03:44 PM ---------- Previous post was at 03:41 PM ----------

AnDISa,

I have the TILAPIA version.

I also noticed one strange thing : i dont use bluetooth, so on the first run i tried to turn off BT by the top widget/settings and i was unable to do it....it always returned to BT ON.

I had to go to Settings - BT - OFF to be able to switch it off

Dont know if this is also related with WIFI problem
[Nexus 7 Android Development] Jack1599:
Grouper has Wi-Fi problems too....
[Nexus 7 Android Development] JensM1973:
I have a Tilapia devices with the WiFi problems.
[Nexus 7 Android Development] Adrosmart:
What are the exact steps when updating from a previous build? I was on the February one and today I decided to update by going into TWRP, wiping Dalvik and cache, applying the March update and then restarting. Unfortunately, this doesn't seem to work as the Google applications refuse to open now and Google Play Services keep crashing. Am I doing something wrong?
[Nexus 7 Android Development] Drumack:
Tried a clean installation. Tried to install the previous build for 7.02. And above to set 8.03. The result is one - wi-fi does not turn on after turning off. I have grouper. Tried different gapps.
[Nexus 7 Android Development] Ahkah:
Mine is a "grouper".
[Nexus 7 Android Development] pauldrudd:
Mine is a grouper too
[Nexus 7 Android Development] capounet:
Mine is also a grouper.
[Nexus 7 Android Development] len207:
Mine is also Grouper with the WiFi bug...
[Nexus 7 Android Development] originalnetadmin:
AndDiSa,

Thanks for the great work with the ROM. In regards to your question, I have a Grouper and I'm running into this issue with the latest build only. I reverted to the Feb build and WiFi works fine for me again. Let me know if you require any logs from my side and I'll be glad to provide them.

Thanks!
[Nexus 7 Android Development] AndDiSa:
[MENTION=4746468]originalnetadmin[/MENTION] if you could provide with another log file it would be great. I still have no clue where to start searching because in the log which was provided I only saw that wpa_supplicant was not started but no reason why ... :(
[Nexus 7 Android Development] AndDiSa:
[MENTION=535343]all[/MENTION] *finally I've got it* ... it's not related to sleeping mode, but to flight mode! If you switch on the flight mode WiFi the wpa_supplicant is not restarted after switching off flight mode and so you are not able to switch on WiFi again.
[Nexus 7 Android Development] eschoenawa:
More info on the charging issue

Wow. This ROM works great and revived my excitement for my Tablet. No bugs that interfere with everyday-use and my tab is now faster than my phone, even though it is 2 years older. My Battery life is now back at an astonishing 4 Days with moderate use however, I found out that Anker's PowerIQ Adapter (up to 2.4A, the charger is meant to detect the maximum current for the device) doesn't seem to charge at all / very slow. I didn't try my Anker Powercore yet, but I'm expecting the same result. My old 0.5A Samsung charger however seems to work best so far. I'll try a bigger variety of chargers soon, maybe I find a pattern. ;)
[Nexus 7 Android Development] originalnetadmin:
I think that is it. I leave my tablet in flight mode and only turn WiFi on/off as required. I didn't think about the correlation between the two or that it would cause different behavior with and without flight mode. Do you also know how to fix it since the March build appeared to be better (other than the WiFi issue)?
[Nexus 7 Android Development] AndDiSa:
[MENTION=4746468]originalnetadmin[/MENTION] currently I do not exacly know how to fix it, but I never ever used flight mode before. Some time ago I switched off WiFi at night to save some energy but since Android 6.0 introduced the doze mode I let it switched on all the time, but I've enabled the option to never keep WiFi during sleep. In that case after a few minutes WiFi is switching off automatically and power consumption is like having switched off WiFi manually.
[Nexus 7 Android Development] paasoares:
AnDiSa,

I never used flight mode. i do have keep wifi on during sleep set to NEVER.

And the problem is here. After device enter sleep mode (wifi is turned off) we cant turn it on again without restarting the device

It stays on "turning Wifi on" ....
[Nexus 7 Android Development] AndDiSa:
[MENTION=342699]paasoares[/MENTION] in that case I need a logcat from that device. I only could reproduce this issue with flight mode.

Nevertheless I have one question: if you keep WiFi on during sleep how long does your battery last? Beside the display WiFi is one of the largest consumers ...
[Nexus 7 Android Development] paasoares:
i Will try to provide you a logcat

I'm not really sure how long does it last with wifi on.....i always set this setting to never, and i can tell you that it last enough to charge device once a week +/-
[Nexus 7 Android Development] capounet:
Same for me. I never use the flight mode. I provide in attachement a log cat but please tell me if the level of details is correct or if you want more

(first time I am using logcat)

. Rgds, Philippe.
[Nexus 7 Android Development] paasoares:
Hi AndDiSa,

here you have the logcat.

device went to sleep mode around 20:30, and i turn it on again around 21:30

See the wifi error messages around 21:31

Hope this can help
[Nexus 7 Android Development] originalnetadmin:
I noticed that as well. The WiFi won't connect if it is set to "Never". I turned on WiFi debug and the logcat is attached.
[Nexus 7 Android Development] Andy2No:
I installed this ROM earlier, on my Tilapia. It's looking good, so far. If I turn off WiFi, I have to reboot to turn it back on, but I can live with that.

I even had it charging while my Behringer UCA202 USB audio thing was working, earlier - by connecting that and the cable from the charger to an OTG Y lead, then plugging that in to the Nexus. I don't think I've ever got charging with OTG to work, before. Long may it continue.

Is there a way to disable the Google search bar? I don't really want to install another launcher, but I really don't want that thing there, taking up part of my screen.
[Nexus 7 Android Development] kwsam9:
Anyone able to get Google Assistant working on this ROM ?

I am quite sure I already have Assistant as I can see the settings but I can never launch it by long pressing on the home button. I have the latest Play Services 10.2.99. Any pointers would be very much appreciated. Thanks.
[Nexus 7 Android Development] AndDiSa:
Thank you for the logs you've provided. I had a brief look at it but it's still not clear to me what's happening there. I can see in all of the logs that the WPA-supplicant is being killed which I never can see in my own logs. I need to have a deeper look at it ...
[Nexus 7 Android Development] PukeStinkLikeRye:
New TWRP version released 3.1.0-0

Grouper - https://dl.twrp.me/grouper/

Tilapia - https://dl.twrp.me/tilapia/
[Nexus 7 Android Development] adstraylight:
I had this problem on a previous release (long press home not working), I fixed it by disabling it then re-enabling it via the apps settings.

Settings - apps - gear icon - assist and voice input - assist app - none - assist app - google app.

There are rare occasions when a setting will seemingly not exist in the database, even though it is shown as being correct, and so rewriting it is the fix.
[Nexus 7 Android Development] Bakica:
Is there a way to disable the Google search bar? I don't really want to install another launcher, but I really don't want that thing there, taking up part of my screen.[/QUOTE]

Just don't install Google app (search) [emoji4]
[Nexus 7 Android Development] adstraylight:
I just switched to dc-kernel as an experiment, and the wifi problem went away, if that's of any help.
[Nexus 7 Android Development] schokohase74:
I have a grouper and since the last update my device is almost unused.

I have also the Wifi problem and the touchscreen stalls. Deleting the Dalvik and cache did not bring any improvement. The playstore has also disappeared. Now I will try again a total reset.
[Nexus 7 Android Development] austromark:
Happy Nexus

Ive been using this rom since the January 2017 security fixes and want to say I love it!

After being a fan of the unofficial cm11 rom ,this new rom brings my old n7 2012 upto date and lighting F A S T!

Im using nexus root toolkit to push the files to my n7 and it works very well and easy.

Im having no issues so far.

Thanks for fixing the screen dimmer.

Austromark
[Nexus 7 Android Development] imitev:
With r25 WIFI doens't want to turn on after wake up.
[Nexus 7 Android Development] Portgas D. Ace:
I see that you are new to XDA. Please keep in mind that one of the forum rules says "search before posting". This issue has been reported several times, just read the last few pages.
[Nexus 7 Android Development] imitev:
Sorry for inconvenience.

With r20 there aren't problems with starting WIFI.

I have 2 nexus 7 2012.

Edit: Just returned to r20 - WiFi is working perfect!
[Nexus 7 Android Development] Andy2No:
Answering my own question :) I wasn't able to turn off that area all together, but I was able to disable the Google search and voice search(?) icons, by going into Apps under Settings and disabling the Google app.

Google Play still works, which is all I care about.

---------- Post added at 02:12 PM ---------- Previous post was at 02:04 PM ----------

It's not caused by flight mode, in my case. I don't have a SIM in, and I found that caused problems with wakelocks, on 4.4.2, so I got out of the habit of using it.

I've been turning WiFi and off either from the icon on the status bar (pulled down) or from within Settings, using the switch. I can turn it on once, after a reboot, and I can always turn it off, but I can never turn it back on again, without rebooting first.

I should qualify "never" by saying that I only installed it, early this morning, but that's been the case so far.

I've added a reboot manager (Reboot 2.0.5 by Pierre Sagne aka Petrus). If I use the Soft Reboot option on that, I still can't turn WiFi back on. I need to use the Reboot option, or do it the traditional way, via the power button.

If I can provide any useful debugging information, please direct me to some instructions on how that's done. I don't know nearly as much about Android as the rest of you.
[Nexus 7 Android Development] Bakica:
If you uninstall Google app you will remove that area completely after reboot. Google play Store will work normally.
[Nexus 7 Android Development] DrCheesecake:
[MENTION=2188693]AndDiSa[/MENTION]

Thanks for your continued work on the Nexus 7 :). Regarding the WiFi issue for the March 2017 build: I installed your build on my tilapia and I had the same wifi problems (not turning back on) mentioned above. I've now compiled it myself following your instructions (including patches and lunch 9 instead of 8) and now the SIM card slot doesn't work (Ie. doesn't recognise the SIM card), but the wifi seems stable (for now).

I'd previously used the February 2017 build (both your download and my output file) and that seemed to work fine. I'm also happy to provide any debugging info you might need. Cheers.
[Nexus 7 Android Development] psiphi:
You know, I remember a problem with flight mode from years ago like this but forget the exact details other than having to download a 3rd party app called android assistant and having to toggle the wifi and gps status there. Maybe this will help?
[Nexus 7 Android Development] AndDiSa:
One additional question to people who would like to help to iron out the WiFi issues: I'm developer options you can find am option to enable fine grained WiFi log output. If you could switch on that option one can probably see a bit more what's going on.

Thanks for your help!
[Nexus 7 Android Development] capounet:
Hello Andisa,

<<< update from 19:53 : I am wondering if when you setup the location setting to allow "wifi scanning", android is "cheating with you" and does not physically switch off anymore the wifi antenna when you click on the antenna icon but put more the wifi in a kind of sleep mode. The proof is that when i force the antenna to really be off by going to flight mode then there is now way to rewake the antenna. The issue is still there.

Personnaly, this workaround is acceptable for me. >>>

<< Original post >>>

Magic... I just went to the developer option (which were already visible and enabled ) to see where to enable in depth WiFi logging as you requested it.

By curiosity i spent some time looking also to the different options which may have an impact on this WiFi wake up issue:

- I tried to limit to 2 the nbr of processes .. and...magic WiFi wake up process works as before. - I tried then to remove the limit as it was initially and it still work.

- I tried afterwards to reboot the tablet with WiFi enabled and then with WiFi disable and the issue is gone.

- I verify afterwards that all developer options were disabled and it still works...

Is it possible that playing with develope options some default values which were missing were re-defined properly ?

BUT I found by accident that there is one "culprit" settings which kills this wifi wake-up: in location settings, do not disable "Wifi Scanning"... unless you will have to reboot your tablet to get back the wifi wake-up function.

I hope that this "by chance" finding may help to identify the root cause of this. Do you need a logcat ?

Regards, Philippe
[Nexus 7 Android Development] 239:
logcat

Attached the log, hoping that it tells more. It's quite strange that it seems to affect most devices but not all. What could be the difference?
[Nexus 7 Android Development] adstraylight:
I just tried this, and it didn't work for me, this could be because we're running different apps etc at startup and generally in background.

So there maybe something in the kernel that is being overly aggressive when killing background tasks, because the issue was resolved for me by swapping to a different kernel.
[Nexus 7 Android Development] paasoares:
Sorry to say but, i tried this and it just dont work at all.

Here is the logcat with deep wifi log
[Nexus 7 Android Development] AndDiSa:
Thank you all for providing me with the logs. I need still to analyze more deeply, but probably it really has something to do with aggressivity of killing processes. In all the logs you provided me I can see the line "received kill signal" which then is shutting down wpa_supplicant. In my logs I do not have this entry ... I still need to find out why some devices behave so different than others.
[Nexus 7 Android Development] gorneman:
My log. I have the WiFi -sleep problem too
[Nexus 7 Android Development] Andy2No:
That sounds promising. What's a good way to uninstall it? I don't see anything built in that can do it.

I tried System app remover (ROOT) by Jumobile but it failed - twice in a row, then showed me a full page interactive ad for Audible, so I uninstalled it again.

EDIT: I managed to uninstall the Google app, with Root App Deleter, by TopDev. It was very slow to list the installed apps, but it did work - I've checked in Settings->Apps, after rebooting.

The area on the left of the screen in landscape mode is still there though - that's how I mostly use it. I keep it on a stand, at arms reach. I have a feeling there was a bit on the top of the screen in portrait mode that isn't now there, but I didn't look at it that way enough to notice. I'm happy to have anything I don't actually need deleted though, so thanks.
[Nexus 7 Android Development] AndDiSa:
Do you have problems with WiFi, too? In you log I cannot detect any issue regarding Wi-Fi connection problems.
[Nexus 7 Android Development] gorneman:
Yes, post edited with right logcat. I'm sorry