yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] zard:
That 2 red lines of error text is happening to many custom roms (many devices, if not all), can't remember the reason for them. At the end it said script succeeded, so the flash should be fine. Have you rebooted after that?

Flashed this rom last week and it booted fine.

Flash Pico open gapps and use built in root, and all will be fine.
[Nexus 7 Android Development] GreyCelt:
Hey, thanks! I've flashed many-a-ROM on many-a-device and I've never seen that. Oh well...I flashed GAPPS and it has booted fine so I guess that error is irrelevant.

Thanks again! :good:
[Nexus 7 Android Development] zerbey:
Worked fine until I dirty flashed the new update, now my Google Apps crash constantly. Flashed the newer gapps at the same time. This used to happen all the time with the nAOSP on 6.0 too. What am I doing incorrectly?
[Nexus 7 Android Development] millosr:
Have you dirty flashed from nAOSP-7 b01 or from 6? Have you flashed rom and gapps together? Have you used the same version of gapps?
[Nexus 7 Android Development] zerbey:
Came from 7b01 with a newer version of gapps and flashed both together then wiped dalvik cache.
[Nexus 7 Android Development] millosr:
Which gapps are you using?

I'm using open gapps pico, almost always dirty flash ing, never had a problem.
[Nexus 7 Android Development] GreyCelt:
I was attempting to install ParrotMod after flashing this ROM and every time I flash the suggested SuperSU in the OP of the ParrotMod thread I get bootloops. As a matter of fact, I've tried the SuperSU 2.71, 2.78 r1 beta and 2.78 stable and I always get bootloops. I'm running nAOSProm b02 on my N7 2012 grouper.

I've tried several different flashing configurations including, but not limited to, flashing in this order-> ROM, open GAPPS nano, SuperSU, ParrotMod.... and ROM, open GAPPS nano, (REBOOT) SuperSU, ParrotMod.... ROM, open GAPPS nano, (REBOOT) SuperSU, (REBOOT)...

All attempts at flashing always results in bootloop after flashing any version of SuperSU.

Suggesions?
[Nexus 7 Android Development] 239:
It doesn't work for me (songs still start and stop after 1-3 seconds) but the interesting part is that it plays fine when opened from file manager.
[Nexus 7 Android Development] millosr:
Can you look at logcat log? Or you can send it to me.
[Nexus 7 Android Development] zerbey:
Same.. I did a full wipe and will try again next month.
[Nexus 7 Android Development] 239:
...
10-11 17:06:19.128 E/OMXNodeInstance(134): setConfig(860099:google.mp3.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
10-11 17:06:20.211 E/MediaPlayer(2986): error (-38, 0)
10-11 17:06:20.620 E/OMXNodeInstance(134): setConfig(86009a:google.mp3.decoder, ConfigPriority(0x6f800002)) ERROR: Undefined(0x80001001)
...
[Nexus 7 Android Development] millosr:
Can you send me whole log?

Do you have some other media apps active, running in the background or that were recently active?
[Nexus 7 Android Development] 239:
http://pastebin.com/9T3JrQJ6

YouTube is the only one I can think of. By the way, why is ViPER4Android active even when it's turned off?

It's strange that it's playing without problems when opened from file manager, even "Open with Music" works.
[Nexus 7 Android Development] frov:
Well, SuperSU does not work yet in this nAOSP ROM. That is presently the case for nAOSP@XperiaS. So I guess it is also applicable for nAOSP@Nexus7. On the XS I also went through the same moves as you have with installing all kinds of versions of SuperSU, but to no avail. I have been avoiding SuperSU for now for both devices, and mind that I always used SuperSU before the Android7 variants of the nAOSP ROM. So we'll just have to wait until SuperSU works in this ROM. It is a pity that Parrotmod is ruled out in this way for now, because I agree that that is a MustHave for any N7_2012. I expect that SuperSU working in nAOSP will come sooner or later, but for now the guys have been busy with other issues (like camcorder). For now, we could go back to nAOSP6 because there the combi will work.
[Nexus 7 Android Development] tmihai20:
Did anybody successfully rooted their tablets? I am helping a colleague get her Nexts 7 in a usable shape. I installed this ROM, installed a working copy of GApps, but I cannot root it no matter what I do. I tried system-mode SuperSu, systemless. I read that SR1-SuperSU-v2.78-SR1-20160915123031.zip should do the trick, but it does not. Without root I cannot install the Parrot Mod nor can I tweak anything.
[Nexus 7 Android Development] millosr:
This rom has built in Superuser. All apps that require root should work fine with it.

SuperSU is not supported yet.
[Nexus 7 Android Development] tmihai20:
And what do you recommend using for granting root access?
[Nexus 7 Android Development] adrman:
I didn't realise it was built in as it wasn't mentioned in the op, so I flashed the latest phh's superuser. and I'm using his superuser app from the play store for control. In any case, everything seems to work perfectly, well, with the exception of ParrotMod, which will only work with SuperSU.
[Nexus 7 Android Development] tmihai20:
Well, I modified the .supersu file that resides in /system to SYSTEMLESS=true, then I installed SR1-SuperSU-v2.78-SR1-20160915123031.zip and the Parrot Mod. It seemed to be fine, I even checked if Parrot Mod is active. This information would be better put in the first posts, because right now it says that the latest systemless SuperSu should work and it does not.
[Nexus 7 Android Development] frov:
Direct question then as I am confused: does systemless SuperSU work Y/N on this ROM? Tnx.
[Nexus 7 Android Development] tmihai20:
Yes, it does, but you have to edit that file because no matter what the zip you choose, it will install system-mode only. The developer also said that the Rom is pre-rooted, but I didn't manage to get it running like that, nor was I able to install Parrot mod.
[Nexus 7 Android Development] mickybart:
In fact I think that ParrotMod need supolicy to inject some rules on selinux.

Maybe you can try for now to just copy from Supersu zip those 2 files (see the right architecture on SuperSu zip file) :

cp_perm 0 0 0755 $BIN/supolicy /system/xbin/supolicy

cp_perm 0 0 0644 $BIN/libsupol.so $SYSTEMLIB/libsupol.so

For now I tested to run SuperSU in system mode but I read that it is not really maintained and it is not working despite the complete review of Selinux permissions (tested yesterday on Xperia S). We will have to check to implement System-less mode but it is not possible in this case to remount /system in rw (to apply a theme for example)... so a workaround is to set /system to rw by default...

I will integrate sepolicy-inject by default that is supported by some application (maybe ParrotMod too ?) and that will permit with an opensource solution to achieve the same goal than supolicy.

But for now, you can give it a try to supolicy + libsupol.so + builtin root with ParrotMod
[Nexus 7 Android Development] millosr:
I have succeed to install SuperSU in systemless mode, after I changed sepolicy to support supersu. I will create new build soon, so It will contains sepolicy for supersu fix. Parrot mod is working fine with SuperSU.

I have also tried ParrotMod without supersu and it is not running with supolicy and libsupol.so files. I believe that supersu execute files in /system/su.d and our embedded superuser doesn't so /system/su.d/01ParrotMod.sh never gets executed without supersu.
[Nexus 7 Android Development] :
I've just flashed this ROM (grouper) and I like it. I am experiencing random hangs, lagging and the odd app crash BUT it is otherwise responsive and functioning well (btw, I know it's beta). I'm going to continue on with it for a while to see if any off these problems reside and to do a bit of testing. I was previously on the PureNexus ROM so I'm comparing to that - which is high standard!

So far I've noticed that the WiFi isn't super stable, and I have gotten an 'MTP Host not responding' error a few times that seems to be camera related but have not yet tracked down (camera isn't working as yet either, but I'm trying to sort that out). So for a BETA release, I'm really impressed.

Btw, I've not yet installed ParrotMod (which I had on the PN ROM) so I may see some performance increases after that. :)
[Nexus 7 Android Development] frov:
I would say that for the Nexus7_2012 the Parrotmod is a Must-Have. Without it, it is just too laggy, unpredictable. Varies of course per Nexus7, but still.

I never experienced any Wifi issues, while in the same network (at home) for example a 5X is a tad more difficult in holding on to the wifi network. Even better, when I flashed (long ago) the first nAOSP ROM to my Xperia S I found that the impl is much better at catching wifi. But mileage can vary, again.

I think that camera works for me (but who wants to use that camera...).
[Nexus 7 Android Development] :
True dat! :D Still, I'd like to see it work but it's certainly not a show stopper. I used to use the Nexus7 camera app to link but that crashes with 'cannot connect to camera'

I have just flashed ParrotMod and so far so good, it's not lagging as it was. :good:

Right now TWRP is refusing to back up with error 'createTarFork() process ended with ERROR=255'. Looks like some files are corrupted so I'm having to delete those one-by-one as it errors. Hopefully I've got them all now...
[Nexus 7 Android Development] :
Hmmm, given the nature of the errors I was getting I think I must have somehow forgotten to wipe the /data partition before flashing. :(

Start again!
[Nexus 7 Android Development] frov:
Then again, I had the same issues, in which it seemed that something was corrupted in the /data partition somehow. I messed a bit with (mkdir/ln -s/rm -fr) but that did not work out. In the end I took the dive to format/wipe/formatetc until it was all away, and nice&clean. I would recommend that.
[Nexus 7 Android Development] :
That's what I ended up doing. Data in /data was screwed (no idea how it happened) so I just reformatted and reloaded the ROM.

Camera's still not working. I get 'MTP host' errors - which may be a clue to camera problem - easily replicated by trying to change your profile/user pic.

Also, /root is 94% full which I have no idea whether is a problem or not but I'm going to research it. I may restore my PureNexus nandroid just to have a look see. Now I have a complete nAOSP nandroid backup, I can restore that easily enough.
[Nexus 7 Android Development] :
I think my camera might have a hardware problem, as I'm getting the same 'camera not accessible' error on other ROMs.

I'm trying OctOS at the moment, nAOSP was freezing. It be working fine then just freeze. A reboot cured it only for it to freeze again. Maybe related to /root not having much space???
[Nexus 7 Android Development] millosr:
b03 released

Changes:

AOSP android-7.0.0_r19 - November security patch

SuperSU: fixed sepolicy for supersu, added systemless support

added addon.d support - no need to flush gapps after rom update

New audio sounds from Google Nexus devices

f2fs: added f2fs check to fstab

Navigation bar tuner (see System UI Tuner)

SuperSU

With this build supersu can be flushed. Rom installation writes systemless configuration to /system/.supersu so no additional steps are required before flushing supersu. I'm using SuperSU-v2.78-SR3, and it works fine. After flashing SuperSU, ParrotMod (2016-10-14) can be flashed.

I personally prefer embedded su, but it doesn't suporrt ParrotMod, which seems to greatly improve performance of this rom, so my recommendation is to flash SuperSU and ParrotMod.

addon.d

With this build addon.d backuptool is supported which means that some stuff you usually flash with the rom update doesn't need to be flashed any more.

When flushing rom, backuptool script is activated first with backup parameter than with restore. Rom addons like gapps, have their backup/restore script in /system/addon.d which is called when flashing the rom, so addon is preserved and doesn't need to be flashed again.

Opengapps support addon.d so they doesn't need to be flashed when updating the rom. If you are comming from other aosp based 7.0 roms you don't need to reflash opengapps as long as you don't wipe system partition.

If you are using different gapps you have to check whether they support addon.d.

SuperSU, at least version that I have, doesn't support addon backup so it has to be flushed every time.

ParrotMod has some addon.d support but that didn't work for me, probably because they are depend from supersu, so I'm also flushing it every time.

F2FS check

F2FS check takes some time (10 - 20 sec) when booting android. During that time old Google logo is displayed. It was present in nAOSP-6, but I have remove it to speed boot time. It was working fine for me without f2fs check, but there has been some reports that data partitions gets corrupted. Returning to f2fs check will hopefully prevent data corruption.

Download:

Nexus 7 (2012) WIFI: nAOSProm-7.0-grouper-b03.zip

md5: 74cb3f0eb7997656c438965c315c7df9

Nexus 7 (2012) WIFI+3G: nAOSProm-7.0-tilapia-b03.zip

md5: 6e4ed97078793d2ec0b869cb33b9c493
[Nexus 7 Android Development] abhifx:
does this ROM have navbar tuner?
[Nexus 7 Android Development] millosr:
Yes it should have it, I just didn't test it.
[Nexus 7 Android Development] abhifx:
my bad.. you did mention that navbar tuner is there in the changelogs, its working fine. tablet is idling well. will put full loads of apps today and test.

Edit: it seems 7.1 is under development. 7.1 with navbar tuner would be great! :D
[Nexus 7 Android Development] ghenarys:
HI,

Can't install openGapps - Error 70 : Unmounting /System

Any help please ?
[Nexus 7 Android Development] tmihai20:
From what I could read on the issue, you need to get a smaller package or to remove one of the selected packages. There is not enough room for the selected packages on /system. Also be sure you are using TWRP 3.
[Nexus 7 Android Development] ghenarys:
I'm using TWRP 3 and nano gapps
[Nexus 7 Android Development] millosr:
Exactly - this is error description from https://github.com/opengapps/opengapps/wiki/FAQ

#70 - Insufficient Space Available in System Partition: Your device does not have sufficient space available in the system partition to install the Open GApps package

System partition on Nexus 7 (2012) devices has only 640 MB. After installing the ROM there is no much space left on it, so you can't install bigger gapps.

I'm using OpenGapps pico, then I'm installing other google apps from the play store.

I'm almost always doing a dirty flash, so the apps on data partition are kept after flashing new build.

From b03 gapps (opengapps) on system partition are also kept (with backup/restore), so you need to flash them on clean install.
[Nexus 7 Android Development] ghenarys:
Great ! no more error with pico !

Thx a lot
[Nexus 7 Android Development] frov:
Flashed B03

I flashed B03 and that went perfectly fine. I used these files in the first run:

nAOSProm-7.0-grouper-b03.zip

gapps-700-base-20161109-1-signed.zip - http://xdaforums.com/android/software/app-minimal-gapps-gapps-lp-20150107-1-t2997368

SR3-SuperSU-v2.78-SR3-20161103171345.zip - http://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

Xperia_Keyboard_7.3.A.0.54.zip - http://xdaforums.com/android/apps-games/sony-z3-keyboard-lollipop-update-t3056448

However, again /data had some file system level corruption as it complained in red in TWRP wipe.

So I decided to first reformat (mkfs) the /data partition to f2fs. So I had to copy back and forth all files again, including the big Titanium Backup bunch.

But after this format, all wipe actions went fine again. So I could finally start flashing.

Clean flashing went fast and fine. I want to specifically add here that the Gapps I use, flashed in just fine.

I let it boot first and played around with it a bit: I noticed that SuperSU was nicely running. Good job!

Then I brought it back to TWRP again and flashed parrotmod:

ParrotMod_Grouper_Universal_2016-10-14_19.33.56.zip

After boot it was running OK and I checked whether parrotmod was active:

su

getprop parrotmod.running

yes

I do notice, however, that in Android7 my N7 is not running as smoothly as in Android6 (nAOSProm-6.0-grouper-b09.zip).

Also in Android6 my N7 has some stutters at times, but in Android7 it is clearly worse.

I will have the N7 run in B03 for a while and see whether it is good enough for me.

Also here, many thanks for all the effort :good::good:
[Nexus 7 Android Development] jpmaster:
It's very hard to swipe up to unlock lock screen. Only a very quick and long swipe will unlock the screen. Very different from nAOSProm 6.0.1.

Is it a Nougat characteristic or some sort of nAOSProm bug?
[Nexus 7 Android Development] AndDiSa:
Try first to swipe taskbar down ... most of the time that helps.
[Nexus 7 Android Development] frov:
OK, good you reported this: I have the same experience when comparing the 6.01 ROM to the 7 ROM (b03). See my post #85 called "Flashed B03". Even with Parrotmod on board and checked (active) it is sometimes like walking through mud, when using the N7 in Nougat B03. It is then quite sluggish and you have to be continuously patient while using the N7. Yesterday I even had to hard reboot it because it was stuck on something (I had the audacity to wok with some other apps while the N7 was making a backup in Titanium).

We all know that the N7 2012 can have quite bad flash chips that hog down the tablet, and which was the sole reason for Parrotmod to be implemented: it defers access to flash as much as possible. So it can vary from N7 to N7: depending on the brand of flash chip and particular specimen. I had the pleasure of buying a 2nd hand N7 2013 for somone else: that behaved far better than the 2012 type, especially after installing Parrotmod for N7 2013 (which fixes some swipe response).

Plus, I am also active in the Xperia S thread where this same nAOSP ROM is used: there I do not notice diff between the 6.0.1 and the 7.0 versions of the ROM for the same device: on 7.0 the old XS is quite smooth. (Now even 7.1 is released!).

Maybe I will try other ROMs for N7 2012 and see whether there is diff in smoothness on the same device. For comparison reason, as I really like this nAOSP ROM for its features.
[Nexus 7 Android Development] millosr:
I'm having occasional issues with unlock in 7.0 but most of the time it is working fine. I believe that is the case when CPU is busy, so unlock event is not processed correctly.

It happens immediately after starting the system.

I'm having also performance issues with 7.0. Parrotmod helps a little, but there are still occasional cpu hogs.

I will try to improve performance in the next builds.
[Nexus 7 Android Development] millosr:
nAOSP-7.1 b01 released

Changes

android-7.1.0_r6 (November security fixes)

initial release - same level like 7.0 b03

Substratum: OMS theme support

This is initial release of nAOSP-7.1 for Nexus 7. It can be dirty flashed over nAOSP-7.0, but new gapps (for 7.1) has to be flashed. Open gapps pico is recommended.

This works fine for me. I'm having occasional performance issues but not very often.

Substratum OMS themes/fonts are working fine as far as I've test them.

Download:

Nexus 7 (2012) WIFI: nAOSProm-7.1-grouper-b01.zip

md5: d7848381dd6cd8458d58e72482ecb107

Nexus 7 (2012) WIFI+3G: nAOSProm-7.1-tilapia-b01.zip

md5: 17a5a53b5f1d7bbeb1ed0ec4af3a1146
[Nexus 7 Android Development] Bakica:
Hi Milos, can it be clean flashed to partitions data/cache with fsf2? Thanks for this upgrade.
[Nexus 7 Android Development] frov:
I fully expect the answer is yes, but Millosr has the final word:)
[Nexus 7 Android Development] millosr:
The answer is Yes :)

This Rom came after nAOSP-6 and there I wrote detailed installation instructions, including ext to f2fs conversion. Here I just put the link to the nAOSP-6 thread.

I will update the first post to list main features.
[Nexus 7 Android Development] davidp234:
is there a download link for nAOSP 7.1 Nougat

hello im wandering if you have a download link for nAOSP 7.1 Nougat

thanks

dave
[Nexus 7 Android Development] Exodusche:
Did you totally miss the first page it's under downloads. :D
[Nexus 7 Android Development] j-ulius:
Youtube fullscreen does not work, games do not run, camera does not connect. What is so wrong with the 7.1 ROM??
[Nexus 7 Android Development] abhifx:
these are known issue and ROM is still under development, have patience as this is going to take time
[Nexus 7 Android Development] molnardk:
Hi :) first i want to thank you for still supporting this device :)

My problem is, i just flash the 7.1 version of the rom (grouper) with clean flash, and since then i got random reboots like, when i wath a picture, read a PDF or even when my alarm is on :/

Do you know what to do? Do you have solution?

Thank you for your help :)
[Nexus 7 Android Development] myxomop25:
Hey, people!

Does camera work?
[Nexus 7 Android Development] supertiger1234:
Anyway to fix YouTube random crashes and Ui so laggy on YouTube? The video playback is fine.
[Nexus 7 Android Development] millosr:
nAOSP-7.1 b02 released

Changes

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

Switched to AndDiSa kernel

Removed PerformanceControl app

Fixed sim disconnect bug (tilapia version)

nAOSProm-7.1 b01 was pretty unusable because of performance and stabitily issues.

I've tried AndDiSa ROM and it seems to be much more stable and fluid.

I've used some of his performance optimizations and his kernel for this rom and created new builds. Rom still isn't perfect but it's much more stable/usable.

For better performance SuperSU + ParrotMod is recommended.

I have removed PerformanceControl app since it isn't working fine with the updated kernel.

These changes fixed sim disconnect bug after device sleep.

Playing YouTube videos works fine in b02.

Camera is working with HD Camera and Camera MX. Video recording doesn't work. I haven't tested hangounts/skype video calls.

Download:

Nexus 7 (2012) WIFI: nAOSProm-7.1-grouper-b02.zip

md5: 158cb694c736591daf08ff7e04619b20

Nexus 7 (2012) WIFI+3G: nAOSProm-7.1-tilapia-b02.zip

md5: 399d1ca3f3fe249d9341df716c9ac0dd
[Nexus 7 Android Development] AndDiSa:
[MENTION=6754437]millosr[/MENTION] Hangout is working, I've tried already some days ago :)
[Nexus 7 Android Development] millosr:
I've applied your patches to nAOSP rom and camera is working fine, but hangouts calls are not working.

This is what I'm getting:

11-29 14:04:18.048 19397 19397 I vclib : Remote:0000ca00f7ff3aa07521_ephemeral.id.google.com^DF0DC07BC9FF6E23: Codec type switched to: 1
11-29 14:04:18.137 19397 19397 E AndroidRuntime: FATAL EXCEPTION: EncoderHandlerThread
11-29 14:04:18.137 19397 19397 E AndroidRuntime: Process: com.google.android.talk, PID: 19397
11-29 14:04:18.137 19397 19397 E AndroidRuntime: java.lang.IllegalArgumentException: start failed
11-29 14:04:18.137 19397 19397 E AndroidRuntime:	at android.media.MediaCodec.native_start(Native Method)
11-29 14:04:18.137 19397 19397 E AndroidRuntime:	at android.media.MediaCodec.start(MediaCodec.java:1991)

Do you have idea how to fix this?

I've also tried your latest build for tilapia, and hangouts video calls are working fine with it.
[Nexus 7 Android Development] AndDiSa:
Hmm, I've no idea what might be the reason for that. Looks to me as if a codec is missing ...
[Nexus 7 Android Development] millosr:
Yeah, might be. I did diff for device_asus_grouper projects, media_profiles.xml files are different and you have libstagefrighthw source and I'm using prebuilt version from vendor/nvidia.

I'll change those things and rebuild project to see if that fixes it.

Thanks :)
[Nexus 7 Android Development] LazyLucretia:
My tablet soft-reboots if I try to open an image on a Play Store app page. Anyone else has the same issue? I have the latest ROM + ParrotMod and SuperSU, I haven't installed anything esle.
[Nexus 7 Android Development] xda_babby:
Yup. Exactly the same as you.
[Nexus 7 Android Development] millosr:
Which gapps do you have?

I'm using open gapps pico 7.1, and don't have reboots.

Can you send me the logcat?