yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Android Development] AndDiSa:
[MENTION=4603145]TR2N[/MENTION] at least some trailers I could see and cast to my Chromecast.
[Nexus 7 Android Development] sabres032:
I flashed Chainfires systemless root v2.62 after flashing the OTA and Gapps packages and have root. Just download the v2.62 file and flash in TWRP.

http://xdaforums.com/showpost.php?p=64161125&postcount=3

Edit: So far everything is spot on, fast and stable.
[Nexus 7 Android Development] Nexive:
Installed this rom on my brother's nexus 7 and it is very stable. I didn't discovered any bugs for now so that's great. Also no issue with the rotation (and sound for now) so that's nice. :)

Tomorrow I will test the NFC if it works.
[Nexus 7 Android Development] dbesoli:
Hello

great rom. It works quicker and smother than cyanogen.

Just installed on my N7 and can't install gapps, only let me the "micro" version. Is this the expected behavior or is there some way to install directly the "stock" version? Is this a problem or can I just add all the not installed apps from Google Play?

thanks
[Nexus 7 Android Development] sam10000:
***I suggest to disable journaling on ext4 partitions and running fstrim regularly***

I'm a newbie. Would it be possible to point to an online guide about how to do this? Thx.
[Nexus 7 Android Development] sabres032:
Below is the Gapps package I used. It's a micro version but after flashing you can download any missing apps from the play store. You may have a pop up saying Google Play services has force closed. Just click ok and drive on, it will sort itself out.

http://www.androidfilehost.com/?fid=24052804347835438
[Nexus 7 Android Development] networkdood:
I just resurrected my Nexus 7 2012 tablet yesterday.

I can install Lollipop ROMs without any issues, but I have been unable to install a Marshmellow ROM...

Currently "stuck" in recovery in flashing mode on the step;

"Patching system image unconditionally"

Does this step usually take a long time?

Thank you...

***Update***

Maybe I am just not able to flash 6.0.1 ROMs.

I found an AOSP 6.0 ROM and installed it with no issues.
[Nexus 7 Android Development] sabres032:
Are you coming from stock system image or a custom ROM? OP says to factory reset from within TWRP if not on stock or AOSP. I was on dmitrygr 6.0 ROM but factory reset to start clean and had no issues. Total flash time was probably two minutes or so.
[Nexus 7 Android Development] networkdood:
Yup, read all of the instructions. Been doing this sort of thing for years now, but still... I was on an AOSP Lollipop ROM. Updated TWRP, did factory reset, wiped data, cache, dalvik...

At least now I am on a Marshmellow 6.0 ROM ...wow, so much better than any Lollipop ROM I was on...

Now, I just have to figure out the mystery of flashing a 6.01 ROM...haha
[Nexus 7 Android Development] sabres032:
Are your partitions set to ext4 or f2fs? I do believe all have to be set to ext4 for MM ROMs to work properly. If that's not the problem I'm at a complete loss.
[Nexus 7 Android Development] networkdood:
All set to ext4. Yeah, it may be a malfunction in the tablet. I do get random reboots and scrambled picture, sometimes...
[Nexus 7 Android Development] UCHIHA:
Google webview

I always flash rom with stock opengapps.

And create config to replace all aosp app with google version.

Everything working fine. Execpt google webview...

It make google play service force stop.

(When i not replace aosp webview, everyting works fine)

Anyone know why?

Thanks...
[Nexus 7 Android Development] AndDiSa:
[MENTION=452578]dse[/MENTION]soli I am using benzo-gapps and they are working fine for me, but any other mini / micro / ... gapps should be fine, too. The most important part is Google play services and Google play store, the rest can be installed from Google Play.
[Nexus 7 Android Development] AndDiSa:
[MENTION=1120806]networkdood[/MENTION] I provided an ota package which is checking whether it's a fresh install or an update to an existing one. If you have a non-stock ROM installed, you need to wipe your system partition then it should install fine. I'll upload image files which can be flashed using fastboot, too.
[Nexus 7 Android Development] AndDiSa:
[MENTION=4908427]UCHIHA[/MENTION] I suppose it's a permission problem. Did you check app permissions for Google services and web view? Probably you need to enable some permissions there because in the ROM some Google apps permissions are automatically set.
[Nexus 7 Android Development] adeelraj:
good rom will try soon
[Nexus 7 Android Development] UCHIHA:
Thanks anddisa...

But google webview doesnt request any permission.

Play service already grant all permission. But still FC.
[Nexus 7 Android Development] AndDiSa:
[MENTION=4908427]UCHIHA[/MENTION] can you send me a logcat from the crash?
[Nexus 7 Android Development] AndDiSa:
It's not really needed, but it even does not harm.
[Nexus 7 Android Development] ludespeedny:
Great, thanks!
[Nexus 7 Android Development] syndicatedragon:
I'm totally new to flashing custom stuff to android devices, and I have a few questions before I "commit".

I am using the SkipSoft Unified Android Toolkit. I've installed the device driver and I've successfully connected to the nexus in usb debug mode. I unlocked the bootloader.

The first step in the process is to flash TWRP 3.0.0. I downloaded the file. I'm assuming I should put the .img file into the "put_image_files_to_flash_here\Nexus7" directory? Then I'll select option 11. Boot or Flash .img Files to Device, and pick the Recovery partition to flash into?

Does the same procedure hold for the asop rom itself? I noticed there a lot more files in there than just the .img - do I just extract all the files into the above directory?

When I flash the boot.img - do I pick the Boot partition to flash into?

Are there any other steps I need to do to complete flashing the asop files?

How do I load gapps? Does the zip file go into "put_zip_file_to_sideload_here" or do I need to do something else with all the files in that archive?

Thanks for any help you can give me.
[Nexus 7 Android Development] ludespeedny:
The easiest way, is to install TWRP, then you can and change filesystems if you want. Then wipe, plug it in to your comp via usb transfer the zip files to the device and install the zip (twrp has the option to install from zip) for the rom first, then gapps, then su, then reboot. (That is the way I did it).
[Nexus 7 Android Development] AndDiSa:
Don't relay on toolkits, Google is offering all you need and get familiar with adb and fastboot, that's all you need.
[Nexus 7 Android Development] syndicatedragon:
OK.

I downloaded and installed android studio. I found the adb and fastboot tools. I was able to successfully flash TWRP 3.0.0 to the recovery partition. I was able to enter recovery mode and start TWRP on the device. It seems to work.

I am really unsure what to do next though. Can anyone give me a hint? Thanks for your help so far.
[Nexus 7 Android Development] ludespeedny:
You can use the method I did if you want: boot into TRWP, Wipe the device, plug it in to your comp via usb and download and transfer the zip files to the device (for the rom, gapps and su) and install the zips for the rom first, then gapps, then su, then reboot.
[Nexus 7 Android Development] syndicatedragon:
Hmm. I was able to boot into TWRP once (all I did was select reboot when I was there), but now when I try adb reboot recovery, or adb reboot bootloader and select recovery, I get a cute little android on its side with a red "!" over its open chest. So... I'm not sure what I did wrong.
[Nexus 7 Android Development] AndDiSa:
If your bootloader is unlocked, you can flash TWRP again using fastboot: Boot into the bootloader, attach device via USB to you PC and then

fastboot flash recovery recovery.img
[Nexus 7 Android Development] ludespeedny:
To get into recovery from that screen, you need to hold down the vol up + power button for a few seconds and then release and choose recovery and it will get into TWRP.
[Nexus 7 Android Development] syndicatedragon:
I did a little more research, and I ended up using adb sideload with TWRP. I sideloaded the asop and the gapps. When it boot up though, I just get a bunch of popups "Setup Wizard has stopped" and "Google Play Services has stopped". What do I need to do now? Thanks again for all the help, I wouldn't have gotten this far without it.
[Nexus 7 Android Development] AndDiSa:
Looks to me as if the permissions for the Google apps are not set correctly, most likely some old pre-MM settings remained from the old OS.

Go to settings/apps/

Select show system apps

Now you need to find the google apps and you have to grant all permissions they are requesting.
[Nexus 7 Android Development] syndicatedragon:
OK Thanks.

Was there something I was supposed to erase before flashing the new stuff? I did check wipe davlik and cache when flashing with TWRP. I don't mind doing it again if there's a "cleaner" way to do it
[Nexus 7 Android Development] ludespeedny:
I would do a complete wipe, and then flash the new stuff. I also switch my system to ext4 and the the data and cache to f2fs, and the speed is great.
[Nexus 7 Android Development] syndicatedragon:
Forgive me for more questions :)

How do I do a complete wipe? Is that using "fastboot erase"? Which partitions should I erase?

How do I change the file systems?

Thanks!
[Nexus 7 Android Development] ludespeedny:
I do it all from within twrp, to wipe, do advanced wipe and select everything. Then there is an option to change filesystem(may be called format data), change the system partition to ext4 and then change data and then cache to f2fs.
[Nexus 7 Android Development] pclov3r:
I don't own a Nexus 7 2012 anymore but I come across this.

https://github.com/TeamExodus/frameworks_base/commit/9c36be651e83fb039a262682839bd920b033007a

Unsure if that will fix the Backup transport service not setting to backup on default and being stuck on local cache only.
[Nexus 7 Android Development] syndicatedragon:
Success! I wiped everything via TWRP, sideloaded the two zips and everything seems to be working OK. Thank you all very much, it's so nice to find a helpful and friendly online community.
[Nexus 7 Android Development] adrianburns:
Great work, thank you!

Installed a couple of days ago and everything appears to be working fine for me. Also installed Parrot Mod, again with no issues. My Nexus now performs noticeably better than it did when running on stock 5.1.1... Big thanks! :D
[Nexus 7 Android Development] Tomekks:
Hi!

I'm using the tablet for Spotify but once flashed this ROM, wifi seems to disconnect when tablet is going to sleep. I've set so that wifi does not disconnect in the settings but it still does. Is there a way to keep wifi working 100% of the time?
[Nexus 7 Android Development] AndDiSa:
Most likely Spotify is not compatible with the doze mode, try to exclude Spotify from the power optimized apps and see whether there is an improvement.
[Nexus 7 Android Development] SX86:
Nah... I don't think it's because of doze. I get the same with Google play music. After the screen is off, Wi-Fi turns off and stops streaming cause there is no connection. It plays maybe the next cached song, but that's it.
[Nexus 7 Android Development] tpuserhp:
Please check Settings->Wi-Fi->Advanced(three vertical dots on the top right corner)->Keep Wi-Fi on during sleep

Is set to Always.
[Nexus 7 Android Development] SX86:
I did. Toggled between the different options to make sure the setting was being saved.

Also, it works great if I tether from my phone's bluetooth to the tablet. On Wi-Fi, it can't keep playing if the screen is off, because Wi-Fi goes to sleep a few minutes after that event.
[Nexus 7 Android Development] tpuserhp:
Found the following thread:

https://www.reddit.com/r/Nexus5/comments/3yaj3o/on_marshmallow_my_wifi_turns_off_during_sleep

It seems clearing Google Connectivity Services app and deoptimizing it helps.

Please discard the above as I could not find GCS on the grouper.
[Nexus 7 Android Development] SX86:
Awesome! Thanks. I'll give it a try and report back.
[Nexus 7 Android Development] tpuserhp:
You might have missed my latest update to discard the suggestion as There is no GCS app on grouper. But it seems it is s known problem as indicated below:

https://code.google.com/p/android/issues/detail?id=190667
[Nexus 7 Android Development] Tomekks:
So, it seems that it is not easily fixed. Damn.
[Nexus 7 Android Development] Schnake:
Any info about a WiFi fix today?
[Nexus 7 Android Development] AndDiSa:
Finally I found the time to update the sources with the June security fixes. The new version is uploaded, links are available in the OP. [MENTION=5771551]Schnake[/MENTION] no changes in WiFi behaviour. It's an issue which needs to be investigated more deeply and currently I do not have time for doing this, sorry.
[Nexus 7 Android Development] iamelton:
working fine.. thx..
[Nexus 7 Android Development] gouchouya:
I usually read novels on grouper no WiFi

and when i install parrot mod, dc kernel, journal disable or even clean aosp rom

grouper got a bad battery life(6~8 hours)

so i only install open gapps, xposed and supersu

and some kernel adiutor's settings

I got a wonderful battery life(10 hours)

http://xdaforums.com/picture.php?albumid=13372&pictureid=53450

http://xdaforums.com/picture.php?albumid=13372&pictureid=53448

http://xdaforums.com/picture.php?albumid=13372&pictureid=53449

internet is half hour and read novel is 9.5 hours

but i have a issue that slow upload speed(2~3Mb/s) on OTG usb stick with ES file explorer(clean aosp rom only has es file and supersu)

http://xdaforums.com/picture.php?albumid=13372&pictureid=53451

android 4.4 and 5.1(stock rom, cm11, cm12.1) work fine(9~10Mb/s)

http://xdaforums.com/picture.php?albumid=13372&pictureid=53446

does anyone got same problem ?
[Nexus 7 Android Development] AndDiSa:
Could you post a logcat? I would be able to analyse whether I can find some error messages / hints for improvement.
[Nexus 7 Android Development] gouchouya:
here is log on clean aosp 6.0.1(only es file, catlog and supersu)

http://www.mediafire.com/download/yzav5xh8md33825/2016-06-17-08-27-59.txt

I plugin OTG stick -> open es file explore -> copy a file(aosp_grouper-ota-eng-20160611.ds.zip[183Mb]) from grouper to usb stick(about 75 seconds) -> unmount USB stick
[Nexus 7 Android Development] AndDiSa:
I cannot see a general problem here ... some exceptions from within ES-Explorer, some messages about unclean unmount of the file system of the USB-Stick, but nothing which indicates a general problem.
[Nexus 7 Android Development] gouchouya:
thank you again

and here is log on clean cm12.1(only ES file and catlog)

http://www.mediafire.com/download/43v09t3d8ccobv2/2016-06-17-17-08-18.txt

copy a file([211Mb] about 28 seconds) to USB stick

could you compare with them

what different is it
[Nexus 7 Android Development] langdon554:
Well... I have tilapia device and I'd like to volontier. ;)

Where can I find the sources? I haven't seen them on github
[Nexus 7 Android Development] AndDiSa:
They are ... as written in the OP, initialize your local repository, do a synchronization and start compilation.
[Nexus 7 Android Development] langdon554:
I've done synchronization, but there is no proper device config.

Lunch menu... pick a combo:
1. aosp_arm-eng
2. aosp_arm64-eng
3. aosp_mips-eng
4. aosp_mips64-eng
5. aosp_x86-eng
6. aosp_x86_64-eng
7. aosp_deb-userdebug
8. aosp_flo-userdebug
9. full_fugu-userdebug
10. aosp_fugu-userdebug
11. aosp_grouper-userdebug
12. mini_emulator_arm64-userdebug
13. m_e_arm-userdebug
14. mini_emulator_mips-userdebug
15. mini_emulator_x86_64-userdebug
16. mini_emulator_x86-userdebug
17. aosp_flounder-userdebug
18. aosp_hammerhead-userdebug
19. aosp_hammerhead_fp-userdebug
20. aosp_shamu-userdebug

There is no tilapia device.

Any advice?
[Nexus 7 Android Development] AndDiSa:
As I do not have a tilapia device, there is also no tilapia config ... but you can add it by your own.
[Nexus 7 Android Development] AndDiSa:
Updated the ROM with the July security fixes. The dowload URL can be found in the OP.

In July there are a bunch of changes / patches, but unfortunately only a part of them are integrated now in this build. There are many fixes for security holes in wifi / device drivers, but unfortunately for Grouper there is no longer support by the device manufacturers and there are also no sources available, so we need to live with it :(.

Probably it's better to wait for an updated version, I noticed some sepolicy issues, so not erverything will work as expected. Please stay tuned ...

Update: I found another issue which is much more important: automatic backup/restore of apps is no longer working. There is a backport of backup transport whitelisting on framework/base which seems to break the current configuration .. :(
[Nexus 7 Android Development] AndDiSa:
Ok, new build is uploaded and the OP is updated.

There are still some avc messages in the log, but they do not seem to cause any major issue. The most important issue regarding the backup / restore functionality is fixed.
[Nexus 7 Android Development] gouchouya:
thank your effort

aosp ROM was so wonderful

and your new updeta has a bug

when i use a new app on first time, android system will ask my allow for some permission

but i can't tap allow button and deny button is ok

even i can fix it by setting -> storage use -> apps config -> apps permissions

how terrible, right........^＿^
[Nexus 7 Android Development] AndDiSa:
Can you please provide with a more detailed information?

- Which app did you try to install?

- What permission was asked for?
[Nexus 7 Android Development] gouchouya:
sorry

i found that

one of my notification app(screen orientation control v1.2) just doesn't match your new ROM(after 20160708)

so if i force stop the notification app, i can tap allow bottum

and thank you again
[Nexus 7 Android Development] Bakica:
Try Camera JB+
[Nexus 7 Android Development] fpbasilio:
cannot completewizzrd

canot complete setup wizard. pressing next button brings down the notif bar. how?
[Nexus 7 Android Development] AndDiSa:
I never went into that situation, but you can try to skip the setup and set up your account later.
[Nexus 7 Android Development] rcampbel3:
Thanks, and issue with navbar buttons except back

Hi,

First off. Thanks for your continued support. I'd almost tossed my Nexus 7 a few times, and even with an issue, it's 100X more useful than it was when Google delivered Android 5.X.X

I followed most of your first post guide. TWRP installed, wiped everything from 5.1.1 installed the July release, installed benzo gapps, rooted...

I have the following problems:

The "home" navbar button flashes but does nothing

The "recent" navbar button flashes but does nothing

If I'm in a fullscreen app, there's no way for me to exit unless I reboot

This is really frustrating because everything else is running so well :) I saw one similar comment much earlier in the thread, so I'm hopeful this is just me and I can do a reinstall and somehow magically fix this. Thanks for any ideas or suggestions.
[Nexus 7 Android Development] rcampbel3:
... and it did. Here's what I did. I installed all of the google apps that were "missing" from my install, changed launcher to google now, changed keyboard to google keyboard, etc. Then I reinstalled the latest image and the gapps file, cleared cache, and restarted. Somehow, something about reinstalling or something I'd done since the last install caused the reinstall to work and I'm now able to use the navbar buttons and I'm able to swipe down to get out of fullscreen mode. Thanks!
[Nexus 7 Android Development] AndDiSa:
A new version of the ROM containing the August security patches is out ... You can download it from here or from the OP.

For some time the OTAs were having always the same kernel / boot.img, this time there is an updated version integrated having several security patches applied.
[Nexus 7 Android Development] Rifat Rezwan:
Smoothest one!!!! Wowed!!!

:) Thanks...
[Nexus 7 Android Development] laugeek57:
Thank's for this job :good:
[Nexus 7 Android Development] gusto5:
Always appreciate you maintaining regular builds!
[Nexus 7 Android Development] Best401k:
Installed latest build and soft key for HOME and Open Apps don't work Back does any hints? Wiped device completely re-flashed all working....thanks to the DEV mach appreciated!
[Nexus 7 Android Development] nonoheran:
trying it ....

seem's fast and light !! good !! thank s for your work !!

Can anyone tell me wich file to flash to get su ?
[Nexus 7 Android Development] Nexive:
I flashed SuperSU v2.76 and everything works fine.

http://download.chainfire.eu/supersu-stable
[Nexus 7 Android Development] Geanos:
My first custom ROM. So smooth! Thank you, my Nexus lives again! :D
[Nexus 7 Android Development] gouchouya:
will you build a new Android N aosp rom ?
[Nexus 7 Android Development] AndDiSa:
If everything goes well, yes. Currently I am on holidays, so I had no chance to have a look at the official N-sources yet, but some weeks ago I've built already preview-2 and preview-5 tags and beside some sepolicy issues it looked quite well.
[Nexus 7 Android Development] _never_mind_:
Downloaded the Android6 zip, gapps zip and SuperSU zip and added it to multirom via twrp.

Now running Android 6 on my Nexus 7 2012 as a ROM via Multirom :)) Seems a bit slow, but fun that it works. <edit>speed actually quite ok :)</edit>

Thanks a bunch for making this available! :)
[Nexus 7 Android Development] adrman:
Yesterday, I installed this rom along with Magisk as an experiment. It's working quite well and Magisk allows apps to act as if they're installed to priv-app without taking up space in system. So far, I've installed Action Launcher and GSAM in this fashion. The only downside I see is since Magisk relies on phhusson's superuser, we can't use ParrotMod.
[Nexus 7 Android Development] phoenix0_4:
Hi. Thank you for this ROM!

But I have one problem: I can't connect to a wifi with WPA2(AES)-security. After changing to WPA/WPA2, it is working. I got a new wifi-router, so I don't exactly know, if it is a Nexus7-problem or a router-problem, but since my other devices don't have this problem, I assume, it is my Nexus 7. :(
[Nexus 7 Android Development] AndDiSa:
Build with September security fixes is uploaded. Download from here or from the OP.
[Nexus 7 Android Development] bagoes.s:
I did it too and little bit slow, how to speed up?

I have run with this. Thanks
[Nexus 7 Android Development] RampantParanoia:
are instructions the same for installing on an F2FS system? OP doesn't mention any specific instruction for F2FS so I assume its the same.

currently running slimkat w/ legolas' fixes... can i use the same twrp recovery i installed here or do i need to update to the one in OP? http://xdaforums.com/showthread.php?t=2664392

thanks
[Nexus 7 Android Development] AndDiSa:
As you are flashing /system and /boot only when installing a new ROM and those are always ext4, there is not really a need for f2fs support in the recovery unless you are trying to wipe /mount / modify the /cache and/or /data partition.

I am not sure the recovery linked in the OP does support f2fs out of the box as I am still on ext4 for cache and data.

BTW.: As long as you let some free space on the partitions, run trim from time to time and set max. background processes to 4 you will not notice much difference in using f2fs or ext4.

Edit: I didn't thought about that the zip file you would like to flash is probably located on a f2fs file system, in that case you need f2fs support in recovery ...
[Nexus 7 Android Development] RampantParanoia:
yes, the recovery i linked to supports f2fs out of the box. i believe that one is for /system and /boot but there is another one (here: http://xdaforums.com/showthread.php?t=2678140 ) that supports all-f2fs.

i guess what I will do then is restore it back to stock, and then proceed with installing this using your tips about bg processes & trim (since the other software currently running on it is not supported anymore)

thanks for the quick reply!
[Nexus 7 Android Development] [D4v3|R4v3]:
Any chance we'll see Nougat from you?

Your MM-ROM is still running flawlessly, despite some tiny lags here and there :)