yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] topoldo:
Just to take up a subject which was faced up in this thread: I also had my Nexus 7 which was very slow or completely uneffective in re-charging. I changed its USB port (about 10 €) and now it works like a charm and I can dedicate this table to be the navigator for my car :)

Topoldo
[Nexus 7 Android Development] Axel85:
I can't boot the July 7 build on grouper. After a factory reset , wipe data cache system , twrp 3.1.1.0 tell me there is no is installed, and when I reboot stay on Google logo 2 times before it reboot to recovery. I don't know what I'm doing wrong
[Nexus 7 Android Development] AndDiSa:
If you wipe /system everything of the ROM is removed ... you shouldn't wipe /system after having flashed the ROM.
[Nexus 7 Android Development] Axel85:
Sorry maybe I was not able to explain correctly

Installed last recovery

Wiped system ,cache, data

Installed last ROM from 7 July

@ reboot recovery say no os installed

Tablet stay @ Google logo 2 times than reboot to recovery

But forget about it... Don't know why but now it's working. I leave the tablet in charge, but it just was at 35% , the other thing I've done is shutting down from recovery instead of rebooting to try the ROM . It's a mistery
[Nexus 7 Android Development] bovirus:
[MENTION=2188693]AndDiSa[/MENTION]

Tested the grouper ROM (latest build of uly 2017).

Installation OK.

Install ROM + Mini gapps 8as explianed in first post) + SuperSU 2.82 + busybox.

I got only a probelm with Asus 2012 Wifi standard camera.

The photos are very bad. Low resolution and solarized.

I tried to install other camera apps but cannot save images.

Could you check please?

Proposal for improvements.

Install in stock ROM a very base File Manager.

very important to install file without to log on PlayS troe.

Could you increase SYSTEM partition size (reducing big USERDATA app).

Now SYSTEM partition size is 650MB (32 MB free) and USERDATA partition is 28GB.

If you could I propose to add about 500MB to SYSTEM partition reducing USERDATA partition.
[Nexus 7 Android Development] AndDiSa:
For your camera problem you should try to use e.g. BetterCam, but probably you need to grant write access to media manually.

Android 7.x has already simple file manager included, it's a bit hidden, but you can access it by settings->storage->explore

Unfortunately the partition sizes cannot be changed on Grouper, the only chance would be to move some parts of system to /data and to bind mount those parts. But this has some other implications e.g. sepolicy modification, etc. From that point of view it's better to install e.g. pico gapps to get a bit more storage on /system (for whatever reason you need it).
[Nexus 7 Android Development] bovirus:
[MENTION=3992908]andysa[/MENTION]

How can gran access manually to media folder?

Why the stock camera preview is OK but the photo are so bad?
[Nexus 7 Android Development] shaggyskunk:
Depending on exactly what you're looking for - Using Root Explorer - System/media.

The Camera is what it is - It's only 1.2 Mp

Here's the Specs for the Nexus 7 2012

http://m.gsmarena.com/asus_google_nexus_7-4850.php

The OP has done a PHENOMENAL job in building this Rom for this Device! You have to remember that the N7 2012 is not exactly the most advanced in terms of Hardware ?

From Down the Rabbit Hole by:

My SM-G930W8 ??
[Nexus 7 Android Development] 239:
Settings, Apps, ..., Permissions, Storage

What do you expect from a 1.2 MP camera?

It isn't really related to this ROM, though. You could try Google first and get answers even faster next time.
[Nexus 7 Android Development] bovirus:
[MENTION=6076637]239[/MENTION]

I know very well the hardware feature and result of a 1.2Mb camera.

But the preview and the shot created by stock app is completly different (like 0.2/0.3 Mb camera with solarized effect).

Now I assigned the permission to the apps and the other apps like Bettercam works fine.
[Nexus 7 Android Development] Ahkah:
Indeed the resulting images taken with the built-in camera application look like an oil painting, not like a photography. There is a problem with the colour depth, maybe. This has been known already for some months, and it has been discussed here, and anybody already using this OS knows about it and also knows about AndDiSa's workaround.

Generally it's a good idea to first search the thread for keywords like "camera", but on the other hand it would also be helpful to have a "frequently asked questions and their answers as long as they exist" list.
[Nexus 7 Android Development] KuFeL78:
I have updated to the latest version of AOSP. Everything is working just great, but I found one issue.

With the standard rom I used to have a fast charging option. With AOSP it does not work. What can be a reason for that?
[Nexus 7 Android Development] AndDiSa:
Fast charging is supported, but you need to activate it manually using e.g. KernelAdiutor. Nevertheless it will not work as you are expecting, because it's only allowing to get more than 500mA from an USB port but has no influence on the charging speed itself.
[Nexus 7 Android Development] XDA7:
Hi, I have 2 strange big problems with the new and older roms.

1.- The Google screen lasts very long (5 minutes???) before starting charging android.

2.- When the battery is full loaded and I let the nexus switched off, it consumes the whole energy in some way. And when I start it again in a couple of days is empty.
[Nexus 7 Android Development] AndDiSa:
[MENTION=2302365]XDA7[/MENTION] sorry, but my glass bowl is currently out of order ...;)

Generally the Google screen is shown while the kernel / boot image is loaded and initialized. It takes for me 1 to 2 minutes, then it's exchanged with the android screen. Here all system initialisation and optimization is taking place. The time on that screen is dependent on the apps you have installed, may take up to 15 minutes.

Nevertheless if your device is consuming all the battery charge in less than a day while screen is off something is wrong. Either the battery is at it's end or there is a process running preventing the CPU from going into sleep mode.

Do you have installed apps which are running wild? Did you probably restore settings / apps from a Titanium backup?
[Nexus 7 Android Development] AndDiSa:
New Version with August 2017 security patches is available

I've updated the ROM version to Android-7.1.2_r33 (NZH54D)

The most important changes are:

low memory killer is a bit more agressive to prevent from rebooting due to lack of memory which could happen when switching between apps with a huge memory foot print

a huge amount of kernel changes, trying to find the best compromise between power consumption and responsiveness

You can download the OTA-packages them from:

Grouper OTA package 20170811

Tilapia OTA package 20170811

or from the OP.

If you are installing the ROM for the first time, please have a look at the installation instructions found in the OP and post #2.

Please report issues if you find any and ... as always .. as I do not have a Tilapia-device, the Tilapia version is *not* tested.
[Nexus 7 Android Development] FirePsych:
Anyone know how to get XDA to load in Chrome in a reasonable amount of time on this ROM, on this device?

I'm trying to avoid putting Tapatalk on my N7.

TIA
[Nexus 7 Android Development] mausbock:
[MENTION=2188693]AndDiSa[/MENTION]

It seems there is an issue with mobile network for tilapia with latest version. My SIM card will not be recognized anymore. I flashed back to July version and mobile network is working again.
[Nexus 7 Android Development] AndDiSa:
[MENTION=6755201]mausbock[/MENTION] is it possible to get a log / kmsg ?

As I do not have the device by my own it's difficult for me to start the analysis
[Nexus 7 Android Development] mausbock:
I'll try it but first I have to flash the new ROM again.
[Nexus 7 Android Development] zorg:
I can confirm that tilapia mobile network is broken (it doesn't even find the baseband). Also the whole system is much more laggy, I'm not even able to play a 720p video anymore without dropped frames and sound glitches. Lags are also clearly much more noticeable when switching between home screens than before.

I'm nevertheless amazed how well this old device is running with these custom roms (also used daniel_hk ones), really impressive work.
[Nexus 7 Android Development] AndDiSa:
[MENTION=8476357]zorg[/MENTION] did you clean cache / dalvik and did you let it optimize the apps before starting your tests? I do not have any problems in looking videos.
[Nexus 7 Android Development] zorg:
[MENTION=2188693]AndDiSa[/MENTION] Unfortunately yes, I updated as usual (boot in recovery, ROM install, reboot in recovery, opengapps, cache wipe, reboot system).

I noticed the lag when I was using it, even after a few hours. Then I tried to reboot with no results. And finally I came back using July release as it is working very well and in the meantime I have also realised that mobile network was broken.
[Nexus 7 Android Development] DragonTome:
I experienced similar behavior using 7.1.2 Grouper OTA-Package (Build 2017811). I went as far as wiping the system partition and trying it all again. I did NOT wipe data, as I was just moving up from the July release. No matter how long I allowed the tablet to sit, I could barely get it to wake to do anything. I have flashed back to Build 20170707, following the same steps and within around 30 or so minutes things were back to 'normal for me'. That will teach me to try and upgrade the night before a long airplane ride. :)
[Nexus 7 Android Development] Torgar:
Have the same problems with Tilapia version. Version from July seems better. But also has a problem with turning off. The device will not turn off, just display (turn off box hanging in the dark background). Have a suspicion that this may be due to Magisk. Can turn off power from TWRP (last verson).

Does anyone have experienced this?

Otherwise I would like to thank AndDiSa for the great rom.
[Nexus 7 Android Development] furiousmurphy:
Just upgraded to 20170811 tilapia, but mobile data connection not working, Baseband version in tablet status now shows "Unknown" and will not recognize SIM card is installed.
[Nexus 7 Android Development] goran_s:
Hi,

I installed the KernelAuditor but can't find the option to activate fast charging. Is it a manual command to enter somewhere?

Best regards,

Goran
[Nexus 7 Android Development] AndDiSa:
[MENTION=5314849]goran_s[/MENTION] probably you need a script for it which does the following:

echo 1 > /sys/kernel/usbhost/usbhost_fastcharge_in_host_mode

there are also some other options which might be interesting for you:

usbhost_fixed_install_mode (which enables the fixed installed mode)

usbhost_hotplug_on_boot (which enables hotplugging usb devices directly while booting the tablet)

usbhost_hostmode (which enables / disables the usb host mode)

But as I already said this does not have influence in the changing speed itself this depends completely on the power the charger is providing and the AICL behaviour ...
[Nexus 7 Android Development] topoldo:
I also tried to the latest version of this ROM on my WiFi-only Nexus 7 [2012].

I did not have any particular lag (but I have been using only for a few minutes). On the contrary it was almost impossible to connect to a WPA2-PSK WiFi home network which previously did not show any particular problem.

It seems like the antenna is quite weak and cannot grab the signal.

Please note that 3 smartphones, 3 PC and 2 tablets are able to connect perfectly from about same position and the Nexus itself was able to do until the previous version. Please note that I also wipe dalvik and cache before restarting my device where the network was already savd. I had to delete it and tried to reconnect at least 3-5 times before being successfull. I don't know is the problem has the same origin of the Tilapia one.

I'll check in a short time by downgrading to July version.

Topoldo
[Nexus 7 Android Development] tpuserhp:
I've installed the latest version of this ROM on my grouper wifi only device. But I don't have connection issues with my WPA2-PSK WiFi home network. You might want to reset your router and see if it helps. I always use my own performance settings as they seem to work better with the workload on my grouper device. I tried without my settings this time after ROM upgrade. I found my settings are more suitable to the usage of my device.
[Nexus 7 Android Development] thierry+:
Issue with Webview Shell Permissions

Hi AndDiSa,

When i visit permissions for the Webview Shell app i find i can turn on all the permissions except for those under the "additional permissions", after I turn them on and exit; i go back to check and i find that they are still shown as off.

I am running the Grouper OTA package 20170707...........Any ideas ?

For all those who will ask/suggest how to install the ROM, no need as I followed AndDiSa's instructions to the letter as i have been doing since his first release of this ROM.

These permissions would allow the Bluemail app(free) to read(open) emails from the inbox, which it sometimes manages to do on an intermittent basis. It would also allow me to see news content on the XDA app which unfortunately it does not allow at all as it always times out.

NB

I had the same issue with the release Grouper OTA package 20170608, but with that package i found that flashing the ROM using NRT solved the problem, however this technique did not work with the Grouper OTA package 20170707 package i am using now.
[Nexus 7 Android Development] goran_s:
Care to share Your performance settings? :o
[Nexus 7 Android Development] topoldo:
Solved: when I unmount battery and usb port of my N7 indored to change them, inadvertently I probably touched antenna contacts. So I reopened the chassis and I moved a little bit the antenna contacts. Now everything works again! Nothing to do with the new release of AndDiSa!

Topoldo
[Nexus 7 Android Development] tpuserhp:
I just have the attached script (modified parrotmod script) run after boot. Mainly reduced background tasks, increase values of low memory killer, disable ksm and zram. I don't run high memory user apps. Try it and see if it helps or makes it worse for your workload profile.
[Nexus 7 Android Development] tpuserhp:
Script file attached
[Nexus 7 Android Development] test03:
Hi.

First of all thanks for your work on this ROM, it made my Nexus 7 usable!

I have an issue with some apps (like Resilio Sync, Perfect Viewer and others but I believe it's a ROM issue). The apps cannot access the internal storage without root access. Any ideas?

Thanks!
[Nexus 7 Android Development] AndDiSa:
For those of you using the latest Tilapia-Version and hving problems with the SIM card, I suppose there were some permission issues which I could find in the logs provided by [MENTION=6755201]mausbock[/MENTION]

I've updated to a never version: aosp_tilapia-7.1.2-ota-eng-20170814.ds.zip

Could you please check and report whether the problem is fixed? Thank you very much.
[Nexus 7 Android Development] Ahkah:
In a short test playing some video in YouTube I did not notice any problems.
[Nexus 7 Android Development] exzacklyright:
could never get this rom working. Just says "could not connect to google servers" when I try to add a google account.
[Nexus 7 Android Development] shaggyskunk:
Yeah it takes some time to connect - but it eventually does connect.

From Down the Rabbit Hole by:

My SM-G930W8 ??
[Nexus 7 Android Development] mausbock:
[MENTION=2188693]AndDiSa[/MENTION]

Still no luck with the new version, no SIM card found.

I have sent You a log via email.
[Nexus 7 Android Development] dicko99:
Hi there,

First time user of this ROM.

I installed the version in the first post and everything worked fine apart from the SIM card being detected. So I then installed the version mentioned a few post back and the SIM still doesn't work and I now get the "could not connect to the Google servers" error too. :(

What logs do I need to provide to help diagnose the SIM problem?

Richard.
[Nexus 7 Android Development] FirePsych:
On the latest ROM, on Grouper, I had to remove and log out of my Google accounts, reboot and log back into them. Everything was fine after that.
[Nexus 7 Android Development] iCantCSharpWG:
device wizard keeps stopping

Hello guys,

i try to install the current build (new clean install) and i can´t use the tablet becouse the Setup wizard stopp working.

After "Let´s go" its doesent metter that i choose, the wizard stopped working and restart.

I cant reach the homescreen.

Edit:

Grouper build 08/16/2017

UPDATE 2:

I found a soulution and the problem!

You need a wifi connection. The app try to search updates but dont show the wlan settings.

When the device wizard keeps stopping you can within approx. 0,5 seconds pull down the status bar and activate the wlan (or click the gear and your direcetly in the settings).

With a internet connection the device wizard works!

feel free to improve my post. I´m not a nativ english speaker ^^'
[Nexus 7 Android Development] MaxxTwo:
Just log out? I just update and gplay keep FC. Flashed gapps again is same
[Nexus 7 Android Development] FirePsych:
Actually, I went into Settings, Apps, Menu, Show System and cleared the data from all of the Google apps.

Removed my Google account.

Reboot to Recovery, flashed the newest OpenGapps Pico a d went from there.

Thought it might've been overkill, so I didn't go into the details in my 1st reply.
[Nexus 7 Android Development] dicko99:
I wiped and reinstalled everything and Google is working now. Still no SIM detected though...
[Nexus 7 Android Development] MaxxTwo:
Update: You right man. As easy as that. Just log out fix it
[Nexus 7 Android Development] capounet:
This month, strangely even though having reflashed as each month the bean gapps zip suggested in the OP, all goople apps keep FC . I tried first as indicated in a previous post just to delete my Google account . But it was not enough and I had to delete all Google apps data and reinstall them one by one from the play store.

All non Google apps were not affected and none of their data were lost.

Except from this, this monthly update is very smooth, no lag.

After one full day of use, very pleased by this august update, not a single freeze of app anymore.

Once again thanks to AnDiSa

Rgds, Philippe
[Nexus 7 Android Development] AndDiSa:
... and another try (new Tilapia version):

I've added further permissions, as I am not able to test I still cannot guarantee that SIM card is working now.

aosp_tilapia-7.1.2-ota-eng-20170818.ds.zip

Could you please check and report whether the problem is fixed? Thank you very much.
[Nexus 7 Android Development] dicko99:
Sorry to report this version won't even boot properly, I get "System UI has stopped" during initial boot.

Running logcat I can see the following which I think looks bad:

08-19 12:00:19.235 2049 2049 W art : Failure to verify dex file '/system/priv-app/SystemUI/SystemUI.apk': Bad file size (483328, expected 3800272d)
08-19 12:00:19.241 2049 2049 W System : ClassLoader referenced unknown path: /system/priv-app/SystemUI/lib/arm
08-19 12:00:19.276 2049 2049 D AndroidRuntime: Shutting down VM
08-19 12:00:19.281 2049 2049 E AndroidRuntime: FATAL EXCEPTION: main
08-19 12:00:19.281 2049 2049 E AndroidRuntime: Process: com.android.systemui, PID: 2049
08-19 12:00:19.281 2049 2049 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.android.systemui.SystemUIApplication: java.lang.ClassNotFoundException: Didn't find class "com.android.systemui.SystemUIApplication" on path: DexPathList[[zip file "/system/priv-app/SystemUI/SystemUI.apk"],nativeLibraryDirectories=[/system/priv-app/SystemUI/lib/arm, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
[Nexus 7 Android Development] AndDiSa:
[MENTION=961756]dicko99[/MENTION] Thank you for testting. I was already wondering why the overall system size was smaller than it was used to be before but I could not find any missing files ... most likely I need to clean up my build system fully and I need to start a fresh build. Unfortunately this will take a bit ...
[Nexus 7 Android Development] ksaves2:
Ewwww K., I was wondering why I was having issues last night when upgrading from 7.7.2017 in my 3G. Thanks heavens for TWRP and backing up. Somehow when I updated to 8.11.2017 I lost root but

fired up Ubuntu and adb to do the CF-Auto root thing and got that squared away. Found out the AT&T 3G SIM card was dead and diddled with it for awhile but since I'm only a script kiddie I restored the July backup

which still functions well.

I have a 2013 LTE but this 2012 3G came up for $49.00 so I gave it a whirl and though it has some limitations I like it. For a 5 year device, it shows a bit of age but still works. This AOSP ROM is great for the

2012 3G and the 7.7.2017 version is quite respectable. I'm able to run the VOIP/SIP app "TalkaTone" and make calls over WiFi and the HSPA 3G link. Quality is pretty good and it can be made to switch in and

out automatically from WiFi to 3G ("H" on the data indicator in the upper right). Nice to be able to make an occasional call from the tablet. Yes, confidentiality goes down the tubes without a headset but

for short calls and emergency use it's great.:laugh: FWIW tethering is in there too though I haven't fired it up yet. Might be helpful in a pinch if one has a WinBlows tablet that needs an Internet connection

out in the field.

On the 2013 LTE none of the Lineage based ROMs work with "TalkaTone" so am stuck with Marshmallow there.:crying:

Kurt
[Nexus 7 Android Development] AndDiSa:
... my last try with the Tilapia versions. If this this still does not work I suppose I have to give up with Tilapia ...

aosp_tilapia-7.1.2-ota-eng-20170819.ds.zip

Anybody would like to give it a try ... ;)
[Nexus 7 Android Development] dicko99:
Sorry to report it still says "No SIM detected"...

Is there anything I can logcat or even tweak on the device for you or do I need to go over to the dark side? Carbon 5.1 seems to work OK... :crying:
[Nexus 7 Android Development] AndDiSa:
[MENTION=961756]dicko99[/MENTION] you could try to check in the logcats whether you can see crash reports on the rild. In the logs I got up to now there was always an avc: permission denied regarding the rild and then a crash report of the rild.

First it was reading permissions were missing, the second I found execution rights missing, ... it's a bit difficult to find the error if you do not have the device at hand :(
[Nexus 7 Android Development] dicko99:
Here's everything shown by logcat | grep ril during a device reboot:

08-20 09:38:33.190 542 542 W system_server: type=1400 audit(0.0:27): avc: denied { ptrace } for scontext=u:r:system_server:s0 tcontext=u:r:rild:s0 tclass=process permissive=0
08-20 09:38:40.690 583 583 W am : type=1400 audit(0.0:32): avc: denied { read open } for name="app_process32" dev=mmcblk0p3 ino=122 scontext=u:r:rild:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file permissive=0
08-20 09:38:41.930 559 559 W ActivityManager: type=1400 audit(0.0:58): avc: denied { ptrace } for scontext=u:r:system_server:s0 tcontext=u:r:rild:s0 tclass=process permissive=0
08-20 09:38:57.190 1353 1353 W am : type=1400 audit(0.0:90): avc: denied { read open } for name="app_process32" dev=mmcblk0p3 ino=122 scontext=u:r:rild:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file permissive=0
08-20 09:39:14.050 2361 2361 W am : type=1400 audit(0.0:91): avc: denied { read open } for name="app_process32" dev=mmcblk0p3 ino=122 scontext=u:r:rild:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file permissive=0
08-20 09:39:30.940 2882 2882 W am : type=1400 audit(0.0:92): avc: denied { read open } for name="app_process32" dev=mmcblk0p3 ino=122 scontext=u:r:rild:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file permissive=0
08-20 09:39:49.075 3409 3409 W am : type=1400 audit(0.0:93): avc: denied { read open } for name="app_process32" dev=mmcblk0p3 ino=122 scontext=u:r:rild:s0 tcontext=u:object_r:zygote_exec:s0 tclass=file permissive=0

The last one continues to repeat every 17 seconds or so.