yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] adstraylight:
No, the app seemed to help, but any effect was temporary, and it may have been coincidence that the freezes stopped for a while.

I'm currently experimenting with other things, such as tweaking the interactive governor to increase the available cpu cycles under heavy load by preempting the point where the speed ramps up slightly.

I don't want to post irrelevant stuff in this thread, but I've posted in the k3.4 threads, as that's what I'm running right now, and was only talking here as the problem seems common to both.
[Nexus 7 Android Development] capounet:
Same behaviour since a few days: as soon as the display goes off, it is impossible to rewake the system except by plugging the power supply. I do not understand the relationship. Any idea ? Rgds, Philippe
[Nexus 7 Android Development] AdriK:
I have the Pixel Launcher installed and it works with this ROM.

You can download them from http://www.apkmirror.com and install from the SDcard or though adb.
[Nexus 7 Android Development] pehlm:
Thank you, but I think you must have it installed as a systemapp, for the Google Now feature and some other features. Is it stable? Nova is always stable as stone but is a little bit heavy. :)
[Nexus 7 Android Development] AdriK:
I installed it the normal way, using the apk, copied onto the Nexus 7.

It's not a systemapp, since it survives a flash of a new system image, wiping the system partition.

It's been rock solid for me, never once had a crash or unexpected close.
[Nexus 7 Android Development] pehlm:
Thank you for the information. ;):good:
[Nexus 7 Android Development] JensM1973:
Hi,

How can I Change the size of the Z-Ram? It seems that the default size on a Tilapia device is 255 MB.

Thanks
[Nexus 7 Android Development] abhifx:
hi [MENTION=2188693]AndDiSa[/MENTION]

looking at unlegacy thread and experimental kernel 3.4 thread... people have started to get good results from various tweaks. maybe you can dive in with your tweaks and make an "anddisa's aosp 3.4" rom. that should be amazing.
[Nexus 7 Android Development] adstraylight:
There are a couple of ways, either with a startup script, or using an app like Kernel Auditor.
[Nexus 7 Android Development] tpuserhp:
My grouper has the max776663 pmic, probably it might not boot with a 3.4 ROM. Not comfortable to try it seeing some people having the boot issue in that thread.
[Nexus 7 Android Development] abhifx:
as i have been following the kernel3.4 unlegacy thready, every variant of grouper should be fully fixed and bootable now.

You can check that with ziyan. So there is no issue of booting and working 3.4 kernel, only issue remained was tablet getting slow and rebooting occasionally. which seems to be getting fixed with some experimental changes.

if everything works, we might have a newer kernel and latest android chugging with our ol nexus 7
[Nexus 7 Android Development] AndDiSa:
[MENTION=3692487]abhifx[/MENTION] as I already wrote in a different thread, most likely the 3.4 kernel is the way to go in the future (especially if we would like to get Magisk support ... :)). Unfortunately currently I do not have so much time to start migrating to a different kernel, but I'll see what I can do.
[Nexus 7 Android Development] mafarric0:
Hi [MENTION=486859]andis[/MENTION]a,

Have you seen this post from micw?

https://xdaforums.com/nexus-7/development/rom-lineageos-14-1-nexus-7-2012-t3530261/post70790477

Did you parched this in the tilapia version?

Cheers
[Nexus 7 Android Development] AndDiSa:
New Version with July 2017 security patches is available

I just updated the version of the ROM to Android-7.1.2_r27 (NZH54B).

As always Grouper and Tilapia versions are available. I've updated the links in the OP, too. As always the Tilapia version is untested as I do not have a Tilapia device available.

And as always: flash on your own risks .. ;)
[Nexus 7 Android Development] ruedihofer:
Dear all, I have just upgraded to the juli release. I still encounter two problems, which I had already postet about but not have found a solution so far. I'll put them in two different posts ..

Media Volume

The speaker for media is not working. Alarm clock sounds and notification do work, as well as the headset. Only media through the loudspeaker is silent. What I encounter is the fact, that the volume slider automatically jumps to its max setting after having changed the value. It sounds unbelievable .. thats why I attached a screenshot movie. (Watch how the media volume always jumps to max value without producing a logcat entry)

Screenshot Video

I hope that the video with the visible logcat help [MENTION=2188693]AndDiSa[/MENTION] to track down the problem. If you need more information, please let me know.

Thank you!

---------- Post added at 11:07 AM ---------- Previous post was at 10:58 AM ----------

Dear all, I have just upgraded to the juli release. I still encounter two problems, which I had already postet about but not have found a solution so far. I'll put them in two different posts ..

Tablet not charging

When I plugin the usb charger, the tablet detects the charger and says 'charging'. They top right icon changes the state. Unfortunately, the tablet doesn't really charge. My workaround is charging through the docking station pogo pins on the lower left hand side. Not very convenient. (I have read other posts with similar problem). See screenshot with more details. Logcat

I hope that the screenshot with logcat messages help [MENTION=2188693]AndDiSa[/MENTION] to track down the problem. Attached a adb logcat View attachment logcat-adb-charging.txt. If you need more information, please let me know.

Thank you!
[Nexus 7 Android Development] AndDiSa:
[MENTION=8213790]ruedihofer[/MENTION] sorry, but I cannot access the video and I also cannot reproduce your issues, but probably you can provide with a logcat ...
[Nexus 7 Android Development] ruedihofer:
Hi [MENTION=2188693]AndDiSa[/MENTION], the URLs to youtube are working now.
[Nexus 7 Android Development] FirePsych:
Anyone know how to get get Night Mode Enabler to work with this ROM?

http://michaelevans.org/

It shows device not compatible in the Play Store.

TIA
[Nexus 7 Android Development] AndDiSa:
[MENTION=8213790]ruedihofer[/MENTION] sorry, but it's almost impossible to see what's written on the screen. A logcat would definitely be the better solution ...
[Nexus 7 Android Development] ruedihofer:
[MENTION=2188693]AndDiSa[/MENTION] here you go ... The problem is that you won't see much in the logcat. When the media volume jumps up to 10, it doesn't generate a logcat entry for that event. That's why I attached the movie ...

(cleaned this message up since I figured how to add attachments;)
[Nexus 7 Android Development] AndDiSa:
[MENTION=8213790]ruedihofer[/MENTION] I was expecting a real logcat where you probably can see also which other processes are running and probably influencing the sound level. Having only the sound events does not really help very much ...
[Nexus 7 Android Development] ruedihofer:
Ok, sorry, real logcat attached. Hope this helps.
[Nexus 7 Android Development] AndDiSa:
Hmm ... how do you get this logcats? Do you use something like

adb logcat | tee logcat.txt

from the command line or how do you get the logcat? The issue I have is that I am missing a bit the context I do see only the events logged but this isn't suffient for an analysis ... :(
[Nexus 7 Android Development] ruedihofer:
I was using the app matlog, enabled logging, did change the volume setting, disabled logging, sent it to my PC and posted it to this board.

I have now installed adb and attached adb logcat output. See below. It really shows something whenever the volume jumps up!
[Nexus 7 Android Development] AndDiSa:
[MENTION=8213790]ruedihofer[/MENTION] I'll have a deeper look tomorrow. One additional question: do you have installed an external app which is controlling sound / settings / etc ... ?
[Nexus 7 Android Development] ruedihofer:
No, not that I'm aware of. The only special app is the pixel launcher from http://www.apkmirror.com/apk/google...-launcher-7-1-1-3862848-android-apk-download/
[Nexus 7 Android Development] Cocalarix:
So, for people that have been using this ROM for a while, how is it for daily usage?

It's nice to see that the dev is still active around here. Really good sign.
[Nexus 7 Android Development] n3kf:
It's about as good as it gets for this old device. AndDisa is very responsive and a miracle worker! It has some quirks, but in this day and age it's the best you can get (well they're is 3.4 kernel ROM and sounds like that is getting better and better also).
[Nexus 7 Android Development] Cocalarix:
Pardon my ignorance, but what's that about 3.4 kernel? A new ROM? What's good about it?
[Nexus 7 Android Development] Cocalarix:
Much appreciated. 3.4 does sound really interesting. I'm guessing I should wait, even though the OP in there says that everything works? I notice they're still discussing bugs and helping each other.
[Nexus 7 Android Development] AndDiSa:
Probably to get the discussion into the right direction:

- kernel 3.1 is working with Nougat as is 3.4

- 3.1 is the kernel which is build for Nexus 7 since the first Jelly Beans ROM was rolled out, but the official support of the kernel ended already in January 2012 (!). All further development / modifications / security fixes in the kernel were unofficial ones

- 3.4 has reached end of life, too, but in October 2016, so it's quite new in relation to official security fixes / hardware support. Unfortunately all NVIDIA / Nexus 7 related modifications to the kernel needed to be backported. This was done in the last months / years by several people and in the last period mostly by the Unlegacy Android Project

- both kernel probably have some issues, but in different areas

As there are probably some features (in future) need to be backported from other linux kernels the expectation is that this is more easy for the 3.4 kernel than for the 3.1 kernel
[Nexus 7 Android Development] shaggyskunk:
Personally - I do a Clean Flash a little bit differently - Boot into TWRP 3.0.2-0 - Factory Reset - Advanced in TWRP - Manually Wipe System - Data and Caches - Flash Rom and Gapps.

As for Titanium Backup - You can certainly Restore USER Apps and Data - Where you WILL get into issues is if you Restore ANY System Apps.

My 2 cents FWIW ;)

Sent From My SM-N910W8 ??
[Nexus 7 Android Development] guilou123:
7.1 ROM makes my old grouper usable again (Marshmallow ROM didn't)

Thank's a lot to developpers !

Bug report : Am I the only one who can't activate device administrator for "Android Device manager" ? (In order to lock the screen and erase data remotly)

Parameters > Security > Device administrators >Android Device Manager > Activate button have no effect
[Nexus 7 Android Development] Bakica:
Is this a clean install?
[Nexus 7 Android Development] AndDiSa:
[MENTION=4336485]alezardstar[/MENTION] Thank you for the kind words and that you like the work. I appreciate very much that you would like to donate to me, but by principle I do not want to get donations. I would prefer if everyone who likes my work and who is willing to donate redirects the donation to e.g. Human Rights Watch, Amnesty International or any other charity organization of his choice.
[Nexus 7 Android Development] shaggyskunk:
[MENTION=4336485]alezardstar[/MENTION]

Thanks for your observations - You should know that 99% of my posts on XDA are done on one of my Android Devices. There is not the option (that I'm aware of) to use Italics or underline to emphasize Important Points.

In some 13,439 posts your observations are unique - No one (to my knowledge) has ever taken my use of Caps to be inappropriate or "shouting" - Perhaps they take my use of Caps in the intended context - or they are more familiar with my good nature :)

I will continue to use Caps when I want to emphasize important points, & now that you have been informed as to the reason why I use Caps when posting from an Android Device, I'm sure that you will appreciate the Spirit that is intended and not continue to be offended ;)

Sent From My SM-N910W8 ??
[Nexus 7 Android Development] RastaFATian:
GPS working now... I put it in high precision and it solved it right away
[Nexus 7 Android Development] 239:
Works for me, it was even already activated. Turning it on as a second user (with a different account) also worked.
[Nexus 7 Android Development] guilou123:
Thanks for the reply.

Tried one more time today and it worked !

I don't understand why it didn't yesterday. My install is totally clean. I rebooted many times without any effect.

Maybe a 24H waiting period for subscription ? I'll never know :)
[Nexus 7 Android Development] AndDiSa:
[MENTION=6581116]akashkyh[/MENTION] Thank you very much for the video, I even learned some features which I didn't even know they exists ... ;)
[Nexus 7 Android Development] tj13:
Wow!!! thank you for Nougat on my Grouper!
[Nexus 7 Android Development] mafarric0:
Hi there,

Installed 7.1 last night on my beloved tilapia and so far everything seems to be working fine :)

Thank you very much for not forgetting this device family!
[Nexus 7 Android Development] Promez:
Using this since 3 days and i can confirm that runs really great.

Really impressed, much better than marshmallow!

Thanks for your work guys

Inviato dal mio Nexus 7 utilizzando Tapatalk
[Nexus 7 Android Development] masterofmayhem:
Has anyone gotten the Google assistant to work on this ROM? I've tried the few methods circulating to no avail.

EDIT: Method 1 #2 worked found on this site: http://www.androidsage.com/2016/10/...-assistant-from-google-pixel-on-your-android/
[Nexus 7 Android Development] mafarric0:
Ok, I think I found a problem! Chrome gives an MTP error when it tries to save a file in storage. I tried to reinstall the apk from Play Store but to no avail.

Anyone else has this problem?
[Nexus 7 Android Development] AndDiSa:
The mtp error may occur from time to time, but generally has no further influence on functionality.
[Nexus 7 Android Development] AndDiSa:
One step further to get out of beta state: Finally I got the camera working on 7.1.x ... ;)
[Nexus 7 Android Development] humano:
Maschine:good:
[Nexus 7 Android Development] abhifx:
you are the man man!

also latest android auto crashes, kindly into it too (or your camera fix might have fixed that too)
[Nexus 7 Android Development] AndDiSa:
Android Auto I didn't check yet. It's one of the next issues to fix.
[Nexus 7 Android Development] cy80rg:
Installation experience & lost root?

Morning all,

Just installed this on my aging N7 2012...

Despite the usual "error: Unknown command" (two lines), during install - rebooted and works fine.

I did get a couple of "warnings" - one regarding the clock afair. "Muted" both of these, and boot continued as expected.

The 2nd was

"com.android-phone has stopped"

Not surprising, as the N7 Grouper doesnt have phone / sim functionality!

(NB - this came up again when I reboot).

Went to install SuperUserSU from PlayStore, says that it needs Root...

Looks like the install of this Rom removed Root access.

Remind me - is Root process generic for the N7, or does it depend what version of the OS you're running?

Mine is now the 7.1 Nougat, as installed by this ROM.

Great project - following!
[Nexus 7 Android Development] Cocalarix:
Thank you for keeping this old beast relevant [MENTION=2188693]AndDiSa[/MENTION] <3

I'll probably give this ROM a shot and see how it does, even though I found that Xposed + Greenify is pretty essential to keep it nice and snappy.
[Nexus 7 Android Development] shaggyskunk:
[MENTION=486859]andis[/MENTION]a Appreciate all of your AMAZING support for this device!

I'm wondering if it's possible to add a Long Press to Kill apps running in the foreground?

Sent by my SM-G930W8 From Down The Rabbit Hole ??
[Nexus 7 Android Development] n3kf:
Unless you are a tinkerer or know your way around a ROM (which means you'd understand ,3.4 kernel), probably should stay away from. Just my opinion.
[Nexus 7 Android Development] CanOBeans:
Still waiting for Xposed for nougat... I miss it since moving away from marshmallow
[Nexus 7 Android Development] shaggyskunk:
And Xposed has anything to do with this Rom? Your post belongs on Rovo89's Thread - Not here.

Sent by my SM-G930W8 From Down The Rabbit Hole ??
[Nexus 7 Android Development] CanOBeans:
Mentioning the compatibility of Xposed to this rom when answering the previous post considered off topic?
[Nexus 7 Android Development] shaggyskunk:
Well for starters - Xposed isn't even available for Nougat Roms - So it's COMPLETELY irrelevant to this Rom.

Like I said before - Search on Rovo89's Thread - You'll see that Xposed isn't even close to being available for Nougat - Furthermore - This is a Development Thread for Grouper and Tilapia... Period.

"Bye bye sweet Canadian moonshine" ?? ? From My SM-G930W8
[Nexus 7 Android Development] williamlaw:
I also encountered this issue - SystemUI force stop

Device no response suddenly, I have to reboot
[Nexus 7 Android Development] AndDiSa:
[MENTION=3887645]williamlaw[/MENTION] if this situation is happening again would it be possible to get a logcat from that situation? I couldn't reproduce this yet ...:(

One reason could be low memory management, i.e. additional RAM is needed but to free RAM apps need to be stopped but those are currently swapped to zram ...

Currently I am trying to increase the amount of memory which needs to be kept free. Probably this will help a bit.
[Nexus 7 Android Development] williamlaw:
I think so, it may related to low memory.

Seems not encountered again if i remove some apps and just kept few apps only.

Look for new build.

Thanks for your work
[Nexus 7 Android Development] Adrosmart:
Problems after update

I tried once again to update my Grouper to one of these versions that have the "sudden applications closes fixes", but I get the same result. After some time and open apps the tablet becomes unresponsive and I have to restart it. I had the 20170308 version since you launched it and aside from the app crashes it worked very well, the tablet didn't lag and it had very good battery time. But after some time I started to get annoyed with the crashes so I decided to try 20170407. It worked well for a period of time but once you open a few applications the RAM gets to about 90% load and the tablet becomes unresponsive. I don't know what happened to ram management after this update, but on the march version the ram would get free when you close something. Is there something I can or should do in the Performance Control app that would help me? Also the battery life became way worse with these versions; I went from 16-17%/h to 25%/h. To sum it up, I got the same problems with the April update to July one. I've tried all of them and I end up with the same result.
[Nexus 7 Android Development] AndDiSa:
[MENTION=4065819]Adrosmart[/MENTION] sorry, but there are some statements in your last post which sounds a bit strange

1.) free RAM is wasted RAM, i.e. RAM will always be filled up as soon as possible either by apps or by the file cache. While the RAM used by the file cache is easy to free by the system, freeing RAM used by apps will require some more steps

2.) regarding force closes: did you clean cache / dalvik-cache after the update? Android is compiling applications in the background. If you are updating the OS but not cleaning up the dalvik-cache there is the risk that the compiled apps are incompatibe to the "new" libraries provided by the OS

3.) You are having 25% battery usage per hour? What kind of application you are using? I do have 8%-10% when using the tablet having screen on and browsing the web / reading some articles / ... in stand-by battery consumption goes down to 0.3% to 0.5%
[Nexus 7 Android Development] Adrosmart:
1. I am just telling you what I noticed about the RAM consumption. On the March version the RAM would just get freed when closing apps, on the newer builds it doesn't which makes my tablet lag like hell.

2. I am talking about force closes on the 3rd March build, not the newer ones.

3. I am using the same applications I was using before on the March build: YouTube, Twitch, Chrome and Moon Reader. With the same usage pattern I get faster drain now.
[Nexus 7 Android Development] johne3003:
I like this ROM except ... playing youtube videos for a longer time pushes system RAM in running services to 700MB and more ( and everything starts to lag very badly ) with Apps using about 200 MB you are left with less than 100MB of free RAM. Closing apps (even force closing)/cleaning cached data/uninstalling apps doesnt help, running services system RAM keeps going up. Only reset makes the RAM go back to about 400 MB.

And the need to swipe for 1 mile to unlock the screen is anoying but i guess that is a Nougat problem.
[Nexus 7 Android Development] shaggyskunk:
It's not the Rom - It's the ancient device with hardware that is receiving CPR from [MENTION=486859]AnDiSa[/MENTION] - Be happy that it's running this well! ? And continuing to receive the dedicated support and development from the OP!

"Bye bye sweet Canadian moonshine" ?? ? From My SM-G930W8
[Nexus 7 Android Development] JensM1973:
I adjusted the low memory killer settings to "aggressive" (for example with Kernel Adiutor). I have the feeling the the device is now responding quicker and the amount of free memory is always at around 100-200mb. Without these settings my device freezes, too. Either a restart is required or sometimes the tablet came back after a 5 minutes nap. In these case I saw the the free memory is quite low.
[Nexus 7 Android Development] DragonTome:
WiFi Assistant

I have searched this thread and a few others in regards to Google's 'WiFi Assistant'. I don't see the configuration option in either the 'Google' or 'WiFi' settings, though I have installed 'Google Connectivity Services'. I am gathering that there may be some provisioning that Google would need to do for the device. Does anyone know if that's true, such that the Nexus 7 (2012) is likely not to work for this function? or am I just not understanding how to enable the functionality?
[Nexus 7 Android Development] joeboy00701:
[MENTION=2188693]AndDiSa[/MENTION]

I've managed to get a logcat by using the devices a few minutes until it has been frozen at the lockscreen 30 min ago. It is still in this state. Even the Time is not running. The last thing I did was awaking the device and unlocking it. I've taken a screenshot of the lockscreen and the last lines of the logcat. I'll rather send you the the complete logcat-file as PM
[Nexus 7 Android Development] Alex_Lyt:
Hi. I want to install this rom, but I've already had a motherboard switched to apx mode )))

Please help to upgrade from 4.4.2 in a most safe way.

Thanks in advance
[Nexus 7 Android Development] petrus764:
Great work man, can't believe this old pos hardware has better ROM support than many newer devices. My old N7 is slow and laggy as hell ofc, but it works great for watching tv/movies in bed.
[Nexus 7 Android Development] williamlaw:
It's really better after used "aggressive".

Thanks :good:
[Nexus 7 Android Development] AndDiSa:
[MENTION=3887645]williamlaw[/MENTION] I am experimenting with similar settings currently and it seems more fluent. Next builds will definitely include changed settings.
[Nexus 7 Android Development] ePHDiSK:
Thank you for keeping my Grouper alive!

I formatted my /system as F2FS but after flashing this ROM it returned to ext4. /data and /cache stayed F2FS and it is quicker.

Do you have any tips for forcing the /system partition to stay F2FS??
[Nexus 7 Android Development] AndDiSa:
[MENTION=4416247]ePHDiSK[/MENTION] F2FS for /system does not make sense because /system is ready only and F2FS improves the handling of file system changes but not the speed of reading from a file system.
[Nexus 7 Android Development] ePHDiSK:
That makes sense, thank you for the explanation. Please keep up the great work!
[Nexus 7 Android Development] tpuserhp:
I've just installed a substratum theme in the substratum legacy mode. It works out really well with no problems. OMS mode would be better.