yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] millosr:
I don't use mobile data so I can't reproduce issue. I have sim card, but the data is turned off, because I'm having little credit on it.

There was an issue with disconnecting from mobile network before, but that seemed to be fixed with switching to Andidsa kernel.

For your issue can you send your logcat when this happen and those forum links you mentioned.

Yeah it is :). My Sony Xperia S (also from 2012) with this rom is even more impressive - everything works smoothly on it.

I haven't noticed charging issues. How do you measure charging current?
[Nexus 7 Android Development] maestrulwro:
Thanks a lot! This ROM proves that Nexus 7 is still a beast, and since I started using it, i prefer to use the tablet more than my phone (HTC Desire 820). There are only 3 things that could be better:

1. Increased system space. I am not an expert, i don't know if you (as ROM author) are responsible of that, but after installing the ROM, there is too little space for gapps left. I personally would have liked to flash the stock package, or at least micro, but I'm stuck with pico (micro and nano have, as far as I understand, things that you can not get from play store). I have searched for a way to do this myself (increase /system space) but I can't find anything clear (there is apparently an option in TWRP somewhere - resize2fs, but I can't find it, or any explicit tutorial on that).

2. Stock camera app crashes. This is not the case for "Camera M" from the store, an AOSP-like app, which works perfectly. There is another app that I tried ("CameraMX") that works, but takes photos flipped upside-down.

3. Random crashing of apps. Seen it on YouTube, on Chrome, on Google Photos, even on the launcher. Also, the launcher crashed when trying to modify the wallpaper through the Gallery app.

As a sidenote: flashed [MENTION=6105718]FaserF[/MENTION]'s zips to get the Google Assistant (https://xdaforums.com/android/software/guide-how-to-enable-google-assistant-t3477879) and, after a bit of fiddling and teaching the tablet my voice, I got it working (though, the launcher has a simple google search bar as widget now, not the colorful G button sticking from the left as in real Pixels). Won't recognize my voice, but that might be my mistake (I'm Romanian). The very, very strange thing that happenned is that Google Now Launcher, installed on my stock HTC 820, appeared to have a (new, never before seen) function in the settings menu regarding the Assistant, as if it is account-dependent, not device dependent. With the English language set as OS language on both devices, I now have Assistant on both (and the HTC didn't even "touch" the zips, as I said, it is perfectly stock). So, if you have an Nexus 7 tablet lying around and want to get the Assistant on another device, who knows? Maybe it will work for you too. (Also, I was using Google Now Launcher prior to this on my HTC, with English as main search language, and, on another occasion, I changed the account​'s country to US in order to get face recognition in Google Photos; I know, I sound like a huge Google fanboy, but at least I can totally confront Apple fanboys.)

Also, I would like to learn myself how to modify and compile a ROM, maybe even starting from this one (only as hobby, only for myself). Is there a "complete, noob's guide" to creating, compiling ROMs and understanding how Android in general works (what is a kernel, what are the partitions, how does the device boot)? I consider myself pretty experienced on desktops.
[Nexus 7 Android Development] DutchMan_1990:
[MENTION=6754437]millosr[/MENTION] turned out that was an issue with the cable and I use Ampere from Google Play to measure the current. BTW is there any tweak need in order to work substratum.?
[Nexus 7 Android Development] seymour_butts:
hey

installed this rom from another one...

in twrp changed data and cache to f2fs, wiped, installed rom... but i cant boot... i thought i was first boot that took to long but after 40 min i gave up..

Re did all the steps and same thing..

what am i missing?

grouper version
[Nexus 7 Android Development] frov:
I checked what I am running on my N7. First of course this ROM, cache on f2fs and data on ext4. I reckon I did not want to loose sdcard content while switching FS type. And it is debated whether f2fs brings solid positive effects. This set runs fine.
[Nexus 7 Android Development] seymour_butts:
i followed the instructions that were mentioned in the first post, and that's why i changed to f2fs...

i came from octo* something rom, and maybe i need to change something.. it's just stuck at boot-
[Nexus 7 Android Development] millosr:
Nexus 7 tablet has system partition that is only 640 MB large. In 2012 that was enough, jelly bean was at that time. Over time android system size increased and google apps also, so now 640 MB seems too small. I haven't found a way to increase system partition - I didn't search much for a way to do it. For my other 2012 device - sony xperia s - there is a way to do that, but I didn't do that either - it has 1 GB system, and gapps micro are enough for me. On N7 I'm using pico. I'm installing youtube, chrome, hangouts, maps and keep from play store and that is enough for me.

For the ROM compilation - you can start with this: https://source.android.com/source/requirements

For this ROM - here is the manifest: https://github.com/millosr/naosp_manifest/tree/nAOSP-7.1.2-grouper

I've started to work on nAOSP-7.1.2, I will update the readme soon.

There are some tutorials on XDA also, try to find them.

Good luck :)
[Nexus 7 Android Development] millosr:
Have you wiped system also before installing?

Can you get logcat, last_kmsg, twrp log, screenshots?

Do you have maybe some multiboot? Did you flash gapps (open gapps - 7.1 arm, pico)? Did you flash anything else?
[Nexus 7 Android Development] seymour_butts:
I 'm sure how to get those logs... First time i installed i was using twrp 2.8.7 and had an error " unknown command". So i flashed twrp 3.1 and flashed again.. all good, no errors..

It's all wiped before installing... I didnt flashed gapps yet, just the ROM.

i took some pictures in twrp to the partitions and after install the rom, don't know if it helps

update: it booted.. LOL-. did the same thing over and over and it worked.... maybe i forgot to wipe something before.. i dont know.. but it worked... great

thanks
[Nexus 7 Android Development] WiseLord:
When USB cable is plugged in, display turns on. Who knows how to disable this feature? Appropriate menu item in 'Developer options' doesn't work.
[Nexus 7 Android Development] maestrulwro:
Screen turning on when plugging a USB charger (or the tablet to a computer) is standard behavior for Android. I also don't see such an option in Dev options. The only item that is related to that is ("keep screen on while charging").

Anyways, the screen will time out and sleep after a bit.

You might be accidentally touching the screen (it happens for me), if so, turn off the "Tap to wake" function in Display settings.
[Nexus 7 Android Development] millosr:
nAOSP 7.1.2-b01 released

android-7.1.2_r5 (April security fixes)

performance optimizations (thanks to [MENTION=2188693]AndDiSa[/MENTION])

enabled Google Assistant

In 7.1.2 google changed IWifiManager interface, which causes Setup Wizard force closes, if you are running clean flash.

There are few workarounds for this:

- After flashing nAOSP + gapps delete /system/priv-app/SetupWizard in twrp, then add Google account manually

- Flash only nAOSP, boot the system once, reboot to recovery, flash gapps, boot again, add Google account manually

(there are few others you can search xda forum for them)

Download:

Android File Host - nAOSP-7.1.2

Yandex.Disk - nAOSProm-7.1.2-grouper-b01.zip

md5: e6556faba3f22cf7f52caaa3ebd83d53

Yandex.Disk - nAOSProm-7.1.2-tilapia-b01.zip

md5: 6628260084e38eb1006ec8602f70958e
[Nexus 7 Android Development] frov:
Great, I will clean flash and will use DeltaGapps with the removesetupwizard switch. :good:
[Nexus 7 Android Development] laugeek57:
good job thank's

I dirty flash over Andisa Rom all work fine :good:

and no bootloop with dolby atmos i can't hear movies if no dolby work ;)
[Nexus 7 Android Development] WiseLord:
In the AOSP thread ( https://xdaforums.com/nexus-7/development/rom-android-7-aosp-grouper-t3467514 ) there is a feature "sudden appplication closes fixed" included. Does this nAOSP ROM also use the repo with this fix?
[Nexus 7 Android Development] millosr:
nAOSP ROM has it's own device / kernel repos, which are partly cloned from Anddisa repos and vendor repose are from Anddisa.

I've take (cherry-picked) some recent commits from Anddisa (device/asus/grouper), but I didn't take all of them, so I believe I didn't take that one. (I believe this it the one:

I had troubles compiling updated kernel, so I haven't fully picked all commits, and I've used previous version of kernel. I also need to switch branches for some vendor projects.

I hope I will get most of the stuff for the next build.
[Nexus 7 Android Development] rokr90:
Setup wizard has stopped / Nexus 7 Grouper

Help me please, i can not advance after the first screen to set up as a new device or keep your apps & data :(
[Nexus 7 Android Development] WiseLord:
rokr90:

Why not read about it release notes:

Just delete this SetupWizard
[Nexus 7 Android Development] frov:
RTx_OP, or read this and use DeltaGapps:

https://xdaforums.com/showpost.php?p=71097667&postcount=179

EDIT: now also added below.

---------- Post added at 07:54 PM ---------- Previous post was at 07:45 PM ----------

I clean flashed and all went smooth and well:

nAOSProm-7.1.2-grouper-b01.zip

gapps-712-base-20170403-1-signed.zip - https://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368

SR3-SuperSU-v2.79-SR3-20170114223742.zip - https://xdaforums.com/apps/supersu

So I again made sure this empty file is present:

/sdcard/.removesetupwizard

With this in place flashing ROM+Gapps+SuperSU is fast and first boot also.

Then need to add manually in Android: wifi connection and a google account; I did not reboot in between.

And as usual I had made sure I have a backup of all user apps, which I then restored using TitaniumBackup.

I reckon clean flash is needed this time anyway, because of the step to 7.1.2.
[Nexus 7 Android Development] millosr:
Clean flash is not necessary. I've dirty flashed from 7.1.1 and everything is working fine.
[Nexus 7 Android Development] Andy2No:
Can anyone confirm if USB audio (DAC) works with this ROM? It's the audio input I'm interested in, especially since the Nexus doesn't have a mic socket.

I have it working with a cheap Behringer UCA202 and an OTG cable, with [url="https://xdaforums.com/nexus-7/development/rom-android-7-aosp-grouper-t34675142]AndDiSa's AOSP Nougat ROM[/url], but there doesn't seem to be any way to apply a dark theme as there's no OMS support.

I haven't been able to restore backups with TWRP, lately, so I'd like to know if it can work, before I commit to trying a different ROM.

EDIT: Never mind; yes USB audio / DAC with an OTG cable works fine with this ROM. I still haven't got a theme to work though.
[Nexus 7 Android Development] Andy2No:
Which substratum themes actually work with this ROM? I've tried a few, but so far I just get lots of little red errror messages when I try to apply them.

Also, when I long press the power button, I just see:

Power off

Reboot

Are there supposed to be more options? It's not a big deal, because I have an app installed that can offer reboot into recover etc, but this seemed to imply there was more functionality built in.
[Nexus 7 Android Development] WiseLord:
Select "Reboot" and you'll see more options.
[Nexus 7 Android Development] Andy2No:
Thanks. I have to admit, I didn't think of that :) I assumed that's all there was.

I have now got some themes working, with Substratum, but other than rebooting a few times, I have no idea how - it just mysteriously stopped giving me error messages.

The main problem with trying to use any Substratum theme appeared to be that it couldn't find the files it needed, which presumably should have been installed with the theme, or maybe generated during the process of applying it. When I tried "Build & Enable", or "Build & Update", I got a string of error messages which looked something like this:

storage/emulated/0/.substratum/android..... No such file or directory.

Naturally, I checked to see that it had permissions for storage, which it did. There didn't appear to be any others I could set.

Incidentally, long pressing on the home screen to try to turn off the wallpaper, or set another one, just crashes Launcher3, consistently. It was doing that from the start though - my first plan was to just set it to no wallpaper, but I couldn't. At least now I can set it to one within substratum. So far, I haven't found a plain black one though.
[Nexus 7 Android Development] Andy2No:
FWIW, this dark theme works well with this ROM, and is my favourite so far:

[Theme] J Dark Ice Substratum Theme v2.4 03/31/2017

and this one provided a plain very dark wallpaper:

[Substratum] ModernUI Theme (Playstore link)
[Nexus 7 Android Development] Andy2No:
Is this the same Launcher3 that's used in this ROM:

Launcher<3

Jason Kung Personalisation

https://play.google.com/store/apps/details?id=com.jasonkung.launcher3

If so, can I just install that, from the Play Store to get updates for it?

---------- Post added at 08:49 PM ---------- Previous post was at 08:46 PM ----------

The launcher crashes every time for me, if I long press the home screen then press WALLPAPERS.
[Nexus 7 Android Development] millosr:
The app from the play store is different app that is probably derived from the stock launcher.

You can install it and you can choose it as home app.

You can also install Google Now launcher or Pixel launcher if you want.

Launcher from the ROM is regularly updated with the ROM updates. I will try to fix wallpaper issue in the next build.

You can set wallpaper from the gallery app.
[Nexus 7 Android Development] Andy2No:
Great. Thanks. I don't mind waiting for the next release. I don't want to clutter it up more than I need to, with another launcher.

I've just tried the gallery method, and that works fine. Is there a way to get the app drawer to have a dark background / wallpaper too? It's still bright white, whatever I do. I find bright backgrounds hard to look at. I've put Night Mode on it, which helps, but I'd rather just have everything on a dark background.
[Nexus 7 Android Development] Andy2No:
FWIW, it seems I had bits of two themes mixed up, before. I can get a dark theme just from this one:

[Substratum] ModernUI Theme (Playstore link)

- but not for the app drawer, so far.

I got the string of little red error messages again, in the substratum app, after deleting all the applied themes to start again. It seems the trick is to just reboot, when you see that, and try it again.
[Nexus 7 Android Development] Andy2No:
Is there a way to manually select an audio source?

Although I've had USB audio working fine, with this ROM, I'm now getting the same problems I've had with the other ROMs I tried - it just won't switch to the USB device as a sound source - or as an audio output, but I'm only really interested in it as an input.

Sometimes when this happens, I have to repeatedly unplug the device from the OTG cable, or unplug the OTG from the Nexus 7 and plug it back in again, and maybe reboot for good measure. Some days, it just will not do it. Today is one of those days.

Android apps that take sound input take it from the default sound source, apparently, and that's automatically selected by Android. The problem with that is, it's really bad at it.

I've tried switching the USB mode in Developer Options, with Select USB Configuration, by selecting Audio Source, but it doesn't make any difference. After doing that, it still shows Charging. It's actually providing power to the USB sound device too - the LED on it is lit, so the Nexus is not charging. Connecting a charger makes no difference, when it's in this mood - it doesn't draw any current from the charger (I use an inline USB power meter to check).

I only started on my hunt for a new ROM to get USB audio working, and I still haven't got it working reliably enough to be useful. It seems to be an inherent flaw in Android. What's needed is an app, or settings option to let us set the audio device manually, like you can in Windows.
[Nexus 7 Android Development] hhamlyn:
nAOSP 7.1.2 b01

Successfully dirty flashed both my N72012 Groupers with nAOSP 7.1.2 b01.

I did run into two apks that would force close that were Google Contacts, and Google Calendar and remedied easily by uninstalling them both and reinstalling. This build seems much more stable then the prior. Maybe due to I'd made some kernel tweaks that may have not been needed. I left it with your kernel build tweaks only, and all is good after using for several hours each device. Lastly I use the original launcher version 1, to have the black blackground only and a simple black wallpaper so it's easier on the eyes and still quick. Doing it this way I've only found I lose the touch icon features, but I don't use them anyways.

Thanks for keeping this updated!
[Nexus 7 Android Development] Andy2No:
That sounds promising. Where did you get it from? Is the app drawer background black too?

I've tried Nova launcher, and I can get it mostly dark, but when I drag an app out of the app drawer, the screen lights up almost white, until I let go of it. I haven't been able to find a setting to stop that.

I may have got around the USB audio connection problem - or at least improved it, by clearing the defaults in Stickmount.

Is that still needed? I seemed to need it to get a thumb drive to open, but maybe there was another way... I remember an error message about FAT or maybe FAT32 not being supported by Android any more, which seems like an odd choice, since it's a very common format. Stickmount appears to work regardless, but may well be why I couldn't get my USB audio thing to connect - it was probably claiming it for itself.
[Nexus 7 Android Development] zard:
I hope anyone who had done nandroid backup of this ROM and successfully restored, please let me know.

I had backup on 22 and 25 Apr. Then I wiped and flash AICP but there wasn't space to flash pico open gapps. So I tried to restore from backup but it failed when restoring system, after 30+%. Both backups had same problem.

But when I tried to restore my Slim nandroid, it restored fine.

I'm concerned that there's issue with this ROM.

Thanks.
[Nexus 7 Android Development] AndDiSa:
[MENTION=253243]zard[/MENTION] did you try to wipe system before restoring? Some ROMs (e.g. also my AOSP 7.x ROM for grouper) are formating /system partition as ext4 *without* journaling as there are no changes on /system while running the ROM . This will give you some MB of additional space. If you now format the partition 'normally' you will lose that space and restoring will fail due to insufficient space on the partition. It does not have anything to do with the ROM because Nandroid is storing the content as a tar file and restoring the content from that tar as single files, not as a partition image.
[Nexus 7 Android Development] zard:
Yes, I wipe system, data and dalvic cache.

What should I do?

Sent using Tapatalk
[Nexus 7 Android Development] Andy2No:
[MENTION=253243]zard[/MENTION], The next thing to try is making more room - delete anything you no longer need.

I haven't been able to restore TWRP backups, recently - and I suspect it's version dependant , so if that doesn't work, try rolling back whatever it is you're using to restore the backup, to an earlier version.

However, the failure code I get with TWRP means "insufficient space". It doesn't give a clue how much space it needs, but apparently uncompressing the backup takes more space than you might think - which is why the first (next) step is to make more space for it to work in.
[Nexus 7 Android Development] AndDiSa:
You can try to use

tune2fs -O ^has_journal /dev/<partition>

from a command line in twrp.
[Nexus 7 Android Development] zard:
Thanks, really appreciate it.

Just moments ago, I checked if thete's new versions of TWRP, found it and flashed the latest (from 3.0.2-0 to 3.1.0-0), backup nandroid and restored successfully.

Sent using Tapatalk
[Nexus 7 Android Development] Andy2No:
Good. So it was version dependent then. I thought so, because I'd updated TWRP since the last time I successfully restored my KitKat backup, then later attempts at restoring failed, even with that same image.

Mine's got TWRP 3.02-0 on it too. I think I tried putting 3.1.0-0 with the TWRP app or TWRP Manager, but that didn't work. I'll do it manually, later.
[Nexus 7 Android Development] hhamlyn:
That I don't know. I only use my tablets for general web, google assistant, and listening to podcasts, casting to my other smart devices, and playing light games through a couple of emulators. If you don't overload these old tablets they still run pretty well. I can't believe the improvement in battery life it's much better then any other Android build. I basically turn off any syncing that isn't needed and it runs just as good as when I bought it when it first came out in 2012.
[Nexus 7 Android Development] Andy2No:
Is there an easy way to do that, short of installing the ROM to get the file?

I didn't use mine for a long time, but I've almost exclusively used it lately as a spectrum analyzer, to look at the output of audio electronic gadgets. I need the USB audio input to work, to do that - there's no mic socket, just headphones, and mic sockets tend to have built in bass and hiss cut anyway, which wouldn't help. I need as flat a response as I can get.

It's nice to be able to connect a thumb drive to copy files onto, but it may be a bit awkward to get both to work.

I keep having to go into Developer options and changing the USB setting with "Select USB Configuration", which is a pain because it's about four screenfuls of scrolling down the list of options, and I tend to miss it the first couple of times I look.

I wanted to just leave the OTG Y cable connected more or less permanently, so I could save wear and tear on the micro USB socket, but it doesn't really work out. I can't control whether it takes power from the charger (usually not) or tries to feed power to that side of the cable. I have to either unplug the cable, in which case it still might not work, or turn off to get it to charge.
[Nexus 7 Android Development] Andy2No:
I'm impressed that there are emulators sophisticated enough to let you install an arbitrary ROM. I'm not sure I have the energy to go into that sort of quest, at the moment though. Installing one from an unknown source doesn't really appeal either, and given the experience with trying to restore TWRP backups, and failing, I don't take installing the ROM to get one file off it lightly either.

I think I'll just leave it as it is, for now, and wait to see what happens in the next release.
[Nexus 7 Android Development] dancekid:
Good Morning Guys,

I just installed this Rom.

How to enable Exchange in Mail App ?
[Nexus 7 Android Development] hell-zerg:
Hi, just install this app and you should be able to add exchange accounts in Gmail.

http://www.apkmirror.com/apk/google...s-6-4-123892212-release-android-apk-download/
[Nexus 7 Android Development] simonmanchester:
Just installed this rom - so far its working great. I have 2 issues though...

1. Cannot use a browser to download files. Chrome for instance complains there is no SD card installed

2. Cannot download Netflix from the playstore, says my device is incompatible?

Any way around these little issues?
[Nexus 7 Android Development] x-system:
I can't save files on inner storage too.

How fix it?
[Nexus 7 Android Development] millosr:
Long press on chrome icon, drag it to the app Info, add give it storage permission and then restart it.